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 2019/10/10 21:15:45 UTC

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

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

Changes:

[jeffrey_elsloo] check outcome of enforce command

[jeffrey_elsloo] second attempt, remove return completely

[jeffrey_elsloo] added new isSteeringDS field to RGB json, first attempt at enforcing RGB

[jeffrey_elsloo] RGB NPE fix

[jeffrey_elsloo] added a new field to the rgb config to identify steering DSs.  Do not

[jeffrey_elsloo] cleaned up formatting

[jeffrey_elsloo] fixed formatting issues

[jeffrey_elsloo] more formatting


------------------------------------------
[...truncated 43.70 KB...]
unit_golang_1  | === RUN   TestLoginWithEmptyCredentials
unit_golang_1  | --- PASS: TestLoginWithEmptyCredentials (0.00s)
unit_golang_1  | === RUN   TestVerifyUrlOnWhiteList
unit_golang_1  | --- PASS: TestVerifyUrlOnWhiteList (0.00s)
unit_golang_1  | === RUN   TestLogout
unit_golang_1  | --- PASS: TestLogout (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 16.1% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/login	0.084s	coverage: 16.1% of statements
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  | PASS
unit_golang_1  | coverage: 81.7% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/monitoring	0.079s	coverage: 81.7% of statements
unit_golang_1  | === RUN   TestReadOrigins
unit_golang_1  | --- PASS: TestReadOrigins (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  | coverage: 20.3% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/origin	0.023s	coverage: 20.3% of statements
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  | coverage: 33.9% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/parameter	0.030s	coverage: 33.9% of statements
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  | coverage: 15.7% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/physlocation	0.025s	coverage: 15.7% of statements
unit_golang_1  | === RUN   TestPingHandler
unit_golang_1  | --- PASS: TestPingHandler (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 16.7% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/ping	0.068s	coverage: 16.7% of statements
unit_golang_1  | === RUN   TestGetExportProfileResponse
unit_golang_1  | === RUN   TestGetExportProfileResponse/Success:_Read_export_profile_successful
unit_golang_1  | === RUN   TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful
unit_golang_1  | === RUN   TestGetExportProfileResponse/Failure:_Storage_error_reading_profile
unit_golang_1  | --- PASS: TestGetExportProfileResponse (0.00s)
unit_golang_1  |     --- PASS: TestGetExportProfileResponse/Success:_Read_export_profile_successful (0.00s)
unit_golang_1  |         profile_export_test.go:74: Starting test scenario:  Success: Read export profile successful
unit_golang_1  |     --- PASS: TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful (0.00s)
unit_golang_1  |         profile_export_test.go:74: Starting test scenario:  Success: Read export profile with no parameters successful
unit_golang_1  |     --- PASS: TestGetExportProfileResponse/Failure:_Storage_error_reading_profile (0.00s)
unit_golang_1  |         profile_export_test.go:74: Starting test scenario:  Failure: Storage error reading profile
unit_golang_1  | === RUN   TestGetImportProfile
unit_golang_1  | === RUN   TestGetImportProfile/Success:_Import_profile_successful
unit_golang_1  | === RUN   TestGetImportProfile/Failure:_Import_profile_didn't_insert_row
unit_golang_1  | === RUN   TestGetImportProfile/Failure:_Import_profile_storage_error
unit_golang_1  | --- PASS: TestGetImportProfile (0.00s)
unit_golang_1  |     --- PASS: TestGetImportProfile/Success:_Import_profile_successful (0.00s)
unit_golang_1  |         profile_import_test.go:86: Starting test scenario:  Success: Import profile successful
unit_golang_1  |     --- PASS: TestGetImportProfile/Failure:_Import_profile_didn't_insert_row (0.00s)
unit_golang_1  |         profile_import_test.go:86: Starting test scenario:  Failure: Import profile didn't insert row
unit_golang_1  |     --- PASS: TestGetImportProfile/Failure:_Import_profile_storage_error (0.00s)
unit_golang_1  |         profile_import_test.go:86: Starting test scenario:  Failure: Import profile storage error
unit_golang_1  | === RUN   TestGetImportProfileParameters
unit_golang_1  | === RUN   TestGetImportProfileParameters/Success:_All_import_parameters_new
unit_golang_1  | === RUN   TestGetImportProfileParameters/Success:_All_parameters_exisiting
unit_golang_1  | === RUN   TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters
unit_golang_1  | === RUN   TestGetImportProfileParameters/Success:_Dup_of_existing
unit_golang_1  | === RUN   TestGetImportProfileParameters/Fail:_Storage_error_selecting_param
unit_golang_1  | === RUN   TestGetImportProfileParameters/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  |         profile_import_test.go:292: Starting test scenario:  Success: All import parameters new
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Success:_All_parameters_exisiting (0.00s)
unit_golang_1  |         profile_import_test.go:292: Starting test scenario:  Success: All parameters exisiting
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters (0.00s)
unit_golang_1  |         profile_import_test.go:292: Starting test scenario:  Success: Mix of existing/new parameters
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Success:_Dup_of_existing (0.00s)
unit_golang_1  |         profile_import_test.go:292: Starting test scenario:  Success: Dup of existing
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Fail:_Storage_error_selecting_param (0.00s)
unit_golang_1  |         profile_import_test.go:292: Starting test scenario:  Fail: Storage error selecting param
unit_golang_1  |     --- PASS: TestGetImportProfileParameters/Fail:_Storage_error_inserting_param (0.00s)
unit_golang_1  |         profile_import_test.go:292: Starting test scenario:  Fail: Storage error inserting param
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: 43.5% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profile	0.043s	coverage: 43.5% 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.4% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profileparameter	0.008s	coverage: 2.4% 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: 12.5% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/region	0.045s	coverage: 12.5% 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   TestGetRiakCluster
unit_golang_1  | --- PASS: TestGetRiakCluster (0.09s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 16.9% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc	0.177s	coverage: 16.9% 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: 11.6% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/role	0.018s	coverage: 11.6% of statements
unit_golang_1  | # github.com/apache/trafficcontrol/lib/go-tc [github.com/apache/trafficcontrol/lib/go-tc.test]
unit_golang_1  | ../../lib/go-tc/invalidationjobs_test.go:25:43: cannot use "121m" (type string) as type *interface {} in field value:
unit_golang_1  | 	*interface {} is pointer to interface, not interface
unit_golang_1  | ../../lib/go-tc/invalidationjobs_test.go:25:43: too few values in InvalidationJobInput literal
unit_golang_1  | ../../lib/go-tc/invalidationjobs_test.go:35:43: cannot use 2.1 (type float64) as type *interface {} in field value:
unit_golang_1  | 	*interface {} is pointer to interface, not interface
unit_golang_1  | ../../lib/go-tc/invalidationjobs_test.go:35:43: too few values in InvalidationJobInput literal
unit_golang_1  | === RUN   TestCompileRoutes
unit_golang_1  | --- PASS: TestCompileRoutes (0.04s)
unit_golang_1  |     routing_test.go:148: testing path GET api/1.1/cdns
unit_golang_1  |     routing_test.go:148: testing path POST api/1.4/users/login
unit_golang_1  |     routing_test.go:148: testing path POST api/1.1/cdns
unit_golang_1  |     routing_test.go:148: testing path POST api/1.1/users
unit_golang_1  |     routing_test.go:148: testing path PUT api/1.1/deliveryservices/3
unit_golang_1  |     routing_test.go:148: testing path DELETE api/1.1/servers/777
unit_golang_1  |     routing_test.go:148: testing path GET api/1.4/cdns/1
unit_golang_1  |     routing_test.go:148: testing path GET api/1.4/notatypeweknowabout
unit_golang_1  |     routing_test.go:148: testing path GET api/1.3/asns.json
unit_golang_1  |     routing_test.go:148: testing path GET api/99999.99999/cdns
unit_golang_1  |     routing_test.go:148: testing path GET blahblah/api/1.2/cdns
unit_golang_1  |     routing_test.go:148: testing path GET internal/api/1.2/federations.json
unit_golang_1  | === RUN   TestCreateRouteMap
unit_golang_1  | --- PASS: TestCreateRouteMap (0.00s)
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: 57.1% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing	0.052s	coverage: 57.1% of statements
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  | PASS
unit_golang_1  | coverage: 22.7% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server	0.011s	coverage: 22.7% 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: 34.1% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/staticdnsentry	0.025s	coverage: 34.1% 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: 28.9% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/status	0.025s	coverage: 28.9% of statements
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.018s	coverage: 57.1% of statements
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.009s	coverage: 80.2% 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   TestValidate
unit_golang_1  | --- PASS: TestValidate (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 23.5% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/types	0.009s	coverage: 23.5% 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.010s	coverage: 14.5% of statements
unit_golang_1  | FAIL	github.com/apache/trafficcontrol/lib/go-tc [build failed]
jenkinstrafficcontroltrafficopstest1567_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/trafficcontrol-traffic_ops-test/ws/bin/docker-compose> -p jenkins-trafficcontrol-traffic_ops-test-1567 -f traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinstrafficcontroltrafficopstest1567_unit_golang_1 ... 
Removing jenkinstrafficcontroltrafficopstest1567_unit_golang_1 ... doneRemoving network jenkinstrafficcontroltrafficopstest1567_default
Removing volume jenkinstrafficcontroltrafficopstest1567_traffic_ops
Removing volume jenkinstrafficcontroltrafficopstest1567_traffic_ops_golang
Build step 'Execute shell' marked build as failure

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

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