2025-09-11 11:21:08,326 - INFO - Domain Default found not creating 2025-09-11 11:21:08,561 - INFO - Project ctest-TestRouters-88541297 not found, creating it 2025-09-11 11:21:09,056 - INFO - Created Project:ctest-TestRouters-88541297, ID : db6453a1-b735-4a98-95b5-7e9fe04fbee0 2025-09-11 11:21:10,585 - INFO - ================================================================================ 2025-09-11 11:21:10,585 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-11 11:21:10,585 - 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-09-11 11:21:10,843 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-09-11 11:21:10,843 - INFO - Initial checks done. Running the testcase now 2025-09-11 11:21:10,843 - INFO - 2025-09-11 11:21:11,413 - DEBUG - Response for create_network : {'network': {'id': 'f4fa4957-f6ad-4715-b000-00a748c1e6fc', 'name': 'ctest-vn1-33473363', 'tenant_id': 'db6453a1b7354a9895b57e9fe04fbee0', 'project_id': 'db6453a1b7354a9895b57e9fe04fbee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88541297', 'ctest-vn1-33473363'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 11:21:11,638 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e28e3512-8ffd-4320-8385-cf28e80d749b', 'name': '', 'tenant_id': 'db6453a1b7354a9895b57e9fe04fbee0', 'network_id': 'f4fa4957-f6ad-4715-b000-00a748c1e6fc', 'ip_version': 4, 'cidr': '99.205.128.0/26', 'allocation_pools': [{'start': '99.205.128.2', 'end': '99.205.128.62'}], 'gateway_ip': '99.205.128.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.205.128.2', 'tags': [], 'project_id': 'db6453a1b7354a9895b57e9fe04fbee0'}} 2025-09-11 11:21:11,656 - INFO - Created VN ctest-vn1-33473363 2025-09-11 11:21:11,709 - DEBUG - VN ctest-vn1-33473363 UUID is f4fa4957-f6ad-4715-b000-00a748c1e6fc 2025-09-11 11:21:12,037 - DEBUG - Response for create_network : {'network': {'id': 'd4a6138f-3e98-4145-b80a-1ccd0b8f159b', 'name': 'ctest-vn2-84148661', 'tenant_id': 'db6453a1b7354a9895b57e9fe04fbee0', 'project_id': 'db6453a1b7354a9895b57e9fe04fbee0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88541297', 'ctest-vn2-84148661'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 11:21:12,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ed43ff5-36ba-40f1-b91a-79e7745a3f6c', 'name': '', 'tenant_id': 'db6453a1b7354a9895b57e9fe04fbee0', 'network_id': 'd4a6138f-3e98-4145-b80a-1ccd0b8f159b', 'ip_version': 4, 'cidr': '191.142.51.192/26', 'allocation_pools': [{'start': '191.142.51.194', 'end': '191.142.51.254'}], 'gateway_ip': '191.142.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.142.51.194', 'tags': [], 'project_id': 'db6453a1b7354a9895b57e9fe04fbee0'}} 2025-09-11 11:21:12,276 - INFO - Created VN ctest-vn2-84148661 2025-09-11 11:21:12,328 - DEBUG - VN ctest-vn2-84148661 UUID is d4a6138f-3e98-4145-b80a-1ccd0b8f159b 2025-09-11 11:21:12,505 - DEBUG - Services list from nova: [, , ] 2025-09-11 11:21:13,518 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4089-1) 2025-09-11 11:21:14,787 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4089-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4089-1) 2025-09-11 11:21:14,886 - INFO - Adding interface with subnet_id e28e3512-8ffd-4320-8385-cf28e80d749b, port_id None to router 113bbd33-20bb-40ce-ad4a-ed60e3589cc4 2025-09-11 11:21:15,158 - INFO - Waiting for VM ctest-vn1-vm1-41704853 to be up.. 2025-09-11 11:21:15,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 11:21:20,311 - DEBUG - VM is in ACTIVE state now 2025-09-11 11:21:20,311 - INFO - VM name : ctest-vn1-vm1-41704853 2025-09-11 11:21:20,390 - DEBUG - VM ctest-vn1-vm1-41704853 ID is 295e1107-d6c8-45c5-a139-559a89c95a10 2025-09-11 11:21:20,410 - DEBUG - VM ctest-vn1-vm1-41704853 launched on Node cn-jenkins-deploy-platform-ansible-os-4089-1 2025-09-11 11:21:20,485 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/295e1107-d6c8-45c5-a139-559a89c95a10 2025-09-11 11:21:20,782 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/295e1107-d6c8-45c5-a139-559a89c95a10 2025-09-11 11:21:20,815 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/596c14d6-bf8b-4fc1-842f-687095ee12c5 2025-09-11 11:21:24,087 - 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 1030ms') 2025-09-11 11:21:24,087 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41704853 failed! 2025-09-11 11:21:24,141 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88541297:ctest-vn1-33473363 is 99.205.128.1 and allocation pool is NOT set 2025-09-11 11:21:26,206 - 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=2.76 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/1.622/2.756/1.133 ms') 2025-09-11 11:21:26,207 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41704853 passed 2025-09-11 11:21:26,361 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:21:26,361 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41704853, IP 99.205.128.3, Port 22 2025-09-11 11:21:26,526 - DEBUG - VM ctest-vn1-vm1-41704853 is ready for SSH connections 2025-09-11 11:21:26,527 - INFO - Waiting for VM ctest-vn2-vm1-96109242 to be up.. 2025-09-11 11:21:26,610 - DEBUG - VM is in ACTIVE state now 2025-09-11 11:21:26,611 - INFO - VM name : ctest-vn2-vm1-96109242 2025-09-11 11:21:26,689 - DEBUG - VM ctest-vn2-vm1-96109242 ID is aa6c79b3-fc6e-47bb-8f57-20c9f8b9519b 2025-09-11 11:21:26,689 - DEBUG - VM ctest-vn2-vm1-96109242 launched on Node cn-jenkins-deploy-platform-ansible-os-4089-1 2025-09-11 11:21:26,774 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/aa6c79b3-fc6e-47bb-8f57-20c9f8b9519b 2025-09-11 11:21:26,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fa03e27b-6e94-49e4-9cc7-aafc07fbb0bf 2025-09-11 11:21:28,016 - 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=4.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.77 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 = 1.770/3.148/4.526/1.378 ms') 2025-09-11 11:21:28,016 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-96109242 passed 2025-09-11 11:21:28,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:21:28,165 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-96109242, IP 191.142.51.195, Port 22 2025-09-11 11:21:28,331 - DEBUG - VM ctest-vn2-vm1-96109242 is ready for SSH connections 2025-09-11 11:21:28,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:21:28,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.142.51.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-11 11:21:28,332 - DEBUG - ping -s 56 -c 3 -W 1 191.142.51.195 2025-09-11 11:21:33,309 - DEBUG - PING 191.142.51.195 (191.142.51.195): 56 data bytes --- 191.142.51.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 11:21:33,309 - WARNING - Ping to IP 191.142.51.195 from VM ctest-vn1-vm1-41704853 failed 2025-09-11 11:21:33,309 - INFO - Adding interface with subnet_id 0ed43ff5-36ba-40f1-b91a-79e7745a3f6c, port_id None to router 113bbd33-20bb-40ce-ad4a-ed60e3589cc4 2025-09-11 11:21:33,551 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:21:33,551 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.142.51.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-11 11:21:33,551 - DEBUG - ping -s 56 -c 3 -W 1 191.142.51.195 2025-09-11 11:21:36,766 - DEBUG - PING 191.142.51.195 (191.142.51.195): 56 data bytes 64 bytes from 191.142.51.195: seq=1 ttl=63 time=3.139 ms 64 bytes from 191.142.51.195: seq=2 ttl=63 time=0.939 ms --- 191.142.51.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.939/2.039/3.139 ms 2025-09-11 11:21:36,766 - WARNING - Ping to IP 191.142.51.195 from VM ctest-vn1-vm1-41704853 failed 2025-09-11 11:21:37,766 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.142.51.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-11 11:21:37,766 - DEBUG - ping -s 56 -c 3 -W 1 191.142.51.195 2025-09-11 11:21:40,002 - DEBUG - PING 191.142.51.195 (191.142.51.195): 56 data bytes 64 bytes from 191.142.51.195: seq=0 ttl=63 time=2.368 ms 64 bytes from 191.142.51.195: seq=1 ttl=63 time=0.975 ms 64 bytes from 191.142.51.195: seq=2 ttl=63 time=0.989 ms --- 191.142.51.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.975/1.444/2.368 ms 2025-09-11 11:21:40,002 - INFO - Ping to IP 191.142.51.195 from VM ctest-vn1-vm1-41704853 passed 2025-09-11 11:21:40,002 - INFO - Deleting interface with subnet_id e28e3512-8ffd-4320-8385-cf28e80d749b, port_id None from router 113bbd33-20bb-40ce-ad4a-ed60e3589cc4 2025-09-11 11:21:40,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:21:40,133 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.142.51.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-11 11:21:40,133 - DEBUG - ping -s 56 -c 3 -W 1 191.142.51.195 2025-09-11 11:21:43,373 - DEBUG - PING 191.142.51.195 (191.142.51.195): 56 data bytes --- 191.142.51.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 11:21:43,373 - WARNING - Ping to IP 191.142.51.195 from VM ctest-vn1-vm1-41704853 failed 2025-09-11 11:21:43,373 - INFO - Adding interface with subnet_id e28e3512-8ffd-4320-8385-cf28e80d749b, port_id None to router 113bbd33-20bb-40ce-ad4a-ed60e3589cc4 2025-09-11 11:21:43,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 11:21:43,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.142.51.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-11 11:21:43,668 - DEBUG - ping -s 56 -c 3 -W 1 191.142.51.195 2025-09-11 11:21:45,878 - DEBUG - PING 191.142.51.195 (191.142.51.195): 56 data bytes 64 bytes from 191.142.51.195: seq=0 ttl=63 time=1.255 ms 64 bytes from 191.142.51.195: seq=1 ttl=63 time=0.956 ms 64 bytes from 191.142.51.195: seq=2 ttl=63 time=0.802 ms --- 191.142.51.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.004/1.255 ms 2025-09-11 11:21:45,878 - INFO - Ping to IP 191.142.51.195 from VM ctest-vn1-vm1-41704853 passed 2025-09-11 11:21:45,878 - INFO - Deleting interface with subnet_id 0ed43ff5-36ba-40f1-b91a-79e7745a3f6c, port_id None from router 113bbd33-20bb-40ce-ad4a-ed60e3589cc4 2025-09-11 11:21:45,993 - INFO - Deleting interface with subnet_id e28e3512-8ffd-4320-8385-cf28e80d749b, port_id None from router 113bbd33-20bb-40ce-ad4a-ed60e3589cc4 2025-09-11 11:21:46,179 - INFO - Deleting VM ctest-vn2-vm1-96109242 2025-09-11 11:21:46,250 - INFO - Deleting VM ctest-vn1-vm1-41704853 2025-09-11 11:21:46,322 - INFO - Deleting VN ctest-vn2-84148661 2025-09-11 11:21:46,358 - DEBUG - VN d4a6138f-3e98-4145-b80a-1ccd0b8f159b still in use: Unable to complete operation on network d4a6138f-3e98-4145-b80a-1ccd0b8f159b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b554f91a-bf5e-4152-8371-c0a720cf5717'] 2025-09-11 11:21:46,358 - WARNING - Deleting VN ctest-vn2-84148661 failed..Will retry 2025-09-11 11:21:48,454 - DEBUG - Response for deleting network () 2025-09-11 11:21:48,454 - INFO - Deleting VN ctest-vn1-33473363 2025-09-11 11:21:48,555 - DEBUG - Response for deleting network () 2025-09-11 11:21:48,810 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 11:21:48,810 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-11 11:21:48,810 - INFO - -------------------------------------------------------------------------------- 2025-09-11 11:21:49,468 - INFO - Deleted project: ctest-TestRouters-88541297, ID : db6453a1-b735-4a98-95b5-7e9fe04fbee0