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 2017/11/27 15:43:47 UTC

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

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

Changes:

[dewrich] ensure that empty strings are not passed where ints are expected. better

[dewrich] replaced ng-required with native required attribute and removed unneeded

------------------------------------------
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-6 (ubuntu trusty) in workspace <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > 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
 > 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 rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 8baa17157ed3776a579efc1b075fdc0064654eb3 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 8baa17157ed3776a579efc1b075fdc0064654eb3
Commit message: "replaced ng-required with native required attribute and removed unneeded ids"
 > git rev-list d3e6ddf66edc4ba377c2753ae11f02dee7917365 # timeout=10
[incubator-trafficcontrol-traffic_ops-test] $ /bin/bash /tmp/jenkins6252291501406358743.sh
Traceback (most recent call last):
  File "/usr/local/bin/docker-compose", line 7, in <module>
    from compose.cli.main import main
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 17, in <module>
    from . import errors
  File "/usr/local/lib/python2.7/dist-packages/compose/cli/errors.py", line 11, in <module>
    from docker.errors import APIError
  File "/usr/local/lib/python2.7/dist-packages/docker/__init__.py", line 2, in <module>
    from .api import APIClient
  File "/usr/local/lib/python2.7/dist-packages/docker/api/__init__.py", line 2, in <module>
    from .client import APIClient
  File "/usr/local/lib/python2.7/dist-packages/docker/api/client.py", line 11, in <module>
    from .build import BuildApiMixin
  File "/usr/local/lib/python2.7/dist-packages/docker/api/build.py", line 9, in <module>
    from .. import utils
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/__init__.py", line 2, in <module>
    from .build import tar, exclude_paths
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 5, in <module>
    from .utils import create_archive
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/utils.py", line 18, in <module>
    from .. import tls
  File "/usr/local/lib/python2.7/dist-packages/docker/tls.py", line 5, in <module>
    from .transport import SSLAdapter
  File "/usr/local/lib/python2.7/dist-packages/docker/transport/__init__.py", line 3, in <module>
    from .ssladapter import SSLAdapter
  File "/usr/local/lib/python2.7/dist-packages/docker/transport/ssladapter.py", line 22, in <module>
    urllib3.connection.match_hostname = match_hostname
AttributeError: 'module' object has no attribute 'connection'
+ trap finish EXIT
+ proj=jenkins-incubator-trafficcontrol-traffic_ops-test-285
++ 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> ]]
+ <https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose> -p jenkins-incubator-trafficcontrol-traffic_ops-test-285 -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 "jenkinsincubatortrafficcontroltrafficopstest285_default" with the default driver
Creating volume "jenkinsincubatortrafficcontroltrafficopstest285_traffic_ops" with default driver
Creating volume "jenkinsincubatortrafficcontroltrafficopstest285_traffic_ops_golang" with default driver
Building unit_golang
Step 1/7 : FROM golang:1.8
1.8: Pulling from library/golang
Digest: sha256:8f09dc5f5690d23da21a94b5433a77571e1e1a0075bd6b4c31d97743117aa03d
Status: Downloaded newer image for golang:1.8
 ---> a8ef0d2260ca
Step 2/7 : MAINTAINER Dan Kirkwood <da...@apache.org>
 ---> Running in 59c0110abd2f
 ---> 4623e6956517
Removing intermediate container 59c0110abd2f
Step 3/7 : ARG DIR=github.com/apache/incubator-trafficcontrol
 ---> Running in 7890b58f47a1
 ---> dea1cf3171a4
Removing intermediate container 7890b58f47a1
Step 4/7 : ADD traffic_ops /go/src/$DIR/traffic_ops
 ---> 1b78f23e1b10
Removing intermediate container 0c1f36bda03a
Step 5/7 : ADD lib /go/src/$DIR/lib
 ---> fcb0a2b774cf
Removing intermediate container aa21c43d9d63
Step 6/7 : WORKDIR /go/src/$DIR/traffic_ops/traffic_ops_golang
 ---> 2b2429c3702e
Removing intermediate container 205052e7bec3
Step 7/7 : CMD bash -c 'go test -v $(go list ./... | grep -v /vendor/)'
 ---> Running in ba3ef9800685
 ---> 4253b7081c10
