See
<https://builds.apache.org/job/trafficcontrol-PR/5387/display/redirect?page=changes>
Changes:
[Michael_Hoppal] Deprecate GET cachegroups/:id
------------------------------------------
[...truncated 3.04 MB...]
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 15.7% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/physlocation
0.017s coverage: 15.7% of statements
[36munit_1 |[0m === RUN TestPingHandler
[36munit_1 |[0m --- PASS: TestPingHandler (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 16.7% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/ping 0.014s
coverage: 16.7% of statements
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/plugin [no
test files]
[36munit_1 |[0m === RUN TestCopyProfileInvalidExistingProfile
[36munit_1 |[0m === RUN
TestCopyProfileInvalidExistingProfile/multiple_profiles_with_existing_name_returned
[36munit_1 |[0m === RUN
TestCopyProfileInvalidExistingProfile/existing_profile_does_not_exist
[36munit_1 |[0m --- PASS: TestCopyProfileInvalidExistingProfile (0.00s)
[36munit_1 |[0m --- PASS:
TestCopyProfileInvalidExistingProfile/multiple_profiles_with_existing_name_returned
(0.00s)
[36munit_1 |[0m --- PASS:
TestCopyProfileInvalidExistingProfile/existing_profile_does_not_exist (0.00s)
[36munit_1 |[0m === RUN TestCopyNewProfileExists
[36munit_1 |[0m --- PASS: TestCopyNewProfileExists (0.00s)
[36munit_1 |[0m === RUN TestCopyProfile
[36munit_1 |[0m --- PASS: TestCopyProfile (0.00s)
[36munit_1 |[0m === RUN TestGetExportProfileResponse
[36munit_1 |[0m === RUN
TestGetExportProfileResponse/Success:_Read_export_profile_successful
[36munit_1 |[0m === RUN
TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful
[36munit_1 |[0m === RUN
TestGetExportProfileResponse/Failure:_Storage_error_reading_profile
[36munit_1 |[0m --- PASS: TestGetExportProfileResponse (0.00s)
[36munit_1 |[0m --- PASS:
TestGetExportProfileResponse/Success:_Read_export_profile_successful (0.00s)
[36munit_1 |[0m profile_export_test.go:74: Starting test scenario:
Success: Read export profile successful
[36munit_1 |[0m --- PASS:
TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful
(0.00s)
[36munit_1 |[0m profile_export_test.go:74: Starting test scenario:
Success: Read export profile with no parameters successful
[36munit_1 |[0m --- PASS:
TestGetExportProfileResponse/Failure:_Storage_error_reading_profile (0.00s)
[36munit_1 |[0m profile_export_test.go:74: Starting test scenario:
Failure: Storage error reading profile
[36munit_1 |[0m === RUN TestGetImportProfile
[36munit_1 |[0m === RUN
TestGetImportProfile/Success:_Import_profile_successful
[36munit_1 |[0m === RUN
TestGetImportProfile/Failure:_Import_profile_didn't_insert_row
[36munit_1 |[0m === RUN
TestGetImportProfile/Failure:_Import_profile_storage_error
[36munit_1 |[0m --- PASS: TestGetImportProfile (0.00s)
[36munit_1 |[0m --- PASS:
TestGetImportProfile/Success:_Import_profile_successful (0.00s)
[36munit_1 |[0m profile_import_test.go:86: Starting test scenario:
Success: Import profile successful
[36munit_1 |[0m --- PASS:
TestGetImportProfile/Failure:_Import_profile_didn't_insert_row (0.00s)
[36munit_1 |[0m profile_import_test.go:86: Starting test scenario:
Failure: Import profile didn't insert row
[36munit_1 |[0m --- PASS:
TestGetImportProfile/Failure:_Import_profile_storage_error (0.00s)
[36munit_1 |[0m profile_import_test.go:86: Starting test scenario:
Failure: Import profile storage error
[36munit_1 |[0m === RUN TestGetImportProfileParameters
[36munit_1 |[0m === RUN
TestGetImportProfileParameters/Success:_All_import_parameters_new
[36munit_1 |[0m === RUN
TestGetImportProfileParameters/Success:_All_parameters_exisiting
[36munit_1 |[0m === RUN
TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters
[36munit_1 |[0m === RUN
TestGetImportProfileParameters/Success:_Dup_of_existing
[36munit_1 |[0m === RUN
TestGetImportProfileParameters/Fail:_Storage_error_selecting_param
[36munit_1 |[0m === RUN
TestGetImportProfileParameters/Fail:_Storage_error_inserting_param
[36munit_1 |[0m --- PASS: TestGetImportProfileParameters (0.00s)
[36munit_1 |[0m --- PASS:
TestGetImportProfileParameters/Success:_All_import_parameters_new (0.00s)
[36munit_1 |[0m profile_import_test.go:292: Starting test scenario:
Success: All import parameters new
[36munit_1 |[0m --- PASS:
TestGetImportProfileParameters/Success:_All_parameters_exisiting (0.00s)
[36munit_1 |[0m profile_import_test.go:292: Starting test scenario:
Success: All parameters exisiting
[36munit_1 |[0m --- PASS:
TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters (0.00s)
[36munit_1 |[0m profile_import_test.go:292: Starting test scenario:
Success: Mix of existing/new parameters
[36munit_1 |[0m --- PASS:
TestGetImportProfileParameters/Success:_Dup_of_existing (0.00s)
[36munit_1 |[0m profile_import_test.go:292: Starting test scenario:
Success: Dup of existing
[36munit_1 |[0m --- PASS:
TestGetImportProfileParameters/Fail:_Storage_error_selecting_param (0.00s)
[36munit_1 |[0m profile_import_test.go:292: Starting test scenario:
Fail: Storage error selecting param
[36munit_1 |[0m --- PASS:
TestGetImportProfileParameters/Fail:_Storage_error_inserting_param (0.00s)
[36munit_1 |[0m profile_import_test.go:292: Starting test scenario:
Fail: Storage error inserting param
[36munit_1 |[0m === RUN TestGetProfiles
[36munit_1 |[0m --- PASS: TestGetProfiles (0.00s)
[36munit_1 |[0m === RUN TestInterfaces
[36munit_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_1 |[0m === RUN TestValidate
[36munit_1 |[0m --- PASS: TestValidate (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 53.8% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profile 0.026s
coverage: 53.8% of statements
[36munit_1 |[0m === RUN TestGetProfileParameters
[36munit_1 |[0m --- PASS: TestGetProfileParameters (0.00s)
[36munit_1 |[0m === RUN TestInterfaces
[36munit_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 2.4% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profileparameter
0.016s coverage: 2.4% of statements
[36munit_1 |[0m === RUN TestReadRegions
[36munit_1 |[0m --- PASS: TestReadRegions (0.00s)
[36munit_1 |[0m === RUN TestInterfaces
[36munit_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 9.8% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/region 0.012s
coverage: 9.8% of statements
[36munit_1 |[0m === RUN TestFetchObjectValues
[36munit_1 |[0m --- PASS: TestFetchObjectValues (0.00s)
[36munit_1 |[0m === RUN TestSaveObject
[36munit_1 |[0m --- PASS: TestSaveObject (0.00s)
[36munit_1 |[0m === RUN TestDeleteObject
[36munit_1 |[0m --- PASS: TestDeleteObject (0.00s)
[36munit_1 |[0m === RUN TestGetRiakCluster
[36munit_1 |[0m --- PASS: TestGetRiakCluster (0.06s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 16.2% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc 0.078s
coverage: 16.2% of statements
[36munit_1 |[0m === RUN TestFuncs
[36munit_1 |[0m --- PASS: TestFuncs (0.00s)
[36munit_1 |[0m === RUN TestInterfaces
[36munit_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_1 |[0m === RUN TestValidate
[36munit_1 |[0m --- PASS: TestValidate (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 10.6% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/role 0.015s
coverage: 10.6% of statements
[36munit_1 |[0m === RUN TestCompileRoutes
[36munit_1 |[0m --- PASS: TestCompileRoutes (0.09s)
[36munit_1 |[0m routing_test.go:162: testing path GET api/1.1/cdns
[36munit_1 |[0m routing_test.go:162: testing path POST
api/1.4/users/login
[36munit_1 |[0m routing_test.go:162: testing path POST api/1.1/cdns
[36munit_1 |[0m routing_test.go:162: testing path POST api/1.1/users
[36munit_1 |[0m routing_test.go:162: testing path PUT
api/1.1/deliveryservices/3
[36munit_1 |[0m routing_test.go:162: testing path DELETE
api/1.1/servers/777
[36munit_1 |[0m routing_test.go:162: testing path GET api/1.4/cdns/1
[36munit_1 |[0m routing_test.go:162: testing path GET
api/1.4/notatypeweknowabout
[36munit_1 |[0m routing_test.go:162: testing path GET api/1.3/asns.json
[36munit_1 |[0m routing_test.go:162: testing path GET
api/99999.99999/cdns
[36munit_1 |[0m routing_test.go:162: testing path GET
blahblah/api/1.2/cdns
[36munit_1 |[0m routing_test.go:162: testing path GET
internal/api/1.2/federations.json
[36munit_1 |[0m routing_test.go:162: testing path GET api/1.5/servers
[36munit_1 |[0m routing_test.go:162: testing path GET api/2.0/servers
[36munit_1 |[0m === RUN TestRoutes
[36munit_1 |[0m --- PASS: TestRoutes (0.00s)
[36munit_1 |[0m === RUN TestCreateRouteMap
[36munit_1 |[0m --- PASS: TestCreateRouteMap (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 47.9% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing 0.109s
coverage: 47.9% of statements
[36munit_1 |[0m === RUN TestWrapHeaders
[36munit_1 |[0m --- PASS: TestWrapHeaders (0.00s)
[36munit_1 |[0m === RUN TestWrapPanicRecover
[36munit_1 |[0m --- PASS: TestWrapPanicRecover (0.00s)
[36munit_1 |[0m === RUN TestGzip
[36munit_1 |[0m --- PASS: TestGzip (0.00s)
[36munit_1 |[0m === RUN TestWrapAuth
[36munit_1 |[0m --- PASS: TestWrapAuth (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 51.8% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing/middleware
0.017s coverage: 51.8% of statements
[36munit_1 |[0m === RUN TestAssignDsesToServer
[36munit_1 |[0m --- PASS: TestAssignDsesToServer (0.00s)
[36munit_1 |[0m === RUN TestInterfaces
[36munit_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_1 |[0m === RUN TestGetServersByCachegroup
[36munit_1 |[0m --- PASS: TestGetServersByCachegroup (0.00s)
[36munit_1 |[0m === RUN TestGetServerUpdateStatus
[36munit_1 |[0m --- PASS: TestGetServerUpdateStatus (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 13.5% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server 0.019s
coverage: 13.5% of statements
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercapability
[no test files]
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercheck
[no test files]
[36munit_1 |[0m === RUN TestFuncs
[36munit_1 |[0m --- PASS: TestFuncs (0.00s)
[36munit_1 |[0m === RUN TestInterfaces
[36munit_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_1 |[0m === RUN TestValidate
[36munit_1 |[0m --- PASS: TestValidate (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 34.1% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/staticdnsentry
0.017s coverage: 34.1% of statements
[36munit_1 |[0m === RUN TestReadStatuses
[36munit_1 |[0m --- PASS: TestReadStatuses (0.00s)
[36munit_1 |[0m === RUN TestInterfaces
[36munit_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 28.9% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/status 0.016s
coverage: 28.9% of statements
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steering
[no test files]
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steeringtargets
[no test files]
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13
[no test files]
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13/swaggerspec-server
[no test files]
[36munit_1 |[0m === RUN TestGetSystemInfo
[36munit_1 |[0m --- PASS: TestGetSystemInfo (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 57.1% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/systeminfo
0.014s coverage: 57.1% of statements
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tenant [no
test files]
[36munit_1 |[0m === RUN TestErrorCode
[36munit_1 |[0m --- PASS: TestErrorCode (0.00s)
[36munit_1 |[0m === RUN TestErrorContextPanicMode
[36munit_1 |[0m --- PASS: TestErrorContextPanicMode (0.00s)
[36munit_1 |[0m === RUN TestErrorContextMapping
[36munit_1 |[0m --- PASS: TestErrorContextMapping (0.00s)
[36munit_1 |[0m === RUN TestErrorContextMisc
[36munit_1 |[0m --- PASS: TestErrorContextMisc (0.00s)
[36munit_1 |[0m === RUN TestErrorContext
[36munit_1 |[0m --- PASS: TestErrorContext (0.00s)
[36munit_1 |[0m === RUN TestColsFromStructByTag
[36munit_1 |[0m --- PASS: TestColsFromStructByTag (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 80.2% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/test 0.004s
coverage: 80.2% of statements
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tocookie
[no test files]
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/toextension
[no test files]
[36munit_1 |[0m === RUN TestTSConfigFromRequest
[36munit_1 |[0m --- PASS: TestTSConfigFromRequest (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 4.7% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/trafficstats
0.017s coverage: 4.7% of statements
[36munit_1 |[0m === RUN TestGetType
[36munit_1 |[0m --- PASS: TestGetType (0.00s)
[36munit_1 |[0m === RUN TestInterfaces
[36munit_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_1 |[0m === RUN TestValidate
[36munit_1 |[0m --- PASS: TestValidate (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 23.5% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/types 0.016s
coverage: 23.5% of statements
[36munit_1 |[0m === RUN TestValidateURIKeyset
[36munit_1 |[0m --- PASS: TestValidateURIKeyset (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 14.5% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/urisigning
0.018s coverage: 14.5% of statements
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/user [no
test files]
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/util/monitorhlp
[no test files]
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg [no test files]
[36munit_1 |[0m === RUN TestGetDSFromURISigningConfigFileName
[36munit_1 |[0m --- PASS: TestGetDSFromURISigningConfigFileName (0.00s)
[36munit_1 |[0m === RUN TestGetDSFromURLSigConfigFileName
[36munit_1 |[0m --- PASS: TestGetDSFromURLSigConfigFileName (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 0.7% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/cfgfile 0.021s
coverage: 0.7% of statements
[36munit_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/config [no
test files]
[36munit_1 |[0m === RUN TestPlugin
[36munit_1 |[0m --- PASS: TestPlugin (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 60.0% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/plugin 0.011s
coverage: 60.0% of statements
[36munit_1 |[0m === RUN TestWriteCacheJSON
[36munit_1 |[0m --- PASS: TestWriteCacheJSON (0.00s)
[36munit_1 |[0m === RUN TestWriteCacheGob
[36munit_1 |[0m --- PASS: TestWriteCacheGob (0.00s)
[36munit_1 |[0m PASS
[36munit_1 |[0m coverage: 3.3% of statements
[36munit_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/ort/atstccfg/toreq 0.018s
coverage: 3.3% of statements
[36mtrafficcontrol-pr_unit_1 exited with code 1
[0mAborting 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-PR/ws/bin/docker-compose> -p
trafficcontrol-PR -f tools/golang/docker-compose.yml down -v
Removing trafficcontrol-pr_unit_1 ...
[1A[2KRemoving trafficcontrol-pr_unit_1 ... [32mdone[0m[1BRemoving network
trafficcontrol-pr_default
Build step 'Execute shell' marked build as failure
Skipped archiving because build is not successful