You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by Apache Jenkins Server <je...@builds.apache.org> on 2020/05/21 17:22:54 UTC

Build failed in Jenkins: trafficcontrol-PR #5902

See <https://builds.apache.org/job/trafficcontrol-PR/5902/display/redirect?page=changes>

Changes:

[github] Fix OptionsDeleter audit log keys (#4704)

[github] fixed error message to say Cache stats instead of DS stats (#4711)

[neuman] fixed error message


------------------------------------------
[...truncated 3.08 MB...]
docs_1                   | 
docs_1                   | copying static files... ... done
docs_1                   | copying extra files... done
docs_1                   | dumping search index in English (code: en)... done
docs_1                   | dumping object inventory... done
docs_1                   | build succeeded, 96 warnings.
docs_1                   | 
docs_1                   | The HTML pages are in build/html.
docs_1                   | 
docs_1                   | Build finished. The HTML pages are in build/html.
docs_1                   | /tmp/go/src/github.com/apache/trafficcontrol
docs_1                   | -rw-r--r-- 1 root root 17525637 May 21 17:22 dist/apache-trafficcontrol-4.2.0-docs.tar.gz
docs_1                   | + echo 0
docs_1                   | + exit 0
docs_1                   | + cleanup
docs_1                   | + setowner /trafficcontrol /trafficcontrol/dist
docs_1                   | ++ stat -c %u:%g /trafficcontrol
docs_1                   | + own=910:910
docs_1                   | + shift
docs_1                   | + [[ -n /trafficcontrol/dist ]]
docs_1                   | + chown -R 910:910 /trafficcontrol/dist
trafficcontrolpr5902_docs_1 exited with code 0
+ /tmp/docker-compose-FOvu -f infrastructure/docker/build/docker-compose.yml -p trafficcontrolPR5902 ps -q
+ xargs docker inspect -f '{{.Name}} {{.State.ExitCode}}'
+ read name exitcode
+ tee /tmp/tc-status-YPBy
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ [[ 0 == \0 ]]
+ continue
+ read name exitcode
+ /tmp/docker-compose-FOvu -f infrastructure/docker/build/docker-compose.yml -p trafficcontrolPR5902 rm -v -f
Removing trafficcontrolpr5902_docs_1 ... 
Removing trafficcontrolpr5902_grove_build_1 ... 
Removing trafficcontrolpr5902_traffic_ops_build_1 ... 
Removing trafficcontrolpr5902_grovetccfg_build_1 ... 
Removing trafficcontrolpr5902_traffic_portal_build_1 ... 
Removing trafficcontrolpr5902_traffic_router_build_1 ... 
Removing trafficcontrolpr5902_source_1 ... 
Removing trafficcontrolpr5902_traffic_stats_build_1 ... 
Removing trafficcontrolpr5902_weasel_1 ... 
Removing trafficcontrolpr5902_traffic_monitor_build_1 ... 
Removing trafficcontrolpr5902_weasel_1 ... doneRemoving trafficcontrolpr5902_source_1 ... doneRemoving trafficcontrolpr5902_docs_1 ... doneRemoving trafficcontrolpr5902_traffic_router_build_1 ... doneRemoving trafficcontrolpr5902_grovetccfg_build_1 ... doneRemoving trafficcontrolpr5902_traffic_stats_build_1 ... doneRemoving trafficcontrolpr5902_grove_build_1 ... doneRemoving trafficcontrolpr5902_traffic_monitor_build_1 ... doneRemoving trafficcontrolpr5902_traffic_ops_build_1 ... doneRemoving trafficcontrolpr5902_traffic_portal_build_1 ... doneGoing to remove trafficcontrolpr5902_docs_1, trafficcontrolpr5902_grove_build_1, trafficcontrolpr5902_traffic_ops_build_1, trafficcontrolpr5902_grovetccfg_build_1, trafficcontrolpr5902_traffic_portal_build_1, trafficcontrolpr5902_traffic_router_build_1, trafficcontrolpr5902_source_1, trafficcontrolpr5902_traffic_stats_build_1, trafficcontrolpr5902_weasel_1, trafficcontrolpr5902_traffic_monitor_build_1
+ ls -l dist
total 179976
-rw-r--r-- 1 jenkins jenkins 17525637 May 21 17:22 apache-trafficcontrol-4.2.0-docs.tar.gz
-rw-r--r-- 1 jenkins jenkins 51044719 May 21 17:17 apache-trafficcontrol-4.2.0.tar.gz
-rw-r--r-- 1 jenkins jenkins    85327 May 21 17:22 build-docs.log
-rw-r--r-- 1 jenkins jenkins     8779 May 21 17:18 build-grove.log
-rw-r--r-- 1 jenkins jenkins    38441 May 21 17:18 build-traffic_monitor.log
-rw-r--r-- 1 jenkins jenkins   156595 May 21 17:18 build-traffic_ops.log
-rw-r--r-- 1 jenkins jenkins   914824 May 21 17:19 build-traffic_portal.log
-rw-r--r-- 1 jenkins jenkins  1291217 May 21 17:19 build-traffic_router.log
-rw-r--r-- 1 jenkins jenkins    36567 May 21 17:18 build-traffic_stats.log
-rw-r--r-- 1 jenkins jenkins  2625128 May 21 17:18 grove-0.2-10715.48e83c80.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins  3330320 May 21 17:17 grovetccfg-0.2-10715.48e83c80.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins  7994448 May 21 17:19 tomcat-8.5.32-10715.48e83c80.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins  7703066 May 21 17:18 traffic_monitor-4.2.0-10715.48e83c80.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins  3852208 May 21 17:18 traffic_monitor-4.2.0-10715.48e83c80.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins  4478364 May 21 17:18 traffic_ops-4.2.0-10715.48e83c80.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins  8454772 May 21 17:18 traffic_ops-4.2.0-10715.48e83c80.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins  6904390 May 21 17:18 traffic_ops_ort-4.2.0-10715.48e83c80.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins  3439640 May 21 17:18 traffic_ops_ort-4.2.0-10715.48e83c80.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins  1874183 May 21 17:19 traffic_portal-4.2.0-10715.48e83c80.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins  4862832 May 21 17:19 traffic_portal-4.2.0-10715.48e83c80.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 35051808 May 21 17:19 traffic_router-4.2.0-10715.48e83c80.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins 14974558 May 21 17:18 traffic_stats-4.2.0-10715.48e83c80.el7.src.rpm
-rw-r--r-- 1 jenkins jenkins  7597820 May 21 17:18 traffic_stats-4.2.0-10715.48e83c80.el7.x86_64.rpm
-rw-r--r-- 1 jenkins jenkins        0 May 21 17:17 weasel.txt
+ [[ -s dist/weasel.txt ]]
+ [[ -s /tmp/tc-status-YPBy ]]
+ echo 'Success!'
Success!
+ finish
+ /tmp/docker-compose-FOvu -f infrastructure/docker/build/docker-compose.yml -p trafficcontrolPR5902 down -v
Removing network trafficcontrolpr5902_default
+ /tmp/docker-compose-FOvu -f infrastructure/docker/build/docker-compose.yml -p trafficcontrolPR5902 rm -v -f
No stopped containers
+ rm -f /tmp/docker-compose-FOvu
[trafficcontrol-PR] $ /bin/bash /tmp/jenkins4081883366567694886.sh
+ proj=trafficcontrol-PR
+ cfile=tools/golang/docker-compose.yml
+ trap finish EXIT
++ pwd
+ compose=/home/jenkins/jenkins-slave/workspace/trafficcontrol-PR/bin/docker-compose
+ [[ ! -x /home/jenkins/jenkins-slave/workspace/trafficcontrol-PR/bin/docker-compose ]]
+ mkdir bin
++ uname -s
++ uname -m
+ curl -L https://github.com/docker/compose/releases/download/1.25.1/docker-compose-Linux-x86_64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100   638  100   638    0     0   2995      0 --:--:-- --:--:-- --:--:--  3009
  0 16.2M    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100 16.2M  100 16.2M    0     0  11.2M      0  0:00:01  0:00:01 --:--:-- 17.9M
+ chmod +x /home/jenkins/jenkins-slave/workspace/trafficcontrol-PR/bin/docker-compose
+ docker version
Client: Docker Engine - Community
 Version:           19.03.9
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        9d988398e7
 Built:             Fri May 15 00:25:18 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.9
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       9d988398e7
  Built:            Fri May 15 00:23:50 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
+ /home/jenkins/jenkins-slave/workspace/trafficcontrol-PR/bin/docker-compose -p trafficcontrol-PR -f tools/golang/docker-compose.yml down -v
Removing network trafficcontrol-pr_default
Network trafficcontrol-pr_default not found.
+ /home/jenkins/jenkins-slave/workspace/trafficcontrol-PR/bin/docker-compose -f tools/golang/docker-compose.yml config --services
+ grep -q unit
+ /home/jenkins/jenkins-slave/workspace/trafficcontrol-PR/bin/docker-compose -p trafficcontrol-PR -f tools/golang/docker-compose.yml up --build --exit-code-from unit unit
using --exit-code-from implies --abort-on-container-exit
Creating network "trafficcontrol-pr_default" with the default driver
Building unit
Step 1/13 : FROM golang:1.14.2-alpine3.11 AS base
1.14.2-alpine3.11: Pulling from library/golang
Digest: sha256:9b3ad7928626126b72b916609ad081cfb6c0149f6e60cef7fc1e9e15a0d1e973
Status: Downloaded newer image for golang:1.14.2-alpine3.11
 ---> dda4232b2bd5
Step 2/13 : RUN apk --no-cache add gcc musl-dev git
 ---> Running in b048cfdfffbb
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz
(1/16) Installing libgcc (9.2.0-r4)
(2/16) Installing libstdc++ (9.2.0-r4)
(3/16) Installing binutils (2.33.1-r0)
(4/16) Installing gmp (6.1.2-r1)
(5/16) Installing isl (0.18-r0)
(6/16) Installing libgomp (9.2.0-r4)
(7/16) Installing libatomic (9.2.0-r4)
(8/16) Installing mpfr4 (4.0.2-r1)
(9/16) Installing mpc1 (1.1.0-r1)
(10/16) Installing gcc (9.2.0-r4)
(11/16) Installing nghttp2-libs (1.40.0-r0)
(12/16) Installing libcurl (7.67.0-r0)
(13/16) Installing expat (2.2.9-r1)
(14/16) Installing pcre2 (10.34-r1)
(15/16) Installing git (2.24.3-r0)
(16/16) Installing musl-dev (1.1.24-r2)
Executing busybox-1.31.1-r9.trigger
OK: 128 MiB in 31 packages
Removing intermediate container b048cfdfffbb
 ---> 2bf6856ad3b7
Step 3/13 : ARG DIR=github.com/apache/trafficcontrol
FATAL: command execution failed
java.io.EOFException
	at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2681)
	at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3156)
	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:862)
	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:358)
	at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)
	at hudson.remoting.Command.readFrom(Command.java:140)
	at hudson.remoting.Command.readFrom(Command.java:126)
	at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:36)
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)
Caused: java.io.IOException: Unexpected termination of the channel
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:77)
Caused: java.io.IOException: Backing channel 'H26' is disconnected.
	at hudson.remoting.RemoteInvocationHandler.channelOrFail(RemoteInvocationHandler.java:214)
	at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:283)
	at com.sun.proxy.$Proxy141.isAlive(Unknown Source)
	at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:1150)
	at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:1142)
	at hudson.tasks.CommandInterpreter.join(CommandInterpreter.java:155)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:109)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.model.Build$BuildExecution.build(Build.java:206)
	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
