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/11/20 14:59:06 UTC

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

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

Changes:

[mitchell852] Improvements to Server-to-Delivery Service assignments (#3761)


------------------------------------------
[...truncated 55.77 KB...]
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.4% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/origin	0.062s	coverage: 20.4% 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.065s	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.079s	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.078s	coverage: 16.7% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/plugin	[no test files]
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.025s	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.023s	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.035s	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.03s)
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.125s	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.021s	coverage: 10.6% of statements
unit_golang_1  | === RUN   TestCompileRoutes
unit_golang_1  | --- PASS: TestCompileRoutes (0.07s)
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.102s	coverage: 57.1% of statements
unit_golang_1  | FAIL	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server [build failed]
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  | === 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.020s	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.019s	coverage: 28.9% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steering	[no test files]
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steeringtargets	[no test files]
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.018s	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.008s	coverage: 80.2% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tocookie	[no test files]
unit_golang_1  | === RUN   TestTSConfigFromRequest
unit_golang_1  | --- PASS: TestTSConfigFromRequest (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 6.6% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/trafficstats	0.018s	coverage: 6.6% 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.020s	coverage: 14.5% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/user	[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   TestDeepCachingType
unit_golang_1  | --- PASS: TestDeepCachingType (0.00s)
unit_golang_1  | === RUN   TestTimeJSON
unit_golang_1  | --- PASS: TestTimeJSON (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.3% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/lib/go-tc	0.021s	coverage: 10.3% of statements
unit_golang_1  | ?   	github.com/apache/trafficcontrol/lib/go-tc/tovalidate	[no test files]
jenkinstrafficcontroltrafficopstest1659_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-1659 -f traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinstrafficcontroltrafficopstest1659_unit_golang_1 ... 
Removing jenkinstrafficcontroltrafficopstest1659_unit_golang_1 ... doneRemoving network jenkinstrafficcontroltrafficopstest1659_default
Removing volume jenkinstrafficcontroltrafficopstest1659_traffic_ops
Removing volume jenkinstrafficcontroltrafficopstest1659_traffic_ops_golang
Build step 'Execute shell' marked build as failure

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

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