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

Changes:

[mitchell852] Added deprecation notices for /user/current/update (#3954)


------------------------------------------
[...truncated 47.37 KB...]
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.3% of statements
unit_golang_1  | ok    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/origin  0.074s  
coverage: 20.3% 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.077s  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.072s  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.071s  
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.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: 43.5% of statements
unit_golang_1  | ok    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profile 0.047s  
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.013s  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.061s  
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.02s)
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.103s  
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: 11.2% of statements
unit_golang_1  | ok    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/role    0.062s  
coverage: 11.2% of statements
unit_golang_1  | === RUN   TestCompileRoutes
unit_golang_1  | --- PASS: TestCompileRoutes (0.04s)
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.049s  
coverage: 57.1% of statements
unit_golang_1  | === RUN   TestAssignDsesToServer
unit_golang_1  | --- PASS: TestAssignDsesToServer (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: 22.7% of statements
unit_golang_1  | ok    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server  0.010s  
coverage: 22.7% 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.015s  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.013s  
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.011s  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.012s  
coverage: 80.2% of statements
unit_golang_1  | ?     
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tocookie        
[no test files]
unit_golang_1  | FAIL  
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/trafficstats 
[build failed]
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.013s  
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.009s  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   
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.9% of statements
unit_golang_1  | ok    github.com/apache/trafficcontrol/lib/go-tc      
0.056s  coverage: 10.9% of statements
unit_golang_1  | ?     
github.com/apache/trafficcontrol/lib/go-tc/tovalidate   [no test files]
jenkinstrafficcontroltrafficopstest1577_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-1577 -f 
traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinstrafficcontroltrafficopstest1577_unit_golang_1 ... 
Removing jenkinstrafficcontroltrafficopstest1577_unit_golang_1 ... 
doneRemoving network 
jenkinstrafficcontroltrafficopstest1577_default
Removing volume jenkinstrafficcontroltrafficopstest1577_traffic_ops
Removing volume jenkinstrafficcontroltrafficopstest1577_traffic_ops_golang
Build step 'Execute shell' marked build as failure

Reply via email to