See 
<https://builds.apache.org/job/trafficcontrol-PR/6188/display/redirect?page=changes>

Changes:

[ocket8888] Removed old getServer (by ID) function

[ocket8888] Added utility function to extract legacy network info from 
interfaces

[ocket8888] Reworked cachegroup servers table to extract legacy network info 
from

[ocket8888] webpack can't handle es2015.....................

[ocket8888] Roll back ECMAScript feature that browserify can't handle

[ocket8888] Fixed cachegroup servers table

[ocket8888] Fixed CDN servers table and added proper ssh linking

[ocket8888] Fixed broken injection

[ocket8888] Added early bail-out for converting servers with no interfaces

[ocket8888] Fixed data-search attributes broken, fixed deliveryservice servers 
table

[ocket8888] Fixed physical location servers tables for interfaces

[ocket8888] Fixed Profile servers tables for interface servers

[ocket8888] Fixed status servers tables for interface servers

[ocket8888] Fixed types servers tables for interface servers

[ocket8888] Stripped bootstrap out of server form

[ocket8888] Finished adding validations to interfaces fields

[ocket8888] Replaced button symbols with words

[ocket8888] Moved interfaces to bottom of servers form

[ocket8888] Removed duplicated map

[ocket8888] Removed more duplicated maps

[ocket8888] Fixed Offline Reason field

[ocket8888] Removed unused injections

[ocket8888] Fixed servers table not displaying legacy interface data properly

[ocket8888] Moved add/remove interface/ip buttons

[ocket8888] Added placeholders

[ocket8888] Fixed error creating new server

[ocket8888] moves actions into the caller for more control and scrolls to the 
top of

[ocket8888] Switched to smaller buttons; made interface placeholder more clear

[ocket8888] fixes server that is now an array of servers

[ocket8888] Fixed setting max-bandwidth not dirtying the form

[ocket8888] fixes server config files table

[ocket8888] Fixed broken update server status

[ocket8888] fixes TP server tests to work with new server form


------------------------------------------
[...truncated 3.21 MB...]
unit_1  | === RUN   TestCopyProfileInvalidExistingProfile
unit_1  | === RUN   
TestCopyProfileInvalidExistingProfile/multiple_profiles_with_existing_name_returned
unit_1  | === RUN   
TestCopyProfileInvalidExistingProfile/existing_profile_does_not_exist
unit_1  | --- PASS: TestCopyProfileInvalidExistingProfile (0.00s)
unit_1  |     --- PASS: 
TestCopyProfileInvalidExistingProfile/multiple_profiles_with_existing_name_returned
 (0.00s)
unit_1  |     --- PASS: 
TestCopyProfileInvalidExistingProfile/existing_profile_does_not_exist (0.00s)
unit_1  | === RUN   TestCopyNewProfileExists
unit_1  | --- PASS: TestCopyNewProfileExists (0.00s)
unit_1  | === RUN   TestCopyProfile
unit_1  | --- PASS: TestCopyProfile (0.00s)
unit_1  | === RUN   TestGetExportProfileResponse
unit_1  | === RUN   
TestGetExportProfileResponse/Success:_Read_export_profile_successful
unit_1  |     
TestGetExportProfileResponse/Success:_Read_export_profile_successful: 
profile_export_test.go:74: Starting test scenario:  Success: Read export 
profile successful
unit_1  | === RUN   
TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful
unit_1  |     
TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful:
 profile_export_test.go:74: Starting test scenario:  Success: Read export 
profile with no parameters successful
unit_1  | === RUN   
TestGetExportProfileResponse/Failure:_Storage_error_reading_profile
unit_1  |     
TestGetExportProfileResponse/Failure:_Storage_error_reading_profile: 
profile_export_test.go:74: Starting test scenario:  Failure: Storage error 
reading profile
unit_1  | --- PASS: TestGetExportProfileResponse (0.00s)
unit_1  |     --- PASS: 
TestGetExportProfileResponse/Success:_Read_export_profile_successful (0.00s)
unit_1  |     --- PASS: 
TestGetExportProfileResponse/Success:_Read_export_profile_with_no_parameters_successful
 (0.00s)
