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 2018/02/28 16:15:21 UTC

Build failed in Jenkins: incubator-trafficcontrol-traffic_ops-test #453

See <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/453/display/redirect?page=changes>

Changes:

[dewrich] move config.go into its own package

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H27 (ubuntu xenial) in workspace <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/>
Cloning the remote Git repository
Cloning repository git://github.com/apache/incubator-trafficcontrol.git
 > git init <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/> # timeout=10
Fetching upstream changes from git://github.com/apache/incubator-trafficcontrol.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git fetch --tags --progress git://github.com/apache/incubator-trafficcontrol.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url git://github.com/apache/incubator-trafficcontrol.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git://github.com/apache/incubator-trafficcontrol.git # timeout=10
Fetching upstream changes from git://github.com/apache/incubator-trafficcontrol.git
using GIT_SSH to set credentials 
 > git fetch --tags --progress git://github.com/apache/incubator-trafficcontrol.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 29fd0bf4dfbf0713f99b86a30cd76d3d3d8a5772 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 29fd0bf4dfbf0713f99b86a30cd76d3d3d8a5772
Commit message: "move config.go into its own package"
 > git rev-list --no-walk 261025fc5adcb193223390d868e83cd88202e926 # timeout=10
[incubator-trafficcontrol-traffic_ops-test] $ /bin/bash /tmp/jenkins5102915386645548592.sh
docker-compose version 1.19.0, build 9e633ef
docker-py version: 2.2.1
CPython version: 2.7.12
OpenSSL version: OpenSSL 1.0.2g  1 Mar 2016
+ trap finish EXIT
+ proj=jenkins-incubator-trafficcontrol-traffic_ops-test-453
++ pwd
+ compose=<https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose>
+ cfile=traffic_ops/app/bin/tests/docker-compose.yml
+ [[ -z <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose> ]]
+ [[ ! -x <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose> ]]
+ mkdir bin
++ uname -s
++ uname -m
+ curl -L https://github.com/docker/compose/releases/download/1.13.0/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 --:--:-- --:--:-- --:--:--     0  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100   617    0   617    0     0   1293      0 --:--:-- --:--:-- --:--:--  1293
  1 8079k    1  117k    0     0  94592      0  0:01:27  0:00:01  0:01:26 94592 31 8079k   31 2514k    0     0  1113k      0  0:00:07  0:00:02  0:00:05 2433k100 8079k  100 8079k    0     0  3039k      0  0:00:02  0:00:02 --:--:-- 5748k
+ chmod +x <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose>
+ <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose> -p jenkins-incubator-trafficcontrol-traffic_ops-test-453 -f traffic_ops/app/bin/tests/docker-compose.yml up --build --exit-code-from unit_golang unit_golang
using --exit-code-from implies --abort-on-container-exit
Creating network "jenkinsincubatortrafficcontroltrafficopstest453_default" with the default driver
Creating volume "jenkinsincubatortrafficcontroltrafficopstest453_traffic_ops" with default driver
Creating volume "jenkinsincubatortrafficcontroltrafficopstest453_traffic_ops_golang" with default driver
Building unit_golang
Step 1/7 : FROM golang:1.8
 ---> d31fe3d9c824
Step 2/7 : MAINTAINER Dan Kirkwood <da...@apache.org>
 ---> Using cache
 ---> b5d05f8e6ed1
Step 3/7 : ARG DIR=github.com/apache/incubator-trafficcontrol
 ---> Using cache
 ---> e5e7d3a240ac
Step 4/7 : ADD traffic_ops /go/src/$DIR/traffic_ops
 ---> 12f2a3821005
Removing intermediate container 47de926e950e
Step 5/7 : ADD lib /go/src/$DIR/lib
 ---> 46b2b8d8fb2f
Removing intermediate container 4b0d9916893a
Step 6/7 : WORKDIR /go/src/$DIR/traffic_ops/traffic_ops_golang
 ---> ab094fcf367d
Removing intermediate container 2011a412c1c0
Step 7/7 : CMD bash -c 'go test -v $(go list ./... | grep -v /vendor/)'
 ---> Running in 49e3619cea7c
 ---> db034d829e48
