2025-08-21 11:21:35,265 - INFO - Domain Default found not creating 2025-08-21 11:21:35,413 - INFO - Project ctest-TestRouters-13035575 not found, creating it 2025-08-21 11:21:36,031 - INFO - Created Project:ctest-TestRouters-13035575, ID : cd92eb50-ded3-42b5-89c9-7abc4502bdb5 2025-08-21 11:21:37,771 - INFO - ================================================================================ 2025-08-21 11:21:37,771 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-21 11:21:37,771 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-08-21 11:21:38,045 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-21 11:21:38,045 - INFO - Initial checks done. Running the testcase now 2025-08-21 11:21:38,046 - INFO - 2025-08-21 11:21:38,845 - DEBUG - Response for create_network : {'network': {'id': '851cefd0-d745-4ef7-a394-39d0b810b6c3', 'name': 'ctest-vn1-04319938', 'tenant_id': 'cd92eb50ded342b589c97abc4502bdb5', 'project_id': 'cd92eb50ded342b589c97abc4502bdb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13035575', 'ctest-vn1-04319938'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:21:39,056 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0d9570f-60be-4592-b60d-450acf5a6d3a', 'name': '', 'tenant_id': 'cd92eb50ded342b589c97abc4502bdb5', 'network_id': '851cefd0-d745-4ef7-a394-39d0b810b6c3', 'ip_version': 4, 'cidr': '162.236.233.0/26', 'allocation_pools': [{'start': '162.236.233.2', 'end': '162.236.233.62'}], 'gateway_ip': '162.236.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.236.233.2', 'tags': [], 'project_id': 'cd92eb50ded342b589c97abc4502bdb5'}} 2025-08-21 11:21:39,082 - INFO - Created VN ctest-vn1-04319938 2025-08-21 11:21:39,142 - DEBUG - VN ctest-vn1-04319938 UUID is 851cefd0-d745-4ef7-a394-39d0b810b6c3 2025-08-21 11:21:39,515 - DEBUG - Response for create_network : {'network': {'id': '86bcde01-749e-44a6-9bc2-99a8a7191efc', 'name': 'ctest-vn2-77144462', 'tenant_id': 'cd92eb50ded342b589c97abc4502bdb5', 'project_id': 'cd92eb50ded342b589c97abc4502bdb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13035575', 'ctest-vn2-77144462'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 11:21:39,752 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fd29693-ea35-406b-8ad6-75319d297bda', 'name': '', 'tenant_id': 'cd92eb50ded342b589c97abc4502bdb5', 'network_id': '86bcde01-749e-44a6-9bc2-99a8a7191efc', 'ip_version': 4, 'cidr': '31.240.136.128/26', 'allocation_pools': [{'start': '31.240.136.130', 'end': '31.240.136.190'}], 'gateway_ip': '31.240.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.240.136.130', 'tags': [], 'project_id': 'cd92eb50ded342b589c97abc4502bdb5'}} 2025-08-21 11:21:39,778 - INFO - Created VN ctest-vn2-77144462 2025-08-21 11:21:39,834 - DEBUG - VN ctest-vn2-77144462 UUID is 86bcde01-749e-44a6-9bc2-99a8a7191efc 2025-08-21 11:21:40,080 - DEBUG - Services list from nova: [, , ] 2025-08-21 11:21:41,272 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3906-1) 2025-08-21 11:21:42,810 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3906-1) 2025-08-21 11:21:42,894 - INFO - Adding interface with subnet_id a0d9570f-60be-4592-b60d-450acf5a6d3a, port_id None to router a67a7c63-0719-456e-9d0e-1fb37e5e5e60 2025-08-21 11:21:43,266 - INFO - Waiting for VM ctest-vn1-vm1-78343354 to be up.. 2025-08-21 11:21:43,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 11:21:48,517 - DEBUG - VM is in ACTIVE state now 2025-08-21 11:21:48,517 - INFO - VM name : ctest-vn1-vm1-78343354 2025-08-21 11:21:48,600 - DEBUG - VM ctest-vn1-vm1-78343354 ID is 81aceabb-548c-4e94-9a9e-5decb6493e11 2025-08-21 11:21:48,622 - DEBUG - VM ctest-vn1-vm1-78343354 launched on Node cn-jenkins-deploy-platform-ansible-os-3906-1 2025-08-21 11:21:48,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/81aceabb-548c-4e94-9a9e-5decb6493e11 2025-08-21 11:21:49,069 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/81aceabb-548c-4e94-9a9e-5decb6493e11 2025-08-21 11:21:49,106 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/784074b1-3cc8-44a0-9117-a913d32f8166 2025-08-21 11:21:52,379 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1006ms') 2025-08-21 11:21:52,379 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78343354 failed! 2025-08-21 11:21:52,438 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-13035575:ctest-vn1-04319938 is 162.236.233.1 and allocation pool is NOT set 2025-08-21 11:21:54,506 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=9.40 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.807 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.807/5.102/9.397/4.295 ms') 2025-08-21 11:21:54,506 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78343354 passed 2025-08-21 11:21:54,666 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:21:54,666 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78343354, IP 162.236.233.3, Port 22 2025-08-21 11:21:54,844 - DEBUG - VM ctest-vn1-vm1-78343354 is ready for SSH connections 2025-08-21 11:21:54,844 - INFO - Waiting for VM ctest-vn2-vm1-56997584 to be up.. 2025-08-21 11:21:54,955 - DEBUG - VM is in ACTIVE state now 2025-08-21 11:21:54,956 - INFO - VM name : ctest-vn2-vm1-56997584 2025-08-21 11:21:55,043 - DEBUG - VM ctest-vn2-vm1-56997584 ID is 818dba5d-5723-48f5-a359-be15c1208325 2025-08-21 11:21:55,043 - DEBUG - VM ctest-vn2-vm1-56997584 launched on Node cn-jenkins-deploy-platform-ansible-os-3906-1 2025-08-21 11:21:55,129 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/818dba5d-5723-48f5-a359-be15c1208325 2025-08-21 11:21:55,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e1066a91-26ed-4532-b33d-4a43d4766883 2025-08-21 11:21:56,396 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.457/1.833/3.209/1.376 ms') 2025-08-21 11:21:56,396 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-56997584 passed 2025-08-21 11:21:56,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:21:56,554 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-56997584, IP 31.240.136.131, Port 22 2025-08-21 11:21:56,719 - DEBUG - VM ctest-vn2-vm1-56997584 is ready for SSH connections 2025-08-21 11:21:56,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:21:56,720 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.240.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-21 11:21:56,720 - DEBUG - ping -s 56 -c 3 -W 1 31.240.136.131 2025-08-21 11:22:01,416 - DEBUG - PING 31.240.136.131 (31.240.136.131): 56 data bytes --- 31.240.136.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-21 11:22:01,417 - WARNING - Ping to IP 31.240.136.131 from VM ctest-vn1-vm1-78343354 failed 2025-08-21 11:22:01,417 - INFO - Adding interface with subnet_id 7fd29693-ea35-406b-8ad6-75319d297bda, port_id None to router a67a7c63-0719-456e-9d0e-1fb37e5e5e60 2025-08-21 11:22:01,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:22:01,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.240.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-21 11:22:01,719 - DEBUG - ping -s 56 -c 3 -W 1 31.240.136.131 2025-08-21 11:22:04,950 - DEBUG - PING 31.240.136.131 (31.240.136.131): 56 data bytes 64 bytes from 31.240.136.131: seq=1 ttl=63 time=3.823 ms 64 bytes from 31.240.136.131: seq=2 ttl=63 time=1.234 ms --- 31.240.136.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.234/2.528/3.823 ms 2025-08-21 11:22:04,950 - WARNING - Ping to IP 31.240.136.131 from VM ctest-vn1-vm1-78343354 failed 2025-08-21 11:22:05,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.240.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-21 11:22:05,952 - DEBUG - ping -s 56 -c 3 -W 1 31.240.136.131 2025-08-21 11:22:08,189 - DEBUG - PING 31.240.136.131 (31.240.136.131): 56 data bytes 64 bytes from 31.240.136.131: seq=0 ttl=63 time=1.843 ms 64 bytes from 31.240.136.131: seq=1 ttl=63 time=1.047 ms 64 bytes from 31.240.136.131: seq=2 ttl=63 time=0.942 ms --- 31.240.136.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/1.277/1.843 ms 2025-08-21 11:22:08,189 - INFO - Ping to IP 31.240.136.131 from VM ctest-vn1-vm1-78343354 passed 2025-08-21 11:22:08,189 - INFO - Deleting interface with subnet_id a0d9570f-60be-4592-b60d-450acf5a6d3a, port_id None from router a67a7c63-0719-456e-9d0e-1fb37e5e5e60 2025-08-21 11:22:08,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:22:08,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.240.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-21 11:22:08,363 - DEBUG - ping -s 56 -c 3 -W 1 31.240.136.131 2025-08-21 11:22:11,583 - DEBUG - PING 31.240.136.131 (31.240.136.131): 56 data bytes --- 31.240.136.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-21 11:22:11,583 - WARNING - Ping to IP 31.240.136.131 from VM ctest-vn1-vm1-78343354 failed 2025-08-21 11:22:11,583 - INFO - Adding interface with subnet_id a0d9570f-60be-4592-b60d-450acf5a6d3a, port_id None to router a67a7c63-0719-456e-9d0e-1fb37e5e5e60 2025-08-21 11:22:11,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 11:22:11,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.240.136.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-21 11:22:11,867 - DEBUG - ping -s 56 -c 3 -W 1 31.240.136.131 2025-08-21 11:22:14,113 - DEBUG - PING 31.240.136.131 (31.240.136.131): 56 data bytes 64 bytes from 31.240.136.131: seq=0 ttl=63 time=1.805 ms 64 bytes from 31.240.136.131: seq=1 ttl=63 time=2.128 ms 64 bytes from 31.240.136.131: seq=2 ttl=63 time=1.230 ms --- 31.240.136.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.230/1.721/2.128 ms 2025-08-21 11:22:14,113 - INFO - Ping to IP 31.240.136.131 from VM ctest-vn1-vm1-78343354 passed 2025-08-21 11:22:14,114 - INFO - Deleting interface with subnet_id 7fd29693-ea35-406b-8ad6-75319d297bda, port_id None from router a67a7c63-0719-456e-9d0e-1fb37e5e5e60 2025-08-21 11:22:14,277 - INFO - Deleting interface with subnet_id a0d9570f-60be-4592-b60d-450acf5a6d3a, port_id None from router a67a7c63-0719-456e-9d0e-1fb37e5e5e60 2025-08-21 11:22:14,537 - INFO - Deleting VM ctest-vn2-vm1-56997584 2025-08-21 11:22:14,631 - INFO - Deleting VM ctest-vn1-vm1-78343354 2025-08-21 11:22:14,728 - INFO - Deleting VN ctest-vn2-77144462 2025-08-21 11:22:14,785 - DEBUG - VN 86bcde01-749e-44a6-9bc2-99a8a7191efc still in use: Unable to complete operation on network 86bcde01-749e-44a6-9bc2-99a8a7191efc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a465e554-33e9-422c-a79b-875f4b637e5a'] 2025-08-21 11:22:14,785 - WARNING - Deleting VN ctest-vn2-77144462 failed..Will retry 2025-08-21 11:22:16,929 - DEBUG - Response for deleting network () 2025-08-21 11:22:16,929 - INFO - Deleting VN ctest-vn1-04319938 2025-08-21 11:22:17,040 - DEBUG - Response for deleting network () 2025-08-21 11:22:17,336 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 11:22:17,336 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-08-21 11:22:17,336 - INFO - -------------------------------------------------------------------------------- 2025-08-21 11:22:18,074 - INFO - Deleted project: ctest-TestRouters-13035575, ID : cd92eb50-ded3-42b5-89c9-7abc4502bdb5