See
<https://builds.apache.org/job/incubator-trafficcontrol-traffic_ops-test/693/display/redirect?page=changes>
Changes:
[jeffrey_elsloo] Implements
[jeffrey_elsloo] Moved cachegroup_fallbacks.rst from
[jeffrey_elsloo] CrConfig's backupLocation Json node generation logic in GoLang
[jeffrey_elsloo] Addressing Rawlin's comment on; 1. Updating the document for
cachegroup
[jeffrey_elsloo] Addressing Rawlin's comments: 1. Avoiding multiple DB querries
using
[jeffrey_elsloo] Rawlin's comments 1. Adding cache group id for audit logs for
DELETE. 2.
[jeffrey_elsloo] Rawlins comment - parsing fallback to closest and make sure
null is
[jeffrey_elsloo] Rawlins comment on using group by to enforce order which is
not handled
[jeffrey_elsloo] Remove deliveryservice.org_server_fqdn column/compute it from
Origin
[jeffrey_elsloo] Implement geo-sorting of CLIENT_STEERING targets
[jeffrey_elsloo] Implement Traffic Router unit tests for geo-steering
[jeffrey_elsloo] Augment Steering API to allow CRUD of geo-targets
[jeffrey_elsloo] Populate coordinates in the steering API results
[jeffrey_elsloo] Validate that STEERING_GEO targets are only used in
CLIENT_STEERING DSes
------------------------------------------
[...truncated 117.73 KB...]
unit_golang_1 | PASS
unit_golang_1 | coverage: 16.1% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/cdn
0.063s coverage: 16.1% 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: 64.2% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/config
0.023s coverage: 64.2% of statements
unit_golang_1 | === RUN TestReadCoordinates
unit_golang_1 | --- PASS: TestReadCoordinates (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.7% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/coordinate
0.049s coverage: 23.7% of statements
unit_golang_1 | === RUN TestGetConfigParams
unit_golang_1 | --- PASS: TestGetConfigParams (0.00s)
unit_golang_1 | === RUN TestMakeCRConfigConfig
unit_golang_1 | --- PASS: TestMakeCRConfigConfig (0.00s)
unit_golang_1 | === RUN TestMakeDSes
unit_golang_1 | --- PASS: TestMakeDSes (0.00s)
unit_golang_1 | === RUN TestGetServerProfileParams
unit_golang_1 | --- PASS: TestGetServerProfileParams (0.00s)
unit_golang_1 | === RUN TestGetDSRegexesDomains
unit_golang_1 | --- PASS: TestGetDSRegexesDomains (0.00s)
unit_golang_1 | === RUN TestGetStaticDNSEntries
unit_golang_1 | --- PASS: TestGetStaticDNSEntries (0.00s)
unit_golang_1 | === RUN TestMakeLocations
unit_golang_1 | --- FAIL: TestMakeLocations (0.00s)
unit_golang_1 | edgelocations_test.go:67: makeLocations expected: nil
error, actual: Error scanning cachegroup: sql: expected 4 destination arguments
in Scan, not 6
unit_golang_1 | === RUN TestGetServerParams
unit_golang_1 | --- PASS: TestGetServerParams (0.00s)
unit_golang_1 | === RUN TestGetAllServers
unit_golang_1 | --- PASS: TestGetAllServers (0.00s)
unit_golang_1 | === RUN TestGetServerDSNames
unit_golang_1 | --- PASS: TestGetServerDSNames (0.00s)
unit_golang_1 | === RUN TestGetServerDSes
unit_golang_1 | --- PASS: TestGetServerDSes (0.00s)
unit_golang_1 | === RUN TestGetCDNInfo
unit_golang_1 | --- PASS: TestGetCDNInfo (0.00s)
unit_golang_1 | === RUN TestGetCDNNameFromID
unit_golang_1 | --- PASS: TestGetCDNNameFromID (0.00s)
unit_golang_1 | === RUN TestGetSnapshot
unit_golang_1 | --- PASS: TestGetSnapshot (0.00s)
unit_golang_1 | === RUN TestSnapshot
unit_golang_1 | --- PASS: TestSnapshot (0.00s)
unit_golang_1 | === RUN TestMakeStats
unit_golang_1 | --- PASS: TestMakeStats (0.00s)
unit_golang_1 | FAIL
unit_golang_1 | coverage: 49.0% of statements
unit_golang_1 | FAIL
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/crconfig
0.040s
unit_golang_1 | === RUN TestBuildQuery
unit_golang_1 | --- PASS: TestBuildQuery (0.00s)
unit_golang_1 | PASS
unit_golang_1 | coverage: 44.9% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/dbhelpers
0.023s coverage: 44.9% of statements
unit_golang_1 | ?
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice
[no test files]
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.047s 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.035s coverage: 5.7% of statements
unit_golang_1 | testing: warning: no tests to run
unit_golang_1 | PASS
unit_golang_1 | coverage: 0.0% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservice/servers
0.050s coverage: 0.0% of statements [no tests to run]
unit_golang_1 | ?
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/deliveryservicesregexes
[no test files]
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: 10.9% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/division
0.031s coverage: 10.9% 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.035s coverage: 42.9% of statements
unit_golang_1 | === RUN TestReadOrigins
unit_golang_1 | --- PASS: TestReadOrigins (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: 11.6% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/origin
0.038s coverage: 11.6% 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.016s 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: 11.6% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/physlocation
0.035s coverage: 11.6% 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.094s 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: 10.3% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/profile
0.009s coverage: 10.3% 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: 4.0% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/profileparameter
0.005s coverage: 4.0% 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.018s 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.17s)
unit_golang_1 | PASS
unit_golang_1 | coverage: 26.3% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc
0.176s coverage: 26.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: 6.7% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/role
0.069s coverage: 6.7% 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: 20.3% of statements
unit_golang_1 | ok
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/server
0.011s coverage: 20.3% of statements
unit_golang_1 | ?
github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/staticdnsentry
[no test files]
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.018s 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.006s 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.030s 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.012s 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.02s)
unit_golang_1 | PASS
unit_golang_1 | coverage: 26.6% of statements
unit_golang_1 | ok github.com/apache/incubator-trafficcontrol/lib/go-tc
0.035s coverage: 26.6% of statements
unit_golang_1 | ? github.com/apache/incubator-trafficcontrol/lib/go-util
[no test files]
jenkinsincubatortrafficcontroltrafficopstest693_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-693 -f
traffic_ops/app/bin/tests/docker-compose.yml down -v
Removing jenkinsincubatortrafficcontroltrafficopstest693_unit_golang_1 ...
Removing jenkinsincubatortrafficcontroltrafficopstest693_unit_golang_1 ...
doneRemoving network jenkinsincubatortrafficcontroltrafficopstest693_default
Removing volume jenkinsincubatortrafficcontroltrafficopstest693_traffic_ops
Removing volume
jenkinsincubatortrafficcontroltrafficopstest693_traffic_ops_golang
Build step 'Execute shell' marked build as failure