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/04/02 14:05:15 UTC

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

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

Changes:

[mitchell852] fixed the API tests

[dewrich] intial work to support compound keys, only cdn implemented

[dewrich] convert all implementations of CRUD interfaces to use Keys methods

------------------------------------------
[...truncated 957 B...]
 > 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 01efc18a5965c2dd2efc2b458330a6c9e3a7fc85 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 01efc18a5965c2dd2efc2b458330a6c9e3a7fc85
Commit message: "convert all implementations of CRUD interfaces to use Keys methods"
 > git rev-list --no-walk adfa2811a493e8553bbaa5c3b2da02abd4dff76b # timeout=10
[incubator-trafficcontrol-traffic_ops-test] $ /bin/bash /tmp/jenkins3337643311743065920.sh
docker-compose version 1.20.1, build 5d8c71b
docker-py version: 3.1.4
CPython version: 2.7.12
OpenSSL version: OpenSSL 1.0.2g  1 Mar 2016
+ trap finish EXIT
+ proj=jenkins-incubator-trafficcontrol-traffic_ops-test-516
++ 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 --:--:-- --:--:-- --:--:--     0100   617    0   617    0     0   1322      0 --:--:-- --:--:-- --:--:--  1324
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0  5 8079k    5  424k    0     0   267k      0  0:00:30  0:00:01  0:00:29  448k 59 8079k   59 4844k    0     0  1870k      0  0:00:04  0:00:02  0:00:02 2489k100 8079k  100 8079k    0     0  2831k      0  0:00:02  0:00:02 --:--:-- 3657k
+ 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-516 -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 "jenkinsincubatortrafficcontroltrafficopstest516_default" with the default driver
Creating volume "jenkinsincubatortrafficcontroltrafficopstest516_traffic_ops" with default driver
Creating volume "jenkinsincubatortrafficcontroltrafficopstest516_traffic_ops_golang" with default driver
Building unit_golang
Step 1/7 : FROM golang:1.8
1.8: Pulling from library/golang
Digest: sha256:f0b5dab7581eddb49dabd1d1b9aa505ca3edcdf79a66395b5bfa4f3c036b49ef
Status: Downloaded newer image for golang:1.8
 ---> 0d283eb41a92
Step 2/7 : MAINTAINER Dan Kirkwood <da...@apache.org>
 ---> Running in 4c8a7750c0e4
 ---> 2e9f61981b91
Removing intermediate container 4c8a7750c0e4
Step 3/7 : ARG DIR=github.com/apache/incubator-trafficcontrol
 ---> Running in 66f811b8bf6a
 ---> 99c86ca20c3d
Removing intermediate container 66f811b8bf6a
Step 4/7 : ADD traffic_ops /go/src/$DIR/traffic_ops
 ---> 0a884044ccdf
Removing intermediate container d9a4a9de975a
Step 5/7 : ADD lib /go/src/$DIR/lib
 ---> 3f6a85911cb4
Removing intermediate container 38d48db9b982
Step 6/7 : WORKDIR /go/src/$DIR/traffic_ops/traffic_ops_golang
 ---> 965d81d6e6c0
Removing intermediate container 54f68a1df147
Step 7/7 : CMD bash -c 'go test -v $(go list ./... | grep -v /vendor/)'
 ---> Running in 809dd98aca4d
 ---> 51e71f872bd9
