2025-09-17 17:42:21,593 - INFO - Domain Default found not creating 2025-09-17 17:42:21,776 - INFO - Project ctest-TestRouters-14197982 not found, creating it 2025-09-17 17:42:22,284 - INFO - Created Project:ctest-TestRouters-14197982, ID : 5153e59d-d157-4fa5-9c8a-fc78271d48db 2025-09-17 17:42:23,957 - INFO - ================================================================================ 2025-09-17 17:42:23,957 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-17 17:42:23,957 - 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-17 17:42:24,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-17 17:42:24,237 - INFO - Initial checks done. Running the testcase now 2025-09-17 17:42:24,237 - INFO - 2025-09-17 17:42:24,948 - DEBUG - Response for create_network : {'network': {'id': '2a8dbc4b-ba54-4dac-8415-9611d9be71a9', 'name': 'ctest-vn1-91183448', 'tenant_id': '5153e59dd1574fa59c8afc78271d48db', 'project_id': '5153e59dd1574fa59c8afc78271d48db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14197982', 'ctest-vn1-91183448'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 17:42:25,139 - DEBUG - Response for create_subnet : {'subnet': {'id': '60687cbe-e990-4b48-a380-14d6591ba52b', 'name': '', 'tenant_id': '5153e59dd1574fa59c8afc78271d48db', 'network_id': '2a8dbc4b-ba54-4dac-8415-9611d9be71a9', 'ip_version': 4, 'cidr': '177.245.38.0/26', 'allocation_pools': [{'start': '177.245.38.2', 'end': '177.245.38.62'}], 'gateway_ip': '177.245.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.245.38.2', 'tags': [], 'project_id': '5153e59dd1574fa59c8afc78271d48db'}} 2025-09-17 17:42:25,162 - INFO - Created VN ctest-vn1-91183448 2025-09-17 17:42:25,216 - DEBUG - VN ctest-vn1-91183448 UUID is 2a8dbc4b-ba54-4dac-8415-9611d9be71a9 2025-09-17 17:42:25,531 - DEBUG - Response for create_network : {'network': {'id': 'e56d2076-d862-40e2-b1c3-e9b95d8b638a', 'name': 'ctest-vn2-97273906', 'tenant_id': '5153e59dd1574fa59c8afc78271d48db', 'project_id': '5153e59dd1574fa59c8afc78271d48db', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-14197982', 'ctest-vn2-97273906'], 'port_security_enabled': True, 'description': ''}} 2025-09-17 17:42:25,719 - DEBUG - Response for create_subnet : {'subnet': {'id': 'daecd762-5032-425e-ad68-d4a1bf54184c', 'name': '', 'tenant_id': '5153e59dd1574fa59c8afc78271d48db', 'network_id': 'e56d2076-d862-40e2-b1c3-e9b95d8b638a', 'ip_version': 4, 'cidr': '168.179.109.192/26', 'allocation_pools': [{'start': '168.179.109.194', 'end': '168.179.109.254'}], 'gateway_ip': '168.179.109.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.179.109.194', 'tags': [], 'project_id': '5153e59dd1574fa59c8afc78271d48db'}} 2025-09-17 17:42:25,736 - INFO - Created VN ctest-vn2-97273906 2025-09-17 17:42:25,788 - DEBUG - VN ctest-vn2-97273906 UUID is e56d2076-d862-40e2-b1c3-e9b95d8b638a 2025-09-17 17:42:25,961 - DEBUG - Services list from nova: [, , ] 2025-09-17 17:42:27,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4129-1) 2025-09-17 17:42:28,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4129-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4129-1) 2025-09-17 17:42:28,401 - INFO - Adding interface with subnet_id 60687cbe-e990-4b48-a380-14d6591ba52b, port_id None to router a26d7d1a-cc15-4bb9-8dbe-9ed2fecec9a1 2025-09-17 17:42:28,765 - INFO - Waiting for VM ctest-vn1-vm1-68747633 to be up.. 2025-09-17 17:42:28,927 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-17 17:42:34,014 - DEBUG - VM is in ACTIVE state now 2025-09-17 17:42:34,014 - INFO - VM name : ctest-vn1-vm1-68747633 2025-09-17 17:42:34,112 - DEBUG - VM ctest-vn1-vm1-68747633 ID is b6312bd2-b34f-4d8f-a893-e8d7fb6b902b 2025-09-17 17:42:34,137 - DEBUG - VM ctest-vn1-vm1-68747633 launched on Node cn-jenkins-deploy-platform-ansible-os-4129-1 2025-09-17 17:42:34,241 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b6312bd2-b34f-4d8f-a893-e8d7fb6b902b 2025-09-17 17:42:34,609 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b6312bd2-b34f-4d8f-a893-e8d7fb6b902b 2025-09-17 17:42:34,986 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ff5d8d60-57d7-4519-a84a-4041a65c2595 2025-09-17 17:42:38,261 - 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 1026ms') 2025-09-17 17:42:38,261 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68747633 failed! 2025-09-17 17:42:38,316 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-14197982:ctest-vn1-91183448 is 177.245.38.1 and allocation pool is NOT set 2025-09-17 17:42:40,387 - 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=5.39 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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 = 1.399/3.394/5.389/1.995 ms') 2025-09-17 17:42:40,387 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-68747633 passed 2025-09-17 17:42:40,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:42:40,536 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68747633, IP 177.245.38.3, Port 22 2025-09-17 17:42:40,692 - DEBUG - VM ctest-vn1-vm1-68747633 is ready for SSH connections 2025-09-17 17:42:40,692 - INFO - Waiting for VM ctest-vn2-vm1-92581456 to be up.. 2025-09-17 17:42:40,771 - DEBUG - VM is in ACTIVE state now 2025-09-17 17:42:40,771 - INFO - VM name : ctest-vn2-vm1-92581456 2025-09-17 17:42:40,844 - DEBUG - VM ctest-vn2-vm1-92581456 ID is 68f004d0-af62-4457-a5cb-8cb3ca8d35f4 2025-09-17 17:42:40,844 - DEBUG - VM ctest-vn2-vm1-92581456 launched on Node cn-jenkins-deploy-platform-ansible-os-4129-1 2025-09-17 17:42:40,916 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/68f004d0-af62-4457-a5cb-8cb3ca8d35f4 2025-09-17 17:42:40,925 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e79a2348-42d9-480f-8759-ac5889840995 2025-09-17 17:42:42,159 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.361 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.361/1.722/3.084/1.361 ms') 2025-09-17 17:42:42,159 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-92581456 passed 2025-09-17 17:42:42,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:42:42,308 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-92581456, IP 168.179.109.195, Port 22 2025-09-17 17:42:42,463 - DEBUG - VM ctest-vn2-vm1-92581456 is ready for SSH connections 2025-09-17 17:42:42,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:42:42,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.179.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 17:42:42,464 - DEBUG - ping -s 56 -c 3 -W 1 168.179.109.195 2025-09-17 17:42:47,485 - DEBUG - PING 168.179.109.195 (168.179.109.195): 56 data bytes --- 168.179.109.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-17 17:42:47,485 - WARNING - Ping to IP 168.179.109.195 from VM ctest-vn1-vm1-68747633 failed 2025-09-17 17:42:47,486 - INFO - Adding interface with subnet_id daecd762-5032-425e-ad68-d4a1bf54184c, port_id None to router a26d7d1a-cc15-4bb9-8dbe-9ed2fecec9a1 2025-09-17 17:42:47,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:42:47,729 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.179.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 17:42:47,729 - DEBUG - ping -s 56 -c 3 -W 1 168.179.109.195 2025-09-17 17:42:50,938 - DEBUG - PING 168.179.109.195 (168.179.109.195): 56 data bytes 64 bytes from 168.179.109.195: seq=1 ttl=63 time=3.003 ms 64 bytes from 168.179.109.195: seq=2 ttl=63 time=1.029 ms --- 168.179.109.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.029/2.016/3.003 ms 2025-09-17 17:42:50,938 - WARNING - Ping to IP 168.179.109.195 from VM ctest-vn1-vm1-68747633 failed 2025-09-17 17:42:51,939 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.179.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 17:42:51,940 - DEBUG - ping -s 56 -c 3 -W 1 168.179.109.195 2025-09-17 17:42:54,151 - DEBUG - PING 168.179.109.195 (168.179.109.195): 56 data bytes 64 bytes from 168.179.109.195: seq=0 ttl=63 time=1.413 ms 64 bytes from 168.179.109.195: seq=1 ttl=63 time=0.839 ms 64 bytes from 168.179.109.195: seq=2 ttl=63 time=0.842 ms --- 168.179.109.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.839/1.031/1.413 ms 2025-09-17 17:42:54,152 - INFO - Ping to IP 168.179.109.195 from VM ctest-vn1-vm1-68747633 passed 2025-09-17 17:42:54,152 - INFO - Deleting interface with subnet_id 60687cbe-e990-4b48-a380-14d6591ba52b, port_id None from router a26d7d1a-cc15-4bb9-8dbe-9ed2fecec9a1 2025-09-17 17:42:54,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:42:54,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.179.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 17:42:54,280 - DEBUG - ping -s 56 -c 3 -W 1 168.179.109.195 2025-09-17 17:42:57,499 - DEBUG - PING 168.179.109.195 (168.179.109.195): 56 data bytes --- 168.179.109.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-17 17:42:57,499 - WARNING - Ping to IP 168.179.109.195 from VM ctest-vn1-vm1-68747633 failed 2025-09-17 17:42:57,499 - INFO - Adding interface with subnet_id 60687cbe-e990-4b48-a380-14d6591ba52b, port_id None to router a26d7d1a-cc15-4bb9-8dbe-9ed2fecec9a1 2025-09-17 17:42:57,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-17 17:42:57,709 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.179.109.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-17 17:42:57,709 - DEBUG - ping -s 56 -c 3 -W 1 168.179.109.195 2025-09-17 17:42:59,936 - DEBUG - PING 168.179.109.195 (168.179.109.195): 56 data bytes 64 bytes from 168.179.109.195: seq=0 ttl=63 time=1.484 ms 64 bytes from 168.179.109.195: seq=1 ttl=63 time=1.130 ms 64 bytes from 168.179.109.195: seq=2 ttl=63 time=0.866 ms --- 168.179.109.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.160/1.484 ms 2025-09-17 17:42:59,936 - INFO - Ping to IP 168.179.109.195 from VM ctest-vn1-vm1-68747633 passed 2025-09-17 17:42:59,936 - INFO - Deleting interface with subnet_id daecd762-5032-425e-ad68-d4a1bf54184c, port_id None from router a26d7d1a-cc15-4bb9-8dbe-9ed2fecec9a1 2025-09-17 17:43:00,059 - INFO - Deleting interface with subnet_id 60687cbe-e990-4b48-a380-14d6591ba52b, port_id None from router a26d7d1a-cc15-4bb9-8dbe-9ed2fecec9a1 2025-09-17 17:43:00,266 - INFO - Deleting VM ctest-vn2-vm1-92581456 2025-09-17 17:43:00,355 - INFO - Deleting VM ctest-vn1-vm1-68747633 2025-09-17 17:43:00,463 - INFO - Deleting VN ctest-vn2-97273906 2025-09-17 17:43:00,505 - DEBUG - VN e56d2076-d862-40e2-b1c3-e9b95d8b638a still in use: Unable to complete operation on network e56d2076-d862-40e2-b1c3-e9b95d8b638a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ac8625a-c4c2-4200-8078-0318e4ae5242'] 2025-09-17 17:43:00,505 - WARNING - Deleting VN ctest-vn2-97273906 failed..Will retry 2025-09-17 17:43:02,616 - DEBUG - Response for deleting network () 2025-09-17 17:43:02,617 - INFO - Deleting VN ctest-vn1-91183448 2025-09-17 17:43:02,737 - DEBUG - Response for deleting network () 2025-09-17 17:43:03,009 - DEBUG - No XMPP flaps were noticed during the test 2025-09-17 17:43:03,009 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40] 2025-09-17 17:43:03,009 - INFO - -------------------------------------------------------------------------------- 2025-09-17 17:43:03,837 - INFO - Deleted project: ctest-TestRouters-14197982, ID : 5153e59d-d157-4fa5-9c8a-fc78271d48db