See
<https://builds.apache.org/job/trafficcontrol-traffic_ops-test/2063/display/redirect?page=changes>
Changes:
[github] Changed two column names (#4803)
------------------------------------------
[...truncated 103.05 KB...]
[36munit_golang_1 |[0m
TestGetImportProfileParameters/Fail:_Storage_error_inserting_param:
profile_import_test.go:292: Starting test scenario: Fail: Storage error
inserting param
[36munit_golang_1 |[0m --- PASS: TestGetImportProfileParameters (0.00s)
[36munit_golang_1 |[0m --- PASS:
TestGetImportProfileParameters/Success:_All_import_parameters_new (0.00s)
[36munit_golang_1 |[0m --- PASS:
TestGetImportProfileParameters/Success:_All_parameters_exisiting (0.00s)
[36munit_golang_1 |[0m --- PASS:
TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters (0.00s)
[36munit_golang_1 |[0m --- PASS:
TestGetImportProfileParameters/Success:_Dup_of_existing (0.00s)
[36munit_golang_1 |[0m --- PASS:
TestGetImportProfileParameters/Fail:_Storage_error_selecting_param (0.00s)
[36munit_golang_1 |[0m --- PASS:
TestGetImportProfileParameters/Fail:_Storage_error_inserting_param (0.00s)
[36munit_golang_1 |[0m === RUN TestGetProfiles
[36munit_golang_1 |[0m --- PASS: TestGetProfiles (0.00s)
[36munit_golang_1 |[0m === RUN TestInterfaces
[36munit_golang_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_golang_1 |[0m === RUN TestValidate
[36munit_golang_1 |[0m --- PASS: TestValidate (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 52.6% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profile 0.027s
coverage: 52.6% of statements
[36munit_golang_1 |[0m === RUN TestGetProfileParameters
[36munit_golang_1 |[0m --- PASS: TestGetProfileParameters (0.00s)
[36munit_golang_1 |[0m === RUN TestInterfaces
[36munit_golang_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 2.3% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profileparameter
0.018s coverage: 2.3% of statements
[36munit_golang_1 |[0m === RUN TestReadRegions
[36munit_golang_1 |[0m --- PASS: TestReadRegions (0.00s)
[36munit_golang_1 |[0m === RUN TestInterfaces
[36munit_golang_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 9.3% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/region 0.017s
coverage: 9.3% of statements
[36munit_golang_1 |[0m === RUN TestFetchObjectValues
[36munit_golang_1 |[0m --- PASS: TestFetchObjectValues (0.00s)
[36munit_golang_1 |[0m === RUN TestSaveObject
[36munit_golang_1 |[0m --- PASS: TestSaveObject (0.00s)
[36munit_golang_1 |[0m === RUN TestDeleteObject
[36munit_golang_1 |[0m --- PASS: TestDeleteObject (0.00s)
[36munit_golang_1 |[0m === RUN TestSetTLSVersion
[36munit_golang_1 |[0m --- PASS: TestSetTLSVersion (0.00s)
[36munit_golang_1 |[0m === RUN TestGetRiakCluster
[36munit_golang_1 |[0m --- PASS: TestGetRiakCluster (0.01s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 18.3% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc 0.033s
coverage: 18.3% of statements
[36munit_golang_1 |[0m === RUN TestFuncs
[36munit_golang_1 |[0m --- PASS: TestFuncs (0.00s)
[36munit_golang_1 |[0m === RUN TestInterfaces
[36munit_golang_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_golang_1 |[0m === RUN TestValidate
[36munit_golang_1 |[0m --- PASS: TestValidate (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 10.6% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/role 0.018s
coverage: 10.6% of statements
[36munit_golang_1 |[0m === RUN TestCompileRoutes
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path GET api/1.1/cdns
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path POST api/1.4/users/login
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path POST api/1.1/cdns
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path POST api/1.1/users
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path PUT api/1.1/deliveryservices/3
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path DELETE api/1.1/servers/777
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path GET api/1.4/cdns/1
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path GET api/1.4/notatypeweknowabout
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path GET api/1.3/asns.json
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path GET api/99999.99999/cdns
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path GET blahblah/api/1.2/cdns
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path GET internal/api/1.2/federations.json
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path GET api/1.5/servers
[36munit_golang_1 |[0m TestCompileRoutes: routing_test.go:162: testing
path GET api/2.0/servers
[36munit_golang_1 |[0m --- PASS: TestCompileRoutes (0.09s)
[36munit_golang_1 |[0m === RUN TestRoutes
[36munit_golang_1 |[0m --- PASS: TestRoutes (0.00s)
[36munit_golang_1 |[0m === RUN TestCreateRouteMap
[36munit_golang_1 |[0m --- PASS: TestCreateRouteMap (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 47.9% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing 0.121s
coverage: 47.9% of statements
[36munit_golang_1 |[0m === RUN TestWrapHeaders
[36munit_golang_1 |[0m --- PASS: TestWrapHeaders (0.00s)
[36munit_golang_1 |[0m === RUN TestWrapPanicRecover
[36munit_golang_1 |[0m --- PASS: TestWrapPanicRecover (0.00s)
[36munit_golang_1 |[0m === RUN TestGzip
[36munit_golang_1 |[0m --- PASS: TestGzip (0.00s)
[36munit_golang_1 |[0m === RUN TestWrapAuth
[36munit_golang_1 |[0m --- PASS: TestWrapAuth (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 52.4% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing/middleware
0.019s coverage: 52.4% of statements
[36munit_golang_1 |[0m === RUN TestGetDetailServers
[36munit_golang_1 |[0m --- PASS: TestGetDetailServers (0.00s)
[36munit_golang_1 |[0m === RUN TestAssignDsesToServer
[36munit_golang_1 |[0m --- PASS: TestAssignDsesToServer (0.00s)
[36munit_golang_1 |[0m === RUN TestInterfaces
[36munit_golang_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_golang_1 |[0m === RUN TestUpdateServer
[36munit_golang_1 |[0m --- PASS: TestUpdateServer (0.00s)
[36munit_golang_1 |[0m === RUN TestGetServersByCachegroup
[36munit_golang_1 |[0m --- PASS: TestGetServersByCachegroup (0.00s)
[36munit_golang_1 |[0m === RUN TestGetMidServers
[36munit_golang_1 |[0m TestGetMidServers: servers_test.go:475:
getMidServers expected: len(mid) == 1, actual: 0
[36munit_golang_1 |[0m --- FAIL: TestGetMidServers (0.00s)
[36munit_golang_1 |[0m === RUN TestV3Validations
[36munit_golang_1 |[0m TestV3Validations: servers_test.go:558: Got
expected error validating server with no interfaces: a server must have at
least one interface
[36munit_golang_1 |[0m TestV3Validations: servers_test.go:570: Got
expected error validating server with nil interfaces: a server must have at
least one interface
[36munit_golang_1 |[0m TestV3Validations: servers_test.go:585: Got
expected error validating server with an MTU < 1280: type not found, associated
profile must have a cdn associated
[36munit_golang_1 |[0m TestV3Validations: servers_test.go:599: Got
expected error validating server with no IP addresses: 'interface 'eth0'
ipAddresses' cannot be blank, type not found, associated profile must have a
cdn associated
[36munit_golang_1 |[0m TestV3Validations: servers_test.go:612: Got
expected error validating server with nil IP addresses: 'interface 'eth0'
ipAddresses' cannot be blank, type not found, associated profile must have a
cdn associated
[36munit_golang_1 |[0m TestV3Validations: servers_test.go:631: Got
expected error validating server with no service addresses: type not found,
associated profile must have a cdn associated
[36munit_golang_1 |[0m TestV3Validations: servers_test.go:643: Got
expected error validating server with too many interfaces with service
addresses: interfaces: address '127.0.0.1/32' of interface 'eth0' is marked as
a service address, but an IPv4 service address appears earlier in the list,
type not found, associated profile must have a cdn associated
[36munit_golang_1 |[0m TestV3Validations: servers_test.go:661: Got
expected error validating server with no service addresses: interfaces: address
'1.2.3.4/1' of interface 'eth0' is marked as a service address, but an IPv4
service address appears earlier in the list, type not found, associated profile
must have a cdn associated
[36munit_golang_1 |[0m --- PASS: TestV3Validations (0.00s)
[36munit_golang_1 |[0m === RUN TestGetServerUpdateStatus
[36munit_golang_1 |[0m --- PASS: TestGetServerUpdateStatus (0.00s)
[36munit_golang_1 |[0m FAIL
[36munit_golang_1 |[0m coverage: 21.2% of statements
[36munit_golang_1 |[0m FAIL
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server 0.022s
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercapability
[no test files]
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercheck
[no test files]
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercheck/extensions
[no test files]
[36munit_golang_1 |[0m === RUN TestFuncs
[36munit_golang_1 |[0m --- PASS: TestFuncs (0.00s)
[36munit_golang_1 |[0m === RUN TestInterfaces
[36munit_golang_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_golang_1 |[0m === RUN TestValidate
[36munit_golang_1 |[0m --- PASS: TestValidate (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 34.1% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/staticdnsentry
0.016s coverage: 34.1% of statements
[36munit_golang_1 |[0m === RUN TestReadStatuses
[36munit_golang_1 |[0m --- PASS: TestReadStatuses (0.00s)
[36munit_golang_1 |[0m === RUN TestInterfaces
[36munit_golang_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 28.9% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/status 0.017s
coverage: 28.9% of statements
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steering
[no test files]
[36munit_golang_1 |[0m === RUN TestInvalidSteeringTargetType
[36munit_golang_1 |[0m --- PASS: TestInvalidSteeringTargetType (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 0.8% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steeringtargets
0.016s coverage: 0.8% of statements
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13
[no test files]
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13/swaggerspec-server
[no test files]
[36munit_golang_1 |[0m === RUN TestGetSystemInfo
[36munit_golang_1 |[0m --- PASS: TestGetSystemInfo (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 57.1% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/systeminfo
0.018s coverage: 57.1% of statements
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tenant [no
test files]
[36munit_golang_1 |[0m === RUN TestErrorCode
[36munit_golang_1 |[0m --- PASS: TestErrorCode (0.00s)
[36munit_golang_1 |[0m === RUN TestErrorContextPanicMode
[36munit_golang_1 |[0m --- PASS: TestErrorContextPanicMode (0.00s)
[36munit_golang_1 |[0m === RUN TestErrorContextMapping
[36munit_golang_1 |[0m --- PASS: TestErrorContextMapping (0.00s)
[36munit_golang_1 |[0m === RUN TestErrorContextMisc
[36munit_golang_1 |[0m --- PASS: TestErrorContextMisc (0.00s)
[36munit_golang_1 |[0m === RUN TestErrorContext
[36munit_golang_1 |[0m --- PASS: TestErrorContext (0.00s)
[36munit_golang_1 |[0m === RUN TestColsFromStructByTag
[36munit_golang_1 |[0m --- PASS: TestColsFromStructByTag (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 80.2% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/test 0.066s
coverage: 80.2% of statements
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tocookie
[no test files]
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/topology
[no test files]
[36munit_golang_1 |[0m === RUN TestTSConfigFromRequest
[36munit_golang_1 |[0m --- PASS: TestTSConfigFromRequest (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 4.4% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/trafficstats
0.016s coverage: 4.4% of statements
[36munit_golang_1 |[0m === RUN TestGetType
[36munit_golang_1 |[0m --- PASS: TestGetType (0.00s)
[36munit_golang_1 |[0m === RUN TestInterfaces
[36munit_golang_1 |[0m --- PASS: TestInterfaces (0.00s)
[36munit_golang_1 |[0m === RUN TestUpdateInvalidType
[36munit_golang_1 |[0m --- PASS: TestUpdateInvalidType (0.00s)
[36munit_golang_1 |[0m === RUN TestDeleteInvalidType
[36munit_golang_1 |[0m --- PASS: TestDeleteInvalidType (0.00s)
[36munit_golang_1 |[0m === RUN TestCreateInvalidType
[36munit_golang_1 |[0m --- PASS: TestCreateInvalidType (0.00s)
[36munit_golang_1 |[0m === RUN TestValidate
[36munit_golang_1 |[0m --- PASS: TestValidate (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 40.3% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/types 0.016s
coverage: 40.3% of statements
[36munit_golang_1 |[0m === RUN TestValidateURIKeyset
[36munit_golang_1 |[0m --- PASS: TestValidateURIKeyset (0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 14.5% of statements
[36munit_golang_1 |[0m ok
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/urisigning
0.016s coverage: 14.5% of statements
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/user [no
test files]
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/util/monitorhlp
[no test files]
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/vault [no
test files]
[36munit_golang_1 |[0m === RUN TestGetHandleErrorFunc
[36munit_golang_1 |[0m --- PASS: TestGetHandleErrorFunc (0.00s)
[36munit_golang_1 |[0m === RUN TestCreateAlerts
[36munit_golang_1 |[0m --- PASS: TestCreateAlerts (0.00s)
[36munit_golang_1 |[0m === RUN TestStatus
[36munit_golang_1 |[0m --- PASS: TestStatus (0.00s)
[36munit_golang_1 |[0m === RUN TestStatusTransition
[36munit_golang_1 |[0m --- PASS: TestStatusTransition (0.00s)
[36munit_golang_1 |[0m === RUN TestRequestStatusJSON
[36munit_golang_1 |[0m --- PASS: TestRequestStatusJSON (0.00s)
[36munit_golang_1 |[0m === RUN TestCDNDNSSECGenerateReqDateUnmarshalJSON
[36munit_golang_1 |[0m --- PASS: TestCDNDNSSECGenerateReqDateUnmarshalJSON
(0.00s)
[36munit_golang_1 |[0m === RUN TestSSLKeysReqValidate
[36munit_golang_1 |[0m --- PASS: TestSSLKeysReqValidate (0.00s)
[36munit_golang_1 |[0m === RUN TestDeepCachingType
[36munit_golang_1 |[0m --- PASS: TestDeepCachingType (0.00s)
[36munit_golang_1 |[0m === RUN TestTimeJSON
[36munit_golang_1 |[0m --- PASS: TestTimeJSON (0.00s)
[36munit_golang_1 |[0m === RUN ExampleCreateErrorAlerts
[36munit_golang_1 |[0m --- PASS: ExampleCreateErrorAlerts (0.00s)
[36munit_golang_1 |[0m === RUN ExampleCreateAlerts
[36munit_golang_1 |[0m --- PASS: ExampleCreateAlerts (0.00s)
[36munit_golang_1 |[0m === RUN ExampleAlerts_ToStrings
[36munit_golang_1 |[0m --- PASS: ExampleAlerts_ToStrings (0.00s)
[36munit_golang_1 |[0m === RUN ExampleAlerts_AddNewAlert
[36munit_golang_1 |[0m --- PASS: ExampleAlerts_AddNewAlert (0.00s)
[36munit_golang_1 |[0m === RUN ExampleAlerts_AddAlert
[36munit_golang_1 |[0m --- PASS: ExampleAlerts_AddAlert (0.00s)
[36munit_golang_1 |[0m === RUN ExampleAlerts_AddAlerts
[36munit_golang_1 |[0m --- PASS: ExampleAlerts_AddAlerts (0.00s)
[36munit_golang_1 |[0m === RUN ExampleFederationResolver_Validate
[36munit_golang_1 |[0m --- PASS: ExampleFederationResolver_Validate (0.00s)
[36munit_golang_1 |[0m === RUN
ExampleInvalidationJobInput_TTLHours_duration
[36munit_golang_1 |[0m --- PASS:
ExampleInvalidationJobInput_TTLHours_duration (0.00s)
[36munit_golang_1 |[0m === RUN ExampleInvalidationJobInput_TTLHours_number
[36munit_golang_1 |[0m --- PASS: ExampleInvalidationJobInput_TTLHours_number
(0.00s)
[36munit_golang_1 |[0m === RUN ExampleLegacyInterfaceDetails_ToInterfaces
[36munit_golang_1 |[0m --- PASS: ExampleLegacyInterfaceDetails_ToInterfaces
(0.00s)
[36munit_golang_1 |[0m PASS
[36munit_golang_1 |[0m coverage: 12.4% of statements
[36munit_golang_1 |[0m ok github.com/apache/trafficcontrol/lib/go-tc
0.019s coverage: 12.4% of statements
[36munit_golang_1 |[0m ?
github.com/apache/trafficcontrol/lib/go-tc/tovalidate [no test files]
[36munit_golang_1 |[0m FAIL
[36mjenkinstrafficcontroltrafficopstest2063_unit_golang_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-traffic_ops-test/ws/bin/docker-compose>
-p jenkins-trafficcontrol-traffic_ops-test-2063 -f
traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinstrafficcontroltrafficopstest2063_unit_golang_1 ...
[1A[2KRemoving jenkinstrafficcontroltrafficopstest2063_unit_golang_1 ...
[32mdone[0m[1BRemoving network
jenkinstrafficcontroltrafficopstest2063_default
Removing volume jenkinstrafficcontroltrafficopstest2063_traffic_ops_golang
Build step 'Execute shell' marked build as failure