2025-08-15 09:29:31,486 - INFO - Domain Default found not creating 2025-08-15 09:29:31,613 - INFO - Project ctest-TestRouters-77332490 not found, creating it 2025-08-15 09:29:32,140 - INFO - Created Project:ctest-TestRouters-77332490, ID : 38242265-f83c-4a84-8260-ac881b139b46 2025-08-15 09:29:33,481 - INFO - ================================================================================ 2025-08-15 09:29:33,481 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-15 09:29:33,481 - 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-08-15 09:29:33,737 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-15 09:29:33,737 - INFO - Initial checks done. Running the testcase now 2025-08-15 09:29:33,737 - INFO - 2025-08-15 09:29:34,269 - DEBUG - Response for create_network : {'network': {'id': '43a493fc-1c12-4fa9-b906-7d9aeff5392b', 'name': 'ctest-vn1-70743441', 'tenant_id': '38242265f83c4a848260ac881b139b46', 'project_id': '38242265f83c4a848260ac881b139b46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77332490', 'ctest-vn1-70743441'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:29:34,496 - DEBUG - Response for create_subnet : {'subnet': {'id': '3ad9205d-3860-4470-8508-faa896c010be', 'name': '', 'tenant_id': '38242265f83c4a848260ac881b139b46', 'network_id': '43a493fc-1c12-4fa9-b906-7d9aeff5392b', 'ip_version': 4, 'cidr': '200.76.220.128/26', 'allocation_pools': [{'start': '200.76.220.130', 'end': '200.76.220.190'}], 'gateway_ip': '200.76.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.76.220.130', 'tags': [], 'project_id': '38242265f83c4a848260ac881b139b46'}} 2025-08-15 09:29:34,513 - INFO - Created VN ctest-vn1-70743441 2025-08-15 09:29:34,564 - DEBUG - VN ctest-vn1-70743441 UUID is 43a493fc-1c12-4fa9-b906-7d9aeff5392b 2025-08-15 09:29:34,894 - DEBUG - Response for create_network : {'network': {'id': '94c3cff1-1832-4ad6-907d-3fa360f7a131', 'name': 'ctest-vn2-14799753', 'tenant_id': '38242265f83c4a848260ac881b139b46', 'project_id': '38242265f83c4a848260ac881b139b46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77332490', 'ctest-vn2-14799753'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 09:29:35,110 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4578b06-8f7d-410e-ba79-a7e085822710', 'name': '', 'tenant_id': '38242265f83c4a848260ac881b139b46', 'network_id': '94c3cff1-1832-4ad6-907d-3fa360f7a131', 'ip_version': 4, 'cidr': '77.209.188.128/26', 'allocation_pools': [{'start': '77.209.188.130', 'end': '77.209.188.190'}], 'gateway_ip': '77.209.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.209.188.130', 'tags': [], 'project_id': '38242265f83c4a848260ac881b139b46'}} 2025-08-15 09:29:35,126 - INFO - Created VN ctest-vn2-14799753 2025-08-15 09:29:35,180 - DEBUG - VN ctest-vn2-14799753 UUID is 94c3cff1-1832-4ad6-907d-3fa360f7a131 2025-08-15 09:29:35,368 - DEBUG - Services list from nova: [, , ] 2025-08-15 09:29:36,304 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3862-1) 2025-08-15 09:29:37,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3862-1) 2025-08-15 09:29:37,530 - INFO - Adding interface with subnet_id 3ad9205d-3860-4470-8508-faa896c010be, port_id None to router 1320f9ac-f9be-43ac-81aa-5eda151bbfc0 2025-08-15 09:29:37,806 - INFO - Waiting for VM ctest-vn1-vm1-45515060 to be up.. 2025-08-15 09:29:37,919 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 09:29:42,991 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:29:42,991 - INFO - VM name : ctest-vn1-vm1-45515060 2025-08-15 09:29:43,055 - DEBUG - VM ctest-vn1-vm1-45515060 ID is 3fb2a166-3e9f-4c20-b2a4-16a6e51987fd 2025-08-15 09:29:43,072 - DEBUG - VM ctest-vn1-vm1-45515060 launched on Node cn-jenkins-deploy-platform-ansible-os-3862-1. 2025-08-15 09:29:43,135 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3fb2a166-3e9f-4c20-b2a4-16a6e51987fd 2025-08-15 09:29:43,421 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3fb2a166-3e9f-4c20-b2a4-16a6e51987fd 2025-08-15 09:29:43,449 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/556cda0a-342d-47be-92a4-ffd737ec4cec 2025-08-15 09:29:46,699 - 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 1016ms') 2025-08-15 09:29:46,699 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45515060 failed! 2025-08-15 09:29:46,752 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-77332490:ctest-vn1-70743441 is 200.76.220.129 and allocation pool is NOT set 2025-08-15 09:29:48,810 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.559/2.643/1.083 ms') 2025-08-15 09:29:48,810 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-45515060 passed 2025-08-15 09:29:48,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:29:48,956 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-45515060, IP 200.76.220.131, Port 22 2025-08-15 09:29:49,111 - DEBUG - VM ctest-vn1-vm1-45515060 is ready for SSH connections 2025-08-15 09:29:49,112 - INFO - Waiting for VM ctest-vn2-vm1-02987115 to be up.. 2025-08-15 09:29:49,181 - DEBUG - VM is in ACTIVE state now 2025-08-15 09:29:49,182 - INFO - VM name : ctest-vn2-vm1-02987115 2025-08-15 09:29:49,253 - DEBUG - VM ctest-vn2-vm1-02987115 ID is b0ad8167-2f10-4b5e-8d9a-8e5438f13d2c 2025-08-15 09:29:49,253 - DEBUG - VM ctest-vn2-vm1-02987115 launched on Node cn-jenkins-deploy-platform-ansible-os-3862-1. 2025-08-15 09:29:49,319 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b0ad8167-2f10-4b5e-8d9a-8e5438f13d2c 2025-08-15 09:29:49,328 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d49d652b-04b0-4cbf-9852-80ad6b44439d 2025-08-15 09:29:50,566 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.311 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.311/1.643/2.975/1.332 ms') 2025-08-15 09:29:50,566 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-02987115 passed 2025-08-15 09:29:50,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:29:50,716 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-02987115, IP 77.209.188.131, Port 22 2025-08-15 09:29:50,868 - DEBUG - VM ctest-vn2-vm1-02987115 is ready for SSH connections 2025-08-15 09:29:50,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:29:50,868 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.209.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 09:29:50,868 - DEBUG - ping -s 56 -c 3 -W 1 77.209.188.131 2025-08-15 09:29:55,514 - DEBUG - PING 77.209.188.131 (77.209.188.131): 56 data bytes --- 77.209.188.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 09:29:55,514 - WARNING - Ping to IP 77.209.188.131 from VM ctest-vn1-vm1-45515060 failed 2025-08-15 09:29:55,514 - INFO - Adding interface with subnet_id a4578b06-8f7d-410e-ba79-a7e085822710, port_id None to router 1320f9ac-f9be-43ac-81aa-5eda151bbfc0 2025-08-15 09:29:55,755 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:29:55,755 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.209.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 09:29:55,755 - DEBUG - ping -s 56 -c 3 -W 1 77.209.188.131 2025-08-15 09:29:57,942 - DEBUG - PING 77.209.188.131 (77.209.188.131): 56 data bytes 64 bytes from 77.209.188.131: seq=0 ttl=63 time=2.470 ms 64 bytes from 77.209.188.131: seq=1 ttl=63 time=0.806 ms 64 bytes from 77.209.188.131: seq=2 ttl=63 time=0.739 ms --- 77.209.188.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.739/1.338/2.470 ms 2025-08-15 09:29:57,942 - INFO - Ping to IP 77.209.188.131 from VM ctest-vn1-vm1-45515060 passed 2025-08-15 09:29:57,943 - INFO - Deleting interface with subnet_id 3ad9205d-3860-4470-8508-faa896c010be, port_id None from router 1320f9ac-f9be-43ac-81aa-5eda151bbfc0 2025-08-15 09:29:58,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:29:58,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.209.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 09:29:58,096 - DEBUG - ping -s 56 -c 3 -W 1 77.209.188.131 2025-08-15 09:30:01,303 - DEBUG - PING 77.209.188.131 (77.209.188.131): 56 data bytes --- 77.209.188.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 09:30:01,303 - WARNING - Ping to IP 77.209.188.131 from VM ctest-vn1-vm1-45515060 failed 2025-08-15 09:30:01,303 - INFO - Adding interface with subnet_id 3ad9205d-3860-4470-8508-faa896c010be, port_id None to router 1320f9ac-f9be-43ac-81aa-5eda151bbfc0 2025-08-15 09:30:01,522 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 09:30:01,522 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 77.209.188.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 09:30:01,522 - DEBUG - ping -s 56 -c 3 -W 1 77.209.188.131 2025-08-15 09:30:03,716 - DEBUG - PING 77.209.188.131 (77.209.188.131): 56 data bytes 64 bytes from 77.209.188.131: seq=0 ttl=63 time=1.280 ms 64 bytes from 77.209.188.131: seq=1 ttl=63 time=0.965 ms 64 bytes from 77.209.188.131: seq=2 ttl=63 time=0.664 ms --- 77.209.188.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.664/0.969/1.280 ms 2025-08-15 09:30:03,716 - INFO - Ping to IP 77.209.188.131 from VM ctest-vn1-vm1-45515060 passed 2025-08-15 09:30:03,716 - INFO - Deleting interface with subnet_id a4578b06-8f7d-410e-ba79-a7e085822710, port_id None from router 1320f9ac-f9be-43ac-81aa-5eda151bbfc0 2025-08-15 09:30:03,827 - INFO - Deleting interface with subnet_id 3ad9205d-3860-4470-8508-faa896c010be, port_id None from router 1320f9ac-f9be-43ac-81aa-5eda151bbfc0 2025-08-15 09:30:04,038 - INFO - Deleting VM ctest-vn2-vm1-02987115 2025-08-15 09:30:04,109 - INFO - Deleting VM ctest-vn1-vm1-45515060 2025-08-15 09:30:04,187 - INFO - Deleting VN ctest-vn2-14799753 2025-08-15 09:30:04,221 - DEBUG - VN 94c3cff1-1832-4ad6-907d-3fa360f7a131 still in use: Unable to complete operation on network 94c3cff1-1832-4ad6-907d-3fa360f7a131. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-591c5cc8-e0bb-43b6-99ab-ba6543ef2f72'] 2025-08-15 09:30:04,221 - WARNING - Deleting VN ctest-vn2-14799753 failed..Will retry 2025-08-15 09:30:06,308 - DEBUG - Response for deleting network () 2025-08-15 09:30:06,308 - INFO - Deleting VN ctest-vn1-70743441 2025-08-15 09:30:06,391 - DEBUG - Response for deleting network () 2025-08-15 09:30:06,641 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 09:30:06,642 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33] 2025-08-15 09:30:06,642 - INFO - -------------------------------------------------------------------------------- 2025-08-15 09:30:07,272 - INFO - Deleted project: ctest-TestRouters-77332490, ID : 38242265-f83c-4a84-8260-ac881b139b46