2025-08-21 02:08:21,727 - INFO - Domain Default found not creating 2025-08-21 02:08:21,948 - INFO - Project ctest-TestRouters-45453348 not found, creating it 2025-08-21 02:08:22,484 - INFO - Created Project:ctest-TestRouters-45453348, ID : f0298199-9e6f-46bd-af13-0fef1155d80c 2025-08-21 02:08:23,915 - INFO - ================================================================================ 2025-08-21 02:08:23,915 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-21 02:08:23,916 - 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-08-21 02:08:24,173 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.192': '0'}} with 2025-08-21 02:08:24,173 - INFO - Initial checks done. Running the testcase now 2025-08-21 02:08:24,173 - INFO - 2025-08-21 02:08:24,744 - DEBUG - Response for create_network : {'network': {'id': '604c75c2-fded-409e-8da9-01d17c788b80', 'name': 'ctest-vn1-05726021', 'tenant_id': 'f02981999e6f46bdaf130fef1155d80c', 'project_id': 'f02981999e6f46bdaf130fef1155d80c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45453348', 'ctest-vn1-05726021'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:08:24,964 - DEBUG - Response for create_subnet : {'subnet': {'id': '97ce7e0c-b164-4647-8440-7d0994902e4d', 'name': '', 'tenant_id': 'f02981999e6f46bdaf130fef1155d80c', 'network_id': '604c75c2-fded-409e-8da9-01d17c788b80', 'ip_version': 4, 'cidr': '112.120.198.0/26', 'allocation_pools': [{'start': '112.120.198.2', 'end': '112.120.198.62'}], 'gateway_ip': '112.120.198.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.120.198.2', 'tags': [], 'project_id': 'f02981999e6f46bdaf130fef1155d80c'}} 2025-08-21 02:08:24,992 - INFO - Created VN ctest-vn1-05726021 2025-08-21 02:08:25,048 - DEBUG - VN ctest-vn1-05726021 UUID is 604c75c2-fded-409e-8da9-01d17c788b80 2025-08-21 02:08:25,395 - DEBUG - Response for create_network : {'network': {'id': '6fa00842-58f4-4100-a837-89258f10e34f', 'name': 'ctest-vn2-34576969', 'tenant_id': 'f02981999e6f46bdaf130fef1155d80c', 'project_id': 'f02981999e6f46bdaf130fef1155d80c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45453348', 'ctest-vn2-34576969'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:08:25,602 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f53b7b90-05d2-4b44-ba40-7ad968c260b9', 'name': '', 'tenant_id': 'f02981999e6f46bdaf130fef1155d80c', 'network_id': '6fa00842-58f4-4100-a837-89258f10e34f', 'ip_version': 4, 'cidr': '74.200.126.192/26', 'allocation_pools': [{'start': '74.200.126.194', 'end': '74.200.126.254'}], 'gateway_ip': '74.200.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.200.126.194', 'tags': [], 'project_id': 'f02981999e6f46bdaf130fef1155d80c'}} 2025-08-21 02:08:25,622 - INFO - Created VN ctest-vn2-34576969 2025-08-21 02:08:25,676 - DEBUG - VN ctest-vn2-34576969 UUID is 6fa00842-58f4-4100-a837-89258f10e34f 2025-08-21 02:08:25,902 - DEBUG - Services list from nova: [, , ] 2025-08-21 02:08:26,916 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1) 2025-08-21 02:08:28,243 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1) 2025-08-21 02:08:28,327 - INFO - Adding interface with subnet_id 97ce7e0c-b164-4647-8440-7d0994902e4d, port_id None to router bec9c088-a488-4a0b-beef-5c6b87ff062b 2025-08-21 02:08:28,700 - INFO - Waiting for VM ctest-vn1-vm1-41106208 to be up.. 2025-08-21 02:08:28,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 02:08:33,947 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:08:33,947 - INFO - VM name : ctest-vn1-vm1-41106208 2025-08-21 02:08:34,024 - DEBUG - VM ctest-vn1-vm1-41106208 ID is e532115e-fd49-4abc-ab6d-0be4317e44ac 2025-08-21 02:08:34,042 - DEBUG - VM ctest-vn1-vm1-41106208 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1 2025-08-21 02:08:34,116 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e532115e-fd49-4abc-ab6d-0be4317e44ac 2025-08-21 02:08:34,414 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e532115e-fd49-4abc-ab6d-0be4317e44ac 2025-08-21 02:08:34,443 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7513172a-3cf2-40a4-9faf-ee7a0fc5b394 2025-08-21 02:08:37,698 - 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=12.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 12.343/12.343/12.343/0.000 ms') 2025-08-21 02:08:37,698 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41106208 passed 2025-08-21 02:08:37,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:08:37,860 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41106208, IP 112.120.198.3, Port 22 2025-08-21 02:08:38,019 - DEBUG - VM ctest-vn1-vm1-41106208 is ready for SSH connections 2025-08-21 02:08:38,020 - INFO - Waiting for VM ctest-vn2-vm1-33517828 to be up.. 2025-08-21 02:08:38,100 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:08:38,100 - INFO - VM name : ctest-vn2-vm1-33517828 2025-08-21 02:08:38,179 - DEBUG - VM ctest-vn2-vm1-33517828 ID is a1f11020-df66-4368-a7d3-f93ed514e7b0 2025-08-21 02:08:38,179 - DEBUG - VM ctest-vn2-vm1-33517828 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1 2025-08-21 02:08:38,260 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a1f11020-df66-4368-a7d3-f93ed514e7b0 2025-08-21 02:08:38,269 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3afd062d-7cca-4609-ad41-09580d0d7016 2025-08-21 02:08:39,517 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.765 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.765/2.397/4.030/1.632 ms') 2025-08-21 02:08:39,517 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-33517828 passed 2025-08-21 02:08:39,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:08:39,668 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-33517828, IP 74.200.126.195, Port 22 2025-08-21 02:08:39,835 - DEBUG - VM ctest-vn2-vm1-33517828 is ready for SSH connections 2025-08-21 02:08:39,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:08:39,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.200.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-21 02:08:39,835 - DEBUG - ping -s 56 -c 3 -W 1 74.200.126.195 2025-08-21 02:08:44,461 - DEBUG - PING 74.200.126.195 (74.200.126.195): 56 data bytes --- 74.200.126.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-21 02:08:44,461 - WARNING - Ping to IP 74.200.126.195 from VM ctest-vn1-vm1-41106208 failed 2025-08-21 02:08:44,461 - INFO - Adding interface with subnet_id f53b7b90-05d2-4b44-ba40-7ad968c260b9, port_id None to router bec9c088-a488-4a0b-beef-5c6b87ff062b 2025-08-21 02:08:44,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:08:44,773 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.200.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-21 02:08:44,773 - DEBUG - ping -s 56 -c 3 -W 1 74.200.126.195 2025-08-21 02:08:46,971 - DEBUG - PING 74.200.126.195 (74.200.126.195): 56 data bytes 64 bytes from 74.200.126.195: seq=0 ttl=63 time=2.896 ms 64 bytes from 74.200.126.195: seq=1 ttl=63 time=0.916 ms 64 bytes from 74.200.126.195: seq=2 ttl=63 time=0.718 ms --- 74.200.126.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/1.510/2.896 ms 2025-08-21 02:08:46,971 - INFO - Ping to IP 74.200.126.195 from VM ctest-vn1-vm1-41106208 passed 2025-08-21 02:08:46,971 - INFO - Deleting interface with subnet_id 97ce7e0c-b164-4647-8440-7d0994902e4d, port_id None from router bec9c088-a488-4a0b-beef-5c6b87ff062b 2025-08-21 02:08:47,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:08:47,111 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.200.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-21 02:08:47,111 - DEBUG - ping -s 56 -c 3 -W 1 74.200.126.195 2025-08-21 02:08:50,313 - DEBUG - PING 74.200.126.195 (74.200.126.195): 56 data bytes --- 74.200.126.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-21 02:08:50,314 - WARNING - Ping to IP 74.200.126.195 from VM ctest-vn1-vm1-41106208 failed 2025-08-21 02:08:50,314 - INFO - Adding interface with subnet_id 97ce7e0c-b164-4647-8440-7d0994902e4d, port_id None to router bec9c088-a488-4a0b-beef-5c6b87ff062b 2025-08-21 02:08:50,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:08:50,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.200.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-21 02:08:50,563 - DEBUG - ping -s 56 -c 3 -W 1 74.200.126.195 2025-08-21 02:08:53,761 - DEBUG - PING 74.200.126.195 (74.200.126.195): 56 data bytes 64 bytes from 74.200.126.195: seq=1 ttl=63 time=1.382 ms 64 bytes from 74.200.126.195: seq=2 ttl=63 time=0.783 ms --- 74.200.126.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.783/1.082/1.382 ms 2025-08-21 02:08:53,761 - WARNING - Ping to IP 74.200.126.195 from VM ctest-vn1-vm1-41106208 failed 2025-08-21 02:08:54,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.200.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-21 02:08:54,762 - DEBUG - ping -s 56 -c 3 -W 1 74.200.126.195 2025-08-21 02:08:56,962 - DEBUG - PING 74.200.126.195 (74.200.126.195): 56 data bytes 64 bytes from 74.200.126.195: seq=0 ttl=63 time=1.339 ms 64 bytes from 74.200.126.195: seq=1 ttl=63 time=0.929 ms 64 bytes from 74.200.126.195: seq=2 ttl=63 time=0.778 ms --- 74.200.126.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/1.015/1.339 ms 2025-08-21 02:08:56,962 - INFO - Ping to IP 74.200.126.195 from VM ctest-vn1-vm1-41106208 passed 2025-08-21 02:08:56,962 - INFO - Deleting interface with subnet_id f53b7b90-05d2-4b44-ba40-7ad968c260b9, port_id None from router bec9c088-a488-4a0b-beef-5c6b87ff062b 2025-08-21 02:08:57,089 - INFO - Deleting interface with subnet_id 97ce7e0c-b164-4647-8440-7d0994902e4d, port_id None from router bec9c088-a488-4a0b-beef-5c6b87ff062b 2025-08-21 02:08:57,287 - INFO - Deleting VM ctest-vn2-vm1-33517828 2025-08-21 02:08:57,360 - INFO - Deleting VM ctest-vn1-vm1-41106208 2025-08-21 02:08:57,429 - INFO - Deleting VN ctest-vn2-34576969 2025-08-21 02:08:57,468 - DEBUG - VN 6fa00842-58f4-4100-a837-89258f10e34f still in use: Unable to complete operation on network 6fa00842-58f4-4100-a837-89258f10e34f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-04b03a5c-49fc-4f1c-a397-684db711d2d3'] 2025-08-21 02:08:57,468 - WARNING - Deleting VN ctest-vn2-34576969 failed..Will retry 2025-08-21 02:08:59,599 - DEBUG - Response for deleting network () 2025-08-21 02:08:59,599 - INFO - Deleting VN ctest-vn1-05726021 2025-08-21 02:08:59,704 - DEBUG - Response for deleting network () 2025-08-21 02:08:59,964 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 02:08:59,964 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36]
2025-08-21 02:08:59,964 - INFO - -------------------------------------------------------------------------------- 2025-08-21 02:09:00,927 - INFO - Deleted project: ctest-TestRouters-45453348, ID : f0298199-9e6f-46bd-af13-0fef1155d80c