2025-10-08 20:19:30,076 - INFO - Domain Default found not creating
2025-10-08 20:19:30,211 - INFO - Project ctest-TestRouters-43757641 not found, creating it
2025-10-08 20:19:30,651 - INFO - Created Project:ctest-TestRouters-43757641, ID : 5d3e634e-73fe-4235-a0f0-c4e5896efe2a
2025-10-08 20:19:32,073 - INFO - ================================================================================
2025-10-08 20:19:32,073 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-08 20:19:32,073 - 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-08 20:19:32,322 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-08 20:19:32,322 - INFO - Initial checks done. Running the testcase now
2025-10-08 20:19:32,322 - INFO -
2025-10-08 20:19:32,837 - DEBUG - Response for create_network : {'network': {'id': '9743ad0f-5593-4fa6-932d-231a312ac442', 'name': 'ctest-vn1-69319819', 'tenant_id': '5d3e634e73fe4235a0f0c4e5896efe2a', 'project_id': '5d3e634e73fe4235a0f0c4e5896efe2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43757641', 'ctest-vn1-69319819'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 20:19:33,039 - DEBUG - Response for create_subnet : {'subnet': {'id': '6633db89-94b1-4333-bf4d-7240b5c24b29', 'name': '', 'tenant_id': '5d3e634e73fe4235a0f0c4e5896efe2a', 'network_id': '9743ad0f-5593-4fa6-932d-231a312ac442', 'ip_version': 4, 'cidr': '177.211.100.0/26', 'allocation_pools': [{'start': '177.211.100.2', 'end': '177.211.100.62'}], 'gateway_ip': '177.211.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.211.100.2', 'tags': [], 'project_id': '5d3e634e73fe4235a0f0c4e5896efe2a'}}
2025-10-08 20:19:33,054 - INFO - Created VN ctest-vn1-69319819
2025-10-08 20:19:33,104 - DEBUG - VN ctest-vn1-69319819 UUID is 9743ad0f-5593-4fa6-932d-231a312ac442
2025-10-08 20:19:33,411 - DEBUG - Response for create_network : {'network': {'id': '825fe88c-7acf-4e5e-a189-353d60f878f6', 'name': 'ctest-vn2-18913366', 'tenant_id': '5d3e634e73fe4235a0f0c4e5896efe2a', 'project_id': '5d3e634e73fe4235a0f0c4e5896efe2a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-43757641', 'ctest-vn2-18913366'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 20:19:33,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '63cdc6a4-420d-4d4a-84ed-067579b8704a', 'name': '', 'tenant_id': '5d3e634e73fe4235a0f0c4e5896efe2a', 'network_id': '825fe88c-7acf-4e5e-a189-353d60f878f6', 'ip_version': 4, 'cidr': '184.185.2.0/26', 'allocation_pools': [{'start': '184.185.2.2', 'end': '184.185.2.62'}], 'gateway_ip': '184.185.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.185.2.2', 'tags': [], 'project_id': '5d3e634e73fe4235a0f0c4e5896efe2a'}}
2025-10-08 20:19:33,622 - INFO - Created VN ctest-vn2-18913366
2025-10-08 20:19:33,672 - DEBUG - VN ctest-vn2-18913366 UUID is 825fe88c-7acf-4e5e-a189-353d60f878f6
2025-10-08 20:19:33,870 - DEBUG - Services list from nova: [, , ]
2025-10-08 20:19:34,795 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4245-1)
2025-10-08 20:19:35,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4245-1)
2025-10-08 20:19:35,991 - INFO - Adding interface with subnet_id 6633db89-94b1-4333-bf4d-7240b5c24b29, port_id None to router b1ef57ee-8038-4972-b511-d6ae1a1f09f6
2025-10-08 20:19:36,214 - INFO - Waiting for VM ctest-vn1-vm1-06095820 to be up..
2025-10-08 20:19:36,305 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 20:19:41,374 - DEBUG - VM is in ACTIVE state now
2025-10-08 20:19:41,374 - INFO - VM name : ctest-vn1-vm1-06095820
2025-10-08 20:19:41,442 - DEBUG - VM ctest-vn1-vm1-06095820 ID is cb57cbac-6087-4cb3-9c25-f08fdd442803
2025-10-08 20:19:41,460 - DEBUG - VM ctest-vn1-vm1-06095820 launched on Node cn-jenkins-deploy-platform-ansible-os-4245-1
2025-10-08 20:19:41,524 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cb57cbac-6087-4cb3-9c25-f08fdd442803
2025-10-08 20:19:41,813 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cb57cbac-6087-4cb3-9c25-f08fdd442803
2025-10-08 20:19:41,839 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9db98438-03fc-4972-87a0-e2219142f915
2025-10-08 20:19:45,081 - 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-10-08 20:19:45,081 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06095820 failed!
2025-10-08 20:19:45,132 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-43757641:ctest-vn1-69319819 is 177.211.100.1 and allocation pool is NOT set
2025-10-08 20:19:47,197 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.342 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.342/1.532/2.722/1.190 ms')
2025-10-08 20:19:47,197 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06095820 passed
2025-10-08 20:19:47,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:47,344 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06095820, IP 177.211.100.3, Port 22
2025-10-08 20:19:47,500 - DEBUG - VM ctest-vn1-vm1-06095820 is ready for SSH connections
2025-10-08 20:19:47,500 - INFO - Waiting for VM ctest-vn2-vm1-61204923 to be up..
2025-10-08 20:19:47,571 - DEBUG - VM is in ACTIVE state now
2025-10-08 20:19:47,571 - INFO - VM name : ctest-vn2-vm1-61204923
2025-10-08 20:19:47,643 - DEBUG - VM ctest-vn2-vm1-61204923 ID is 25516c2b-8af0-4d4d-a5d3-4088177144d5
2025-10-08 20:19:47,643 - DEBUG - VM ctest-vn2-vm1-61204923 launched on Node cn-jenkins-deploy-platform-ansible-os-4245-1
2025-10-08 20:19:47,704 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/25516c2b-8af0-4d4d-a5d3-4088177144d5
2025-10-08 20:19:47,710 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0308ae4a-55ca-49b5-ad78-55a589a675b6
2025-10-08 20:19:48,934 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.343 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.343/1.672/3.002/1.329 ms')
2025-10-08 20:19:48,934 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-61204923 passed
2025-10-08 20:19:49,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:49,080 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-61204923, IP 184.185.2.3, Port 22
2025-10-08 20:19:49,236 - DEBUG - VM ctest-vn2-vm1-61204923 is ready for SSH connections
2025-10-08 20:19:49,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:49,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.185.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-08 20:19:49,236 - DEBUG - ping -s 56 -c 3 -W 1 184.185.2.3
2025-10-08 20:19:53,930 - DEBUG - PING 184.185.2.3 (184.185.2.3): 56 data bytes
--- 184.185.2.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-08 20:19:53,930 - WARNING - Ping to IP 184.185.2.3 from VM ctest-vn1-vm1-06095820 failed
2025-10-08 20:19:53,930 - INFO - Adding interface with subnet_id 63cdc6a4-420d-4d4a-84ed-067579b8704a, port_id None to router b1ef57ee-8038-4972-b511-d6ae1a1f09f6
2025-10-08 20:19:54,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:54,148 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.185.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-08 20:19:54,148 - DEBUG - ping -s 56 -c 3 -W 1 184.185.2.3
2025-10-08 20:19:56,346 - DEBUG - PING 184.185.2.3 (184.185.2.3): 56 data bytes
64 bytes from 184.185.2.3: seq=0 ttl=63 time=2.305 ms
64 bytes from 184.185.2.3: seq=1 ttl=63 time=0.803 ms
64 bytes from 184.185.2.3: seq=2 ttl=63 time=0.715 ms
--- 184.185.2.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.715/1.274/2.305 ms
2025-10-08 20:19:56,346 - INFO - Ping to IP 184.185.2.3 from VM ctest-vn1-vm1-06095820 passed
2025-10-08 20:19:56,346 - INFO - Deleting interface with subnet_id 6633db89-94b1-4333-bf4d-7240b5c24b29, port_id None from router b1ef57ee-8038-4972-b511-d6ae1a1f09f6
2025-10-08 20:19:56,456 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:56,457 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.185.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-08 20:19:56,457 - DEBUG - ping -s 56 -c 3 -W 1 184.185.2.3
2025-10-08 20:19:59,647 - DEBUG - PING 184.185.2.3 (184.185.2.3): 56 data bytes
--- 184.185.2.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-08 20:19:59,647 - WARNING - Ping to IP 184.185.2.3 from VM ctest-vn1-vm1-06095820 failed
2025-10-08 20:19:59,647 - INFO - Adding interface with subnet_id 6633db89-94b1-4333-bf4d-7240b5c24b29, port_id None to router b1ef57ee-8038-4972-b511-d6ae1a1f09f6
2025-10-08 20:19:59,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 20:19:59,851 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.185.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-08 20:19:59,851 - DEBUG - ping -s 56 -c 3 -W 1 184.185.2.3
2025-10-08 20:20:03,041 - DEBUG - PING 184.185.2.3 (184.185.2.3): 56 data bytes
64 bytes from 184.185.2.3: seq=1 ttl=63 time=1.230 ms
64 bytes from 184.185.2.3: seq=2 ttl=63 time=0.745 ms
--- 184.185.2.3 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.745/0.987/1.230 ms
2025-10-08 20:20:03,041 - WARNING - Ping to IP 184.185.2.3 from VM ctest-vn1-vm1-06095820 failed
2025-10-08 20:20:04,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.185.2.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-08 20:20:04,042 - DEBUG - ping -s 56 -c 3 -W 1 184.185.2.3
2025-10-08 20:20:06,235 - DEBUG - PING 184.185.2.3 (184.185.2.3): 56 data bytes
64 bytes from 184.185.2.3: seq=0 ttl=63 time=1.187 ms
64 bytes from 184.185.2.3: seq=1 ttl=63 time=0.810 ms
64 bytes from 184.185.2.3: seq=2 ttl=63 time=0.819 ms
--- 184.185.2.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.810/0.938/1.187 ms
2025-10-08 20:20:06,235 - INFO - Ping to IP 184.185.2.3 from VM ctest-vn1-vm1-06095820 passed
2025-10-08 20:20:06,235 - INFO - Deleting interface with subnet_id 63cdc6a4-420d-4d4a-84ed-067579b8704a, port_id None from router b1ef57ee-8038-4972-b511-d6ae1a1f09f6
2025-10-08 20:20:06,353 - INFO - Deleting interface with subnet_id 6633db89-94b1-4333-bf4d-7240b5c24b29, port_id None from router b1ef57ee-8038-4972-b511-d6ae1a1f09f6
2025-10-08 20:20:06,518 - INFO - Deleting VM ctest-vn2-vm1-61204923
2025-10-08 20:20:06,577 - INFO - Deleting VM ctest-vn1-vm1-06095820
2025-10-08 20:20:06,638 - INFO - Deleting VN ctest-vn2-18913366
2025-10-08 20:20:06,670 - DEBUG - VN 825fe88c-7acf-4e5e-a189-353d60f878f6 still in use: Unable to complete operation on network 825fe88c-7acf-4e5e-a189-353d60f878f6. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f120bf7f-e6e7-4925-842b-d97a0b609023']
2025-10-08 20:20:06,670 - WARNING - Deleting VN ctest-vn2-18913366 failed..Will retry
2025-10-08 20:20:08,749 - DEBUG - Response for deleting network ()
2025-10-08 20:20:08,749 - INFO - Deleting VN ctest-vn1-69319819
2025-10-08 20:20:08,825 - DEBUG - Response for deleting network ()
2025-10-08 20:20:09,080 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 20:20:09,080 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-08 20:20:09,080 - INFO - --------------------------------------------------------------------------------
2025-10-08 20:20:09,724 - INFO - Deleted project: ctest-TestRouters-43757641, ID : 5d3e634e-73fe-4235-a0f0-c4e5896efe2a