2025-11-07 13:19:21,371 - INFO - Domain Default found not creating 2025-11-07 13:19:21,549 - INFO - Project ctest-TestRouters-98029669 not found, creating it 2025-11-07 13:19:22,079 - INFO - Created Project:ctest-TestRouters-98029669, ID : 224af740-5cf9-4152-bde4-620549edac5b 2025-11-07 13:19:23,699 - INFO - ================================================================================ 2025-11-07 13:19:23,699 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-07 13:19:23,699 - 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 13:19:23,972 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-11-07 13:19:23,972 - INFO - Initial checks done. Running the testcase now 2025-11-07 13:19:23,973 - INFO - 2025-11-07 13:19:24,597 - DEBUG - Response for create_network : {'network': {'id': 'c4d290cd-5a15-46c7-b0e5-f7019d680a39', 'name': 'ctest-vn1-44505793', 'tenant_id': '224af7405cf94152bde4620549edac5b', 'project_id': '224af7405cf94152bde4620549edac5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-98029669', 'ctest-vn1-44505793'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:19:24,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd2045bc-2464-4eb9-b44a-7130933672b7', 'name': '', 'tenant_id': '224af7405cf94152bde4620549edac5b', 'network_id': 'c4d290cd-5a15-46c7-b0e5-f7019d680a39', 'ip_version': 4, 'cidr': '106.214.25.0/26', 'allocation_pools': [{'start': '106.214.25.2', 'end': '106.214.25.62'}], 'gateway_ip': '106.214.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.214.25.2', 'tags': [], 'project_id': '224af7405cf94152bde4620549edac5b'}} 2025-11-07 13:19:24,822 - INFO - Created VN ctest-vn1-44505793 2025-11-07 13:19:24,876 - DEBUG - VN ctest-vn1-44505793 UUID is c4d290cd-5a15-46c7-b0e5-f7019d680a39 2025-11-07 13:19:25,276 - DEBUG - Response for create_network : {'network': {'id': '398f1069-7834-4add-9086-b531ac28e6bf', 'name': 'ctest-vn2-18713999', 'tenant_id': '224af7405cf94152bde4620549edac5b', 'project_id': '224af7405cf94152bde4620549edac5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-98029669', 'ctest-vn2-18713999'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 13:19:25,500 - DEBUG - Response for create_subnet : {'subnet': {'id': '04b31223-ad7c-45fe-bff2-1bce6a03bdad', 'name': '', 'tenant_id': '224af7405cf94152bde4620549edac5b', 'network_id': '398f1069-7834-4add-9086-b531ac28e6bf', 'ip_version': 4, 'cidr': '182.100.234.64/26', 'allocation_pools': [{'start': '182.100.234.66', 'end': '182.100.234.126'}], 'gateway_ip': '182.100.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.100.234.66', 'tags': [], 'project_id': '224af7405cf94152bde4620549edac5b'}} 2025-11-07 13:19:25,521 - INFO - Created VN ctest-vn2-18713999 2025-11-07 13:19:25,576 - DEBUG - VN ctest-vn2-18713999 UUID is 398f1069-7834-4add-9086-b531ac28e6bf 2025-11-07 13:19:25,778 - DEBUG - Services list from nova: [, , ] 2025-11-07 13:19:26,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4668-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4668-1) 2025-11-07 13:19:28,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4668-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4668-1) 2025-11-07 13:19:28,254 - INFO - Adding interface with subnet_id cd2045bc-2464-4eb9-b44a-7130933672b7, port_id None to router 64a6ac13-8ce4-4744-ab43-563fe86f6395 2025-11-07 13:19:28,618 - INFO - Waiting for VM ctest-vn1-vm1-08029588 to be up.. 2025-11-07 13:19:28,699 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 13:19:33,775 - DEBUG - VM is in ACTIVE state now 2025-11-07 13:19:33,775 - INFO - VM name : ctest-vn1-vm1-08029588 2025-11-07 13:19:33,850 - DEBUG - VM ctest-vn1-vm1-08029588 ID is 8f905014-7672-4900-9b5d-484e3b35c2f0 2025-11-07 13:19:33,870 - DEBUG - VM ctest-vn1-vm1-08029588 launched on Node cn-jenkins-deploy-platform-ansible-os-4668-1 2025-11-07 13:19:33,960 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8f905014-7672-4900-9b5d-484e3b35c2f0 2025-11-07 13:19:34,309 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8f905014-7672-4900-9b5d-484e3b35c2f0 2025-11-07 13:19:34,342 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/529e2b35-11d6-4cc5-b196-c23d7aa1e2a1 2025-11-07 13:19:37,591 - 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=2 ttl=63 time=9.48 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1010ms\r\nrtt min/avg/max/mdev = 9.481/9.481/9.481/0.000 ms') 2025-11-07 13:19:37,591 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08029588 passed 2025-11-07 13:19:37,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:19:37,752 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08029588, IP 106.214.25.3, Port 22 2025-11-07 13:19:37,912 - DEBUG - VM ctest-vn1-vm1-08029588 is ready for SSH connections 2025-11-07 13:19:37,912 - INFO - Waiting for VM ctest-vn2-vm1-84316852 to be up.. 2025-11-07 13:19:37,987 - DEBUG - VM is in ACTIVE state now 2025-11-07 13:19:37,988 - INFO - VM name : ctest-vn2-vm1-84316852 2025-11-07 13:19:38,056 - DEBUG - VM ctest-vn2-vm1-84316852 ID is 9acde010-d2d3-4236-b03a-cf57853cc103 2025-11-07 13:19:38,057 - DEBUG - VM ctest-vn2-vm1-84316852 launched on Node cn-jenkins-deploy-platform-ansible-os-4668-1 2025-11-07 13:19:38,130 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9acde010-d2d3-4236-b03a-cf57853cc103 2025-11-07 13:19:38,138 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c3ecfbbb-ff64-46e9-9ffb-390c092de7e4 2025-11-07 13:19:39,379 - 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=4.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.955 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.955/2.969/4.983/2.014 ms') 2025-11-07 13:19:39,379 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84316852 passed 2025-11-07 13:19:39,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:19:39,528 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84316852, IP 182.100.234.67, Port 22 2025-11-07 13:19:39,683 - DEBUG - VM ctest-vn2-vm1-84316852 is ready for SSH connections 2025-11-07 13:19:39,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:19:39,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.100.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-07 13:19:39,683 - DEBUG - ping -s 56 -c 3 -W 1 182.100.234.67 2025-11-07 13:19:44,670 - DEBUG - PING 182.100.234.67 (182.100.234.67): 56 data bytes --- 182.100.234.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 13:19:44,671 - WARNING - Ping to IP 182.100.234.67 from VM ctest-vn1-vm1-08029588 failed 2025-11-07 13:19:44,671 - INFO - Adding interface with subnet_id 04b31223-ad7c-45fe-bff2-1bce6a03bdad, port_id None to router 64a6ac13-8ce4-4744-ab43-563fe86f6395 2025-11-07 13:19:44,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:19:44,960 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.100.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-07 13:19:44,961 - DEBUG - ping -s 56 -c 3 -W 1 182.100.234.67 2025-11-07 13:19:48,086 - DEBUG - PING 182.100.234.67 (182.100.234.67): 56 data bytes 64 bytes from 182.100.234.67: seq=1 ttl=63 time=3.158 ms 64 bytes from 182.100.234.67: seq=2 ttl=63 time=0.926 ms --- 182.100.234.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.926/2.042/3.158 ms 2025-11-07 13:19:48,086 - WARNING - Ping to IP 182.100.234.67 from VM ctest-vn1-vm1-08029588 failed 2025-11-07 13:19:49,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.100.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-07 13:19:49,088 - DEBUG - ping -s 56 -c 3 -W 1 182.100.234.67 2025-11-07 13:19:51,217 - DEBUG - PING 182.100.234.67 (182.100.234.67): 56 data bytes 64 bytes from 182.100.234.67: seq=0 ttl=63 time=1.478 ms 64 bytes from 182.100.234.67: seq=1 ttl=63 time=1.115 ms 64 bytes from 182.100.234.67: seq=2 ttl=63 time=0.946 ms --- 182.100.234.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.946/1.179/1.478 ms 2025-11-07 13:19:51,217 - INFO - Ping to IP 182.100.234.67 from VM ctest-vn1-vm1-08029588 passed 2025-11-07 13:19:51,217 - INFO - Deleting interface with subnet_id cd2045bc-2464-4eb9-b44a-7130933672b7, port_id None from router 64a6ac13-8ce4-4744-ab43-563fe86f6395 2025-11-07 13:19:51,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:19:51,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.100.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-07 13:19:51,350 - DEBUG - ping -s 56 -c 3 -W 1 182.100.234.67 2025-11-07 13:19:54,472 - DEBUG - PING 182.100.234.67 (182.100.234.67): 56 data bytes --- 182.100.234.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 13:19:54,472 - WARNING - Ping to IP 182.100.234.67 from VM ctest-vn1-vm1-08029588 failed 2025-11-07 13:19:54,472 - INFO - Adding interface with subnet_id cd2045bc-2464-4eb9-b44a-7130933672b7, port_id None to router 64a6ac13-8ce4-4744-ab43-563fe86f6395 2025-11-07 13:19:54,728 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 13:19:54,728 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.100.234.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-07 13:19:54,728 - DEBUG - ping -s 56 -c 3 -W 1 182.100.234.67 2025-11-07 13:19:56,859 - DEBUG - PING 182.100.234.67 (182.100.234.67): 56 data bytes 64 bytes from 182.100.234.67: seq=0 ttl=63 time=1.558 ms 64 bytes from 182.100.234.67: seq=1 ttl=63 time=0.949 ms 64 bytes from 182.100.234.67: seq=2 ttl=63 time=0.915 ms --- 182.100.234.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.915/1.140/1.558 ms 2025-11-07 13:19:56,859 - INFO - Ping to IP 182.100.234.67 from VM ctest-vn1-vm1-08029588 passed 2025-11-07 13:19:56,859 - INFO - Deleting interface with subnet_id 04b31223-ad7c-45fe-bff2-1bce6a03bdad, port_id None from router 64a6ac13-8ce4-4744-ab43-563fe86f6395 2025-11-07 13:19:57,023 - INFO - Deleting interface with subnet_id cd2045bc-2464-4eb9-b44a-7130933672b7, port_id None from router 64a6ac13-8ce4-4744-ab43-563fe86f6395 2025-11-07 13:19:57,226 - INFO - Deleting VM ctest-vn2-vm1-84316852 2025-11-07 13:19:57,308 - INFO - Deleting VM ctest-vn1-vm1-08029588 2025-11-07 13:19:57,391 - INFO - Deleting VN ctest-vn2-18713999 2025-11-07 13:19:57,427 - DEBUG - VN 398f1069-7834-4add-9086-b531ac28e6bf still in use: Unable to complete operation on network 398f1069-7834-4add-9086-b531ac28e6bf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d802cb61-2544-4c4a-9cbf-94e5f7fd5946'] 2025-11-07 13:19:57,428 - WARNING - Deleting VN ctest-vn2-18713999 failed..Will retry 2025-11-07 13:19:59,538 - DEBUG - Response for deleting network () 2025-11-07 13:19:59,538 - INFO - Deleting VN ctest-vn1-44505793 2025-11-07 13:19:59,667 - DEBUG - Response for deleting network () 2025-11-07 13:19:59,930 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 13:19:59,930 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36] 2025-11-07 13:19:59,931 - INFO - -------------------------------------------------------------------------------- 2025-11-07 13:20:00,678 - INFO - Deleted project: ctest-TestRouters-98029669, ID : 224af740-5cf9-4152-bde4-620549edac5b