FATAL: Unable to delete script file /tmp/jenkins4081883366567694886.sh
java.io.EOFException
	at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2681)
	at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3156)
	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:862)
	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:358)
	at hudson.remoting.ObjectInputStreamEx.<init>(ObjectInputStreamEx.java:49)
	at hudson.remoting.Command.readFrom(Command.java:140)
	at hudson.remoting.Command.readFrom(Command.java:126)
	at hudson.remoting.AbstractSynchronousByteArrayCommandTransport.read(AbstractSynchronousByteArrayCommandTransport.java:36)
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:63)
Caused: java.io.IOException: Unexpected termination of the channel
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:77)
Caused: hudson.remoting.ChannelClosedException: Channel "unknown": Remote call on H26 failed. The channel is closing down or has closed down
	at hudson.remoting.Channel.call(Channel.java:950)
	at hudson.FilePath.act(FilePath.java:1072)
	at hudson.FilePath.act(FilePath.java:1061)
	at hudson.FilePath.delete(FilePath.java:1542)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:123)
	at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:66)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
	at hudson.model.Build$BuildExecution.build(Build.java:206)
	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
	at hudson.model.Run.execute(Run.java:1815)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:429)
Build step 'Execute shell' marked build as failure
ERROR: Step ?Archive the artifacts? failed: no workspace for trafficcontrol-PR #5902