Removing intermediate container ba3ef9800685
Successfully built 4253b7081c10
Successfully tagged jenkinsincubatortrafficcontroltrafficopstest285_unit_golang:latest
Creating jenkinsincubatortrafficcontroltrafficopstest285_unit_golang_1 ... 
Creating jenkinsincubatortrafficcontroltrafficopstest285_unit_golang_1
Creating jenkinsincubatortrafficcontroltrafficopstest285_unit_golang_1 ... doneAttaching to jenkinsincubatortrafficcontroltrafficopstest285_unit_golang_1
unit_golang_1  | === RUN   TestGetASNs
unit_golang_1  | --- PASS: TestGetASNs (0.00s)
unit_golang_1  | === RUN   TestGetCDNs
unit_golang_1  | --- PASS: TestGetCDNs (0.00s)
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  | === RUN   TestGetDivisions
unit_golang_1  | --- PASS: TestGetDivisions (0.00s)
unit_golang_1  | === RUN   TestGetHWInfo
unit_golang_1  | --- PASS: TestGetHWInfo (0.00s)
unit_golang_1  | === RUN   TestJSON
unit_golang_1  | --- PASS: TestJSON (0.00s)
unit_golang_1  | === RUN   TestGetMonitoringServers
unit_golang_1  | --- PASS: TestGetMonitoringServers (0.00s)
unit_golang_1  | === RUN   TestGetCachegroups
unit_golang_1  | --- PASS: TestGetCachegroups (0.00s)
unit_golang_1  | === RUN   TestGetProfiles
unit_golang_1  | --- PASS: TestGetProfiles (0.00s)
unit_golang_1  | === RUN   TestGetDeliveryServices
unit_golang_1  | --- PASS: TestGetDeliveryServices (0.00s)
unit_golang_1  | === RUN   TestGetConfig
unit_golang_1  | --- PASS: TestGetConfig (0.00s)
unit_golang_1  | === RUN   TestGetMonitoringJSON
unit_golang_1  | --- PASS: TestGetMonitoringJSON (0.00s)
unit_golang_1  | === RUN   TestGetParameters
unit_golang_1  | --- PASS: TestGetParameters (0.00s)
unit_golang_1  | === RUN   TestGetPhysLocations
unit_golang_1  | --- PASS: TestGetPhysLocations (0.00s)
unit_golang_1  | === RUN   TestBuildQuery
unit_golang_1  | --- PASS: TestBuildQuery (0.00s)
unit_golang_1  | === RUN   TestGetRegions
unit_golang_1  | --- PASS: TestGetRegions (0.00s)
unit_golang_1  | === RUN   TestValidateURIKeyset
unit_golang_1  | --- PASS: TestValidateURIKeyset (0.00s)
unit_golang_1  | === RUN   TestGetRiakCluster
unit_golang_1  | --- FAIL: TestGetRiakCluster (4.57s)
unit_golang_1  | 	riak_test.go:200: expected no errors, actual: lookup www.devnull.com on 127.0.0.11:53: server misbehaving.
unit_golang_1  | === RUN   TestCreateRouteMap
unit_golang_1  | --- PASS: TestCreateRouteMap (0.00s)
unit_golang_1  | === RUN   TestAssignDsesToServer
unit_golang_1  | --- PASS: TestAssignDsesToServer (0.00s)
unit_golang_1  | === RUN   TestGetServersByCachegroup
unit_golang_1  | --- PASS: TestGetServersByCachegroup (0.00s)
unit_golang_1  | === RUN   TestGetServerUpdateStatus
unit_golang_1  | --- PASS: TestGetServerUpdateStatus (0.00s)
unit_golang_1  | === RUN   TestGetStatus
unit_golang_1  | --- PASS: TestGetStatus (0.00s)
unit_golang_1  | === RUN   TestGetSystemInfo
unit_golang_1  | --- PASS: TestGetSystemInfo (0.00s)
unit_golang_1  | === RUN   TestWrapHeaders
unit_golang_1  | --- PASS: TestWrapHeaders (0.00s)
unit_golang_1  | === RUN   TestGzip
unit_golang_1  | --- PASS: TestGzip (0.00s)
unit_golang_1  | === RUN   TestWrapAuth
unit_golang_1  | --- PASS: TestWrapAuth (0.00s)
unit_golang_1  | FAIL
unit_golang_1  | FAIL	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang	4.593s
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.038s
unit_golang_1  | === RUN   TestDeriveGoodPassword
unit_golang_1  | --- PASS: TestDeriveGoodPassword (0.33s)
unit_golang_1  | === RUN   TestDeriveBadPassword
unit_golang_1  | --- PASS: TestDeriveBadPassword (0.30s)
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.648s
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.028s
unit_golang_1  | ?   	github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/tocookie	[no test files]
jenkinsincubatortrafficcontroltrafficopstest285_unit_golang_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/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose> -p jenkins-incubator-trafficcontrol-traffic_ops-test-285 -f traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinsincubatortrafficcontroltrafficopstest285_unit_golang_1 ... 
Removing jenkinsincubatortrafficcontroltrafficopstest285_unit_golang_1 ... doneRemoving network jenkinsincubatortrafficcontroltrafficopstest285_default
Removing volume jenkinsincubatortrafficcontroltrafficopstest285_traffic_ops
Removing volume jenkinsincubatortrafficcontroltrafficopstest285_traffic_ops_golang
Build step 'Execute shell' marked build as failure

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

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