Removing intermediate container 809dd98aca4d
Successfully built 51e71f872bd9
Successfully tagged jenkinsincubatortrafficcontroltrafficopstest516_unit_golang:latest
Creating jenkinsincubatortrafficcontroltrafficopstest516_unit_golang_1 ... 
Creating jenkinsincubatortrafficcontroltrafficopstest516_unit_golang_1
Creating jenkinsincubatortrafficcontroltrafficopstest516_unit_golang_1 ... doneAttaching to jenkinsincubatortrafficcontroltrafficopstest516_unit_golang_1
unit_golang_1  | # github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/server
unit_golang_1  | server/servers.go:341: server.SetID undefined (type *TOServer has no field or method SetID)
unit_golang_1  | # github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/server
unit_golang_1  | server/servers.go:341: server.SetID undefined (type *TOServer has no field or method SetID)
unit_golang_1  | FAIL	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang [build failed]
unit_golang_1  | === RUN   TestSplitRPMVersion
unit_golang_1  | --- PASS: TestSplitRPMVersion (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/about	0.006s
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.014s
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  | === RUN   TestValidate
unit_golang_1  | --- PASS: TestValidate (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/asn	0.007s
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.004s
unit_golang_1  | === RUN   TestDeriveGoodPassword
unit_golang_1  | --- PASS: TestDeriveGoodPassword (0.33s)
unit_golang_1  | === RUN   TestDeriveBadPassword
unit_golang_1  | --- PASS: TestDeriveBadPassword (0.20s)
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.535s
unit_golang_1  | === RUN   TestReadCDNs
unit_golang_1  | --- PASS: TestReadCDNs (0.00s)
unit_golang_1  | === RUN   TestFuncs
unit_golang_1  | --- PASS: TestFuncs (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestValidate
unit_golang_1  | --- PASS: TestValidate (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/cdn	0.010s
unit_golang_1  | === RUN   TestLogLocation
unit_golang_1  | --- PASS: TestLogLocation (0.00s)
unit_golang_1  | === RUN   TestLoadConfig
unit_golang_1  | --- PASS: TestLoadConfig (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/config	0.010s
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.009s
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.015s
unit_golang_1  | === RUN   TestFuncs
unit_golang_1  | --- PASS: TestFuncs (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestValidate
unit_golang_1  | --- PASS: TestValidate (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice/request/comment	0.006s
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  | === RUN   TestValidation
unit_golang_1  | --- PASS: TestValidation (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/division	0.011s
unit_golang_1  | === RUN   TestGetHWInfo
unit_golang_1  | --- PASS: TestGetHWInfo (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/hwinfo	0.008s
unit_golang_1  | === RUN   TestGetParameters
unit_golang_1  | --- PASS: TestGetParameters (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/parameter	0.007s
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  | === RUN   TestValidate
unit_golang_1  | --- PASS: TestValidate (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/physlocation	0.006s
unit_golang_1  | === RUN   TestPingHandler
unit_golang_1  | --- PASS: TestPingHandler (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/ping	0.007s
unit_golang_1  | === RUN   TestGetProfiles
unit_golang_1  | --- PASS: TestGetProfiles (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestValidate
unit_golang_1  | --- PASS: TestValidate (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/profile	0.007s
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.005s
unit_golang_1  | === RUN   TestFetchObjectValues
unit_golang_1  | --- PASS: TestFetchObjectValues (0.00s)
unit_golang_1  | === RUN   TestSaveObject
unit_golang_1  | --- PASS: TestSaveObject (0.00s)
unit_golang_1  | === RUN   TestDeleteObject
unit_golang_1  | --- PASS: TestDeleteObject (0.00s)
unit_golang_1  | === RUN   TestGetRiakCluster
unit_golang_1  | --- PASS: TestGetRiakCluster (0.12s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc	0.131s
unit_golang_1  | FAIL	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/server [build failed]
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.006s
unit_golang_1  | ?   	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13	[no test files]
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.009s
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.003s
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  | === RUN   TestGetType
unit_golang_1  | --- PASS: TestGetType (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestValidate
unit_golang_1  | --- PASS: TestValidate (0.00s)
unit_golang_1  | PASS
unit_golang_1  | ok  	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/types	0.006s
unit_golang_1  | ?   	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/utils	[no test files]
jenkinsincubatortrafficcontroltrafficopstest516_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-516 -f traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinsincubatortrafficcontroltrafficopstest516_unit_golang_1 ... 
Removing jenkinsincubatortrafficcontroltrafficopstest516_unit_golang_1 ... doneRemoving network jenkinsincubatortrafficcontroltrafficopstest516_default
Removing volume jenkinsincubatortrafficcontroltrafficopstest516_traffic_ops
Removing volume jenkinsincubatortrafficcontroltrafficopstest516_traffic_ops_golang
Build step 'Execute shell' marked build as failure

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

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