2025-12-01 02:04:57,307 - INFO - Domain Default found not creating 2025-12-01 02:04:57,467 - INFO - Project ctest-TestRouters-78451685 not found, creating it 2025-12-01 02:04:57,968 - INFO - Created Project:ctest-TestRouters-78451685, ID : c64d8249-f9ed-42fc-9dcb-6a160afa51d3 2025-12-01 02:04:59,445 - INFO - ================================================================================ 2025-12-01 02:04:59,445 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-01 02:04:59,445 - 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-12-01 02:04:59,700 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-12-01 02:04:59,700 - INFO - Initial checks done. Running the testcase now 2025-12-01 02:04:59,700 - INFO - 2025-12-01 02:05:00,252 - DEBUG - Response for create_network : {'network': {'id': '02ea915e-6a0f-4be4-ac96-3328ee017bee', 'name': 'ctest-vn1-49634158', 'tenant_id': 'c64d8249f9ed42fc9dcb6a160afa51d3', 'project_id': 'c64d8249f9ed42fc9dcb6a160afa51d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78451685', 'ctest-vn1-49634158'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:05:00,461 - DEBUG - Response for create_subnet : {'subnet': {'id': '645c3dd0-6916-42c4-8a46-af664596bb73', 'name': '', 'tenant_id': 'c64d8249f9ed42fc9dcb6a160afa51d3', 'network_id': '02ea915e-6a0f-4be4-ac96-3328ee017bee', 'ip_version': 4, 'cidr': '156.81.142.0/26', 'allocation_pools': [{'start': '156.81.142.2', 'end': '156.81.142.62'}], 'gateway_ip': '156.81.142.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.81.142.2', 'tags': [], 'project_id': 'c64d8249f9ed42fc9dcb6a160afa51d3'}} 2025-12-01 02:05:00,477 - INFO - Created VN ctest-vn1-49634158 2025-12-01 02:05:00,533 - DEBUG - VN ctest-vn1-49634158 UUID is 02ea915e-6a0f-4be4-ac96-3328ee017bee 2025-12-01 02:05:00,849 - DEBUG - Response for create_network : {'network': {'id': '9322c84c-2757-4700-a80a-9b1e39c41f3d', 'name': 'ctest-vn2-55943823', 'tenant_id': 'c64d8249f9ed42fc9dcb6a160afa51d3', 'project_id': 'c64d8249f9ed42fc9dcb6a160afa51d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78451685', 'ctest-vn2-55943823'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 02:05:01,082 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7fdd36f-ac64-4d1a-8f0b-741ce93a2ba6', 'name': '', 'tenant_id': 'c64d8249f9ed42fc9dcb6a160afa51d3', 'network_id': '9322c84c-2757-4700-a80a-9b1e39c41f3d', 'ip_version': 4, 'cidr': '60.238.1.0/26', 'allocation_pools': [{'start': '60.238.1.2', 'end': '60.238.1.62'}], 'gateway_ip': '60.238.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.238.1.2', 'tags': [], 'project_id': 'c64d8249f9ed42fc9dcb6a160afa51d3'}} 2025-12-01 02:05:01,106 - INFO - Created VN ctest-vn2-55943823 2025-12-01 02:05:01,157 - DEBUG - VN ctest-vn2-55943823 UUID is 9322c84c-2757-4700-a80a-9b1e39c41f3d 2025-12-01 02:05:01,324 - DEBUG - Services list from nova: [, , ] 2025-12-01 02:05:02,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4824-1) 2025-12-01 02:05:03,597 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4824-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4824-1) 2025-12-01 02:05:03,665 - INFO - Adding interface with subnet_id 645c3dd0-6916-42c4-8a46-af664596bb73, port_id None to router 07e72a22-29ae-470b-b5c6-4f95017864c5 2025-12-01 02:05:03,958 - INFO - Waiting for VM ctest-vn1-vm1-25991942 to be up.. 2025-12-01 02:05:04,047 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 02:05:09,121 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:05:09,122 - INFO - VM name : ctest-vn1-vm1-25991942 2025-12-01 02:05:09,193 - DEBUG - VM ctest-vn1-vm1-25991942 ID is f8253c27-c8d5-48c9-8e68-fda834266feb 2025-12-01 02:05:09,212 - DEBUG - VM ctest-vn1-vm1-25991942 launched on Node cn-jenkins-deploy-platform-ansible-os-4824-1 2025-12-01 02:05:09,284 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f8253c27-c8d5-48c9-8e68-fda834266feb 2025-12-01 02:05:09,585 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f8253c27-c8d5-48c9-8e68-fda834266feb 2025-12-01 02:05:09,619 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/7920b731-ceb8-4883-98e5-a286078aa691 2025-12-01 02:05:12,863 - 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 1005ms') 2025-12-01 02:05:12,864 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25991942 failed! 2025-12-01 02:05:12,917 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-78451685:ctest-vn1-49634158 is 156.81.142.1 and allocation pool is NOT set 2025-12-01 02:05:14,976 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/1.551/2.661/1.110 ms') 2025-12-01 02:05:14,976 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25991942 passed 2025-12-01 02:05:15,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:05:15,125 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25991942, IP 156.81.142.3, Port 22 2025-12-01 02:05:15,285 - DEBUG - VM ctest-vn1-vm1-25991942 is ready for SSH connections 2025-12-01 02:05:15,285 - INFO - Waiting for VM ctest-vn2-vm1-44178917 to be up.. 2025-12-01 02:05:15,363 - DEBUG - VM is in ACTIVE state now 2025-12-01 02:05:15,363 - INFO - VM name : ctest-vn2-vm1-44178917 2025-12-01 02:05:15,441 - DEBUG - VM ctest-vn2-vm1-44178917 ID is 66a8371b-a4f5-4fbc-ab61-1f2e6d8aab6c 2025-12-01 02:05:15,441 - DEBUG - VM ctest-vn2-vm1-44178917 launched on Node cn-jenkins-deploy-platform-ansible-os-4824-1 2025-12-01 02:05:15,515 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/66a8371b-a4f5-4fbc-ab61-1f2e6d8aab6c 2025-12-01 02:05:15,522 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/506e3db5-3c16-4729-a139-c7b7261a6926 2025-12-01 02:05:16,750 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/2.137/3.890/1.752 ms') 2025-12-01 02:05:16,750 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-44178917 passed 2025-12-01 02:05:16,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:05:16,901 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-44178917, IP 60.238.1.3, Port 22 2025-12-01 02:05:17,061 - DEBUG - VM ctest-vn2-vm1-44178917 is ready for SSH connections 2025-12-01 02:05:17,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:05:17,062 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.238.1.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-01 02:05:17,062 - DEBUG - ping -s 56 -c 3 -W 1 60.238.1.3 2025-12-01 02:05:22,047 - DEBUG - PING 60.238.1.3 (60.238.1.3): 56 data bytes --- 60.238.1.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 02:05:22,047 - WARNING - Ping to IP 60.238.1.3 from VM ctest-vn1-vm1-25991942 failed 2025-12-01 02:05:22,047 - INFO - Adding interface with subnet_id a7fdd36f-ac64-4d1a-8f0b-741ce93a2ba6, port_id None to router 07e72a22-29ae-470b-b5c6-4f95017864c5 2025-12-01 02:05:22,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:05:22,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.238.1.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-01 02:05:22,270 - DEBUG - ping -s 56 -c 3 -W 1 60.238.1.3 2025-12-01 02:05:25,472 - DEBUG - PING 60.238.1.3 (60.238.1.3): 56 data bytes 64 bytes from 60.238.1.3: seq=1 ttl=63 time=2.804 ms 64 bytes from 60.238.1.3: seq=2 ttl=63 time=1.188 ms --- 60.238.1.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.188/1.996/2.804 ms 2025-12-01 02:05:25,472 - WARNING - Ping to IP 60.238.1.3 from VM ctest-vn1-vm1-25991942 failed 2025-12-01 02:05:26,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.238.1.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-01 02:05:26,473 - DEBUG - ping -s 56 -c 3 -W 1 60.238.1.3 2025-12-01 02:05:28,683 - DEBUG - PING 60.238.1.3 (60.238.1.3): 56 data bytes 64 bytes from 60.238.1.3: seq=0 ttl=63 time=1.686 ms 64 bytes from 60.238.1.3: seq=1 ttl=63 time=0.777 ms 64 bytes from 60.238.1.3: seq=2 ttl=63 time=0.845 ms --- 60.238.1.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.102/1.686 ms 2025-12-01 02:05:28,683 - INFO - Ping to IP 60.238.1.3 from VM ctest-vn1-vm1-25991942 passed 2025-12-01 02:05:28,683 - INFO - Deleting interface with subnet_id 645c3dd0-6916-42c4-8a46-af664596bb73, port_id None from router 07e72a22-29ae-470b-b5c6-4f95017864c5 2025-12-01 02:05:28,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:05:28,798 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.238.1.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-01 02:05:28,798 - DEBUG - ping -s 56 -c 3 -W 1 60.238.1.3 2025-12-01 02:05:31,994 - DEBUG - PING 60.238.1.3 (60.238.1.3): 56 data bytes --- 60.238.1.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-01 02:05:31,994 - WARNING - Ping to IP 60.238.1.3 from VM ctest-vn1-vm1-25991942 failed 2025-12-01 02:05:31,994 - INFO - Adding interface with subnet_id 645c3dd0-6916-42c4-8a46-af664596bb73, port_id None to router 07e72a22-29ae-470b-b5c6-4f95017864c5 2025-12-01 02:05:32,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 02:05:32,247 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.238.1.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-01 02:05:32,247 - DEBUG - ping -s 56 -c 3 -W 1 60.238.1.3 2025-12-01 02:05:34,456 - DEBUG - PING 60.238.1.3 (60.238.1.3): 56 data bytes 64 bytes from 60.238.1.3: seq=0 ttl=63 time=1.294 ms 64 bytes from 60.238.1.3: seq=1 ttl=63 time=1.083 ms 64 bytes from 60.238.1.3: seq=2 ttl=63 time=1.014 ms --- 60.238.1.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.014/1.130/1.294 ms 2025-12-01 02:05:34,456 - INFO - Ping to IP 60.238.1.3 from VM ctest-vn1-vm1-25991942 passed 2025-12-01 02:05:34,457 - INFO - Deleting interface with subnet_id a7fdd36f-ac64-4d1a-8f0b-741ce93a2ba6, port_id None from router 07e72a22-29ae-470b-b5c6-4f95017864c5 2025-12-01 02:05:34,575 - INFO - Deleting interface with subnet_id 645c3dd0-6916-42c4-8a46-af664596bb73, port_id None from router 07e72a22-29ae-470b-b5c6-4f95017864c5 2025-12-01 02:05:34,745 - INFO - Deleting VM ctest-vn2-vm1-44178917 2025-12-01 02:05:34,815 - INFO - Deleting VM ctest-vn1-vm1-25991942 2025-12-01 02:05:34,886 - INFO - Deleting VN ctest-vn2-55943823 2025-12-01 02:05:34,919 - DEBUG - VN 9322c84c-2757-4700-a80a-9b1e39c41f3d still in use: Unable to complete operation on network 9322c84c-2757-4700-a80a-9b1e39c41f3d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1bf7d7c-2f42-4ea9-b169-37184c4c9c6f'] 2025-12-01 02:05:34,919 - WARNING - Deleting VN ctest-vn2-55943823 failed..Will retry 2025-12-01 02:05:37,013 - DEBUG - Response for deleting network () 2025-12-01 02:05:37,013 - INFO - Deleting VN ctest-vn1-49634158 2025-12-01 02:05:37,121 - DEBUG - Response for deleting network () 2025-12-01 02:05:37,373 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 02:05:37,373 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-12-01 02:05:37,373 - INFO - -------------------------------------------------------------------------------- 2025-12-01 02:05:38,095 - INFO - Deleted project: ctest-TestRouters-78451685, ID : c64d8249-f9ed-42fc-9dcb-6a160afa51d3