unit_1  |     --- PASS: 
TestGetExportProfileResponse/Failure:_Storage_error_reading_profile (0.00s)
unit_1  | === RUN   TestGetImportProfile
unit_1  | === RUN   
TestGetImportProfile/Success:_Import_profile_successful
unit_1  |     TestGetImportProfile/Success:_Import_profile_successful: 
profile_import_test.go:86: Starting test scenario:  Success: Import profile 
successful
unit_1  | === RUN   
TestGetImportProfile/Failure:_Import_profile_didn't_insert_row
unit_1  |     
TestGetImportProfile/Failure:_Import_profile_didn't_insert_row: 
profile_import_test.go:86: Starting test scenario:  Failure: Import profile 
didn't insert row
unit_1  | === RUN   
TestGetImportProfile/Failure:_Import_profile_storage_error
unit_1  |     
TestGetImportProfile/Failure:_Import_profile_storage_error: 
profile_import_test.go:86: Starting test scenario:  Failure: Import profile 
storage error
unit_1  | --- PASS: TestGetImportProfile (0.00s)
unit_1  |     --- PASS: 
TestGetImportProfile/Success:_Import_profile_successful (0.00s)
unit_1  |     --- PASS: 
TestGetImportProfile/Failure:_Import_profile_didn't_insert_row (0.00s)
unit_1  |     --- PASS: 
TestGetImportProfile/Failure:_Import_profile_storage_error (0.00s)
unit_1  | === RUN   TestGetImportProfileParameters
unit_1  | === RUN   
TestGetImportProfileParameters/Success:_All_import_parameters_new
unit_1  |     
TestGetImportProfileParameters/Success:_All_import_parameters_new: 
profile_import_test.go:292: Starting test scenario:  Success: All import 
parameters new
unit_1  | === RUN   
TestGetImportProfileParameters/Success:_All_parameters_exisiting
unit_1  |     
TestGetImportProfileParameters/Success:_All_parameters_exisiting: 
profile_import_test.go:292: Starting test scenario:  Success: All parameters 
exisiting
unit_1  | === RUN   
TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters
unit_1  |     
TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters: 
profile_import_test.go:292: Starting test scenario:  Success: Mix of 
existing/new parameters
unit_1  | === RUN   
TestGetImportProfileParameters/Success:_Dup_of_existing
unit_1  |     TestGetImportProfileParameters/Success:_Dup_of_existing: 
profile_import_test.go:292: Starting test scenario:  Success: Dup of existing
unit_1  | === RUN   
TestGetImportProfileParameters/Fail:_Storage_error_selecting_param
unit_1  |     
TestGetImportProfileParameters/Fail:_Storage_error_selecting_param: 
profile_import_test.go:292: Starting test scenario:  Fail: Storage error 
selecting param
unit_1  | === RUN   
TestGetImportProfileParameters/Fail:_Storage_error_inserting_param
unit_1  |     
TestGetImportProfileParameters/Fail:_Storage_error_inserting_param: 
profile_import_test.go:292: Starting test scenario:  Fail: Storage error 
inserting param
unit_1  | --- PASS: TestGetImportProfileParameters (0.00s)
unit_1  |     --- PASS: 
TestGetImportProfileParameters/Success:_All_import_parameters_new (0.00s)
unit_1  |     --- PASS: 
TestGetImportProfileParameters/Success:_All_parameters_exisiting (0.00s)
unit_1  |     --- PASS: 
TestGetImportProfileParameters/Success:_Mix_of_existing/new_parameters (0.00s)
unit_1  |     --- PASS: 
TestGetImportProfileParameters/Success:_Dup_of_existing (0.00s)
unit_1  |     --- PASS: 
TestGetImportProfileParameters/Fail:_Storage_error_selecting_param (0.00s)
unit_1  |     --- PASS: 
TestGetImportProfileParameters/Fail:_Storage_error_inserting_param (0.00s)
unit_1  | === RUN   TestGetProfiles
unit_1  | --- PASS: TestGetProfiles (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | === RUN   TestValidate
unit_1  | --- PASS: TestValidate (0.00s)
unit_1  | PASS
unit_1  | coverage: 52.6% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profile 0.023s  
coverage: 52.6% of statements
unit_1  | === RUN   TestGetProfileParameters
unit_1  | --- PASS: TestGetProfileParameters (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | PASS
unit_1  | coverage: 2.3% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/profileparameter
        0.015s  coverage: 2.3% of statements
unit_1  | === RUN   TestReadRegions
unit_1  | --- PASS: TestReadRegions (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | PASS
unit_1  | coverage: 9.3% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/region  0.018s  
coverage: 9.3% of statements
unit_1  | === RUN   TestFetchObjectValues
unit_1  | --- PASS: TestFetchObjectValues (0.00s)
unit_1  | === RUN   TestSaveObject
unit_1  | --- PASS: TestSaveObject (0.00s)
unit_1  | === RUN   TestDeleteObject
unit_1  | --- PASS: TestDeleteObject (0.00s)
unit_1  | === RUN   TestSetTLSVersion
unit_1  | --- PASS: TestSetTLSVersion (0.00s)
unit_1  | === RUN   TestGetRiakCluster
unit_1  | --- PASS: TestGetRiakCluster (0.06s)
unit_1  | PASS
unit_1  | coverage: 18.3% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/riaksvc 0.076s  
coverage: 18.3% of statements
unit_1  | === RUN   TestFuncs
unit_1  | --- PASS: TestFuncs (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | === RUN   TestValidate
unit_1  | --- PASS: TestValidate (0.00s)
unit_1  | PASS
unit_1  | coverage: 10.6% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/role    0.017s  
coverage: 10.6% of statements
unit_1  | === RUN   TestCompileRoutes
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET 
api/1.1/cdns
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path 
POST api/1.4/users/login
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path 
POST api/1.1/cdns
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path 
POST api/1.1/users
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path PUT 
api/1.1/deliveryservices/3
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path 
DELETE api/1.1/servers/777
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET 
api/1.4/cdns/1
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET 
api/1.4/notatypeweknowabout
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET 
api/1.3/asns.json
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET 
api/99999.99999/cdns
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET 
blahblah/api/1.2/cdns
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET 
internal/api/1.2/federations.json
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET 
api/1.5/servers
unit_1  |     TestCompileRoutes: routing_test.go:162: testing path GET 
api/2.0/servers
unit_1  | --- PASS: TestCompileRoutes (0.07s)
unit_1  | === RUN   TestRoutes
unit_1  | --- PASS: TestRoutes (0.00s)
unit_1  | === RUN   TestCreateRouteMap
unit_1  | --- PASS: TestCreateRouteMap (0.00s)
unit_1  | PASS
unit_1  | coverage: 47.9% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing 0.093s  
coverage: 47.9% of statements
unit_1  | === RUN   TestWrapHeaders
unit_1  | --- PASS: TestWrapHeaders (0.00s)
unit_1  | === RUN   TestWrapPanicRecover
unit_1  | --- PASS: TestWrapPanicRecover (0.00s)
unit_1  | === RUN   TestGzip
unit_1  | --- PASS: TestGzip (0.00s)
unit_1  | === RUN   TestWrapAuth
unit_1  | --- PASS: TestWrapAuth (0.00s)
unit_1  | PASS
unit_1  | coverage: 52.4% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/routing/middleware
      0.018s  coverage: 52.4% of statements
unit_1  | === RUN   TestGetDetailServers
unit_1  | --- PASS: TestGetDetailServers (0.00s)
unit_1  | === RUN   TestAssignDsesToServer
unit_1  | --- PASS: TestAssignDsesToServer (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | === RUN   TestUpdateServer
unit_1  | --- PASS: TestUpdateServer (0.00s)
unit_1  | === RUN   TestGetServersByCachegroup
unit_1  | --- PASS: TestGetServersByCachegroup (0.00s)
unit_1  | === RUN   TestGetMidServers
unit_1  | --- PASS: TestGetMidServers (0.00s)
unit_1  | === RUN   TestV3Validations
unit_1  |     TestV3Validations: servers_test.go:564: Got expected 
error validating server with no interfaces: a server must have at least one 
interface
unit_1  |     TestV3Validations: servers_test.go:576: Got expected 
error validating server with nil interfaces: a server must have at least one 
interface
unit_1  |     TestV3Validations: servers_test.go:591: Got expected 
error validating server with an MTU < 1280: type not found, associated profile 
must have a cdn associated
unit_1  |     TestV3Validations: servers_test.go:605: 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
unit_1  |     TestV3Validations: servers_test.go:618: 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
unit_1  |     TestV3Validations: servers_test.go:637: Got expected 
error validating server with no service addresses: type not found, associated 
profile must have a cdn associated
unit_1  |     TestV3Validations: servers_test.go:649: 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
unit_1  |     TestV3Validations: servers_test.go:667: 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
unit_1  | --- PASS: TestV3Validations (0.00s)
unit_1  | === RUN   TestGetServerUpdateStatus
unit_1  | --- PASS: TestGetServerUpdateStatus (0.00s)
unit_1  | PASS
unit_1  | coverage: 21.3% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/server  0.024s  
coverage: 21.3% of statements
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercapability
        [no test files]
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercheck     
[no test files]
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/servercheck/extensions
  [no test files]
unit_1  | === RUN   TestFuncs
unit_1  | --- PASS: TestFuncs (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | === RUN   TestValidate
unit_1  | --- PASS: TestValidate (0.00s)
unit_1  | PASS
unit_1  | coverage: 34.1% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/staticdnsentry  
0.017s  coverage: 34.1% of statements
unit_1  | === RUN   TestReadStatuses
unit_1  | --- PASS: TestReadStatuses (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | PASS
unit_1  | coverage: 28.9% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/status  0.017s  
coverage: 28.9% of statements
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steering        
[no test files]
unit_1  | === RUN   TestInvalidSteeringTargetType
unit_1  | --- PASS: TestInvalidSteeringTargetType (0.00s)
unit_1  | PASS
unit_1  | coverage: 0.8% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/steeringtargets 
0.016s  coverage: 0.8% of statements
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13 
[no test files]
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/swaggerdocs/v13/swaggerspec-server
      [no test files]
unit_1  | === RUN   TestGetSystemInfo
unit_1  | --- PASS: TestGetSystemInfo (0.00s)
unit_1  | PASS
unit_1  | coverage: 57.1% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/systeminfo      
0.016s  coverage: 57.1% of statements
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tenant  [no 
test files]
unit_1  | === RUN   TestErrorCode
unit_1  | --- PASS: TestErrorCode (0.00s)
unit_1  | === RUN   TestErrorContextPanicMode
unit_1  | --- PASS: TestErrorContextPanicMode (0.00s)
unit_1  | === RUN   TestErrorContextMapping
unit_1  | --- PASS: TestErrorContextMapping (0.00s)
unit_1  | === RUN   TestErrorContextMisc
unit_1  | --- PASS: TestErrorContextMisc (0.00s)
unit_1  | === RUN   TestErrorContext
unit_1  | --- PASS: TestErrorContext (0.00s)
unit_1  | === RUN   TestColsFromStructByTag
unit_1  | --- PASS: TestColsFromStructByTag (0.00s)
unit_1  | PASS
unit_1  | coverage: 80.2% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/test    0.006s  
coverage: 80.2% of statements
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/tocookie        
[no test files]
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/topology        
[no test files]
unit_1  | === RUN   TestTSConfigFromRequest
unit_1  | --- PASS: TestTSConfigFromRequest (0.00s)
unit_1  | PASS
unit_1  | coverage: 4.4% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/trafficstats    
0.017s  coverage: 4.4% of statements
unit_1  | === RUN   TestGetType
unit_1  | --- PASS: TestGetType (0.00s)
unit_1  | === RUN   TestInterfaces
unit_1  | --- PASS: TestInterfaces (0.00s)
unit_1  | === RUN   TestUpdateInvalidType
unit_1  | --- PASS: TestUpdateInvalidType (0.00s)
unit_1  | === RUN   TestDeleteInvalidType
unit_1  | --- PASS: TestDeleteInvalidType (0.00s)
unit_1  | === RUN   TestCreateInvalidType
unit_1  | --- PASS: TestCreateInvalidType (0.00s)
unit_1  | === RUN   TestValidate
unit_1  | --- PASS: TestValidate (0.00s)
unit_1  | PASS
unit_1  | coverage: 40.3% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/types   0.015s  
coverage: 40.3% of statements
unit_1  | === RUN   TestValidateURIKeyset
unit_1  | --- PASS: TestValidateURIKeyset (0.00s)
unit_1  | PASS
unit_1  | coverage: 14.5% of statements
unit_1  | ok   
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/urisigning      
0.015s  coverage: 14.5% of statements
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/user    [no 
test files]
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/util/monitorhlp 
[no test files]
unit_1  | ?    
github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/vault   [no 
test files]
trafficcontrol-pr_unit_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/trafficcontrol-PR/ws/bin/docker-compose> -p 
trafficcontrol-PR -f tools/golang/docker-compose.yml down -v
Removing trafficcontrol-pr_unit_1 ... 
Removing trafficcontrol-pr_unit_1 ... doneRemoving network 
trafficcontrol-pr_default
Build step 'Execute shell' marked build as failure
Skipped archiving because build is not successful

Reply via email to