2025-09-18 16:19:57,065 - INFO - Domain Default found not creating 2025-09-18 16:19:57,202 - INFO - Project ctest-TestRouters-36142367 not found, creating it 2025-09-18 16:19:57,665 - INFO - Created Project:ctest-TestRouters-36142367, ID : 50a6d8e1-89c0-4ed7-ab25-27eb2c0ffc1b 2025-09-18 16:19:59,061 - INFO - ================================================================================ 2025-09-18 16:19:59,061 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-18 16:19:59,062 - 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-18 16:19:59,331 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 16:19:59,331 - INFO - Initial checks done. Running the testcase now 2025-09-18 16:19:59,331 - INFO - 2025-09-18 16:19:59,860 - DEBUG - Response for create_network : {'network': {'id': '72793f4a-fa20-48f3-b971-856ba9b01dd1', 'name': 'ctest-vn1-76071033', 'tenant_id': '50a6d8e189c04ed7ab2527eb2c0ffc1b', 'project_id': '50a6d8e189c04ed7ab2527eb2c0ffc1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36142367', 'ctest-vn1-76071033'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 16:20:00,084 - DEBUG - Response for create_subnet : {'subnet': {'id': '92f87f97-c5c4-4102-bc7a-263cb2e1a083', 'name': '', 'tenant_id': '50a6d8e189c04ed7ab2527eb2c0ffc1b', 'network_id': '72793f4a-fa20-48f3-b971-856ba9b01dd1', 'ip_version': 4, 'cidr': '111.118.8.64/26', 'allocation_pools': [{'start': '111.118.8.66', 'end': '111.118.8.126'}], 'gateway_ip': '111.118.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.118.8.66', 'tags': [], 'project_id': '50a6d8e189c04ed7ab2527eb2c0ffc1b'}} 2025-09-18 16:20:00,104 - INFO - Created VN ctest-vn1-76071033 2025-09-18 16:20:00,154 - DEBUG - VN ctest-vn1-76071033 UUID is 72793f4a-fa20-48f3-b971-856ba9b01dd1 2025-09-18 16:20:00,487 - DEBUG - Response for create_network : {'network': {'id': 'a4b9a75f-b118-4f99-a02e-795af36e94c7', 'name': 'ctest-vn2-61393419', 'tenant_id': '50a6d8e189c04ed7ab2527eb2c0ffc1b', 'project_id': '50a6d8e189c04ed7ab2527eb2c0ffc1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-36142367', 'ctest-vn2-61393419'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 16:20:00,685 - DEBUG - Response for create_subnet : {'subnet': {'id': '72ff1570-c4ef-4545-913e-69dd98fc73fe', 'name': '', 'tenant_id': '50a6d8e189c04ed7ab2527eb2c0ffc1b', 'network_id': 'a4b9a75f-b118-4f99-a02e-795af36e94c7', 'ip_version': 4, 'cidr': '122.253.198.128/26', 'allocation_pools': [{'start': '122.253.198.130', 'end': '122.253.198.190'}], 'gateway_ip': '122.253.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.253.198.130', 'tags': [], 'project_id': '50a6d8e189c04ed7ab2527eb2c0ffc1b'}} 2025-09-18 16:20:00,704 - INFO - Created VN ctest-vn2-61393419 2025-09-18 16:20:00,758 - DEBUG - VN ctest-vn2-61393419 UUID is a4b9a75f-b118-4f99-a02e-795af36e94c7 2025-09-18 16:20:00,979 - DEBUG - Services list from nova: [, , ] 2025-09-18 16:20:01,985 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4139-1) 2025-09-18 16:20:03,229 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4139-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4139-1) 2025-09-18 16:20:03,292 - INFO - Adding interface with subnet_id 92f87f97-c5c4-4102-bc7a-263cb2e1a083, port_id None to router 3018985a-be6e-4308-9195-46fc0fbfa049 2025-09-18 16:20:03,535 - INFO - Waiting for VM ctest-vn1-vm1-95700958 to be up.. 2025-09-18 16:20:03,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 16:20:08,701 - DEBUG - VM is in ACTIVE state now 2025-09-18 16:20:08,701 - INFO - VM name : ctest-vn1-vm1-95700958 2025-09-18 16:20:08,776 - DEBUG - VM ctest-vn1-vm1-95700958 ID is d9d22b7a-2b34-45a1-8b6b-b7a330d8769a 2025-09-18 16:20:08,796 - DEBUG - VM ctest-vn1-vm1-95700958 launched on Node cn-jenkins-deploy-platform-ansible-os-4139-1 2025-09-18 16:20:08,863 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d9d22b7a-2b34-45a1-8b6b-b7a330d8769a 2025-09-18 16:20:09,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d9d22b7a-2b34-45a1-8b6b-b7a330d8769a 2025-09-18 16:20:09,181 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5134095e-d10a-4881-be79-f3c0e689b57a 2025-09-18 16:20:12,415 - 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-09-18 16:20:12,415 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95700958 failed! 2025-09-18 16:20:12,470 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-36142367:ctest-vn1-76071033 is 111.118.8.65 and allocation pool is NOT set 2025-09-18 16:20:14,525 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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.416/1.566/2.716/1.150 ms') 2025-09-18 16:20:14,525 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-95700958 passed 2025-09-18 16:20:14,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:20:14,674 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-95700958, IP 111.118.8.67, Port 22 2025-09-18 16:20:14,830 - DEBUG - VM ctest-vn1-vm1-95700958 is ready for SSH connections 2025-09-18 16:20:14,830 - INFO - Waiting for VM ctest-vn2-vm1-36752659 to be up.. 2025-09-18 16:20:14,900 - DEBUG - VM is in ACTIVE state now 2025-09-18 16:20:14,900 - INFO - VM name : ctest-vn2-vm1-36752659 2025-09-18 16:20:14,970 - DEBUG - VM ctest-vn2-vm1-36752659 ID is 04b6dded-de88-4a70-a032-86a10e27929e 2025-09-18 16:20:14,970 - DEBUG - VM ctest-vn2-vm1-36752659 launched on Node cn-jenkins-deploy-platform-ansible-os-4139-1 2025-09-18 16:20:15,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/04b6dded-de88-4a70-a032-86a10e27929e 2025-09-18 16:20:15,044 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/15a6ae10-be6d-4afe-b7db-10ae98cf2444 2025-09-18 16:20:16,270 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.421 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.421/1.602/2.784/1.181 ms') 2025-09-18 16:20:16,270 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-36752659 passed 2025-09-18 16:20:16,420 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:20:16,420 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-36752659, IP 122.253.198.131, Port 22 2025-09-18 16:20:16,586 - DEBUG - VM ctest-vn2-vm1-36752659 is ready for SSH connections 2025-09-18 16:20:16,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:20:16,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.253.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 16:20:16,586 - DEBUG - ping -s 56 -c 3 -W 1 122.253.198.131 2025-09-18 16:20:21,334 - DEBUG - PING 122.253.198.131 (122.253.198.131): 56 data bytes --- 122.253.198.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 16:20:21,334 - WARNING - Ping to IP 122.253.198.131 from VM ctest-vn1-vm1-95700958 failed 2025-09-18 16:20:21,334 - INFO - Adding interface with subnet_id 72ff1570-c4ef-4545-913e-69dd98fc73fe, port_id None to router 3018985a-be6e-4308-9195-46fc0fbfa049 2025-09-18 16:20:21,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:20:21,576 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.253.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 16:20:21,576 - DEBUG - ping -s 56 -c 3 -W 1 122.253.198.131 2025-09-18 16:20:23,868 - DEBUG - PING 122.253.198.131 (122.253.198.131): 56 data bytes 64 bytes from 122.253.198.131: seq=0 ttl=63 time=2.843 ms 64 bytes from 122.253.198.131: seq=1 ttl=63 time=0.876 ms 64 bytes from 122.253.198.131: seq=2 ttl=63 time=0.993 ms --- 122.253.198.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.570/2.843 ms 2025-09-18 16:20:23,868 - INFO - Ping to IP 122.253.198.131 from VM ctest-vn1-vm1-95700958 passed 2025-09-18 16:20:23,868 - INFO - Deleting interface with subnet_id 92f87f97-c5c4-4102-bc7a-263cb2e1a083, port_id None from router 3018985a-be6e-4308-9195-46fc0fbfa049 2025-09-18 16:20:23,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:20:23,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.253.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 16:20:23,993 - DEBUG - ping -s 56 -c 3 -W 1 122.253.198.131 2025-09-18 16:20:27,277 - DEBUG - PING 122.253.198.131 (122.253.198.131): 56 data bytes --- 122.253.198.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 16:20:27,277 - WARNING - Ping to IP 122.253.198.131 from VM ctest-vn1-vm1-95700958 failed 2025-09-18 16:20:27,277 - INFO - Adding interface with subnet_id 92f87f97-c5c4-4102-bc7a-263cb2e1a083, port_id None to router 3018985a-be6e-4308-9195-46fc0fbfa049 2025-09-18 16:20:27,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 16:20:27,476 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.253.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 16:20:27,476 - DEBUG - ping -s 56 -c 3 -W 1 122.253.198.131 2025-09-18 16:20:30,783 - DEBUG - PING 122.253.198.131 (122.253.198.131): 56 data bytes 64 bytes from 122.253.198.131: seq=1 ttl=63 time=1.424 ms 64 bytes from 122.253.198.131: seq=2 ttl=63 time=0.943 ms --- 122.253.198.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.943/1.183/1.424 ms 2025-09-18 16:20:30,784 - WARNING - Ping to IP 122.253.198.131 from VM ctest-vn1-vm1-95700958 failed 2025-09-18 16:20:31,784 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.253.198.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 16:20:31,784 - DEBUG - ping -s 56 -c 3 -W 1 122.253.198.131 2025-09-18 16:20:34,075 - DEBUG - PING 122.253.198.131 (122.253.198.131): 56 data bytes 64 bytes from 122.253.198.131: seq=0 ttl=63 time=1.396 ms 64 bytes from 122.253.198.131: seq=1 ttl=63 time=0.830 ms 64 bytes from 122.253.198.131: seq=2 ttl=63 time=0.749 ms --- 122.253.198.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/0.991/1.396 ms 2025-09-18 16:20:34,075 - INFO - Ping to IP 122.253.198.131 from VM ctest-vn1-vm1-95700958 passed 2025-09-18 16:20:34,076 - INFO - Deleting interface with subnet_id 72ff1570-c4ef-4545-913e-69dd98fc73fe, port_id None from router 3018985a-be6e-4308-9195-46fc0fbfa049 2025-09-18 16:20:34,174 - INFO - Deleting interface with subnet_id 92f87f97-c5c4-4102-bc7a-263cb2e1a083, port_id None from router 3018985a-be6e-4308-9195-46fc0fbfa049 2025-09-18 16:20:34,333 - INFO - Deleting VM ctest-vn2-vm1-36752659 2025-09-18 16:20:34,400 - INFO - Deleting VM ctest-vn1-vm1-95700958 2025-09-18 16:20:34,467 - INFO - Deleting VN ctest-vn2-61393419 2025-09-18 16:20:34,511 - DEBUG - VN a4b9a75f-b118-4f99-a02e-795af36e94c7 still in use: Unable to complete operation on network a4b9a75f-b118-4f99-a02e-795af36e94c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-89e15b0b-bb85-4466-989f-523e31a7fc88'] 2025-09-18 16:20:34,511 - WARNING - Deleting VN ctest-vn2-61393419 failed..Will retry 2025-09-18 16:20:36,604 - DEBUG - Response for deleting network () 2025-09-18 16:20:36,604 - INFO - Deleting VN ctest-vn1-76071033 2025-09-18 16:20:36,693 - DEBUG - Response for deleting network () 2025-09-18 16:20:36,947 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 16:20:36,947 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-09-18 16:20:36,947 - INFO - -------------------------------------------------------------------------------- 2025-09-18 16:20:37,604 - INFO - Deleted project: ctest-TestRouters-36142367, ID : 50a6d8e1-89c0-4ed7-ab25-27eb2c0ffc1b