2025-11-21 17:49:49,413 - INFO - Domain Default found not creating 2025-11-21 17:49:49,600 - INFO - Project ctest-TestRouters-25314763 not found, creating it 2025-11-21 17:49:50,088 - INFO - Created Project:ctest-TestRouters-25314763, ID : 0af577a7-8212-4c56-827a-a3feb91dfc5c 2025-11-21 17:49:51,781 - INFO - ================================================================================ 2025-11-21 17:49:51,781 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-21 17:49:51,781 - 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-21 17:49:52,037 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-21 17:49:52,038 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:49:52,038 - INFO - 2025-11-21 17:49:52,657 - DEBUG - Response for create_network : {'network': {'id': '43ecea09-89bb-4deb-b733-8a7524c07b1b', 'name': 'ctest-vn1-31894723', 'tenant_id': '0af577a782124c56827aa3feb91dfc5c', 'project_id': '0af577a782124c56827aa3feb91dfc5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25314763', 'ctest-vn1-31894723'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:49:52,897 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0ecf4cd-776d-46d4-ba47-f8439fc5b019', 'name': '', 'tenant_id': '0af577a782124c56827aa3feb91dfc5c', 'network_id': '43ecea09-89bb-4deb-b733-8a7524c07b1b', 'ip_version': 4, 'cidr': '14.74.116.64/26', 'allocation_pools': [{'start': '14.74.116.66', 'end': '14.74.116.126'}], 'gateway_ip': '14.74.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.74.116.66', 'tags': [], 'project_id': '0af577a782124c56827aa3feb91dfc5c'}} 2025-11-21 17:49:52,918 - INFO - Created VN ctest-vn1-31894723 2025-11-21 17:49:52,971 - DEBUG - VN ctest-vn1-31894723 UUID is 43ecea09-89bb-4deb-b733-8a7524c07b1b 2025-11-21 17:49:53,315 - DEBUG - Response for create_network : {'network': {'id': '16de8dc1-8dfc-4400-bc3e-ae99d6d0f151', 'name': 'ctest-vn2-92109956', 'tenant_id': '0af577a782124c56827aa3feb91dfc5c', 'project_id': '0af577a782124c56827aa3feb91dfc5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-25314763', 'ctest-vn2-92109956'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:49:53,513 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e306293d-93de-49c6-b2a2-9ce43433c141', 'name': '', 'tenant_id': '0af577a782124c56827aa3feb91dfc5c', 'network_id': '16de8dc1-8dfc-4400-bc3e-ae99d6d0f151', 'ip_version': 4, 'cidr': '125.207.210.0/26', 'allocation_pools': [{'start': '125.207.210.2', 'end': '125.207.210.62'}], 'gateway_ip': '125.207.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.207.210.2', 'tags': [], 'project_id': '0af577a782124c56827aa3feb91dfc5c'}} 2025-11-21 17:49:53,531 - INFO - Created VN ctest-vn2-92109956 2025-11-21 17:49:53,583 - DEBUG - VN ctest-vn2-92109956 UUID is 16de8dc1-8dfc-4400-bc3e-ae99d6d0f151 2025-11-21 17:49:53,814 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:49:54,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4792-1) 2025-11-21 17:49:56,441 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4792-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4792-1) 2025-11-21 17:49:56,514 - INFO - Adding interface with subnet_id a0ecf4cd-776d-46d4-ba47-f8439fc5b019, port_id None to router 8f3aae0e-f9b2-47ef-bc7d-9c7da6a397f6 2025-11-21 17:49:56,802 - INFO - Waiting for VM ctest-vn1-vm1-29158873 to be up.. 2025-11-21 17:49:56,928 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:50:02,023 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:50:02,023 - INFO - VM name : ctest-vn1-vm1-29158873 2025-11-21 17:50:02,120 - DEBUG - VM ctest-vn1-vm1-29158873 ID is c8b80347-c2fc-4f02-952c-414666946350 2025-11-21 17:50:02,152 - DEBUG - VM ctest-vn1-vm1-29158873 launched on Node cn-jenkins-deploy-platform-ansible-os-4792-1 2025-11-21 17:50:02,259 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c8b80347-c2fc-4f02-952c-414666946350 2025-11-21 17:50:02,600 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c8b80347-c2fc-4f02-952c-414666946350 2025-11-21 17:50:02,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/659b9994-5812-4767-b896-61c5b7d5100c 2025-11-21 17:50:05,917 - 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 1019ms') 2025-11-21 17:50:05,917 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29158873 failed! 2025-11-21 17:50:05,971 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-25314763:ctest-vn1-31894723 is 14.74.116.65 and allocation pool is NOT set 2025-11-21 17:50:08,048 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.44 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 = 3.444/4.201/4.958/0.757 ms') 2025-11-21 17:50:08,048 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29158873 passed 2025-11-21 17:50:08,203 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:50:08,203 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29158873, IP 14.74.116.67, Port 22 2025-11-21 17:50:08,362 - DEBUG - VM ctest-vn1-vm1-29158873 is ready for SSH connections 2025-11-21 17:50:08,363 - INFO - Waiting for VM ctest-vn2-vm1-25783396 to be up.. 2025-11-21 17:50:08,448 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:50:08,448 - INFO - VM name : ctest-vn2-vm1-25783396 2025-11-21 17:50:08,544 - DEBUG - VM ctest-vn2-vm1-25783396 ID is 01bc4e8d-f54a-4a59-a526-f4dcaf37a977 2025-11-21 17:50:08,544 - DEBUG - VM ctest-vn2-vm1-25783396 launched on Node cn-jenkins-deploy-platform-ansible-os-4792-1 2025-11-21 17:50:08,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/01bc4e8d-f54a-4a59-a526-f4dcaf37a977 2025-11-21 17:50:08,650 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/91b95cca-b426-4cc8-aafb-d1c88a9ab1fd 2025-11-21 17:50:09,904 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.907/3.354/1.446 ms') 2025-11-21 17:50:09,904 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-25783396 passed 2025-11-21 17:50:10,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:50:10,059 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-25783396, IP 125.207.210.3, Port 22 2025-11-21 17:50:10,229 - DEBUG - VM ctest-vn2-vm1-25783396 is ready for SSH connections 2025-11-21 17:50:10,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:50:10,230 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.207.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-21 17:50:10,230 - DEBUG - ping -s 56 -c 3 -W 1 125.207.210.3 2025-11-21 17:50:15,352 - DEBUG - PING 125.207.210.3 (125.207.210.3): 56 data bytes --- 125.207.210.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-21 17:50:15,352 - WARNING - Ping to IP 125.207.210.3 from VM ctest-vn1-vm1-29158873 failed 2025-11-21 17:50:15,352 - INFO - Adding interface with subnet_id e306293d-93de-49c6-b2a2-9ce43433c141, port_id None to router 8f3aae0e-f9b2-47ef-bc7d-9c7da6a397f6 2025-11-21 17:50:15,620 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:50:15,621 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.207.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-21 17:50:15,621 - DEBUG - ping -s 56 -c 3 -W 1 125.207.210.3 2025-11-21 17:50:18,900 - DEBUG - PING 125.207.210.3 (125.207.210.3): 56 data bytes 64 bytes from 125.207.210.3: seq=1 ttl=63 time=3.342 ms 64 bytes from 125.207.210.3: seq=2 ttl=63 time=0.936 ms --- 125.207.210.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.936/2.139/3.342 ms 2025-11-21 17:50:18,900 - WARNING - Ping to IP 125.207.210.3 from VM ctest-vn1-vm1-29158873 failed 2025-11-21 17:50:19,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.207.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-21 17:50:19,901 - DEBUG - ping -s 56 -c 3 -W 1 125.207.210.3 2025-11-21 17:50:22,194 - DEBUG - PING 125.207.210.3 (125.207.210.3): 56 data bytes 64 bytes from 125.207.210.3: seq=0 ttl=63 time=1.857 ms 64 bytes from 125.207.210.3: seq=1 ttl=63 time=1.069 ms 64 bytes from 125.207.210.3: seq=2 ttl=63 time=0.954 ms --- 125.207.210.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.954/1.293/1.857 ms 2025-11-21 17:50:22,195 - INFO - Ping to IP 125.207.210.3 from VM ctest-vn1-vm1-29158873 passed 2025-11-21 17:50:22,195 - INFO - Deleting interface with subnet_id a0ecf4cd-776d-46d4-ba47-f8439fc5b019, port_id None from router 8f3aae0e-f9b2-47ef-bc7d-9c7da6a397f6 2025-11-21 17:50:22,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:50:22,325 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.207.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-21 17:50:22,325 - DEBUG - ping -s 56 -c 3 -W 1 125.207.210.3 2025-11-21 17:50:25,560 - DEBUG - PING 125.207.210.3 (125.207.210.3): 56 data bytes --- 125.207.210.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-21 17:50:25,560 - WARNING - Ping to IP 125.207.210.3 from VM ctest-vn1-vm1-29158873 failed 2025-11-21 17:50:25,560 - INFO - Adding interface with subnet_id a0ecf4cd-776d-46d4-ba47-f8439fc5b019, port_id None to router 8f3aae0e-f9b2-47ef-bc7d-9c7da6a397f6 2025-11-21 17:50:25,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:50:25,788 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 125.207.210.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-21 17:50:25,788 - DEBUG - ping -s 56 -c 3 -W 1 125.207.210.3 2025-11-21 17:50:28,030 - DEBUG - PING 125.207.210.3 (125.207.210.3): 56 data bytes 64 bytes from 125.207.210.3: seq=0 ttl=63 time=1.669 ms 64 bytes from 125.207.210.3: seq=1 ttl=63 time=1.010 ms 64 bytes from 125.207.210.3: seq=2 ttl=63 time=0.960 ms --- 125.207.210.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.960/1.213/1.669 ms 2025-11-21 17:50:28,030 - INFO - Ping to IP 125.207.210.3 from VM ctest-vn1-vm1-29158873 passed 2025-11-21 17:50:28,030 - INFO - Deleting interface with subnet_id e306293d-93de-49c6-b2a2-9ce43433c141, port_id None from router 8f3aae0e-f9b2-47ef-bc7d-9c7da6a397f6 2025-11-21 17:50:28,177 - INFO - Deleting interface with subnet_id a0ecf4cd-776d-46d4-ba47-f8439fc5b019, port_id None from router 8f3aae0e-f9b2-47ef-bc7d-9c7da6a397f6 2025-11-21 17:50:28,375 - INFO - Deleting VM ctest-vn2-vm1-25783396 2025-11-21 17:50:28,464 - INFO - Deleting VM ctest-vn1-vm1-29158873 2025-11-21 17:50:28,559 - INFO - Deleting VN ctest-vn2-92109956 2025-11-21 17:50:28,610 - DEBUG - VN 16de8dc1-8dfc-4400-bc3e-ae99d6d0f151 still in use: Unable to complete operation on network 16de8dc1-8dfc-4400-bc3e-ae99d6d0f151. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-08ca7860-6912-49c9-9bf8-d3ab74871b6a'] 2025-11-21 17:50:28,611 - WARNING - Deleting VN ctest-vn2-92109956 failed..Will retry 2025-11-21 17:50:30,714 - DEBUG - Response for deleting network () 2025-11-21 17:50:30,714 - INFO - Deleting VN ctest-vn1-31894723 2025-11-21 17:50:30,808 - DEBUG - Response for deleting network () 2025-11-21 17:50:31,075 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 17:50:31,075 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40] 2025-11-21 17:50:31,075 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:50:31,819 - INFO - Deleted project: ctest-TestRouters-25314763, ID : 0af577a7-8212-4c56-827a-a3feb91dfc5c