2025-11-07 09:31:59,484 - INFO - Domain Default found not creating 2025-11-07 09:31:59,626 - INFO - Project ctest-TestRouters-52533967 not found, creating it 2025-11-07 09:32:00,069 - INFO - Created Project:ctest-TestRouters-52533967, ID : 8b09fa83-da01-412d-aa4c-c4b4ef521625 2025-11-07 09:32:01,513 - INFO - ================================================================================ 2025-11-07 09:32:01,513 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-07 09:32:01,513 - 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-11-07 09:32:01,778 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-11-07 09:32:01,778 - INFO - Initial checks done. Running the testcase now 2025-11-07 09:32:01,778 - INFO - 2025-11-07 09:32:02,326 - DEBUG - Response for create_network : {'network': {'id': 'b3b010bc-bdea-488d-a301-2a54fbedc903', 'name': 'ctest-vn1-91396353', 'tenant_id': '8b09fa83da01412daa4cc4b4ef521625', 'project_id': '8b09fa83da01412daa4cc4b4ef521625', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52533967', 'ctest-vn1-91396353'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 09:32:02,511 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcc00ce2-f6a8-4653-ad1e-f3afc62c5cc0', 'name': '', 'tenant_id': '8b09fa83da01412daa4cc4b4ef521625', 'network_id': 'b3b010bc-bdea-488d-a301-2a54fbedc903', 'ip_version': 4, 'cidr': '64.34.49.192/26', 'allocation_pools': [{'start': '64.34.49.194', 'end': '64.34.49.254'}], 'gateway_ip': '64.34.49.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.34.49.194', 'tags': [], 'project_id': '8b09fa83da01412daa4cc4b4ef521625'}} 2025-11-07 09:32:02,527 - INFO - Created VN ctest-vn1-91396353 2025-11-07 09:32:02,580 - DEBUG - VN ctest-vn1-91396353 UUID is b3b010bc-bdea-488d-a301-2a54fbedc903 2025-11-07 09:32:02,885 - DEBUG - Response for create_network : {'network': {'id': '815a8a32-f373-4e22-bf89-a2fb26827931', 'name': 'ctest-vn2-17903591', 'tenant_id': '8b09fa83da01412daa4cc4b4ef521625', 'project_id': '8b09fa83da01412daa4cc4b4ef521625', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52533967', 'ctest-vn2-17903591'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 09:32:03,089 - DEBUG - Response for create_subnet : {'subnet': {'id': '4373326d-4d13-4b9a-af05-fc52baaee43b', 'name': '', 'tenant_id': '8b09fa83da01412daa4cc4b4ef521625', 'network_id': '815a8a32-f373-4e22-bf89-a2fb26827931', 'ip_version': 4, 'cidr': '193.219.207.0/26', 'allocation_pools': [{'start': '193.219.207.2', 'end': '193.219.207.62'}], 'gateway_ip': '193.219.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.219.207.2', 'tags': [], 'project_id': '8b09fa83da01412daa4cc4b4ef521625'}} 2025-11-07 09:32:03,109 - INFO - Created VN ctest-vn2-17903591 2025-11-07 09:32:03,172 - DEBUG - VN ctest-vn2-17903591 UUID is 815a8a32-f373-4e22-bf89-a2fb26827931 2025-11-07 09:32:03,422 - DEBUG - Services list from nova: [, , ] 2025-11-07 09:32:04,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1) 2025-11-07 09:32:05,692 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4667-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4667-1) 2025-11-07 09:32:05,747 - INFO - Adding interface with subnet_id fcc00ce2-f6a8-4653-ad1e-f3afc62c5cc0, port_id None to router d5e0e36e-42af-4c40-ada0-de26f38639cb 2025-11-07 09:32:05,973 - INFO - Waiting for VM ctest-vn1-vm1-84516360 to be up.. 2025-11-07 09:32:06,049 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 09:32:11,124 - DEBUG - VM is in ACTIVE state now 2025-11-07 09:32:11,124 - INFO - VM name : ctest-vn1-vm1-84516360 2025-11-07 09:32:11,198 - DEBUG - VM ctest-vn1-vm1-84516360 ID is a8f7e078-3ac6-416c-ade8-eea7ea8dd9cd 2025-11-07 09:32:11,221 - DEBUG - VM ctest-vn1-vm1-84516360 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1 2025-11-07 09:32:11,297 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a8f7e078-3ac6-416c-ade8-eea7ea8dd9cd 2025-11-07 09:32:11,588 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/a8f7e078-3ac6-416c-ade8-eea7ea8dd9cd 2025-11-07 09:32:11,618 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/8b42a69c-6112-4c11-8517-1fa85f0897d8 2025-11-07 09:32:14,877 - 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 1013ms') 2025-11-07 09:32:14,878 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84516360 failed! 2025-11-07 09:32:14,932 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-52533967:ctest-vn1-91396353 is 64.34.49.193 and allocation pool is NOT set 2025-11-07 09:32:16,991 - 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=3.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.60 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 = 2.600/3.237/3.874/0.637 ms') 2025-11-07 09:32:16,991 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84516360 passed 2025-11-07 09:32:17,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:32:17,144 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84516360, IP 64.34.49.195, Port 22 2025-11-07 09:32:17,300 - DEBUG - VM ctest-vn1-vm1-84516360 is ready for SSH connections 2025-11-07 09:32:17,300 - INFO - Waiting for VM ctest-vn2-vm1-37675929 to be up.. 2025-11-07 09:32:17,372 - DEBUG - VM is in ACTIVE state now 2025-11-07 09:32:17,372 - INFO - VM name : ctest-vn2-vm1-37675929 2025-11-07 09:32:17,447 - DEBUG - VM ctest-vn2-vm1-37675929 ID is 9e2b46e9-a85f-48d9-bc2b-a79ce6af97a5 2025-11-07 09:32:17,447 - DEBUG - VM ctest-vn2-vm1-37675929 launched on Node cn-jenkins-deploy-platform-ansible-os-4667-1 2025-11-07 09:32:17,521 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9e2b46e9-a85f-48d9-bc2b-a79ce6af97a5 2025-11-07 09:32:17,530 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a10f1c6a-75ed-4d2b-a463-46b3731d5d4c 2025-11-07 09:32:18,765 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.562/2.683/1.121 ms') 2025-11-07 09:32:18,765 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-37675929 passed 2025-11-07 09:32:18,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:32:18,925 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-37675929, IP 193.219.207.3, Port 22 2025-11-07 09:32:19,090 - DEBUG - VM ctest-vn2-vm1-37675929 is ready for SSH connections 2025-11-07 09:32:19,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:32:19,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.219.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-07 09:32:19,091 - DEBUG - ping -s 56 -c 3 -W 1 193.219.207.3 2025-11-07 09:32:23,742 - DEBUG - PING 193.219.207.3 (193.219.207.3): 56 data bytes --- 193.219.207.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 09:32:23,742 - WARNING - Ping to IP 193.219.207.3 from VM ctest-vn1-vm1-84516360 failed 2025-11-07 09:32:23,742 - INFO - Adding interface with subnet_id 4373326d-4d13-4b9a-af05-fc52baaee43b, port_id None to router d5e0e36e-42af-4c40-ada0-de26f38639cb 2025-11-07 09:32:23,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:32:23,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.219.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-07 09:32:23,985 - DEBUG - ping -s 56 -c 3 -W 1 193.219.207.3 2025-11-07 09:32:27,247 - DEBUG - PING 193.219.207.3 (193.219.207.3): 56 data bytes 64 bytes from 193.219.207.3: seq=1 ttl=63 time=2.679 ms 64 bytes from 193.219.207.3: seq=2 ttl=63 time=0.846 ms --- 193.219.207.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.846/1.762/2.679 ms 2025-11-07 09:32:27,247 - WARNING - Ping to IP 193.219.207.3 from VM ctest-vn1-vm1-84516360 failed 2025-11-07 09:32:28,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.219.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-07 09:32:28,249 - DEBUG - ping -s 56 -c 3 -W 1 193.219.207.3 2025-11-07 09:32:30,449 - DEBUG - PING 193.219.207.3 (193.219.207.3): 56 data bytes 64 bytes from 193.219.207.3: seq=0 ttl=63 time=1.304 ms 64 bytes from 193.219.207.3: seq=1 ttl=63 time=0.801 ms 64 bytes from 193.219.207.3: seq=2 ttl=63 time=0.788 ms --- 193.219.207.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/0.964/1.304 ms 2025-11-07 09:32:30,449 - INFO - Ping to IP 193.219.207.3 from VM ctest-vn1-vm1-84516360 passed 2025-11-07 09:32:30,449 - INFO - Deleting interface with subnet_id fcc00ce2-f6a8-4653-ad1e-f3afc62c5cc0, port_id None from router d5e0e36e-42af-4c40-ada0-de26f38639cb 2025-11-07 09:32:30,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:32:30,544 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.219.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-07 09:32:30,544 - DEBUG - ping -s 56 -c 3 -W 1 193.219.207.3 2025-11-07 09:32:33,741 - DEBUG - PING 193.219.207.3 (193.219.207.3): 56 data bytes --- 193.219.207.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 09:32:33,741 - WARNING - Ping to IP 193.219.207.3 from VM ctest-vn1-vm1-84516360 failed 2025-11-07 09:32:33,741 - INFO - Adding interface with subnet_id fcc00ce2-f6a8-4653-ad1e-f3afc62c5cc0, port_id None to router d5e0e36e-42af-4c40-ada0-de26f38639cb 2025-11-07 09:32:33,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 09:32:33,957 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.219.207.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-07 09:32:33,957 - DEBUG - ping -s 56 -c 3 -W 1 193.219.207.3 2025-11-07 09:32:36,165 - DEBUG - PING 193.219.207.3 (193.219.207.3): 56 data bytes 64 bytes from 193.219.207.3: seq=0 ttl=63 time=1.328 ms 64 bytes from 193.219.207.3: seq=1 ttl=63 time=0.834 ms 64 bytes from 193.219.207.3: seq=2 ttl=63 time=0.880 ms --- 193.219.207.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.014/1.328 ms 2025-11-07 09:32:36,165 - INFO - Ping to IP 193.219.207.3 from VM ctest-vn1-vm1-84516360 passed 2025-11-07 09:32:36,165 - INFO - Deleting interface with subnet_id 4373326d-4d13-4b9a-af05-fc52baaee43b, port_id None from router d5e0e36e-42af-4c40-ada0-de26f38639cb 2025-11-07 09:32:36,294 - INFO - Deleting interface with subnet_id fcc00ce2-f6a8-4653-ad1e-f3afc62c5cc0, port_id None from router d5e0e36e-42af-4c40-ada0-de26f38639cb 2025-11-07 09:32:36,468 - INFO - Deleting VM ctest-vn2-vm1-37675929 2025-11-07 09:32:36,549 - INFO - Deleting VM ctest-vn1-vm1-84516360 2025-11-07 09:32:36,619 - INFO - Deleting VN ctest-vn2-17903591 2025-11-07 09:32:36,653 - DEBUG - VN 815a8a32-f373-4e22-bf89-a2fb26827931 still in use: Unable to complete operation on network 815a8a32-f373-4e22-bf89-a2fb26827931. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a87aa5ef-5688-48ed-947f-eb1e736fe849'] 2025-11-07 09:32:36,653 - WARNING - Deleting VN ctest-vn2-17903591 failed..Will retry 2025-11-07 09:32:38,749 - DEBUG - Response for deleting network () 2025-11-07 09:32:38,749 - INFO - Deleting VN ctest-vn1-91396353 2025-11-07 09:32:38,837 - DEBUG - Response for deleting network () 2025-11-07 09:32:39,090 - DEBUG - No XMPP flaps were noticed during the test
2025-11-07 09:32:39,090 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-07 09:32:39,090 - INFO - -------------------------------------------------------------------------------- 2025-11-07 09:32:39,864 - INFO - Deleted project: ctest-TestRouters-52533967, ID : 8b09fa83-da01-412d-aa4c-c4b4ef521625