2025-09-08 15:38:58,711 - INFO - Domain Default found not creating 2025-09-08 15:38:58,938 - INFO - Project ctest-TestRouters-88665136 not found, creating it 2025-09-08 15:38:59,379 - INFO - Created Project:ctest-TestRouters-88665136, ID : 8126fe5d-1029-44cf-ad08-9a882777b104 2025-09-08 15:39:00,779 - INFO - ================================================================================ 2025-09-08 15:39:00,779 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-08 15:39:00,780 - 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-08 15:39:01,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-09-08 15:39:01,039 - INFO - Initial checks done. Running the testcase now 2025-09-08 15:39:01,039 - INFO - 2025-09-08 15:39:01,556 - DEBUG - Response for create_network : {'network': {'id': '3279e4d6-40f2-4a8c-b179-edf9f83cb22a', 'name': 'ctest-vn1-84249432', 'tenant_id': '8126fe5d102944cfad089a882777b104', 'project_id': '8126fe5d102944cfad089a882777b104', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88665136', 'ctest-vn1-84249432'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:39:01,730 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b3f04ed-7e63-451f-aea6-13219d989c5d', 'name': '', 'tenant_id': '8126fe5d102944cfad089a882777b104', 'network_id': '3279e4d6-40f2-4a8c-b179-edf9f83cb22a', 'ip_version': 4, 'cidr': '16.240.19.0/26', 'allocation_pools': [{'start': '16.240.19.2', 'end': '16.240.19.62'}], 'gateway_ip': '16.240.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.240.19.2', 'tags': [], 'project_id': '8126fe5d102944cfad089a882777b104'}} 2025-09-08 15:39:01,748 - INFO - Created VN ctest-vn1-84249432 2025-09-08 15:39:01,798 - DEBUG - VN ctest-vn1-84249432 UUID is 3279e4d6-40f2-4a8c-b179-edf9f83cb22a 2025-09-08 15:39:02,124 - DEBUG - Response for create_network : {'network': {'id': 'c8f1ac60-fc54-4a53-bafb-4fa8086f786c', 'name': 'ctest-vn2-98832417', 'tenant_id': '8126fe5d102944cfad089a882777b104', 'project_id': '8126fe5d102944cfad089a882777b104', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88665136', 'ctest-vn2-98832417'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:39:02,333 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c07deac0-1a04-48e4-8d8e-67e7a47a36ed', 'name': '', 'tenant_id': '8126fe5d102944cfad089a882777b104', 'network_id': 'c8f1ac60-fc54-4a53-bafb-4fa8086f786c', 'ip_version': 4, 'cidr': '158.138.11.0/26', 'allocation_pools': [{'start': '158.138.11.2', 'end': '158.138.11.62'}], 'gateway_ip': '158.138.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.138.11.2', 'tags': [], 'project_id': '8126fe5d102944cfad089a882777b104'}} 2025-09-08 15:39:02,351 - INFO - Created VN ctest-vn2-98832417 2025-09-08 15:39:02,402 - DEBUG - VN ctest-vn2-98832417 UUID is c8f1ac60-fc54-4a53-bafb-4fa8086f786c 2025-09-08 15:39:02,623 - DEBUG - Services list from nova: [, , ] 2025-09-08 15:39:03,604 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4053-1) 2025-09-08 15:39:04,776 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4053-1) 2025-09-08 15:39:04,835 - INFO - Adding interface with subnet_id 8b3f04ed-7e63-451f-aea6-13219d989c5d, port_id None to router 2da04091-f1dd-4747-ad7b-14fe0b6e0fb3 2025-09-08 15:39:05,102 - INFO - Waiting for VM ctest-vn1-vm1-05256129 to be up.. 2025-09-08 15:39:05,219 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 15:39:10,293 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:39:10,293 - INFO - VM name : ctest-vn1-vm1-05256129 2025-09-08 15:39:10,361 - DEBUG - VM ctest-vn1-vm1-05256129 ID is b8edb297-439c-44d5-a7f4-9d07f0318dda 2025-09-08 15:39:10,378 - DEBUG - VM ctest-vn1-vm1-05256129 launched on Node cn-jenkins-deploy-platform-ansible-os-4053-1 2025-09-08 15:39:10,448 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b8edb297-439c-44d5-a7f4-9d07f0318dda 2025-09-08 15:39:10,748 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b8edb297-439c-44d5-a7f4-9d07f0318dda 2025-09-08 15:39:10,776 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/2492adcb-db1d-40ad-8a23-3c32addc725c 2025-09-08 15:39:14,042 - 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-09-08 15:39:14,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05256129 failed! 2025-09-08 15:39:14,098 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88665136:ctest-vn1-84249432 is 16.240.19.1 and allocation pool is NOT set 2025-09-08 15:39:16,168 - 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.46 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.458/3.422/5.387/1.964 ms') 2025-09-08 15:39:16,168 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05256129 passed 2025-09-08 15:39:16,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:39:16,318 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05256129, IP 16.240.19.3, Port 22 2025-09-08 15:39:16,473 - DEBUG - VM ctest-vn1-vm1-05256129 is ready for SSH connections 2025-09-08 15:39:16,473 - INFO - Waiting for VM ctest-vn2-vm1-63548164 to be up.. 2025-09-08 15:39:16,538 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:39:16,539 - INFO - VM name : ctest-vn2-vm1-63548164 2025-09-08 15:39:16,605 - DEBUG - VM ctest-vn2-vm1-63548164 ID is 8c8d4188-d9ad-43cb-ac5b-d9cf670c5207 2025-09-08 15:39:16,605 - DEBUG - VM ctest-vn2-vm1-63548164 launched on Node cn-jenkins-deploy-platform-ansible-os-4053-1 2025-09-08 15:39:16,678 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8c8d4188-d9ad-43cb-ac5b-d9cf670c5207 2025-09-08 15:39:16,685 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a1962576-68f7-4f2c-be92-ca06d535a981 2025-09-08 15:39:17,921 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.348 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.348/1.582/2.816/1.234 ms') 2025-09-08 15:39:17,922 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-63548164 passed 2025-09-08 15:39:18,078 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:39:18,078 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63548164, IP 158.138.11.3, Port 22 2025-09-08 15:39:18,241 - DEBUG - VM ctest-vn2-vm1-63548164 is ready for SSH connections 2025-09-08 15:39:18,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:39:18,241 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.138.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 15:39:18,241 - DEBUG - ping -s 56 -c 3 -W 1 158.138.11.3 2025-09-08 15:39:22,891 - DEBUG - PING 158.138.11.3 (158.138.11.3): 56 data bytes --- 158.138.11.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 15:39:22,891 - WARNING - Ping to IP 158.138.11.3 from VM ctest-vn1-vm1-05256129 failed 2025-09-08 15:39:22,892 - INFO - Adding interface with subnet_id c07deac0-1a04-48e4-8d8e-67e7a47a36ed, port_id None to router 2da04091-f1dd-4747-ad7b-14fe0b6e0fb3 2025-09-08 15:39:23,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:39:23,123 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.138.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 15:39:23,123 - DEBUG - ping -s 56 -c 3 -W 1 158.138.11.3 2025-09-08 15:39:25,332 - DEBUG - PING 158.138.11.3 (158.138.11.3): 56 data bytes 64 bytes from 158.138.11.3: seq=0 ttl=63 time=2.397 ms 64 bytes from 158.138.11.3: seq=1 ttl=63 time=0.820 ms 64 bytes from 158.138.11.3: seq=2 ttl=63 time=0.958 ms --- 158.138.11.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/1.391/2.397 ms 2025-09-08 15:39:25,332 - INFO - Ping to IP 158.138.11.3 from VM ctest-vn1-vm1-05256129 passed 2025-09-08 15:39:25,332 - INFO - Deleting interface with subnet_id 8b3f04ed-7e63-451f-aea6-13219d989c5d, port_id None from router 2da04091-f1dd-4747-ad7b-14fe0b6e0fb3 2025-09-08 15:39:25,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:39:25,441 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.138.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 15:39:25,441 - DEBUG - ping -s 56 -c 3 -W 1 158.138.11.3 2025-09-08 15:39:28,644 - DEBUG - PING 158.138.11.3 (158.138.11.3): 56 data bytes --- 158.138.11.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 15:39:28,644 - WARNING - Ping to IP 158.138.11.3 from VM ctest-vn1-vm1-05256129 failed 2025-09-08 15:39:28,644 - INFO - Adding interface with subnet_id 8b3f04ed-7e63-451f-aea6-13219d989c5d, port_id None to router 2da04091-f1dd-4747-ad7b-14fe0b6e0fb3 2025-09-08 15:39:28,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:39:28,831 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.138.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 15:39:28,831 - DEBUG - ping -s 56 -c 3 -W 1 158.138.11.3 2025-09-08 15:39:32,035 - DEBUG - PING 158.138.11.3 (158.138.11.3): 56 data bytes 64 bytes from 158.138.11.3: seq=1 ttl=63 time=1.455 ms 64 bytes from 158.138.11.3: seq=2 ttl=63 time=0.837 ms --- 158.138.11.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.837/1.146/1.455 ms 2025-09-08 15:39:32,035 - WARNING - Ping to IP 158.138.11.3 from VM ctest-vn1-vm1-05256129 failed 2025-09-08 15:39:33,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.138.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 15:39:33,036 - DEBUG - ping -s 56 -c 3 -W 1 158.138.11.3 2025-09-08 15:39:35,239 - DEBUG - PING 158.138.11.3 (158.138.11.3): 56 data bytes 64 bytes from 158.138.11.3: seq=0 ttl=63 time=1.349 ms 64 bytes from 158.138.11.3: seq=1 ttl=63 time=0.784 ms 64 bytes from 158.138.11.3: seq=2 ttl=63 time=0.749 ms --- 158.138.11.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/0.960/1.349 ms 2025-09-08 15:39:35,239 - INFO - Ping to IP 158.138.11.3 from VM ctest-vn1-vm1-05256129 passed 2025-09-08 15:39:35,239 - INFO - Deleting interface with subnet_id c07deac0-1a04-48e4-8d8e-67e7a47a36ed, port_id None from router 2da04091-f1dd-4747-ad7b-14fe0b6e0fb3 2025-09-08 15:39:35,351 - INFO - Deleting interface with subnet_id 8b3f04ed-7e63-451f-aea6-13219d989c5d, port_id None from router 2da04091-f1dd-4747-ad7b-14fe0b6e0fb3 2025-09-08 15:39:35,503 - INFO - Deleting VM ctest-vn2-vm1-63548164 2025-09-08 15:39:35,567 - INFO - Deleting VM ctest-vn1-vm1-05256129 2025-09-08 15:39:35,637 - INFO - Deleting VN ctest-vn2-98832417 2025-09-08 15:39:35,667 - DEBUG - VN c8f1ac60-fc54-4a53-bafb-4fa8086f786c still in use: Unable to complete operation on network c8f1ac60-fc54-4a53-bafb-4fa8086f786c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6afaf800-4255-48a7-b0ba-5a05f250927c'] 2025-09-08 15:39:35,667 - WARNING - Deleting VN ctest-vn2-98832417 failed..Will retry 2025-09-08 15:39:37,783 - DEBUG - Response for deleting network () 2025-09-08 15:39:37,783 - INFO - Deleting VN ctest-vn1-84249432 2025-09-08 15:39:37,923 - DEBUG - Response for deleting network () 2025-09-08 15:39:38,178 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 15:39:38,178 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-08 15:39:38,178 - INFO - -------------------------------------------------------------------------------- 2025-09-08 15:39:38,835 - INFO - Deleted project: ctest-TestRouters-88665136, ID : 8126fe5d-1029-44cf-ad08-9a882777b104