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

Changes:

[mrdgelinas] added json response field use_reval_pending to update_status 
endpoint

------------------------------------------
[...truncated 67.95 KB...]
unit_golang_1  | --- PASS: TestUpdateHandler (0.00s)
unit_golang_1  | === RUN   TestDeleteHandler
unit_golang_1  | --- PASS: TestDeleteHandler (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 56.9% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/api   
0.006s  coverage: 56.9% of statements
unit_golang_1  | === RUN   TestGetASNs
unit_golang_1  | --- PASS: TestGetASNs (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: 12.0% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/asn   
0.019s  coverage: 12.0% of statements
unit_golang_1  | === RUN   TestGetConfigFile
unit_golang_1  | --- PASS: TestGetConfigFile (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 100.0% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/ats   
0.027s  coverage: 100.0% of statements
unit_golang_1  | === RUN   TestDeriveGoodPassword
unit_golang_1  | --- PASS: TestDeriveGoodPassword (0.43s)
unit_golang_1  | === RUN   TestDeriveBadPassword
unit_golang_1  | --- PASS: TestDeriveBadPassword (0.30s)
unit_golang_1  | === RUN   TestScryptPasswordIsRequired
unit_golang_1  | --- PASS: TestScryptPasswordIsRequired (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 65.6% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/auth  
0.752s  coverage: 65.6% of statements
unit_golang_1  | === RUN   TestReadCacheGroups
unit_golang_1  | --- PASS: TestReadCacheGroups (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.6% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/cachegroup
    0.008s  coverage: 20.6% of statements
unit_golang_1  | === RUN   TestReadCDNs
unit_golang_1  | --- PASS: TestReadCDNs (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: 23.0% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/cdn   
0.028s  coverage: 23.0% of statements
unit_golang_1  | === RUN   TestLogLocation
unit_golang_1  | --- PASS: TestLogLocation (0.00s)
unit_golang_1  | === RUN   TestLoadConfig
unit_golang_1  | --- PASS: TestLoadConfig (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 78.9% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/config
        0.016s  coverage: 78.9% of statements
unit_golang_1  | === RUN   TestBuildQuery
unit_golang_1  | --- PASS: TestBuildQuery (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 59.6% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/dbhelpers
     0.014s  coverage: 59.6% of statements
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestValidateErrors
unit_golang_1  | --- PASS: TestValidateErrors (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 3.8% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice
       0.009s  coverage: 3.8% of statements
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestGetDeliveryServiceRequest
unit_golang_1  | --- PASS: TestGetDeliveryServiceRequest (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 2.3% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice/request
       0.011s  coverage: 2.3% 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: 5.7% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice/request/comment
       0.009s  coverage: 5.7% of statements
unit_golang_1  | === RUN   TestGetDivisions
unit_golang_1  | --- PASS: TestGetDivisions (0.00s)
unit_golang_1  | === RUN   TestInterfaces
unit_golang_1  | --- PASS: TestInterfaces (0.00s)
unit_golang_1  | === RUN   TestValidation
unit_golang_1  | --- PASS: TestValidation (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 11.0% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/division
      0.033s  coverage: 11.0% of statements
unit_golang_1  | === RUN   TestGetHWInfo
unit_golang_1  | --- PASS: TestGetHWInfo (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 42.9% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/hwinfo
        0.033s  coverage: 42.9% 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: 14.5% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/parameter
     0.045s  coverage: 14.5% 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: 12.5% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/physlocation
  0.031s  coverage: 12.5% of statements
unit_golang_1  | === RUN   TestPingHandler
unit_golang_1  | --- PASS: TestPingHandler (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 100.0% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/ping  
0.010s  coverage: 100.0% of statements
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: 11.0% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/profile
       0.007s  coverage: 11.0% 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: 13.6% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/profileparameter
      0.043s  coverage: 13.6% 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: 11.7% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/region
        0.023s  coverage: 11.7% 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.12s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 72.1% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc
       0.124s  coverage: 72.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  | --- FAIL: TestGetServerUpdateStatus (0.00s)
unit_golang_1  | panic: runtime error: invalid memory address or nil pointer 
dereference [recovered]
unit_golang_1  |        panic: runtime error: invalid memory address or nil 
pointer dereference
unit_golang_1  | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 
pc=0x524ca4]
unit_golang_1  | 
unit_golang_1  | goroutine 15 [running]:
unit_golang_1  | testing.tRunner.func1(0xc420085860)
unit_golang_1  |        /usr/local/go/src/testing/testing.go:622 +0x29d
unit_golang_1  | panic(0x7136e0, 0x90ebb0)
unit_golang_1  |        /usr/local/go/src/runtime/panic.go:489 +0x2cf
unit_golang_1  | log.(*Logger).Output(0x0, 0x2, 0xc420302300, 0x5a, 0x0, 0x0)
unit_golang_1  |        /usr/local/go/src/log/log.go:149 +0x54
unit_golang_1  | log.(*Logger).Printf(0x0, 0x78533d, 0x28, 0xc42005bc90, 0x1, 
0x1)
unit_golang_1  |        /usr/local/go/src/log/log.go:175 +0x7e
unit_golang_1  | 
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/server.getServerUpdateStatus(0x77646f,
 0xb, 0xc4202c9110, 0x0, 0x0, 0x0, 0x0, 0x0)
unit_golang_1  |        
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/server/_test/_obj_test/servers_update_status.go:95
 +0x716
unit_golang_1  | 
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/server.TestGetServerUpdateStatus(0xc420085860)
unit_golang_1  |        
/go/src/github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/server/servers_update_status_test.go:46
 +0x541
unit_golang_1  | testing.tRunner(0xc420085860, 0x78e588)
unit_golang_1  |        /usr/local/go/src/testing/testing.go:657 +0x96
unit_golang_1  | created by testing.(*T).Run
unit_golang_1  |        /usr/local/go/src/testing/testing.go:697 +0x2ca
unit_golang_1  | FAIL   
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/server
        0.012s
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: 11.4% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/status
        0.007s  coverage: 11.4% of statements
unit_golang_1  | ?      
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13
       [no test files]
unit_golang_1  | ?      
github.com/apache/incubator-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: 39.1% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/systeminfo
    0.008s  coverage: 39.1% of statements
unit_golang_1  | ?      
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/tenant
        [no test files]
unit_golang_1  | === RUN   TestColsFromStructByTag
unit_golang_1  | --- PASS: TestColsFromStructByTag (0.00s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 64.3% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/test  
0.006s  coverage: 64.3% of statements
unit_golang_1  | ?      
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/tocookie
      [no test files]
unit_golang_1  | ?      
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/tovalidate
    [no test files]
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: 12.5% of statements
unit_golang_1  | ok     
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/types 
0.006s  coverage: 12.5% of statements
unit_golang_1  | ?      
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/utils 
[no test files]
unit_golang_1  | ?      github.com/apache/incubator-trafficcontrol/lib/go-log   
[no test files]
unit_golang_1  | ?      
github.com/apache/incubator-trafficcontrol/lib/go-nagios        [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   TestDeepCachingType
unit_golang_1  | --- PASS: TestDeepCachingType (0.00s)
unit_golang_1  | === RUN   TestTimeJSON
unit_golang_1  | --- PASS: TestTimeJSON (0.39s)
unit_golang_1  | PASS
unit_golang_1  | coverage: 26.7% of statements
unit_golang_1  | ok     github.com/apache/incubator-trafficcontrol/lib/go-tc    
0.402s  coverage: 26.7% of statements
unit_golang_1  | ?      github.com/apache/incubator-trafficcontrol/lib/go-util  
[no test files]
jenkinsincubatortrafficcontroltrafficopstest559_unit_golang_1 exited with code 1
Aborting 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/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose>
 -p jenkins-incubator-trafficcontrol-traffic_ops-test-559 -f 
traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinsincubatortrafficcontroltrafficopstest559_unit_golang_1 ... 
Removing jenkinsincubatortrafficcontroltrafficopstest559_unit_golang_1 ... 
doneRemoving network jenkinsincubatortrafficcontroltrafficopstest559_default
Removing volume jenkinsincubatortrafficcontroltrafficopstest559_traffic_ops
Removing volume 
jenkinsincubatortrafficcontroltrafficopstest559_traffic_ops_golang
Build step 'Execute shell' marked build as failure

Reply via email to