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/07/22 00:03:48 UTC

Build failed in Jenkins: trafficcontrol-traffic_ops-test #2111

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

Changes:

[github] Renaming a host in TC, does not impact hash_id (#4881)


------------------------------------------
[...truncated 104.80 KB...]
unit_golang_1  |     TestGetImportProfileParameters/Fail:_Storage_error_inserting_param: profile_import_test.go:292: Starting test scenario:  Fail: Storage error inserting param
unit_golang_1  | --- PASS: TestGetImportProfileParameters (0.00s)
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Success:_All_import_parameters_new (0.00s)
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Success:_All_parameters_exisiting (0.00s)
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters (0.00s)
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Success:_Dup_of_existing (0.00s)
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Fail:_Storage_error_selecting_param (0.00s)
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Fail:_Storage_error_inserting_param (0.00s)
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  | coverage: 52.1% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profile	0.051s	coverage: 52.1% of statements
unit_golang_1  | === RUN   TestGetProfileParameters
unit_golang_1  | --- PASS: TestGetProfileParameters (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 2.3% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profileparameter	0.016s	coverage: 2.3% of statements
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  | coverage: 9.1% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/region	0.013s	coverage: 9.1% of statements
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   TestSetTLSVersion
unit_golang_1  | --- PASS: TestSetTLSVersion (0.00s)
unit_golang_1  | === RUN   TestGetRiakCluster
unit_golang_1  | --- PASS: TestGetRiakCluster (0.06s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 18.3% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc	0.085s	coverage: 18.3% of statements
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  | coverage: 10.3% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/role	0.011s	coverage: 10.3% of statements
unit_golang_1  | === RUN   TestCompileRoutes
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.1/cdns
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path POST api/1.4/users/login
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path POST api/1.1/cdns
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path POST api/1.1/users
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path PUT api/1.1/deliveryservices/3
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path DELETE api/1.1/servers/777
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.4/cdns/1
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.4/notatypeweknowabout
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.3/asns.json
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/99999.99999/cdns
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path GET blahblah/api/1.2/cdns
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path GET internal/api/1.2/federations.json
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/1.5/servers
unit_golang_1  |     TestCompileRoutes: routing_test.go:162: testing path GET api/2.0/servers
unit_golang_1  | --- PASS: TestCompileRoutes (0.08s)
unit_golang_1  | === RUN   TestRoutes
unit_golang_1  | --- PASS: TestRoutes (0.00s)
unit_golang_1  | === RUN   TestCreateRouteMap
unit_golang_1  | --- PASS: TestCreateRouteMap (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 47.9% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing	0.102s	coverage: 47.9% of statements
unit_golang_1  | === RUN   TestWrapHeaders
unit_golang_1  | --- PASS: TestWrapHeaders (0.00s)
unit_golang_1  | === RUN   TestWrapPanicRecover
unit_golang_1  | --- PASS: TestWrapPanicRecover (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  | PASS
unit_golang_1  | coverage: 48.9% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing/middleware	0.018s	coverage: 48.9% of statements
unit_golang_1  | === RUN   TestGetDetailServers
unit_golang_1  | --- PASS: TestGetDetailServers (0.00s)
unit_golang_1  | === RUN   TestAssignDsesToServer
unit_golang_1  | --- PASS: TestAssignDsesToServer (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestUpdateServer
unit_golang_1  | --- PASS: TestUpdateServer (0.00s)
unit_golang_1  | === RUN   TestGetServersByCachegroup
unit_golang_1  | --- PASS: TestGetServersByCachegroup (0.00s)
unit_golang_1  | === RUN   TestGetMidServers
unit_golang_1  | --- PASS: TestGetMidServers (0.00s)
unit_golang_1  | === RUN   TestV3Validations
unit_golang_1  |     TestV3Validations: servers_test.go:565: Got expected error validating server with no interfaces: a server must have at least one interface
unit_golang_1  |     TestV3Validations: servers_test.go:579: Got expected error validating server with nil interfaces: a server must have at least one interface
unit_golang_1  |     TestV3Validations: servers_test.go:596: Got expected error validating server with an MTU < 1280: 'interface 'eth0' mtu' must be at least 1280
unit_golang_1  |     TestV3Validations: servers_test.go:612: Got expected error validating server with no IP addresses: 'interface 'eth0' ipAddresses' cannot be blank, a server must have at least one service address
unit_golang_1  |     TestV3Validations: servers_test.go:627: Got expected error validating server with nil IP addresses: 'interface 'eth0' ipAddresses' cannot be blank, a server must have at least one service address
unit_golang_1  |     TestV3Validations: servers_test.go:648: Got expected error validating server with no service addresses: a server must have at least one service address
unit_golang_1  |     TestV3Validations: servers_test.go:662: Got expected error validating server with too many interfaces with service addresses: interfaces: address '127.0.0.1/32' of interface 'eth0' is marked as a service address, but an IPv4 service address appears earlier in the list
unit_golang_1  |     TestV3Validations: servers_test.go:682: Got expected error validating server with no service addresses: interfaces: address '1.2.3.4/1' of interface 'eth0' is marked as a service address, but an IPv4 service address appears earlier in the list
unit_golang_1  | --- PASS: TestV3Validations (0.00s)
unit_golang_1  | === RUN   TestGetServerUpdateStatus
unit_golang_1  | --- PASS: TestGetServerUpdateStatus (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 20.7% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server	0.015s	coverage: 20.7% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercapability	[no test files]
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercheck	[no test files]
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercheck/extensions	[no test files]
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  | coverage: 33.3% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/staticdnsentry	0.017s	coverage: 33.3% of statements
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  | coverage: 30.0% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/status	0.016s	coverage: 30.0% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steering	[no test files]
unit_golang_1  | === RUN   TestInvalidSteeringTargetType
unit_golang_1  | --- PASS: TestInvalidSteeringTargetType (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 0.7% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steeringtargets	0.017s	coverage: 0.7% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13	[no test files]
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13/swaggerspec-server	[no test files]
unit_golang_1  | === RUN   TestGetSystemInfo
unit_golang_1  | --- PASS: TestGetSystemInfo (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 57.1% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/systeminfo	0.014s	coverage: 57.1% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tenant	[no test files]
unit_golang_1  | === RUN   TestErrorCode
unit_golang_1  | --- PASS: TestErrorCode (0.00s)
unit_golang_1  | === RUN   TestErrorContextPanicMode
unit_golang_1  | --- PASS: TestErrorContextPanicMode (0.00s)
unit_golang_1  | === RUN   TestErrorContextMapping
unit_golang_1  | --- PASS: TestErrorContextMapping (0.00s)
unit_golang_1  | === RUN   TestErrorContextMisc
unit_golang_1  | --- PASS: TestErrorContextMisc (0.00s)
unit_golang_1  | === RUN   TestErrorContext
unit_golang_1  | --- PASS: TestErrorContext (0.00s)
unit_golang_1  | === RUN   TestColsFromStructByTag
unit_golang_1  | --- PASS: TestColsFromStructByTag (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 80.2% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/test	0.044s	coverage: 80.2% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tocookie	[no test files]
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/topology	[no test files]
unit_golang_1  | === RUN   TestTSConfigFromRequest
unit_golang_1  | --- PASS: TestTSConfigFromRequest (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 4.4% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/trafficstats	0.015s	coverage: 4.4% of statements
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   TestUpdateInvalidType
unit_golang_1  | --- PASS: TestUpdateInvalidType (0.00s)
unit_golang_1  | === RUN   TestDeleteInvalidType
unit_golang_1  | --- PASS: TestDeleteInvalidType (0.00s)
unit_golang_1  | === RUN   TestCreateInvalidType
unit_golang_1  | --- PASS: TestCreateInvalidType (0.00s)
unit_golang_1  | === RUN   TestValidate
unit_golang_1  | --- PASS: TestValidate (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 39.1% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/types	0.014s	coverage: 39.1% of statements
unit_golang_1  | === RUN   TestValidateURIKeyset
unit_golang_1  | --- PASS: TestValidateURIKeyset (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 14.5% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/urisigning	0.012s	coverage: 14.5% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/user	[no test files]
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/util/ims	[no test files]
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/util/monitorhlp	[no test files]
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/vault	[no test files]
unit_golang_1  | === RUN   TestGetHandleErrorFunc
unit_golang_1  | --- PASS: TestGetHandleErrorFunc (0.00s)
unit_golang_1  | === RUN   TestCreateAlerts
unit_golang_1  | --- PASS: TestCreateAlerts (0.00s)
unit_golang_1  | === RUN   TestStatus
unit_golang_1  | --- PASS: TestStatus (0.00s)
unit_golang_1  | === RUN   TestStatusTransition
unit_golang_1  | --- PASS: TestStatusTransition (0.00s)
unit_golang_1  | === RUN   TestRequestStatusJSON
unit_golang_1  | --- PASS: TestRequestStatusJSON (0.00s)
unit_golang_1  | === RUN   TestCDNDNSSECGenerateReqDateUnmarshalJSON
unit_golang_1  | --- PASS: TestCDNDNSSECGenerateReqDateUnmarshalJSON (0.00s)
unit_golang_1  | === RUN   TestSSLKeysReqValidate
unit_golang_1  | --- PASS: TestSSLKeysReqValidate (0.00s)
unit_golang_1  | === RUN   TestDeepCachingType
unit_golang_1  | --- PASS: TestDeepCachingType (0.00s)
unit_golang_1  | === RUN   TestTimeJSON
unit_golang_1  | --- PASS: TestTimeJSON (0.05s)
unit_golang_1  | === RUN   ExampleCreateErrorAlerts
unit_golang_1  | --- PASS: ExampleCreateErrorAlerts (0.00s)
unit_golang_1  | === RUN   ExampleCreateAlerts
unit_golang_1  | --- PASS: ExampleCreateAlerts (0.00s)
unit_golang_1  | === RUN   ExampleAlerts_ToStrings
unit_golang_1  | --- PASS: ExampleAlerts_ToStrings (0.00s)
unit_golang_1  | === RUN   ExampleAlerts_AddNewAlert
unit_golang_1  | --- PASS: ExampleAlerts_AddNewAlert (0.00s)
unit_golang_1  | === RUN   ExampleAlerts_AddAlert
unit_golang_1  | --- PASS: ExampleAlerts_AddAlert (0.00s)
unit_golang_1  | === RUN   ExampleAlerts_AddAlerts
unit_golang_1  | --- PASS: ExampleAlerts_AddAlerts (0.00s)
unit_golang_1  | === RUN   ExampleFederationResolver_Validate
unit_golang_1  | --- PASS: ExampleFederationResolver_Validate (0.00s)
unit_golang_1  | === RUN   ExampleInvalidationJobInput_TTLHours_duration
unit_golang_1  | --- PASS: ExampleInvalidationJobInput_TTLHours_duration (0.00s)
unit_golang_1  | === RUN   ExampleInvalidationJobInput_TTLHours_number
unit_golang_1  | --- PASS: ExampleInvalidationJobInput_TTLHours_number (0.00s)
unit_golang_1  | === RUN   ExampleLegacyInterfaceDetails_ToInterfaces
unit_golang_1  | --- PASS: ExampleLegacyInterfaceDetails_ToInterfaces (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 11.9% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/lib/go-tc	0.063s	coverage: 11.9% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/lib/go-tc/tovalidate	[no test files]
unit_golang_1  | FAIL
jenkinstrafficcontroltrafficopstest2111_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/trafficcontrol-traffic_ops-test/ws/bin/docker-compose> -p jenkins-trafficcontrol-traffic_ops-test-2111 -f traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinstrafficcontroltrafficopstest2111_unit_golang_1 ... 
Removing jenkinstrafficcontroltrafficopstest2111_unit_golang_1 ... doneRemoving network jenkinstrafficcontroltrafficopstest2111_default
Removing volume jenkinstrafficcontroltrafficopstest2111_traffic_ops_golang
Build step 'Execute shell' marked build as failure

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

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