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/12/19 21:57:11 UTC

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

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

Changes:

[ocket8888] Add TM dir to TO-Go unit test container (#4226)


------------------------------------------
[...truncated 61.94 KB...]
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.093s	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.081s	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.080s	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.100s	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   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.00s)
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.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.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: 53.8% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profile	0.084s	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.064s	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.082s	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.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.116s	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.042s	coverage: 10.6% of statements
unit_golang_1  | # github.com/apache/trafficcontrol/lib/go-tc
unit_golang_1  | ../../lib/go-tc/users.go:264: Errorf format %v reads arg #1, but call has 0 args
unit_golang_1  | === RUN   TestCompileRoutes
unit_golang_1  | --- PASS: TestCompileRoutes (0.06s)
unit_golang_1  |     routing_test.go:149: testing path GET api/1.1/cdns
unit_golang_1  |     routing_test.go:149: testing path POST api/1.4/users/login
unit_golang_1  |     routing_test.go:149: testing path POST api/1.1/cdns
unit_golang_1  |     routing_test.go:149: testing path POST api/1.1/users
unit_golang_1  |     routing_test.go:149: testing path PUT api/1.1/deliveryservices/3
unit_golang_1  |     routing_test.go:149: testing path DELETE api/1.1/servers/777
unit_golang_1  |     routing_test.go:149: testing path GET api/1.4/cdns/1
unit_golang_1  |     routing_test.go:149: testing path GET api/1.4/notatypeweknowabout
unit_golang_1  |     routing_test.go:149: testing path GET api/1.3/asns.json
unit_golang_1  |     routing_test.go:149: testing path GET api/99999.99999/cdns
unit_golang_1  |     routing_test.go:149: testing path GET blahblah/api/1.2/cdns
unit_golang_1  |     routing_test.go:149: testing path GET internal/api/1.2/federations.json
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: 46.2% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing	0.081s	coverage: 46.2% 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.014s	coverage: 13.5% 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  | === 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.030s	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.026s	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.020s	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.018s	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: 5.6% of statements
unit_golang_1  | ok  	github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/trafficstats	0.022s	coverage: 5.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.016s	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.016s	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/monitorhlp	[no test files]
unit_golang_1  | FAIL	github.com/apache/trafficcontrol/lib/go-tc [build failed]
unit_golang_1  | ?   	github.com/apache/trafficcontrol/lib/go-tc/tovalidate	[no test files]
jenkinstrafficcontroltrafficopstest1719_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-1719 -f traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinstrafficcontroltrafficopstest1719_unit_golang_1 ... 
Removing jenkinstrafficcontroltrafficopstest1719_unit_golang_1 ... doneRemoving network jenkinstrafficcontroltrafficopstest1719_default
Removing volume jenkinstrafficcontroltrafficopstest1719_traffic_ops
Removing volume jenkinstrafficcontroltrafficopstest1719_traffic_ops_golang
Build step 'Execute shell' marked build as failure

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

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