2025-10-06 17:32:05,758 - INFO - Domain Default found not creating 2025-10-06 17:32:05,933 - INFO - Project ctest-TestRouters-83215966 not found, creating it 2025-10-06 17:32:06,389 - INFO - Created Project:ctest-TestRouters-83215966, ID : 34a0f565-0e71-47a2-9ef4-637321905de6 2025-10-06 17:32:07,925 - INFO - ================================================================================ 2025-10-06 17:32:07,925 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-06 17:32:07,925 - 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-10-06 17:32:08,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-06 17:32:08,179 - INFO - Initial checks done. Running the testcase now 2025-10-06 17:32:08,179 - INFO - 2025-10-06 17:32:08,728 - DEBUG - Response for create_network : {'network': {'id': '99fdf7a5-260e-4297-86c4-6f6e849ce876', 'name': 'ctest-vn1-47747823', 'tenant_id': '34a0f5650e7147a29ef4637321905de6', 'project_id': '34a0f5650e7147a29ef4637321905de6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83215966', 'ctest-vn1-47747823'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:32:08,949 - DEBUG - Response for create_subnet : {'subnet': {'id': '44428ae3-06a2-4ee5-a88b-3131024d7a3f', 'name': '', 'tenant_id': '34a0f5650e7147a29ef4637321905de6', 'network_id': '99fdf7a5-260e-4297-86c4-6f6e849ce876', 'ip_version': 4, 'cidr': '114.20.69.192/26', 'allocation_pools': [{'start': '114.20.69.194', 'end': '114.20.69.254'}], 'gateway_ip': '114.20.69.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.20.69.194', 'tags': [], 'project_id': '34a0f5650e7147a29ef4637321905de6'}} 2025-10-06 17:32:08,969 - INFO - Created VN ctest-vn1-47747823 2025-10-06 17:32:09,022 - DEBUG - VN ctest-vn1-47747823 UUID is 99fdf7a5-260e-4297-86c4-6f6e849ce876 2025-10-06 17:32:09,301 - DEBUG - Response for create_network : {'network': {'id': '7e8ce344-c7ab-4144-9e19-83e53925483e', 'name': 'ctest-vn2-34503312', 'tenant_id': '34a0f5650e7147a29ef4637321905de6', 'project_id': '34a0f5650e7147a29ef4637321905de6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-83215966', 'ctest-vn2-34503312'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 17:32:09,459 - DEBUG - Response for create_subnet : {'subnet': {'id': '02e1bbe4-77db-4aee-9b04-30b35ce59595', 'name': '', 'tenant_id': '34a0f5650e7147a29ef4637321905de6', 'network_id': '7e8ce344-c7ab-4144-9e19-83e53925483e', 'ip_version': 4, 'cidr': '34.60.202.0/26', 'allocation_pools': [{'start': '34.60.202.2', 'end': '34.60.202.62'}], 'gateway_ip': '34.60.202.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.60.202.2', 'tags': [], 'project_id': '34a0f5650e7147a29ef4637321905de6'}} 2025-10-06 17:32:09,477 - INFO - Created VN ctest-vn2-34503312 2025-10-06 17:32:09,530 - DEBUG - VN ctest-vn2-34503312 UUID is 7e8ce344-c7ab-4144-9e19-83e53925483e 2025-10-06 17:32:09,701 - DEBUG - Services list from nova: [, , ] 2025-10-06 17:32:10,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4227-1) 2025-10-06 17:32:11,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4227-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4227-1) 2025-10-06 17:32:12,034 - INFO - Adding interface with subnet_id 44428ae3-06a2-4ee5-a88b-3131024d7a3f, port_id None to router f10c0332-c216-4c15-bf66-9d8648970e97 2025-10-06 17:32:12,312 - INFO - Waiting for VM ctest-vn1-vm1-24129318 to be up.. 2025-10-06 17:32:12,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 17:32:17,572 - DEBUG - VM is in ACTIVE state now 2025-10-06 17:32:17,572 - INFO - VM name : ctest-vn1-vm1-24129318 2025-10-06 17:32:17,759 - DEBUG - VM ctest-vn1-vm1-24129318 ID is 045f9d6c-ba90-4020-89de-b5eef69608de 2025-10-06 17:32:17,800 - DEBUG - VM ctest-vn1-vm1-24129318 launched on Node cn-jenkins-deploy-platform-ansible-os-4227-1 2025-10-06 17:32:17,939 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/045f9d6c-ba90-4020-89de-b5eef69608de 2025-10-06 17:32:18,253 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/045f9d6c-ba90-4020-89de-b5eef69608de 2025-10-06 17:32:18,285 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f1bc5176-11e5-44a6-99df-f13884b35a6e 2025-10-06 17:32:21,534 - 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 1007ms') 2025-10-06 17:32:21,534 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24129318 failed! 2025-10-06 17:32:21,586 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-83215966:ctest-vn1-47747823 is 114.20.69.193 and allocation pool is NOT set 2025-10-06 17:32:23,643 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.345 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 = 0.345/1.553/2.762/1.208 ms') 2025-10-06 17:32:23,643 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-24129318 passed 2025-10-06 17:32:23,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:23,794 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-24129318, IP 114.20.69.195, Port 22 2025-10-06 17:32:23,950 - DEBUG - VM ctest-vn1-vm1-24129318 is ready for SSH connections 2025-10-06 17:32:23,950 - INFO - Waiting for VM ctest-vn2-vm1-20066299 to be up.. 2025-10-06 17:32:24,024 - DEBUG - VM is in ACTIVE state now 2025-10-06 17:32:24,024 - INFO - VM name : ctest-vn2-vm1-20066299 2025-10-06 17:32:24,097 - DEBUG - VM ctest-vn2-vm1-20066299 ID is e51a9b85-39f6-4222-a259-4d6c2645959e 2025-10-06 17:32:24,097 - DEBUG - VM ctest-vn2-vm1-20066299 launched on Node cn-jenkins-deploy-platform-ansible-os-4227-1 2025-10-06 17:32:24,166 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e51a9b85-39f6-4222-a259-4d6c2645959e 2025-10-06 17:32:24,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0b412abf-c8d1-46ca-a5c9-a58b18cde0eb 2025-10-06 17:32:25,406 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.849 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.849/2.286/3.723/1.437 ms') 2025-10-06 17:32:25,406 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-20066299 passed 2025-10-06 17:32:25,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:25,558 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-20066299, IP 34.60.202.3, Port 22 2025-10-06 17:32:25,718 - DEBUG - VM ctest-vn2-vm1-20066299 is ready for SSH connections 2025-10-06 17:32:25,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:25,718 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.60.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 17:32:25,719 - DEBUG - ping -s 56 -c 3 -W 1 34.60.202.3 2025-10-06 17:32:30,685 - DEBUG - PING 34.60.202.3 (34.60.202.3): 56 data bytes --- 34.60.202.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 17:32:30,685 - WARNING - Ping to IP 34.60.202.3 from VM ctest-vn1-vm1-24129318 failed 2025-10-06 17:32:30,685 - INFO - Adding interface with subnet_id 02e1bbe4-77db-4aee-9b04-30b35ce59595, port_id None to router f10c0332-c216-4c15-bf66-9d8648970e97 2025-10-06 17:32:30,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:30,920 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.60.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 17:32:30,921 - DEBUG - ping -s 56 -c 3 -W 1 34.60.202.3 2025-10-06 17:32:34,128 - DEBUG - PING 34.60.202.3 (34.60.202.3): 56 data bytes 64 bytes from 34.60.202.3: seq=1 ttl=63 time=2.950 ms 64 bytes from 34.60.202.3: seq=2 ttl=63 time=1.070 ms --- 34.60.202.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.070/2.010/2.950 ms 2025-10-06 17:32:34,128 - WARNING - Ping to IP 34.60.202.3 from VM ctest-vn1-vm1-24129318 failed 2025-10-06 17:32:35,129 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.60.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 17:32:35,129 - DEBUG - ping -s 56 -c 3 -W 1 34.60.202.3 2025-10-06 17:32:37,338 - DEBUG - PING 34.60.202.3 (34.60.202.3): 56 data bytes 64 bytes from 34.60.202.3: seq=0 ttl=63 time=1.539 ms 64 bytes from 34.60.202.3: seq=1 ttl=63 time=0.883 ms 64 bytes from 34.60.202.3: seq=2 ttl=63 time=1.015 ms --- 34.60.202.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/1.145/1.539 ms 2025-10-06 17:32:37,338 - INFO - Ping to IP 34.60.202.3 from VM ctest-vn1-vm1-24129318 passed 2025-10-06 17:32:37,338 - INFO - Deleting interface with subnet_id 44428ae3-06a2-4ee5-a88b-3131024d7a3f, port_id None from router f10c0332-c216-4c15-bf66-9d8648970e97 2025-10-06 17:32:37,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:37,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.60.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 17:32:37,455 - DEBUG - ping -s 56 -c 3 -W 1 34.60.202.3 2025-10-06 17:32:40,662 - DEBUG - PING 34.60.202.3 (34.60.202.3): 56 data bytes --- 34.60.202.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-06 17:32:40,662 - WARNING - Ping to IP 34.60.202.3 from VM ctest-vn1-vm1-24129318 failed 2025-10-06 17:32:40,662 - INFO - Adding interface with subnet_id 44428ae3-06a2-4ee5-a88b-3131024d7a3f, port_id None to router f10c0332-c216-4c15-bf66-9d8648970e97 2025-10-06 17:32:40,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 17:32:40,885 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 34.60.202.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-06 17:32:40,885 - DEBUG - ping -s 56 -c 3 -W 1 34.60.202.3 2025-10-06 17:32:43,109 - DEBUG - PING 34.60.202.3 (34.60.202.3): 56 data bytes 64 bytes from 34.60.202.3: seq=0 ttl=63 time=1.363 ms 64 bytes from 34.60.202.3: seq=1 ttl=63 time=1.015 ms 64 bytes from 34.60.202.3: seq=2 ttl=63 time=0.881 ms --- 34.60.202.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.881/1.086/1.363 ms 2025-10-06 17:32:43,109 - INFO - Ping to IP 34.60.202.3 from VM ctest-vn1-vm1-24129318 passed 2025-10-06 17:32:43,109 - INFO - Deleting interface with subnet_id 02e1bbe4-77db-4aee-9b04-30b35ce59595, port_id None from router f10c0332-c216-4c15-bf66-9d8648970e97 2025-10-06 17:32:43,218 - INFO - Deleting interface with subnet_id 44428ae3-06a2-4ee5-a88b-3131024d7a3f, port_id None from router f10c0332-c216-4c15-bf66-9d8648970e97 2025-10-06 17:32:43,404 - INFO - Deleting VM ctest-vn2-vm1-20066299 2025-10-06 17:32:43,483 - INFO - Deleting VM ctest-vn1-vm1-24129318 2025-10-06 17:32:43,563 - INFO - Deleting VN ctest-vn2-34503312 2025-10-06 17:32:43,601 - DEBUG - VN 7e8ce344-c7ab-4144-9e19-83e53925483e still in use: Unable to complete operation on network 7e8ce344-c7ab-4144-9e19-83e53925483e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9067d4ad-d2e9-4aeb-b3a1-6c4c6e7f0952'] 2025-10-06 17:32:43,601 - WARNING - Deleting VN ctest-vn2-34503312 failed..Will retry 2025-10-06 17:32:45,708 - DEBUG - Response for deleting network () 2025-10-06 17:32:45,708 - INFO - Deleting VN ctest-vn1-47747823 2025-10-06 17:32:45,807 - DEBUG - Response for deleting network () 2025-10-06 17:32:46,067 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 17:32:46,068 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-06 17:32:46,068 - INFO - -------------------------------------------------------------------------------- 2025-10-06 17:32:46,754 - INFO - Deleted project: ctest-TestRouters-83215966, ID : 34a0f565-0e71-47a2-9ef4-637321905de6