2025-10-30 02:15:44,218 - INFO - Domain Default found not creating 2025-10-30 02:15:44,355 - INFO - Project ctest-TestRouters-62980362 not found, creating it 2025-10-30 02:15:44,819 - INFO - Created Project:ctest-TestRouters-62980362, ID : e973ca65-75aa-45ce-88b2-074eb7231c11 2025-10-30 02:15:46,279 - INFO - ================================================================================ 2025-10-30 02:15:46,279 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 02:15:46,279 - 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-10-30 02:15:46,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.249': '0'}} with 2025-10-30 02:15:46,532 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:15:46,533 - INFO - 2025-10-30 02:15:47,092 - DEBUG - Response for create_network : {'network': {'id': 'e3885f9c-45c9-41fc-99c3-1c2b074e5386', 'name': 'ctest-vn1-69217457', 'tenant_id': 'e973ca6575aa45ce88b2074eb7231c11', 'project_id': 'e973ca6575aa45ce88b2074eb7231c11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62980362', 'ctest-vn1-69217457'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:15:47,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a7bea29-c72b-4684-97ce-9b74c4cf3a1d', 'name': '', 'tenant_id': 'e973ca6575aa45ce88b2074eb7231c11', 'network_id': 'e3885f9c-45c9-41fc-99c3-1c2b074e5386', 'ip_version': 4, 'cidr': '21.25.95.0/26', 'allocation_pools': [{'start': '21.25.95.2', 'end': '21.25.95.62'}], 'gateway_ip': '21.25.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.25.95.2', 'tags': [], 'project_id': 'e973ca6575aa45ce88b2074eb7231c11'}} 2025-10-30 02:15:47,326 - INFO - Created VN ctest-vn1-69217457 2025-10-30 02:15:47,379 - DEBUG - VN ctest-vn1-69217457 UUID is e3885f9c-45c9-41fc-99c3-1c2b074e5386 2025-10-30 02:15:47,694 - DEBUG - Response for create_network : {'network': {'id': '571ca125-abb5-498d-b483-923e82adedab', 'name': 'ctest-vn2-07728181', 'tenant_id': 'e973ca6575aa45ce88b2074eb7231c11', 'project_id': 'e973ca6575aa45ce88b2074eb7231c11', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62980362', 'ctest-vn2-07728181'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:15:47,910 - DEBUG - Response for create_subnet : {'subnet': {'id': '539817ea-0e9a-4184-a4f2-8bf59da93f31', 'name': '', 'tenant_id': 'e973ca6575aa45ce88b2074eb7231c11', 'network_id': '571ca125-abb5-498d-b483-923e82adedab', 'ip_version': 4, 'cidr': '59.148.90.0/26', 'allocation_pools': [{'start': '59.148.90.2', 'end': '59.148.90.62'}], 'gateway_ip': '59.148.90.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.148.90.2', 'tags': [], 'project_id': 'e973ca6575aa45ce88b2074eb7231c11'}} 2025-10-30 02:15:47,925 - INFO - Created VN ctest-vn2-07728181 2025-10-30 02:15:47,975 - DEBUG - VN ctest-vn2-07728181 UUID is 571ca125-abb5-498d-b483-923e82adedab 2025-10-30 02:15:48,230 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:15:49,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4534-1) 2025-10-30 02:15:50,406 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4534-1) 2025-10-30 02:15:50,473 - INFO - Adding interface with subnet_id 2a7bea29-c72b-4684-97ce-9b74c4cf3a1d, port_id None to router 173c18df-d35f-432e-9660-8fc492089063 2025-10-30 02:15:50,728 - INFO - Waiting for VM ctest-vn1-vm1-95057192 to be up.. 2025-10-30 02:15:50,831 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:15:55,909 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:15:55,910 - INFO - VM name : ctest-vn1-vm1-95057192 2025-10-30 02:15:55,978 - DEBUG - VM ctest-vn1-vm1-95057192 ID is f488c471-1325-4ebd-a95c-e713192bd16c 2025-10-30 02:15:55,994 - DEBUG - VM ctest-vn1-vm1-95057192 launched on Node cn-jenkins-deploy-platform-ansible-os-4534-1 2025-10-30 02:15:56,063 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f488c471-1325-4ebd-a95c-e713192bd16c 2025-10-30 02:15:56,356 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/f488c471-1325-4ebd-a95c-e713192bd16c 2025-10-30 02:15:56,387 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/82bf336e-84df-410b-b6f4-d062464c5b9f 2025-10-30 02:15:59,646 - 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 1023ms') 2025-10-30 02:15:59,646 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95057192 failed! 2025-10-30 02:15:59,703 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-62980362:ctest-vn1-69217457 is 21.25.95.1 and allocation pool is NOT set 2025-10-30 02:16:01,758 - 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=3.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.489 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 = 0.489/2.073/3.658/1.584 ms') 2025-10-30 02:16:01,758 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95057192 passed 2025-10-30 02:16:01,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:01,907 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95057192, IP 21.25.95.3, Port 22 2025-10-30 02:16:02,066 - DEBUG - VM ctest-vn1-vm1-95057192 is ready for SSH connections 2025-10-30 02:16:02,066 - INFO - Waiting for VM ctest-vn2-vm1-55050780 to be up.. 2025-10-30 02:16:02,131 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:16:02,131 - INFO - VM name : ctest-vn2-vm1-55050780 2025-10-30 02:16:02,206 - DEBUG - VM ctest-vn2-vm1-55050780 ID is d086ee92-6ac4-4951-95cc-a9064ac3020a 2025-10-30 02:16:02,206 - DEBUG - VM ctest-vn2-vm1-55050780 launched on Node cn-jenkins-deploy-platform-ansible-os-4534-1 2025-10-30 02:16:02,272 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/d086ee92-6ac4-4951-95cc-a9064ac3020a 2025-10-30 02:16:02,279 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9a401174-f14c-41f8-940e-94edb5b750a8 2025-10-30 02:16:03,525 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.449 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.449/2.007/3.566/1.558 ms') 2025-10-30 02:16:03,525 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-55050780 passed 2025-10-30 02:16:03,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:03,675 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-55050780, IP 59.148.90.3, Port 22 2025-10-30 02:16:03,854 - DEBUG - VM ctest-vn2-vm1-55050780 is ready for SSH connections 2025-10-30 02:16:03,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:03,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.148.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 02:16:03,855 - DEBUG - ping -s 56 -c 3 -W 1 59.148.90.3 2025-10-30 02:16:08,815 - DEBUG - PING 59.148.90.3 (59.148.90.3): 56 data bytes --- 59.148.90.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 02:16:08,815 - WARNING - Ping to IP 59.148.90.3 from VM ctest-vn1-vm1-95057192 failed 2025-10-30 02:16:08,815 - INFO - Adding interface with subnet_id 539817ea-0e9a-4184-a4f2-8bf59da93f31, port_id None to router 173c18df-d35f-432e-9660-8fc492089063 2025-10-30 02:16:09,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:09,023 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.148.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 02:16:09,023 - DEBUG - ping -s 56 -c 3 -W 1 59.148.90.3 2025-10-30 02:16:12,220 - DEBUG - PING 59.148.90.3 (59.148.90.3): 56 data bytes 64 bytes from 59.148.90.3: seq=1 ttl=63 time=2.692 ms 64 bytes from 59.148.90.3: seq=2 ttl=63 time=0.840 ms --- 59.148.90.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.840/1.766/2.692 ms 2025-10-30 02:16:12,220 - WARNING - Ping to IP 59.148.90.3 from VM ctest-vn1-vm1-95057192 failed 2025-10-30 02:16:13,221 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.148.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 02:16:13,221 - DEBUG - ping -s 56 -c 3 -W 1 59.148.90.3 2025-10-30 02:16:15,422 - DEBUG - PING 59.148.90.3 (59.148.90.3): 56 data bytes 64 bytes from 59.148.90.3: seq=0 ttl=63 time=1.392 ms 64 bytes from 59.148.90.3: seq=1 ttl=63 time=0.834 ms 64 bytes from 59.148.90.3: seq=2 ttl=63 time=0.941 ms --- 59.148.90.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.055/1.392 ms 2025-10-30 02:16:15,422 - INFO - Ping to IP 59.148.90.3 from VM ctest-vn1-vm1-95057192 passed 2025-10-30 02:16:15,422 - INFO - Deleting interface with subnet_id 2a7bea29-c72b-4684-97ce-9b74c4cf3a1d, port_id None from router 173c18df-d35f-432e-9660-8fc492089063 2025-10-30 02:16:15,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:15,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.148.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 02:16:15,554 - DEBUG - ping -s 56 -c 3 -W 1 59.148.90.3 2025-10-30 02:16:18,747 - DEBUG - PING 59.148.90.3 (59.148.90.3): 56 data bytes --- 59.148.90.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 02:16:18,748 - WARNING - Ping to IP 59.148.90.3 from VM ctest-vn1-vm1-95057192 failed 2025-10-30 02:16:18,748 - INFO - Adding interface with subnet_id 2a7bea29-c72b-4684-97ce-9b74c4cf3a1d, port_id None to router 173c18df-d35f-432e-9660-8fc492089063 2025-10-30 02:16:18,973 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:18,973 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.148.90.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 02:16:18,974 - DEBUG - ping -s 56 -c 3 -W 1 59.148.90.3 2025-10-30 02:16:21,202 - DEBUG - PING 59.148.90.3 (59.148.90.3): 56 data bytes 64 bytes from 59.148.90.3: seq=0 ttl=63 time=1.586 ms 64 bytes from 59.148.90.3: seq=1 ttl=63 time=1.182 ms 64 bytes from 59.148.90.3: seq=2 ttl=63 time=0.867 ms --- 59.148.90.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.867/1.211/1.586 ms 2025-10-30 02:16:21,202 - INFO - Ping to IP 59.148.90.3 from VM ctest-vn1-vm1-95057192 passed 2025-10-30 02:16:21,202 - INFO - Deleting interface with subnet_id 539817ea-0e9a-4184-a4f2-8bf59da93f31, port_id None from router 173c18df-d35f-432e-9660-8fc492089063 2025-10-30 02:16:21,304 - INFO - Deleting interface with subnet_id 2a7bea29-c72b-4684-97ce-9b74c4cf3a1d, port_id None from router 173c18df-d35f-432e-9660-8fc492089063 2025-10-30 02:16:21,453 - INFO - Deleting VM ctest-vn2-vm1-55050780 2025-10-30 02:16:21,519 - INFO - Deleting VM ctest-vn1-vm1-95057192 2025-10-30 02:16:21,591 - INFO - Deleting VN ctest-vn2-07728181 2025-10-30 02:16:21,624 - DEBUG - VN 571ca125-abb5-498d-b483-923e82adedab still in use: Unable to complete operation on network 571ca125-abb5-498d-b483-923e82adedab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b4822a9c-487d-403d-be51-2ee48e82bfe1'] 2025-10-30 02:16:21,624 - WARNING - Deleting VN ctest-vn2-07728181 failed..Will retry 2025-10-30 02:16:23,725 - DEBUG - Response for deleting network () 2025-10-30 02:16:23,725 - INFO - Deleting VN ctest-vn1-69217457 2025-10-30 02:16:23,814 - DEBUG - Response for deleting network () 2025-10-30 02:16:24,068 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 02:16:24,068 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-30 02:16:24,068 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:16:24,726 - INFO - Deleted project: ctest-TestRouters-62980362, ID : e973ca65-75aa-45ce-88b2-074eb7231c11