2025-09-13 16:56:19,661 - INFO - Domain Default found not creating 2025-09-13 16:56:19,878 - INFO - Project ctest-TestRouters-17486452 not found, creating it 2025-09-13 16:56:20,523 - INFO - Created Project:ctest-TestRouters-17486452, ID : 91366f33-f3f0-481d-a73d-b5f0b6dbc8f4 2025-09-13 16:56:22,031 - INFO - ================================================================================ 2025-09-13 16:56:22,031 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-13 16:56:22,031 - 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-13 16:56:22,292 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-13 16:56:22,293 - INFO - Initial checks done. Running the testcase now 2025-09-13 16:56:22,293 - INFO - 2025-09-13 16:56:22,892 - DEBUG - Response for create_network : {'network': {'id': '53a2885a-e4d8-4c87-843a-3edf6450220d', 'name': 'ctest-vn1-33810496', 'tenant_id': '91366f33f3f0481da73db5f0b6dbc8f4', 'project_id': '91366f33f3f0481da73db5f0b6dbc8f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17486452', 'ctest-vn1-33810496'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:56:23,117 - DEBUG - Response for create_subnet : {'subnet': {'id': '93e1ecbe-6253-4270-b8ed-a78522ff3283', 'name': '', 'tenant_id': '91366f33f3f0481da73db5f0b6dbc8f4', 'network_id': '53a2885a-e4d8-4c87-843a-3edf6450220d', 'ip_version': 4, 'cidr': '125.202.76.0/26', 'allocation_pools': [{'start': '125.202.76.2', 'end': '125.202.76.62'}], 'gateway_ip': '125.202.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.202.76.2', 'tags': [], 'project_id': '91366f33f3f0481da73db5f0b6dbc8f4'}} 2025-09-13 16:56:23,147 - INFO - Created VN ctest-vn1-33810496 2025-09-13 16:56:23,203 - DEBUG - VN ctest-vn1-33810496 UUID is 53a2885a-e4d8-4c87-843a-3edf6450220d 2025-09-13 16:56:23,562 - DEBUG - Response for create_network : {'network': {'id': 'af5d5d84-1841-45bb-b7d6-78bc36da9074', 'name': 'ctest-vn2-34532203', 'tenant_id': '91366f33f3f0481da73db5f0b6dbc8f4', 'project_id': '91366f33f3f0481da73db5f0b6dbc8f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-17486452', 'ctest-vn2-34532203'], 'port_security_enabled': True, 'description': ''}} 2025-09-13 16:56:23,742 - DEBUG - Response for create_subnet : {'subnet': {'id': '73b6e7a7-2036-4083-806e-ef1623ccb9be', 'name': '', 'tenant_id': '91366f33f3f0481da73db5f0b6dbc8f4', 'network_id': 'af5d5d84-1841-45bb-b7d6-78bc36da9074', 'ip_version': 4, 'cidr': '58.193.211.0/26', 'allocation_pools': [{'start': '58.193.211.2', 'end': '58.193.211.62'}], 'gateway_ip': '58.193.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.193.211.2', 'tags': [], 'project_id': '91366f33f3f0481da73db5f0b6dbc8f4'}} 2025-09-13 16:56:23,760 - INFO - Created VN ctest-vn2-34532203 2025-09-13 16:56:23,811 - DEBUG - VN ctest-vn2-34532203 UUID is af5d5d84-1841-45bb-b7d6-78bc36da9074 2025-09-13 16:56:23,991 - DEBUG - Services list from nova: [, , ] 2025-09-13 16:56:25,213 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4103-1) 2025-09-13 16:56:26,511 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4103-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4103-1) 2025-09-13 16:56:26,591 - INFO - Adding interface with subnet_id 93e1ecbe-6253-4270-b8ed-a78522ff3283, port_id None to router 192bfbb3-6d58-46af-9ffb-d87d1334d9c7 2025-09-13 16:56:26,857 - INFO - Waiting for VM ctest-vn1-vm1-01615060 to be up.. 2025-09-13 16:56:26,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-13 16:56:32,032 - DEBUG - VM is in ACTIVE state now 2025-09-13 16:56:32,032 - INFO - VM name : ctest-vn1-vm1-01615060 2025-09-13 16:56:32,116 - DEBUG - VM ctest-vn1-vm1-01615060 ID is cfc442bb-aa9b-475a-aae7-e137937aac39 2025-09-13 16:56:32,136 - DEBUG - VM ctest-vn1-vm1-01615060 launched on Node cn-jenkins-deploy-platform-ansible-os-4103-1 2025-09-13 16:56:32,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cfc442bb-aa9b-475a-aae7-e137937aac39 2025-09-13 16:56:32,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cfc442bb-aa9b-475a-aae7-e137937aac39 2025-09-13 16:56:32,578 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/740a4a99-7a0b-496e-80c6-6f59f7b91d1f 2025-09-13 16:56:35,834 - 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 1002ms') 2025-09-13 16:56:35,834 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01615060 failed! 2025-09-13 16:56:35,895 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-17486452:ctest-vn1-33810496 is 125.202.76.1 and allocation pool is NOT set 2025-09-13 16:56:37,957 - 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=3.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.545 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.545/1.907/3.269/1.362 ms') 2025-09-13 16:56:37,957 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01615060 passed 2025-09-13 16:56:38,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:38,107 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01615060, IP 125.202.76.3, Port 22 2025-09-13 16:56:38,274 - DEBUG - VM ctest-vn1-vm1-01615060 is ready for SSH connections 2025-09-13 16:56:38,274 - INFO - Waiting for VM ctest-vn2-vm1-66555783 to be up.. 2025-09-13 16:56:38,358 - DEBUG - VM is in ACTIVE state now 2025-09-13 16:56:38,359 - INFO - VM name : ctest-vn2-vm1-66555783 2025-09-13 16:56:38,438 - DEBUG - VM ctest-vn2-vm1-66555783 ID is 7c30a35b-cba8-4f97-9901-fce56bf80940 2025-09-13 16:56:38,438 - DEBUG - VM ctest-vn2-vm1-66555783 launched on Node cn-jenkins-deploy-platform-ansible-os-4103-1 2025-09-13 16:56:38,521 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7c30a35b-cba8-4f97-9901-fce56bf80940 2025-09-13 16:56:38,529 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/88250c07-f230-4983-880a-e619afe9446d 2025-09-13 16:56:39,770 - 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.06 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 1001ms\r\nrtt min/avg/max/mdev = 0.517/1.786/3.055/1.269 ms') 2025-09-13 16:56:39,770 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-66555783 passed 2025-09-13 16:56:39,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:39,939 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-66555783, IP 58.193.211.3, Port 22 2025-09-13 16:56:40,113 - DEBUG - VM ctest-vn2-vm1-66555783 is ready for SSH connections 2025-09-13 16:56:40,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:40,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.193.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 16:56:40,114 - DEBUG - ping -s 56 -c 3 -W 1 58.193.211.3 2025-09-13 16:56:45,211 - DEBUG - PING 58.193.211.3 (58.193.211.3): 56 data bytes --- 58.193.211.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-13 16:56:45,211 - WARNING - Ping to IP 58.193.211.3 from VM ctest-vn1-vm1-01615060 failed 2025-09-13 16:56:45,212 - INFO - Adding interface with subnet_id 73b6e7a7-2036-4083-806e-ef1623ccb9be, port_id None to router 192bfbb3-6d58-46af-9ffb-d87d1334d9c7 2025-09-13 16:56:45,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:45,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.193.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 16:56:45,470 - DEBUG - ping -s 56 -c 3 -W 1 58.193.211.3 2025-09-13 16:56:48,701 - DEBUG - PING 58.193.211.3 (58.193.211.3): 56 data bytes 64 bytes from 58.193.211.3: seq=1 ttl=63 time=3.542 ms 64 bytes from 58.193.211.3: seq=2 ttl=63 time=1.146 ms --- 58.193.211.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.146/2.344/3.542 ms 2025-09-13 16:56:48,701 - WARNING - Ping to IP 58.193.211.3 from VM ctest-vn1-vm1-01615060 failed 2025-09-13 16:56:49,702 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.193.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 16:56:49,702 - DEBUG - ping -s 56 -c 3 -W 1 58.193.211.3 2025-09-13 16:56:51,934 - DEBUG - PING 58.193.211.3 (58.193.211.3): 56 data bytes 64 bytes from 58.193.211.3: seq=0 ttl=63 time=1.554 ms 64 bytes from 58.193.211.3: seq=1 ttl=63 time=1.135 ms 64 bytes from 58.193.211.3: seq=2 ttl=63 time=1.299 ms --- 58.193.211.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.135/1.329/1.554 ms 2025-09-13 16:56:51,934 - INFO - Ping to IP 58.193.211.3 from VM ctest-vn1-vm1-01615060 passed 2025-09-13 16:56:51,934 - INFO - Deleting interface with subnet_id 93e1ecbe-6253-4270-b8ed-a78522ff3283, port_id None from router 192bfbb3-6d58-46af-9ffb-d87d1334d9c7 2025-09-13 16:56:52,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:52,074 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.193.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 16:56:52,074 - DEBUG - ping -s 56 -c 3 -W 1 58.193.211.3 2025-09-13 16:56:55,281 - DEBUG - PING 58.193.211.3 (58.193.211.3): 56 data bytes --- 58.193.211.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-13 16:56:55,281 - WARNING - Ping to IP 58.193.211.3 from VM ctest-vn1-vm1-01615060 failed 2025-09-13 16:56:55,281 - INFO - Adding interface with subnet_id 93e1ecbe-6253-4270-b8ed-a78522ff3283, port_id None to router 192bfbb3-6d58-46af-9ffb-d87d1334d9c7 2025-09-13 16:56:55,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-13 16:56:55,532 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.193.211.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-13 16:56:55,532 - DEBUG - ping -s 56 -c 3 -W 1 58.193.211.3 2025-09-13 16:56:57,770 - DEBUG - PING 58.193.211.3 (58.193.211.3): 56 data bytes 64 bytes from 58.193.211.3: seq=0 ttl=63 time=2.353 ms 64 bytes from 58.193.211.3: seq=1 ttl=63 time=1.266 ms 64 bytes from 58.193.211.3: seq=2 ttl=63 time=1.244 ms --- 58.193.211.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.244/1.621/2.353 ms 2025-09-13 16:56:57,770 - INFO - Ping to IP 58.193.211.3 from VM ctest-vn1-vm1-01615060 passed 2025-09-13 16:56:57,770 - INFO - Deleting interface with subnet_id 73b6e7a7-2036-4083-806e-ef1623ccb9be, port_id None from router 192bfbb3-6d58-46af-9ffb-d87d1334d9c7 2025-09-13 16:56:57,911 - INFO - Deleting interface with subnet_id 93e1ecbe-6253-4270-b8ed-a78522ff3283, port_id None from router 192bfbb3-6d58-46af-9ffb-d87d1334d9c7 2025-09-13 16:56:58,107 - INFO - Deleting VM ctest-vn2-vm1-66555783 2025-09-13 16:56:58,193 - INFO - Deleting VM ctest-vn1-vm1-01615060 2025-09-13 16:56:58,290 - INFO - Deleting VN ctest-vn2-34532203 2025-09-13 16:56:58,332 - DEBUG - VN af5d5d84-1841-45bb-b7d6-78bc36da9074 still in use: Unable to complete operation on network af5d5d84-1841-45bb-b7d6-78bc36da9074. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de719277-5d4a-45e0-823b-ffec96db4546'] 2025-09-13 16:56:58,332 - WARNING - Deleting VN ctest-vn2-34532203 failed..Will retry 2025-09-13 16:57:00,473 - DEBUG - Response for deleting network () 2025-09-13 16:57:00,473 - INFO - Deleting VN ctest-vn1-33810496 2025-09-13 16:57:00,612 - DEBUG - Response for deleting network () 2025-09-13 16:57:00,884 - DEBUG - No XMPP flaps were noticed during the test
2025-09-13 16:57:00,884 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-09-13 16:57:00,884 - INFO - -------------------------------------------------------------------------------- 2025-09-13 16:57:01,610 - INFO - Deleted project: ctest-TestRouters-17486452, ID : 91366f33-f3f0-481d-a73d-b5f0b6dbc8f4