2025-08-27 07:05:39,561 - INFO - Domain Default found not creating 2025-08-27 07:05:39,783 - INFO - Project ctest-TestRouters-87616167 not found, creating it 2025-08-27 07:05:40,231 - INFO - Created Project:ctest-TestRouters-87616167, ID : 408d2512-c9bc-447b-b684-d67db3a2abc1 2025-08-27 07:05:41,762 - INFO - ================================================================================ 2025-08-27 07:05:41,762 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-27 07:05:41,762 - 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-27 07:05:42,015 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-27 07:05:42,015 - INFO - Initial checks done. Running the testcase now 2025-08-27 07:05:42,015 - INFO - 2025-08-27 07:05:42,588 - DEBUG - Response for create_network : {'network': {'id': '13a2eba6-e11b-4580-ac7d-fa0ac76524ca', 'name': 'ctest-vn1-88039361', 'tenant_id': '408d2512c9bc447bb684d67db3a2abc1', 'project_id': '408d2512c9bc447bb684d67db3a2abc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87616167', 'ctest-vn1-88039361'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 07:05:42,762 - DEBUG - Response for create_subnet : {'subnet': {'id': '154eaa3a-7f2f-414f-981a-38b399602c08', 'name': '', 'tenant_id': '408d2512c9bc447bb684d67db3a2abc1', 'network_id': '13a2eba6-e11b-4580-ac7d-fa0ac76524ca', 'ip_version': 4, 'cidr': '181.59.179.192/26', 'allocation_pools': [{'start': '181.59.179.194', 'end': '181.59.179.254'}], 'gateway_ip': '181.59.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.59.179.194', 'tags': [], 'project_id': '408d2512c9bc447bb684d67db3a2abc1'}} 2025-08-27 07:05:42,779 - INFO - Created VN ctest-vn1-88039361 2025-08-27 07:05:42,830 - DEBUG - VN ctest-vn1-88039361 UUID is 13a2eba6-e11b-4580-ac7d-fa0ac76524ca 2025-08-27 07:05:43,181 - DEBUG - Response for create_network : {'network': {'id': '7d4ed96d-b958-49de-b479-d742e2114b94', 'name': 'ctest-vn2-31037451', 'tenant_id': '408d2512c9bc447bb684d67db3a2abc1', 'project_id': '408d2512c9bc447bb684d67db3a2abc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87616167', 'ctest-vn2-31037451'], 'port_security_enabled': True, 'description': ''}} 2025-08-27 07:05:43,349 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e705bf1-62d1-40b9-a34a-106a45c77572', 'name': '', 'tenant_id': '408d2512c9bc447bb684d67db3a2abc1', 'network_id': '7d4ed96d-b958-49de-b479-d742e2114b94', 'ip_version': 4, 'cidr': '57.219.164.128/26', 'allocation_pools': [{'start': '57.219.164.130', 'end': '57.219.164.190'}], 'gateway_ip': '57.219.164.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.219.164.130', 'tags': [], 'project_id': '408d2512c9bc447bb684d67db3a2abc1'}} 2025-08-27 07:05:43,385 - INFO - Created VN ctest-vn2-31037451 2025-08-27 07:05:43,438 - DEBUG - VN ctest-vn2-31037451 UUID is 7d4ed96d-b958-49de-b479-d742e2114b94 2025-08-27 07:05:43,689 - DEBUG - Services list from nova: [, , ] 2025-08-27 07:05:44,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3946-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3946-1) 2025-08-27 07:05:46,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3946-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3946-1) 2025-08-27 07:05:46,129 - INFO - Adding interface with subnet_id 154eaa3a-7f2f-414f-981a-38b399602c08, port_id None to router f4fceb91-56f1-4d48-996e-e4a87ee12258 2025-08-27 07:05:46,413 - INFO - Waiting for VM ctest-vn1-vm1-65169472 to be up.. 2025-08-27 07:05:46,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-27 07:05:51,607 - DEBUG - VM is in ACTIVE state now 2025-08-27 07:05:51,607 - INFO - VM name : ctest-vn1-vm1-65169472 2025-08-27 07:05:51,681 - DEBUG - VM ctest-vn1-vm1-65169472 ID is d3f00df9-35f4-4cf6-b93d-81d61d9a01da 2025-08-27 07:05:51,700 - DEBUG - VM ctest-vn1-vm1-65169472 launched on Node cn-jenkins-deploy-platform-ansible-os-3946-1 2025-08-27 07:05:51,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d3f00df9-35f4-4cf6-b93d-81d61d9a01da 2025-08-27 07:05:52,107 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d3f00df9-35f4-4cf6-b93d-81d61d9a01da 2025-08-27 07:05:52,138 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/aeba5e64-ccf9-498a-bdb3-778b98013892 2025-08-27 07:05:55,378 - 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 1003ms') 2025-08-27 07:05:55,378 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65169472 failed! 2025-08-27 07:05:55,434 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-87616167:ctest-vn1-88039361 is 181.59.179.193 and allocation pool is NOT set 2025-08-27 07:05:57,499 - 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=4.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.58 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.575/3.251/4.927/1.676 ms') 2025-08-27 07:05:57,499 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65169472 passed 2025-08-27 07:05:57,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:05:57,646 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65169472, IP 181.59.179.195, Port 22 2025-08-27 07:05:57,801 - DEBUG - VM ctest-vn1-vm1-65169472 is ready for SSH connections 2025-08-27 07:05:57,801 - INFO - Waiting for VM ctest-vn2-vm1-14027237 to be up.. 2025-08-27 07:05:57,874 - DEBUG - VM is in ACTIVE state now 2025-08-27 07:05:57,874 - INFO - VM name : ctest-vn2-vm1-14027237 2025-08-27 07:05:57,941 - DEBUG - VM ctest-vn2-vm1-14027237 ID is 1487b744-72de-4a5b-880b-c7fa93310679 2025-08-27 07:05:57,941 - DEBUG - VM ctest-vn2-vm1-14027237 launched on Node cn-jenkins-deploy-platform-ansible-os-3946-1 2025-08-27 07:05:58,007 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1487b744-72de-4a5b-880b-c7fa93310679 2025-08-27 07:05:58,014 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ed3e3f57-3457-49dc-919a-44848579478f 2025-08-27 07:05:59,253 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/1.765/2.987/1.222 ms') 2025-08-27 07:05:59,253 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-14027237 passed 2025-08-27 07:05:59,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:05:59,402 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14027237, IP 57.219.164.131, Port 22 2025-08-27 07:05:59,557 - DEBUG - VM ctest-vn2-vm1-14027237 is ready for SSH connections 2025-08-27 07:05:59,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:05:59,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.219.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 07:05:59,557 - DEBUG - ping -s 56 -c 3 -W 1 57.219.164.131 2025-08-27 07:06:04,587 - DEBUG - PING 57.219.164.131 (57.219.164.131): 56 data bytes --- 57.219.164.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-27 07:06:04,587 - WARNING - Ping to IP 57.219.164.131 from VM ctest-vn1-vm1-65169472 failed 2025-08-27 07:06:04,587 - INFO - Adding interface with subnet_id 5e705bf1-62d1-40b9-a34a-106a45c77572, port_id None to router f4fceb91-56f1-4d48-996e-e4a87ee12258 2025-08-27 07:06:04,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:06:04,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.219.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 07:06:04,848 - DEBUG - ping -s 56 -c 3 -W 1 57.219.164.131 2025-08-27 07:06:08,062 - DEBUG - PING 57.219.164.131 (57.219.164.131): 56 data bytes 64 bytes from 57.219.164.131: seq=1 ttl=63 time=2.516 ms 64 bytes from 57.219.164.131: seq=2 ttl=63 time=1.094 ms --- 57.219.164.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.094/1.805/2.516 ms 2025-08-27 07:06:08,063 - WARNING - Ping to IP 57.219.164.131 from VM ctest-vn1-vm1-65169472 failed 2025-08-27 07:06:09,063 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.219.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 07:06:09,063 - DEBUG - ping -s 56 -c 3 -W 1 57.219.164.131 2025-08-27 07:06:11,275 - DEBUG - PING 57.219.164.131 (57.219.164.131): 56 data bytes 64 bytes from 57.219.164.131: seq=0 ttl=63 time=1.186 ms 64 bytes from 57.219.164.131: seq=1 ttl=63 time=0.749 ms 64 bytes from 57.219.164.131: seq=2 ttl=63 time=0.705 ms --- 57.219.164.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/0.880/1.186 ms 2025-08-27 07:06:11,275 - INFO - Ping to IP 57.219.164.131 from VM ctest-vn1-vm1-65169472 passed 2025-08-27 07:06:11,275 - INFO - Deleting interface with subnet_id 154eaa3a-7f2f-414f-981a-38b399602c08, port_id None from router f4fceb91-56f1-4d48-996e-e4a87ee12258 2025-08-27 07:06:11,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:06:11,387 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.219.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 07:06:11,388 - DEBUG - ping -s 56 -c 3 -W 1 57.219.164.131 2025-08-27 07:06:14,597 - DEBUG - PING 57.219.164.131 (57.219.164.131): 56 data bytes --- 57.219.164.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-27 07:06:14,598 - WARNING - Ping to IP 57.219.164.131 from VM ctest-vn1-vm1-65169472 failed 2025-08-27 07:06:14,598 - INFO - Adding interface with subnet_id 154eaa3a-7f2f-414f-981a-38b399602c08, port_id None to router f4fceb91-56f1-4d48-996e-e4a87ee12258 2025-08-27 07:06:14,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-27 07:06:14,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.219.164.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-27 07:06:14,867 - DEBUG - ping -s 56 -c 3 -W 1 57.219.164.131 2025-08-27 07:06:17,084 - DEBUG - PING 57.219.164.131 (57.219.164.131): 56 data bytes 64 bytes from 57.219.164.131: seq=0 ttl=63 time=1.316 ms 64 bytes from 57.219.164.131: seq=1 ttl=63 time=0.829 ms 64 bytes from 57.219.164.131: seq=2 ttl=63 time=0.892 ms --- 57.219.164.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.829/1.012/1.316 ms 2025-08-27 07:06:17,084 - INFO - Ping to IP 57.219.164.131 from VM ctest-vn1-vm1-65169472 passed 2025-08-27 07:06:17,084 - INFO - Deleting interface with subnet_id 5e705bf1-62d1-40b9-a34a-106a45c77572, port_id None from router f4fceb91-56f1-4d48-996e-e4a87ee12258 2025-08-27 07:06:17,210 - INFO - Deleting interface with subnet_id 154eaa3a-7f2f-414f-981a-38b399602c08, port_id None from router f4fceb91-56f1-4d48-996e-e4a87ee12258 2025-08-27 07:06:17,461 - INFO - Deleting VM ctest-vn2-vm1-14027237 2025-08-27 07:06:17,536 - INFO - Deleting VM ctest-vn1-vm1-65169472 2025-08-27 07:06:17,607 - INFO - Deleting VN ctest-vn2-31037451 2025-08-27 07:06:17,646 - DEBUG - VN 7d4ed96d-b958-49de-b479-d742e2114b94 still in use: Unable to complete operation on network 7d4ed96d-b958-49de-b479-d742e2114b94. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-54d79938-afeb-42f2-a54c-2abc4aa1dbf6'] 2025-08-27 07:06:17,646 - WARNING - Deleting VN ctest-vn2-31037451 failed..Will retry 2025-08-27 07:06:19,742 - DEBUG - Response for deleting network () 2025-08-27 07:06:19,742 - INFO - Deleting VN ctest-vn1-88039361 2025-08-27 07:06:19,842 - DEBUG - Response for deleting network () 2025-08-27 07:06:20,103 - DEBUG - No XMPP flaps were noticed during the test
2025-08-27 07:06:20,103 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-08-27 07:06:20,103 - INFO - -------------------------------------------------------------------------------- 2025-08-27 07:06:20,794 - INFO - Deleted project: ctest-TestRouters-87616167, ID : 408d2512-c9bc-447b-b684-d67db3a2abc1