Removing intermediate container 49e3619cea7c
Successfully built db034d829e48
Successfully tagged jenkinsincubatortrafficcontroltrafficopstest453_unit_golang:latest
Creating jenkinsincubatortrafficcontroltrafficopstest453_unit_golang_1 ... 
Creating jenkinsincubatortrafficcontroltrafficopstest453_unit_golang_1
Creating jenkinsincubatortrafficcontroltrafficopstest453_unit_golang_1 ... doneAttaching to jenkinsincubatortrafficcontroltrafficopstest453_unit_golang_1
unit_golang_1  | # github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang
unit_golang_1  | ./config_test.go:45: undefined: Config
unit_golang_1  | ./config_test.go:198: undefined: LoadConfig
unit_golang_1  | ./config_test.go:205: undefined: LoadConfig
unit_golang_1  | ./config_test.go:212: undefined: LoadConfig
unit_golang_1  | ./config_test.go:219: undefined: LoadConfig
unit_golang_1  | ./config_test.go:226: undefined: LoadConfig
unit_golang_1  | ./riak_test.go:283: undefined: Config
unit_golang_1  | FAIL	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang [build failed]
unit_golang_1  | === RUN   TestCreateChangeLog
unit_golang_1  | --- PASS: TestCreateChangeLog (0.00s)
unit_golang_1  | === RUN   TestCreateHandler
unit_golang_1  | --- PASS: TestCreateHandler (0.00s)
unit_golang_1  | === RUN   TestEmptyReadHandler
unit_golang_1  | --- PASS: TestEmptyReadHandler (0.00s)
unit_golang_1  | === RUN   TestReadHandler
unit_golang_1  | --- PASS: TestReadHandler (0.00s)
unit_golang_1  | === RUN   TestUpdateHandler
unit_golang_1  | --- PASS: TestUpdateHandler (0.00s)
unit_golang_1  | === RUN   TestDeleteHandler
unit_golang_1  | --- PASS: TestDeleteHandler (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/api	0.008s
unit_golang_1  | === RUN   TestGetASNs
unit_golang_1  | --- PASS: TestGetASNs (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/asn	0.008s
unit_golang_1  | === RUN   TestGetConfigFile
unit_golang_1  | --- PASS: TestGetConfigFile (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/ats	0.008s
unit_golang_1  | === RUN   TestDeriveGoodPassword
unit_golang_1  | --- PASS: TestDeriveGoodPassword (0.23s)
unit_golang_1  | === RUN   TestDeriveBadPassword
unit_golang_1  | --- PASS: TestDeriveBadPassword (0.21s)
unit_golang_1  | === RUN   TestScryptPasswordIsRequired
unit_golang_1  | --- PASS: TestScryptPasswordIsRequired (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/auth	0.457s
unit_golang_1  | === RUN   TestReadCDNs
unit_golang_1  | --- PASS: TestReadCDNs (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/cdn	0.006s
unit_golang_1  | ?   	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/config	[no test files]
unit_golang_1  | === RUN   TestBuildQuery
unit_golang_1  | --- PASS: TestBuildQuery (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/dbhelpers	0.007s
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestValidateErrors
unit_golang_1  | --- PASS: TestValidateErrors (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice	0.011s
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestGetDeliveryServiceRequest
unit_golang_1  | --- PASS: TestGetDeliveryServiceRequest (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice/request	0.012s
unit_golang_1  | === RUN   TestGetDivisions
unit_golang_1  | --- PASS: TestGetDivisions (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/division	0.006s
unit_golang_1  | === RUN   TestGetPhysLocations
unit_golang_1  | --- PASS: TestGetPhysLocations (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/physlocation	0.005s
unit_golang_1  | === RUN   TestReadRegions
unit_golang_1  | --- PASS: TestReadRegions (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/region	0.006s
unit_golang_1  | === RUN   TestReadStatuses
unit_golang_1  | --- PASS: TestReadStatuses (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/status	0.009s
unit_golang_1  | === RUN   TestGetSystemInfo
unit_golang_1  | --- PASS: TestGetSystemInfo (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/systeminfo	0.007s
unit_golang_1  | ?   	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/tenant	[no test files]
unit_golang_1  | === RUN   TestColsFromStructByTag
unit_golang_1  | --- PASS: TestColsFromStructByTag (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/test	0.007s
unit_golang_1  | ?   	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/tocookie	[no test files]
unit_golang_1  | ?   	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/tovalidate	[no test files]
unit_golang_1  | ?   	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/utils	[no test files]
jenkinsincubatortrafficcontroltrafficopstest453_unit_golang_1 exited with code 2
Aborting on container exit...
+ exit 2
+ finish
+ local st=2
+ [[ 2 -ne 0 ]]
+ echo 'Exiting with status 2'
Exiting with status 2
+ <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose> -p jenkins-incubator-trafficcontrol-traffic_ops-test-453 -f traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinsincubatortrafficcontroltrafficopstest453_unit_golang_1 ... 
Removing jenkinsincubatortrafficcontroltrafficopstest453_unit_golang_1 ... doneRemoving network jenkinsincubatortrafficcontroltrafficopstest453_default
Removing volume jenkinsincubatortrafficcontroltrafficopstest453_traffic_ops
Removing volume jenkinsincubatortrafficcontroltrafficopstest453_traffic_ops_golang
Build step 'Execute shell' marked build as failure

Jenkins build is back to normal : incubator-trafficcontrol-traffic_ops-test #454

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