Jenkins build is back to normal : trafficcontrol-PR #5904

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/trafficcontrol-PR/5904/display/redirect?page=changes>


Build failed in Jenkins: trafficcontrol-PR #5903

Posted by Apache Jenkins Server <je...@builds.apache.org>.
See <https://builds.apache.org/job/trafficcontrol-PR/5903/display/redirect?page=changes>

Changes:

[github] fixed error message (#4714)

[github] updated servers/details for multiple interfaces (#4674)

[ocket8888] Reworked GET /servers for new interfaces table

[ocket8888] Updated query

[ocket8888] Simplified V2 server conversion

[ocket8888] Finally got GET working

[ocket8888] Implemented POST

[ocket8888] Implemented DELETE

[ocket8888] Added netmask parsing and changelogs

[ocket8888] Added method for converting legacy data to interface arrays

[ocket8888] Implemented PUT

[ocket8888] Fixed a couple unit tests

[ocket8888] Finished fixing unit tests

[ocket8888] Cleaned up old approaches left in comments

[ocket8888] Fixed server teardown for v1 tests

[ocket8888] Fixed broken POST handler for API versions < 3

[ocket8888] Fixed read query not returning IDs

[ocket8888] fixed unmarshaling problems, some API tests

[ocket8888] Fixed ip_allow.config for server interfaces

[ocket8888] Fixed PUT not returning proper names

[ocket8888] Fixed using unitialized data in PUT 1.1/servers handler

[ocket8888] Fixed/improved error messages

[ocket8888] Fixed select query

[ocket8888] Fixed downgraded servers not setting ipIsService and ip6IsService

[ocket8888] Fixed GET v1 servers returning v2 servers and vice-versa

[ocket8888] Changed responses to reference new API version, updated old client

[ocket8888] Updated client to send/return new server structure

[ocket8888] Changed tc-fixtures to use new server objects

[ocket8888] made TS use v2 client

[ocket8888] Fixed teardowns

[ocket8888] Fixed importing wrong client

[ocket8888] Fixed renaming a struct which breaks a vendored version of the client

[ocket8888] Fixed bad error message in v3 validation

[ocket8888] Fixed possible segfault in test failure state

[ocket8888] Fixed null response for no servers

[ocket8888] Fixed v3 tests for new server model

[ocket8888] Fixed possible nil panics from unitialized maps

[ocket8888] Added unit tests for server handler

[ocket8888] Added test for ToInterfaces method

[ocket8888] Go fmt

[ocket8888] Rolled back cdn.conf changes

[ocket8888] Rolled back database.conf changes

[ocket8888] Rolled back a change to ATSTCCFG that snuck in

[ocket8888] Removed unnecessary log

[ocket8888] Removed extra DELETE statement

[ocket8888] Removed unnecessary log

[ocket8888] Removed unnecessary log

[ocket8888] Removed unnecessary log

[ocket8888] Removed unused import

[ocket8888] Updated docs for /servers in v3

[ocket8888] updated servers/{{ID}} docs for v3

[ocket8888] Fixed broken footnote reference

[ocket8888] Fixed a ton of context-insensitive match warnings in Sphinx v3+

[ocket8888] Added response structure for DELETE /servers/{{ID}}

[ocket8888] Added summary field descriptions

[ocket8888] Updated CHANGELOG

[ocket8888] Proper capitalization of IP in ServerIPAddress

[ocket8888] s/ServersResponsev3/ServersV3Response/g

[ocket8888] Unset netmask when not present

[ocket8888] Short-circuit eval for interface-to-legacy conversion

[ocket8888] Removed ip_allow.config, remap.config, and parent.config v1 generation

[ocket8888] Removed tests for now-non-existent routes

[ocket8888] Added deprecation notices to docs

[ocket8888] Updated changelog

[ocket8888] ACTUALLY removed tests for removed endpoints

[ocket8888] Abstracted conditionals


------------------------------------------
[...truncated 3.20 MB...]
unit_1  | --- PASS: TestCopyNewProfileExists (0.00s)
unit_1  | === RUN   TestCopyProfile
unit_1  | --- PASS: TestCopyProfile (0.00s)
unit_1  | === RUN   TestGetExportProfileResponse
unit_1  | === RUN   TestGetExportProfileResponse/Success:_Read_export_profile_successful
unit_1  |     TestGetExportProfileResponse/Success:_Read_export_profile_successful: profile_export_test.go:74: Starting test scenario:  Success: Read export profile successful
unit_1  | === RUN   TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful
unit_1  |     TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful: profile_export_test.go:74: Starting test scenario:  Success: Read export profile with no parameters successful
unit_1  | === RUN   TestGetExportProfileResponse/Failure:_Storage_error_reading_profile
unit_1  |     TestGetExportProfileResponse/Failure:_Storage_error_reading_profile: profile_export_test.go:74: Starting test scenario:  Failure: Storage error reading profile
unit_1  | --- PASS: TestGetExportProfileResponse (0.00s)
unit_1  |     --- PASS: TestGetExportProfileResponse/Success:_Read_export_profile_successful (0.00s)
unit_1  |     --- PASS: TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful (0.00s)
unit_1  |     --- PASS: TestGetExportProfileResponse/Failure:_Storage_error_reading_profile (0.00s)
unit_1  | === RUN   TestGetImportProfile
unit_1  | === RUN   TestGetImportProfile/Success:_Import_profile_successful
unit_1  |     TestGetImportProfile/Success:_Import_profile_successful: profile_import_test.go:86: Starting test scenario:  Success: Import profile successful
unit_1  | === RUN   TestGetImportProfile/Failure:_Import_profile_didn't_insert_row
unit_1  |     TestGetImportProfile/Failure:_Import_profile_didn't_insert_row: profile_import_test.go:86: Starting test scenario:  Failure: Import profile didn't insert row
unit_1  | === RUN   TestGetImportProfile/Failure:_Import_profile_storage_error
unit_1  |     TestGetImportProfile/Failure:_Import_profile_storage_error: profile_import_test.go:86: Starting test scenario:  Failure: Import profile storage error
unit_1  | --- PASS: TestGetImportProfile (0.00s)
unit_1  |     --- PASS: TestGetImportProfile/Success:_Import_profile_successful (0.00s)
unit_1  |     --- PASS: TestGetImportProfile/Failure:_Import_profile_didn't_insert_row (0.00s)
unit_1  |     --- PASS: TestGetImportProfile/Failure:_Import_profile_storage_error (0.00s)
unit_1  | === RUN   TestGetImportProfileParameters
unit_1  | === RUN   TestGetImportProfileParameters/Success:_All_import_parameters_new
unit_1  |     TestGetImportProfileParameters/Success:_All_import_parameters_new: profile_import_test.go:292: Starting test scenario:  Success: All import parameters new
unit_1  | === RUN   TestGetImportProfileParameters/Success:_All_parameters_exisiting
unit_1  |     TestGetImportProfileParameters/Success:_All_parameters_exisiting: profile_import_test.go:292: Starting test scenario:  Success: All parameters exisiting
unit_1  | === RUN   TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters
unit_1  |     TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters: profile_import_test.go:292: Starting test scenario:  Success: Mix of existing/new parameters
unit_1  | === RUN   TestGetImportProfileParameters/Success:_Dup_of_existing
unit_1  |     TestGetImportProfileParameters/Success:_Dup_of_existing: profile_import_test.go:292: Starting test scenario:  Success: Dup of existing
unit_1  | === RUN   TestGetImportProfileParameters/Fail:_Storage_error_selecting_param
unit_1  |     TestGetImportProfileParameters/Fail:_Storage_error_selecting_param: profile_import_test.go:292: Starting test scenario:  Fail: Storage error selecting param
unit_1  | === RUN   TestGetImportProfileParameters/Fail:_Storage_error_inserting_param
unit_1  |     TestGetImportProfileParameters/Fail:_Storage_error_inserting_param: profile_import_test.go:292: Starting test scenario:  Fail: Storage error inserting param
unit_1  | --- PASS: TestGetImportProfileParameters (0.00s)
unit_1  |     --- PASS: TestGetImportProfileParameters/Success:_All_import_parameters_new (0.00s)
unit_1  |     --- PASS: TestGetImportProfileParameters/Success:_All_parameters_exisiting (0.00s)
unit_1  |     --- PASS: TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters (0.00s)
unit_1  |     --- PASS: TestGetImportProfileParameters/Success:_Dup_of_existing (0.00s)
unit_1  |     --- PASS: TestGetImportProfileParameters/Fail:_Storage_error_selecting_param (0.00s)
unit_1  |     --- PASS: TestGetImportProfileParameters/Fail:_Storage_error_inserting_param (0.00s)
unit_1  | === RUN   TestGetProfiles
unit_1  | --- PASS: TestGetProfiles (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | === RUN   TestValidate
unit_1  | --- PASS: TestValidate (0.00s)
unit_1  | PASS
unit_1  | coverage: 52.6% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profile	0.023s	coverage: 52.6% of statements
unit_1  | === RUN   TestGetProfileParameters
unit_1  | --- PASS: TestGetProfileParameters (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | PASS
unit_1  | coverage: 2.3% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profileparameter	0.014s	coverage: 2.3% of statements
unit_1  | === RUN   TestReadRegions
unit_1  | --- PASS: TestReadRegions (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | PASS
unit_1  | coverage: 9.6% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/region	0.015s	coverage: 9.6% of statements
unit_1  | === RUN   TestFetchObjectValues
unit_1  | --- PASS: TestFetchObjectValues (0.00s)
unit_1  | === RUN   TestSaveObject
unit_1  | --- PASS: TestSaveObject (0.00s)
unit_1  | === RUN   TestDeleteObject
unit_1  | --- PASS: TestDeleteObject (0.00s)
unit_1  | === RUN   TestSetTLSVersion
unit_1  | --- PASS: TestSetTLSVersion (0.00s)
unit_1  | === RUN   TestGetRiakCluster
unit_1  | --- PASS: TestGetRiakCluster (0.08s)
unit_1  | PASS
unit_1  | coverage: 18.3% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc	0.097s	coverage: 18.3% of statements
unit_1  | === RUN   TestFuncs
unit_1  | --- PASS: TestFuncs (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | === RUN   TestValidate
unit_1  | --- PASS: TestValidate (0.00s)
unit_1  | PASS
unit_1  | coverage: 10.6% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/role	0.015s	coverage: 10.6% of statements
unit_1  | === RUN   TestCompileRoutes
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.1/cdns
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path POST api/1.4/users/login
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path POST api/1.1/cdns
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path POST api/1.1/users
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path PUT api/1.1/deliveryservices/3
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path DELETE api/1.1/servers/777
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.4/cdns/1
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.4/notatypeweknowabout
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.3/asns.json
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/99999.99999/cdns
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET blahblah/api/1.2/cdns
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET internal/api/1.2/federations.json
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.5/servers
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/2.0/servers
unit_1  | --- PASS: TestCompileRoutes (0.08s)
unit_1  | === RUN   TestRoutes
unit_1  | --- PASS: TestRoutes (0.00s)
unit_1  | === RUN   TestCreateRouteMap
unit_1  | --- PASS: TestCreateRouteMap (0.00s)
unit_1  | PASS
unit_1  | coverage: 47.9% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing	0.105s	coverage: 47.9% of statements
unit_1  | === RUN   TestWrapHeaders
unit_1  | --- PASS: TestWrapHeaders (0.00s)
unit_1  | === RUN   TestWrapPanicRecover
unit_1  | --- PASS: TestWrapPanicRecover (0.00s)
unit_1  | === RUN   TestGzip
unit_1  | --- PASS: TestGzip (0.00s)
unit_1  | === RUN   TestWrapAuth
unit_1  | --- PASS: TestWrapAuth (0.00s)
unit_1  | PASS
unit_1  | coverage: 52.4% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing/middleware	0.018s	coverage: 52.4% of statements
unit_1  | # github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server [github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server.test]
unit_1  | traffic_ops/traffic_ops_golang/server/detail_test.go:129:19: srvInts[0].IpAddresses undefined (type tc.ServerInterfaceInfo has no field or method IpAddresses, but does have IPAddresses)
unit_1  | traffic_ops/traffic_ops_golang/server/detail_test.go:130:97: srvInts[0].IpAddresses undefined (type tc.ServerInterfaceInfo has no field or method IpAddresses, but does have IPAddresses)
unit_1  | traffic_ops/traffic_ops_golang/server/detail_test.go:137:16: srvInts[0].IpAddresses undefined (type tc.ServerInterfaceInfo has no field or method IpAddresses, but does have IPAddresses)
unit_1  | traffic_ops/traffic_ops_golang/server/detail_test.go:138:99: srvInts[0].IpAddresses undefined (type tc.ServerInterfaceInfo has no field or method IpAddresses, but does have IPAddresses)
unit_1  | FAIL	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server [build failed]
unit_1  | FAIL
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercapability	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercheck	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercheck/extensions	[no test files]
unit_1  | === RUN   TestFuncs
unit_1  | --- PASS: TestFuncs (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | === RUN   TestValidate
unit_1  | --- PASS: TestValidate (0.00s)
unit_1  | PASS
unit_1  | coverage: 34.1% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/staticdnsentry	0.012s	coverage: 34.1% of statements
unit_1  | === RUN   TestReadStatuses
unit_1  | --- PASS: TestReadStatuses (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | PASS
unit_1  | coverage: 28.9% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/status	0.017s	coverage: 28.9% of statements
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steering	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steeringtargets	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13/swaggerspec-server	[no test files]
unit_1  | === RUN   TestGetSystemInfo
unit_1  | --- PASS: TestGetSystemInfo (0.00s)
unit_1  | PASS
unit_1  | coverage: 57.1% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/systeminfo	0.016s	coverage: 57.1% of statements
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tenant	[no test files]
unit_1  | === RUN   TestErrorCode
unit_1  | --- PASS: TestErrorCode (0.00s)
unit_1  | === RUN   TestErrorContextPanicMode
unit_1  | --- PASS: TestErrorContextPanicMode (0.00s)
unit_1  | === RUN   TestErrorContextMapping
unit_1  | --- PASS: TestErrorContextMapping (0.00s)
unit_1  | === RUN   TestErrorContextMisc
unit_1  | --- PASS: TestErrorContextMisc (0.00s)
unit_1  | === RUN   TestErrorContext
unit_1  | --- PASS: TestErrorContext (0.00s)
unit_1  | === RUN   TestColsFromStructByTag
unit_1  | --- PASS: TestColsFromStructByTag (0.00s)
unit_1  | PASS
unit_1  | coverage: 80.2% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/test	0.005s	coverage: 80.2% of statements
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tocookie	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/topology	[no test files]
unit_1  | === RUN   TestTSConfigFromRequest
unit_1  | --- PASS: TestTSConfigFromRequest (0.00s)
unit_1  | PASS
unit_1  | coverage: 4.4% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/trafficstats	0.016s	coverage: 4.4% of statements
unit_1  | === RUN   TestGetType
unit_1  | --- PASS: TestGetType (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | === RUN   TestUpdateInvalidType
unit_1  | --- PASS: TestUpdateInvalidType (0.00s)
unit_1  | === RUN   TestDeleteInvalidType
unit_1  | --- PASS: TestDeleteInvalidType (0.00s)
unit_1  | === RUN   TestCreateInvalidType
unit_1  | --- PASS: TestCreateInvalidType (0.00s)
unit_1  | === RUN   TestValidate
unit_1  | --- PASS: TestValidate (0.00s)
unit_1  | PASS
unit_1  | coverage: 40.3% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/types	0.011s	coverage: 40.3% of statements
unit_1  | === RUN   TestValidateURIKeyset
unit_1  | --- PASS: TestValidateURIKeyset (0.00s)
unit_1  | PASS
unit_1  | coverage: 14.5% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/urisigning	0.012s	coverage: 14.5% of statements
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/user	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/util/monitorhlp	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/vault	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg	[no test files]
unit_1  | === RUN   TestWriteConfigs
unit_1  | --- PASS: TestWriteConfigs (0.00s)
unit_1  | === RUN   TestPreprocessConfigFile
unit_1  | --- PASS: TestPreprocessConfigFile (0.00s)
unit_1  | === RUN   TestGetDSFromURISigningConfigFileName
unit_1  | --- PASS: TestGetDSFromURISigningConfigFileName (0.00s)
unit_1  | === RUN   TestGetDSFromURLSigConfigFileName
unit_1  | --- PASS: TestGetDSFromURLSigConfigFileName (0.00s)
unit_1  | PASS
unit_1  | coverage: 2.6% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/cfgfile	0.021s	coverage: 2.6% of statements
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/config	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/getdata	[no test files]
unit_1  | === RUN   TestPlugin
unit_1  | --- PASS: TestPlugin (0.00s)
unit_1  | PASS
unit_1  | coverage: 48.9% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/plugin	0.015s	coverage: 48.9% of statements
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/toreq	[no test files]
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/toreqnew	[no test files]
unit_1  | === RUN   TestGetRetry
unit_1  | --- PASS: TestGetRetry (3.00s)
unit_1  | === RUN   TestRetryBackoffSeconds
unit_1  | --- PASS: TestRetryBackoffSeconds (0.00s)
unit_1  | === RUN   TestMaybeIPStr
unit_1  | --- PASS: TestMaybeIPStr (0.00s)
unit_1  | PASS
unit_1  | coverage: 57.1% of statements
unit_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/torequtil	3.005s	coverage: 57.1% of statements
unit_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/update-to-client	[no test files]
trafficcontrol-pr_unit_1 exited with code 1
Aborting on container exit...
+ exit 1
+ finish
+ local st=1
+ [[ 1 -ne 0 ]]
+ echo 'Exiting with status 1'
Exiting with status 1
+ <https://builds.apache.org/job/trafficcontrol-PR/ws/bin/docker-compose> -p trafficcontrol-PR -f tools/golang/docker-compose.yml down -v
Removing trafficcontrol-pr_unit_1 ... 
Removing trafficcontrol-pr_unit_1 ... doneRemoving network trafficcontrol-pr_default
Build step 'Execute shell' marked build as failure
Skipped archiving because build is not successful