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/02/14 21:13:15 UTC

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

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

Changes:

[github] Fixed unavailable cache servers not being highlighted in red (#4302)


------------------------------------------
[...truncated 62.27 KB...]
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.063s	coverage: 16.7% of statements
unit_golang_1  | === RUN   TestCopyProfileInvalidExistingProfile
unit_golang_1  | === RUN   TestCopyProfileInvalidExistingProfile/multiple_profiles_with_existing_name_returned
unit_golang_1  | === RUN   TestCopyProfileInvalidExistingProfile/existing_profile_does_not_exist
unit_golang_1  | --- PASS: TestCopyProfileInvalidExistingProfile (0.00s)
unit_golang_1  |     --- PASS: TestCopyProfileInvalidExistingProfile/multiple_profiles_with_existing_name_returned (0.00s)
unit_golang_1  |     --- PASS: TestCopyProfileInvalidExistingProfile/existing_profile_does_not_exist (0.00s)
unit_golang_1  | === RUN   TestCopyNewProfileExists
unit_golang_1  | --- PASS: TestCopyNewProfileExists (0.00s)
unit_golang_1  | === RUN   TestCopyProfile
unit_golang_1  | --- PASS: TestCopyProfile (0.01s)
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.01s)
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.01s)
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.01s)
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: 53.8% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profile	0.070s	coverage: 53.8% 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.056s	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: 9.8% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/region	0.049s	coverage: 9.8% 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.05s)
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.102s	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: 10.6% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/role	0.032s	coverage: 10.6% of statements
unit_golang_1  | === RUN   TestCompileRoutes
unit_golang_1  | --- PASS: TestCompileRoutes (0.08s)
unit_golang_1  |     routing_test.go:162: testing path GET api/1.1/cdns
unit_golang_1  |     routing_test.go:162: testing path POST api/1.4/users/login
unit_golang_1  |     routing_test.go:162: testing path POST api/1.1/cdns
unit_golang_1  |     routing_test.go:162: testing path POST api/1.1/users
unit_golang_1  |     routing_test.go:162: testing path PUT api/1.1/deliveryservices/3
unit_golang_1  |     routing_test.go:162: testing path DELETE api/1.1/servers/777
unit_golang_1  |     routing_test.go:162: testing path GET api/1.4/cdns/1
unit_golang_1  |     routing_test.go:162: testing path GET api/1.4/notatypeweknowabout
unit_golang_1  |     routing_test.go:162: testing path GET api/1.3/asns.json
unit_golang_1  |     routing_test.go:162: testing path GET api/99999.99999/cdns
unit_golang_1  |     routing_test.go:162: testing path GET blahblah/api/1.2/cdns
unit_golang_1  |     routing_test.go:162: testing path GET internal/api/1.2/federations.json
unit_golang_1  |     routing_test.go:162: testing path GET api/1.5/servers
unit_golang_1  |     routing_test.go:162: testing path GET api/2.0/servers
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.094s	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: 51.8% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing/middleware	0.042s	coverage: 51.8% of statements
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   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: 13.5% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server	0.017s	coverage: 13.5% 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.013s	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.014s	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.012s	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.061s	coverage: 80.2% of statements
unit_golang_1  | === RUN   TestTSConfigFromRequest
unit_golang_1  | --- PASS: TestTSConfigFromRequest (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 4.7% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/trafficstats	0.017s	coverage: 4.7% 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.018s	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.013s	coverage: 14.5% of statements
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   TestDeepCachingType
unit_golang_1  | --- PASS: TestDeepCachingType (0.00s)
unit_golang_1  | === RUN   TestTimeJSON
unit_golang_1  | --- PASS: TestTimeJSON (0.00s)
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  | PASS
unit_golang_1  | coverage: 10.0% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/lib/go-tc	0.020s	coverage: 10.0% of statements
jenkinstrafficcontroltrafficopstest1834_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-1834 -f traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinstrafficcontroltrafficopstest1834_unit_golang_1 ... 
Removing jenkinstrafficcontroltrafficopstest1834_unit_golang_1 ... doneRemoving network jenkinstrafficcontroltrafficopstest1834_default
Removing volume jenkinstrafficcontroltrafficopstest1834_traffic_ops
Removing volume jenkinstrafficcontroltrafficopstest1834_traffic_ops_golang
Build step 'Execute shell' marked build as failure

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

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