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

Changes:

[dangogh] refactored all relevant structs to lib/go-tc for reuse across TM, TS, 
TO

[dangogh] fixed bug where the db tag wasn't defined was getting mapped

[dangogh] fixed test cases to map to the tc structs refactor

[dangogh] moved client tests out into a different directory

[dangogh] resolved merge issues

[dangogh] refactored for new PRs that were merged

[dangogh] refactored hardware.go to lib/go-tc

[dangogh] moved deliveryservice_regexes, profile, and type structs out to

[dangogh] removed servers struct references

[dangogh] refactored to use the lib/go-tc users.go

[dangogh] referred to api instead of tc package

[dangogh] renamed to the real DeliveryServices struct name

[dangogh] renamed the DeliveryServices struct to DeliveryServicesRouter to avoid

------------------------------------------
[...truncated 1.79 MB...]
unit_1         |        Is the server running on host "db" (195.154.151.36) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (140.211.11.105) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Cannot assign requested address
unit_1         |        Is the server running on host "db" 
(2001:bc8:2142:300::) and accepting
unit_1         |        TCP/IP connections on port 5432? at 
/opt/traffic_ops/app/lib/Schema.pm line 30.
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | DBIx::Class::Storage::DBI::catch {...} (): DBI Connection 
failed: DBI connect('database=to_test;host=db;port=5432','traffic_ops',...) 
failed: could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (140.211.11.105) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (195.154.151.36) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Cannot assign requested address
unit_1         |        Is the server running on host "db" 
(2001:bc8:2142:300::) and accepting
unit_1         |        TCP/IP connections on port 5432? at 
/opt/traffic_ops/app/local/lib/perl5/DBIx/Class/Storage/DBI.pm line 1517. at 
/opt/traffic_ops/app/lib/Test/TestHelper.pm line 189
unit_1         | /opt/traffic_ops/app/t/purge.t 
....................................... 
unit_1         | Dubious, test returned 255 (wstat 65280, 0xff00)
unit_1         | No subtests run 
unit_1         | DBI 
connect('database=to_test;host=db;port=5432','traffic_ops',...) failed: could 
not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (140.211.11.105) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (195.154.151.36) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Cannot assign requested address
unit_1         |        Is the server running on host "db" 
(2001:bc8:2142:300::) and accepting
unit_1         |        TCP/IP connections on port 5432? at 
/opt/traffic_ops/app/lib/Schema.pm line 30.
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | DBIx::Class::Storage::DBI::catch {...} (): DBI Connection 
failed: DBI connect('database=to_test;host=db;port=5432','traffic_ops',...) 
failed: could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (195.154.151.36) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (140.211.11.105) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Cannot assign requested address
unit_1         |        Is the server running on host "db" 
(2001:bc8:2142:300::) and accepting
unit_1         |        TCP/IP connections on port 5432? at 
/opt/traffic_ops/app/local/lib/perl5/DBIx/Class/Storage/DBI.pm line 1517. at 
/opt/traffic_ops/app/lib/Test/TestHelper.pm line 189
unit_1         | /opt/traffic_ops/app/t/rascal_status.t 
............................... 
unit_1         | Dubious, test returned 255 (wstat 65280, 0xff00)
unit_1         | No subtests run 
unit_1         | DBI 
connect('database=to_test;host=db;port=5432','traffic_ops',...) failed: could 
not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (195.154.151.36) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (140.211.11.105) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Cannot assign requested address
unit_1         |        Is the server running on host "db" 
(2001:bc8:2142:300::) and accepting
unit_1         |        TCP/IP connections on port 5432? at 
/opt/traffic_ops/app/lib/Schema.pm line 30.
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | DBIx::Class::Storage::DBI::catch {...} (): DBI Connection 
failed: DBI connect('database=to_test;host=db;port=5432','traffic_ops',...) 
failed: could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (140.211.11.105) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (195.154.151.36) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Cannot assign requested address
unit_1         |        Is the server running on host "db" 
(2001:bc8:2142:300::) and accepting
unit_1         |        TCP/IP connections on port 5432? at 
/opt/traffic_ops/app/local/lib/perl5/DBIx/Class/Storage/DBI.pm line 1517. at 
/opt/traffic_ops/app/lib/Test/TestHelper.pm line 189
unit_1         | /opt/traffic_ops/app/t/server.t 
...................................... 
unit_1         | Dubious, test returned 255 (wstat 65280, 0xff00)
unit_1         | No subtests run 
unit_1         | DBI 
connect('database=to_test;host=db;port=5432','traffic_ops',...) failed: could 
not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (195.154.151.36) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (140.211.11.105) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Cannot assign requested address
unit_1         |        Is the server running on host "db" 
(2001:bc8:2142:300::) and accepting
unit_1         |        TCP/IP connections on port 5432? at 
/opt/traffic_ops/app/lib/Schema.pm line 30.
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | DBIx::Class::Storage::DBI::catch {...} (): DBI Connection 
failed: DBI connect('database=to_test;host=db;port=5432','traffic_ops',...) 
failed: could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (140.211.11.105) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (195.154.151.36) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Cannot assign requested address
unit_1         |        Is the server running on host "db" 
(2001:bc8:2142:300::) and accepting
unit_1         |        TCP/IP connections on port 5432? at 
/opt/traffic_ops/app/local/lib/perl5/DBIx/Class/Storage/DBI.pm line 1517. at 
/opt/traffic_ops/app/lib/Test/TestHelper.pm line 189
unit_1         | /opt/traffic_ops/app/t/staticdnsentry.t 
.............................. 
unit_1         | Dubious, test returned 255 (wstat 65280, 0xff00)
unit_1         | No subtests run 
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | Subroutine TrafficOps::has redefined at 
/opt/traffic_ops/app/local/lib/perl5/Mojo/Base.pm line 38.
unit_1         | DBIx::Class::Storage::DBI::catch {...} (): DBI Connection 
failed: DBI connect('database=to_test;host=db;port=5432','traffic_ops',...) 
failed: could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (140.211.11.105) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Connection refused
unit_1         |        Is the server running on host "db" (195.154.151.36) and 
accepting
unit_1         |        TCP/IP connections on port 5432?
unit_1         | could not connect to server: Cannot assign requested address
unit_1         |        Is the server running on host "db" 
(2001:bc8:2142:300::) and accepting
unit_1         |        TCP/IP connections on port 5432? at 
/opt/traffic_ops/app/local/lib/perl5/DBIx/Class/Storage/DBI.pm line 1517. at 
/opt/traffic_ops/app/lib/Test/TestHelper.pm line 189
unit_1         | /opt/traffic_ops/app/t/user.t 
........................................ 
unit_1         | Dubious, test returned 255 (wstat 65280, 0xff00)
unit_1         | No subtests run 
unit_1         | 
unit_1         | Test Summary Report
unit_1         | -------------------
unit_1         | /opt/traffic_ops/app/t/api/1.2/deliveryservice.t               
    (Wstat: 65280 Tests: 95 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/deliveryservice_crud.t          
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/deliveryservice_matches.t       
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/deliveryservice_regex.t         
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/deliveryservice_server.t        
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/deliveryservice_stats.t         
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/deliveryservice_user.t          
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/division.t                      
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/federation_external.t           
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/federation_internal.t           
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/iso.t                           
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/job.t                           
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/log.t                           
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/parameter.t                     
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/physlocation.t                  
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/profile.t                       
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/profile_parameter.t             
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/region.t                        
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/server.t                        
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/stats_summary.t                 
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/steering_target.t               
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/tenant.t                        
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/tenant_access.t                 
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/user.t                          
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/api/1.2/user_admin.t                    
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/asn.t                                   
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/deliveryservice.t                       
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/deliveryserviceserver.t                 
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/federation.t                            
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/health.t                                
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/hwinfo.t                                
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/log.t                                   
    (Wstat: 65280 Tests: 12 Failed: 5)
unit_1         |   Failed tests:  2, 5, 7-9
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/parameter.t                             
    (Wstat: 65280 Tests: 3 Failed: 1)
unit_1         |   Failed test:  2
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/phys_location.t                         
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/profile.t                               
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/purge.t                                 
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/rascal_status.t                         
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/server.t                                
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/staticdnsentry.t                        
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | /opt/traffic_ops/app/t/user.t                                  
    (Wstat: 65280 Tests: 0 Failed: 0)
unit_1         |   Non-zero exit status: 255
unit_1         |   Parse errors: No plan found in TAP output
unit_1         | Files=78, Tests=1709, 576 wallclock secs ( 0.89 usr  0.17 sys 
+ 480.47 cusr 44.02 csys = 525.55 CPU)
unit_1         | Result: FAIL
unit_1         | + finish
unit_1         | + local st=1
unit_1         | + [[ 1 -ne 0 ]]
unit_1         | + echo 'Exiting with status 1'
unit_1         | + [[ -n '' ]]
unit_1         | Exiting with status 1
jenkinsincubatortrafficcontroltrafficopstest183_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/incubator-trafficcontrol-traffic_ops-test/ws/bin/docker-compose>
 -p jenkins-incubator-trafficcontrol-traffic_ops-test-183 -f 
traffic_ops/app/bin/tests/docker-compose.yml down -v
Failed to write all bytes for requests/cacert.pem
Build step 'Execute shell' marked build as failure

Reply via email to