2025-09-22 02:01:59,418 - INFO - Domain Default found not creating 2025-09-22 02:01:59,557 - INFO - Project ctest-TestRouters-23090769 not found, creating it 2025-09-22 02:02:00,034 - INFO - Created Project:ctest-TestRouters-23090769, ID : 62f048d0-cfbd-49a0-9d1d-217f7aec1b47 2025-09-22 02:02:01,629 - INFO - ================================================================================ 2025-09-22 02:02:01,629 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-22 02:02:01,629 - 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-22 02:02:01,887 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with 2025-09-22 02:02:01,887 - INFO - Initial checks done. Running the testcase now 2025-09-22 02:02:01,887 - INFO - 2025-09-22 02:02:02,504 - DEBUG - Response for create_network : {'network': {'id': '2a19b9cd-f3f6-49bb-b83c-fd83081d5a7e', 'name': 'ctest-vn1-66520200', 'tenant_id': '62f048d0cfbd49a09d1d217f7aec1b47', 'project_id': '62f048d0cfbd49a09d1d217f7aec1b47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23090769', 'ctest-vn1-66520200'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:02:02,759 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e305621-83c3-43d4-8135-dee8ff8af079', 'name': '', 'tenant_id': '62f048d0cfbd49a09d1d217f7aec1b47', 'network_id': '2a19b9cd-f3f6-49bb-b83c-fd83081d5a7e', 'ip_version': 4, 'cidr': '60.81.188.64/26', 'allocation_pools': [{'start': '60.81.188.66', 'end': '60.81.188.126'}], 'gateway_ip': '60.81.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.81.188.66', 'tags': [], 'project_id': '62f048d0cfbd49a09d1d217f7aec1b47'}} 2025-09-22 02:02:02,780 - INFO - Created VN ctest-vn1-66520200 2025-09-22 02:02:02,840 - DEBUG - VN ctest-vn1-66520200 UUID is 2a19b9cd-f3f6-49bb-b83c-fd83081d5a7e 2025-09-22 02:02:03,229 - DEBUG - Response for create_network : {'network': {'id': '7ae4f4ad-8ad2-41e5-bfd9-3f56e70b6219', 'name': 'ctest-vn2-41661881', 'tenant_id': '62f048d0cfbd49a09d1d217f7aec1b47', 'project_id': '62f048d0cfbd49a09d1d217f7aec1b47', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23090769', 'ctest-vn2-41661881'], 'port_security_enabled': True, 'description': ''}} 2025-09-22 02:02:03,478 - DEBUG - Response for create_subnet : {'subnet': {'id': '350d1a1b-ce79-4ddc-9bf5-c9b44e40169a', 'name': '', 'tenant_id': '62f048d0cfbd49a09d1d217f7aec1b47', 'network_id': '7ae4f4ad-8ad2-41e5-bfd9-3f56e70b6219', 'ip_version': 4, 'cidr': '29.118.119.192/26', 'allocation_pools': [{'start': '29.118.119.194', 'end': '29.118.119.254'}], 'gateway_ip': '29.118.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.118.119.194', 'tags': [], 'project_id': '62f048d0cfbd49a09d1d217f7aec1b47'}} 2025-09-22 02:02:03,499 - INFO - Created VN ctest-vn2-41661881 2025-09-22 02:02:03,556 - DEBUG - VN ctest-vn2-41661881 UUID is 7ae4f4ad-8ad2-41e5-bfd9-3f56e70b6219 2025-09-22 02:02:03,735 - DEBUG - Services list from nova: [, , ] 2025-09-22 02:02:04,857 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4160-1) 2025-09-22 02:02:06,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4160-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4160-1) 2025-09-22 02:02:06,371 - INFO - Adding interface with subnet_id 4e305621-83c3-43d4-8135-dee8ff8af079, port_id None to router 0e6b2de5-cb72-4385-8e1a-c8faa9d23350 2025-09-22 02:02:06,666 - INFO - Waiting for VM ctest-vn1-vm1-46742151 to be up.. 2025-09-22 02:02:06,772 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-22 02:02:11,857 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:02:11,857 - INFO - VM name : ctest-vn1-vm1-46742151 2025-09-22 02:02:11,931 - DEBUG - VM ctest-vn1-vm1-46742151 ID is 755c0683-d747-486e-905e-646e2be740a0 2025-09-22 02:02:11,949 - DEBUG - VM ctest-vn1-vm1-46742151 launched on Node cn-jenkins-deploy-platform-ansible-os-4160-1 2025-09-22 02:02:12,018 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/755c0683-d747-486e-905e-646e2be740a0 2025-09-22 02:02:12,350 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/755c0683-d747-486e-905e-646e2be740a0 2025-09-22 02:02:12,387 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9a77b0b4-c6d8-49a7-aa5a-f6f9e1342689 2025-09-22 02:02:15,674 - 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 1029ms') 2025-09-22 02:02:15,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46742151 failed! 2025-09-22 02:02:15,728 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-23090769:ctest-vn1-66520200 is 60.81.188.65 and allocation pool is NOT set 2025-09-22 02:02:17,797 - 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=4.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.980 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.980/2.778/4.577/1.798 ms') 2025-09-22 02:02:17,797 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46742151 passed 2025-09-22 02:02:17,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:02:17,948 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46742151, IP 60.81.188.67, Port 22 2025-09-22 02:02:18,119 - DEBUG - VM ctest-vn1-vm1-46742151 is ready for SSH connections 2025-09-22 02:02:18,119 - INFO - Waiting for VM ctest-vn2-vm1-23045002 to be up.. 2025-09-22 02:02:18,202 - DEBUG - VM is in ACTIVE state now 2025-09-22 02:02:18,202 - INFO - VM name : ctest-vn2-vm1-23045002 2025-09-22 02:02:18,281 - DEBUG - VM ctest-vn2-vm1-23045002 ID is fd1d5b24-b93d-4736-af4d-d9ea0bc13280 2025-09-22 02:02:18,281 - DEBUG - VM ctest-vn2-vm1-23045002 launched on Node cn-jenkins-deploy-platform-ansible-os-4160-1 2025-09-22 02:02:18,353 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fd1d5b24-b93d-4736-af4d-d9ea0bc13280 2025-09-22 02:02:18,361 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/4f0ce97f-1d7b-4291-ad4e-e2d48c227a1f 2025-09-22 02:02:19,605 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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.517/2.004/3.492/1.487 ms') 2025-09-22 02:02:19,605 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-23045002 passed 2025-09-22 02:02:19,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:02:19,757 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-23045002, IP 29.118.119.195, Port 22 2025-09-22 02:02:19,913 - DEBUG - VM ctest-vn2-vm1-23045002 is ready for SSH connections 2025-09-22 02:02:19,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:02:19,913 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.118.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-22 02:02:19,913 - DEBUG - ping -s 56 -c 3 -W 1 29.118.119.195 2025-09-22 02:02:24,986 - DEBUG - PING 29.118.119.195 (29.118.119.195): 56 data bytes --- 29.118.119.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 02:02:24,986 - WARNING - Ping to IP 29.118.119.195 from VM ctest-vn1-vm1-46742151 failed 2025-09-22 02:02:24,986 - INFO - Adding interface with subnet_id 350d1a1b-ce79-4ddc-9bf5-c9b44e40169a, port_id None to router 0e6b2de5-cb72-4385-8e1a-c8faa9d23350 2025-09-22 02:02:25,253 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:02:25,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.118.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-22 02:02:25,253 - DEBUG - ping -s 56 -c 3 -W 1 29.118.119.195 2025-09-22 02:02:28,499 - DEBUG - PING 29.118.119.195 (29.118.119.195): 56 data bytes 64 bytes from 29.118.119.195: seq=1 ttl=63 time=3.049 ms 64 bytes from 29.118.119.195: seq=2 ttl=63 time=1.076 ms --- 29.118.119.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.076/2.062/3.049 ms 2025-09-22 02:02:28,499 - WARNING - Ping to IP 29.118.119.195 from VM ctest-vn1-vm1-46742151 failed 2025-09-22 02:02:29,499 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.118.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-22 02:02:29,500 - DEBUG - ping -s 56 -c 3 -W 1 29.118.119.195 2025-09-22 02:02:31,724 - DEBUG - PING 29.118.119.195 (29.118.119.195): 56 data bytes 64 bytes from 29.118.119.195: seq=0 ttl=63 time=1.429 ms 64 bytes from 29.118.119.195: seq=1 ttl=63 time=0.860 ms 64 bytes from 29.118.119.195: seq=2 ttl=63 time=0.946 ms --- 29.118.119.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.860/1.078/1.429 ms 2025-09-22 02:02:31,724 - INFO - Ping to IP 29.118.119.195 from VM ctest-vn1-vm1-46742151 passed 2025-09-22 02:02:31,725 - INFO - Deleting interface with subnet_id 4e305621-83c3-43d4-8135-dee8ff8af079, port_id None from router 0e6b2de5-cb72-4385-8e1a-c8faa9d23350 2025-09-22 02:02:31,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:02:31,851 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.118.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-22 02:02:31,851 - DEBUG - ping -s 56 -c 3 -W 1 29.118.119.195 2025-09-22 02:02:35,096 - DEBUG - PING 29.118.119.195 (29.118.119.195): 56 data bytes --- 29.118.119.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-22 02:02:35,097 - WARNING - Ping to IP 29.118.119.195 from VM ctest-vn1-vm1-46742151 failed 2025-09-22 02:02:35,097 - INFO - Adding interface with subnet_id 4e305621-83c3-43d4-8135-dee8ff8af079, port_id None to router 0e6b2de5-cb72-4385-8e1a-c8faa9d23350 2025-09-22 02:02:35,309 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-22 02:02:35,309 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.118.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-22 02:02:35,309 - DEBUG - ping -s 56 -c 3 -W 1 29.118.119.195 2025-09-22 02:02:37,536 - DEBUG - PING 29.118.119.195 (29.118.119.195): 56 data bytes 64 bytes from 29.118.119.195: seq=0 ttl=63 time=1.527 ms 64 bytes from 29.118.119.195: seq=1 ttl=63 time=1.108 ms 64 bytes from 29.118.119.195: seq=2 ttl=63 time=1.112 ms --- 29.118.119.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.108/1.249/1.527 ms 2025-09-22 02:02:37,536 - INFO - Ping to IP 29.118.119.195 from VM ctest-vn1-vm1-46742151 passed 2025-09-22 02:02:37,536 - INFO - Deleting interface with subnet_id 350d1a1b-ce79-4ddc-9bf5-c9b44e40169a, port_id None from router 0e6b2de5-cb72-4385-8e1a-c8faa9d23350 2025-09-22 02:02:37,667 - INFO - Deleting interface with subnet_id 4e305621-83c3-43d4-8135-dee8ff8af079, port_id None from router 0e6b2de5-cb72-4385-8e1a-c8faa9d23350 2025-09-22 02:02:37,919 - INFO - Deleting VM ctest-vn2-vm1-23045002 2025-09-22 02:02:37,998 - INFO - Deleting VM ctest-vn1-vm1-46742151 2025-09-22 02:02:38,080 - INFO - Deleting VN ctest-vn2-41661881 2025-09-22 02:02:38,123 - DEBUG - VN 7ae4f4ad-8ad2-41e5-bfd9-3f56e70b6219 still in use: Unable to complete operation on network 7ae4f4ad-8ad2-41e5-bfd9-3f56e70b6219. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b7791030-cefc-4cf3-b0cd-bc01674c3c52'] 2025-09-22 02:02:38,123 - WARNING - Deleting VN ctest-vn2-41661881 failed..Will retry 2025-09-22 02:02:40,244 - DEBUG - Response for deleting network () 2025-09-22 02:02:40,244 - INFO - Deleting VN ctest-vn1-66520200 2025-09-22 02:02:40,368 - DEBUG - Response for deleting network () 2025-09-22 02:02:40,622 - DEBUG - No XMPP flaps were noticed during the test 2025-09-22 02:02:40,622 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-09-22 02:02:40,622 - INFO - -------------------------------------------------------------------------------- 2025-09-22 02:02:41,345 - INFO - Deleted project: ctest-TestRouters-23090769, ID : 62f048d0-cfbd-49a0-9d1d-217f7aec1b47