2025-08-26 16:21:20,352 - INFO - Domain Default found not creating
2025-08-26 16:21:20,490 - INFO - Project ctest-TestRouters-10725009 not found, creating it
2025-08-26 16:21:20,946 - INFO - Created Project:ctest-TestRouters-10725009, ID : a7975343-862d-40c5-9711-e821f2f25e39
2025-08-26 16:21:22,493 - INFO - ================================================================================
2025-08-26 16:21:22,493 - INFO - STARTING TEST : test_basic_router_behavior
2025-08-26 16:21:22,493 - 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-26 16:21:22,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-08-26 16:21:22,751 - INFO - Initial checks done. Running the testcase now
2025-08-26 16:21:22,751 - INFO -
2025-08-26 16:21:23,373 - DEBUG - Response for create_network : {'network': {'id': 'aa521033-f403-48ad-8e25-fccee223c150', 'name': 'ctest-vn1-79946774', 'tenant_id': 'a7975343862d40c59711e821f2f25e39', 'project_id': 'a7975343862d40c59711e821f2f25e39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10725009', 'ctest-vn1-79946774'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 16:21:23,551 - DEBUG - Response for create_subnet : {'subnet': {'id': '9314dd73-13af-4dea-8fee-b1dc1a310244', 'name': '', 'tenant_id': 'a7975343862d40c59711e821f2f25e39', 'network_id': 'aa521033-f403-48ad-8e25-fccee223c150', 'ip_version': 4, 'cidr': '146.251.54.0/26', 'allocation_pools': [{'start': '146.251.54.2', 'end': '146.251.54.62'}], 'gateway_ip': '146.251.54.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.251.54.2', 'tags': [], 'project_id': 'a7975343862d40c59711e821f2f25e39'}}
2025-08-26 16:21:23,568 - INFO - Created VN ctest-vn1-79946774
2025-08-26 16:21:23,618 - DEBUG - VN ctest-vn1-79946774 UUID is aa521033-f403-48ad-8e25-fccee223c150
2025-08-26 16:21:23,939 - DEBUG - Response for create_network : {'network': {'id': 'c3755c59-fff8-4034-b34a-16f2ccf56eac', 'name': 'ctest-vn2-07347845', 'tenant_id': 'a7975343862d40c59711e821f2f25e39', 'project_id': 'a7975343862d40c59711e821f2f25e39', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10725009', 'ctest-vn2-07347845'], 'port_security_enabled': True, 'description': ''}}
2025-08-26 16:21:24,176 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f55029d4-28c5-4272-ba06-11bb9189eeba', 'name': '', 'tenant_id': 'a7975343862d40c59711e821f2f25e39', 'network_id': 'c3755c59-fff8-4034-b34a-16f2ccf56eac', 'ip_version': 4, 'cidr': '189.167.107.0/26', 'allocation_pools': [{'start': '189.167.107.2', 'end': '189.167.107.62'}], 'gateway_ip': '189.167.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.167.107.2', 'tags': [], 'project_id': 'a7975343862d40c59711e821f2f25e39'}}
2025-08-26 16:21:24,196 - INFO - Created VN ctest-vn2-07347845
2025-08-26 16:21:24,246 - DEBUG - VN ctest-vn2-07347845 UUID is c3755c59-fff8-4034-b34a-16f2ccf56eac
2025-08-26 16:21:24,490 - DEBUG - Services list from nova: [, , ]
2025-08-26 16:21:25,550 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3942-1)
2025-08-26 16:21:26,802 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3942-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3942-1)
2025-08-26 16:21:26,869 - INFO - Adding interface with subnet_id 9314dd73-13af-4dea-8fee-b1dc1a310244, port_id None to router 050b0d57-5058-4810-94f5-66ba3cc8f16d
2025-08-26 16:21:27,137 - INFO - Waiting for VM ctest-vn1-vm1-19592766 to be up..
2025-08-26 16:21:27,228 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-26 16:21:32,299 - DEBUG - VM is in ACTIVE state now
2025-08-26 16:21:32,299 - INFO - VM name : ctest-vn1-vm1-19592766
2025-08-26 16:21:32,367 - DEBUG - VM ctest-vn1-vm1-19592766 ID is 563cdf32-a165-4495-a70b-f662535ecd1d
2025-08-26 16:21:32,385 - DEBUG - VM ctest-vn1-vm1-19592766 launched on Node cn-jenkins-deploy-platform-ansible-os-3942-1
2025-08-26 16:21:32,453 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/563cdf32-a165-4495-a70b-f662535ecd1d
2025-08-26 16:21:32,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/563cdf32-a165-4495-a70b-f662535ecd1d
2025-08-26 16:21:32,814 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/44dc2e18-04cd-45bd-a2b6-3384ab6bcea7
2025-08-26 16:21:36,060 - 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 1014ms')
2025-08-26 16:21:36,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19592766 failed!
2025-08-26 16:21:36,114 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-10725009:ctest-vn1-79946774 is 146.251.54.1 and allocation pool is NOT set
2025-08-26 16:21:38,172 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.953 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.953/2.609/4.265/1.656 ms')
2025-08-26 16:21:38,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-19592766 passed
2025-08-26 16:21:38,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:38,326 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-19592766, IP 146.251.54.3, Port 22
2025-08-26 16:21:38,485 - DEBUG - VM ctest-vn1-vm1-19592766 is ready for SSH connections
2025-08-26 16:21:38,485 - INFO - Waiting for VM ctest-vn2-vm1-74392073 to be up..
2025-08-26 16:21:38,557 - DEBUG - VM is in ACTIVE state now
2025-08-26 16:21:38,557 - INFO - VM name : ctest-vn2-vm1-74392073
2025-08-26 16:21:38,626 - DEBUG - VM ctest-vn2-vm1-74392073 ID is e0459f1c-7f98-4314-bdf0-14d29d23ac5c
2025-08-26 16:21:38,626 - DEBUG - VM ctest-vn2-vm1-74392073 launched on Node cn-jenkins-deploy-platform-ansible-os-3942-1
2025-08-26 16:21:38,706 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e0459f1c-7f98-4314-bdf0-14d29d23ac5c
2025-08-26 16:21:38,715 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c6245288-6164-47aa-b0d9-98a57bc39a48
2025-08-26 16:21:39,960 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.08 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 = 1.082/2.631/4.181/1.549 ms')
2025-08-26 16:21:39,960 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-74392073 passed
2025-08-26 16:21:40,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:40,166 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-74392073, IP 189.167.107.3, Port 22
2025-08-26 16:21:40,331 - DEBUG - VM ctest-vn2-vm1-74392073 is ready for SSH connections
2025-08-26 16:21:40,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:40,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.167.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-26 16:21:40,332 - DEBUG - ping -s 56 -c 3 -W 1 189.167.107.3
2025-08-26 16:21:45,343 - DEBUG - PING 189.167.107.3 (189.167.107.3): 56 data bytes
--- 189.167.107.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-26 16:21:45,343 - WARNING - Ping to IP 189.167.107.3 from VM ctest-vn1-vm1-19592766 failed
2025-08-26 16:21:45,343 - INFO - Adding interface with subnet_id f55029d4-28c5-4272-ba06-11bb9189eeba, port_id None to router 050b0d57-5058-4810-94f5-66ba3cc8f16d
2025-08-26 16:21:45,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:45,587 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.167.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-26 16:21:45,587 - DEBUG - ping -s 56 -c 3 -W 1 189.167.107.3
2025-08-26 16:21:48,807 - DEBUG - PING 189.167.107.3 (189.167.107.3): 56 data bytes
64 bytes from 189.167.107.3: seq=1 ttl=63 time=3.434 ms
64 bytes from 189.167.107.3: seq=2 ttl=63 time=1.107 ms
--- 189.167.107.3 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 1.107/2.270/3.434 ms
2025-08-26 16:21:48,807 - WARNING - Ping to IP 189.167.107.3 from VM ctest-vn1-vm1-19592766 failed
2025-08-26 16:21:49,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.167.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-26 16:21:49,808 - DEBUG - ping -s 56 -c 3 -W 1 189.167.107.3
2025-08-26 16:21:52,037 - DEBUG - PING 189.167.107.3 (189.167.107.3): 56 data bytes
64 bytes from 189.167.107.3: seq=0 ttl=63 time=1.374 ms
64 bytes from 189.167.107.3: seq=1 ttl=63 time=0.784 ms
64 bytes from 189.167.107.3: seq=2 ttl=63 time=0.907 ms
--- 189.167.107.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.784/1.021/1.374 ms
2025-08-26 16:21:52,037 - INFO - Ping to IP 189.167.107.3 from VM ctest-vn1-vm1-19592766 passed
2025-08-26 16:21:52,037 - INFO - Deleting interface with subnet_id 9314dd73-13af-4dea-8fee-b1dc1a310244, port_id None from router 050b0d57-5058-4810-94f5-66ba3cc8f16d
2025-08-26 16:21:52,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:52,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.167.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-26 16:21:52,145 - DEBUG - ping -s 56 -c 3 -W 1 189.167.107.3
2025-08-26 16:21:55,358 - DEBUG - PING 189.167.107.3 (189.167.107.3): 56 data bytes
--- 189.167.107.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-08-26 16:21:55,359 - WARNING - Ping to IP 189.167.107.3 from VM ctest-vn1-vm1-19592766 failed
2025-08-26 16:21:55,359 - INFO - Adding interface with subnet_id 9314dd73-13af-4dea-8fee-b1dc1a310244, port_id None to router 050b0d57-5058-4810-94f5-66ba3cc8f16d
2025-08-26 16:21:55,589 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-26 16:21:55,589 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 189.167.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-26 16:21:55,590 - DEBUG - ping -s 56 -c 3 -W 1 189.167.107.3
2025-08-26 16:21:57,820 - DEBUG - PING 189.167.107.3 (189.167.107.3): 56 data bytes
64 bytes from 189.167.107.3: seq=0 ttl=63 time=1.407 ms
64 bytes from 189.167.107.3: seq=1 ttl=63 time=0.837 ms
64 bytes from 189.167.107.3: seq=2 ttl=63 time=0.860 ms
--- 189.167.107.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.837/1.034/1.407 ms
2025-08-26 16:21:57,820 - INFO - Ping to IP 189.167.107.3 from VM ctest-vn1-vm1-19592766 passed
2025-08-26 16:21:57,820 - INFO - Deleting interface with subnet_id f55029d4-28c5-4272-ba06-11bb9189eeba, port_id None from router 050b0d57-5058-4810-94f5-66ba3cc8f16d
2025-08-26 16:21:57,936 - INFO - Deleting interface with subnet_id 9314dd73-13af-4dea-8fee-b1dc1a310244, port_id None from router 050b0d57-5058-4810-94f5-66ba3cc8f16d
2025-08-26 16:21:58,116 - INFO - Deleting VM ctest-vn2-vm1-74392073
2025-08-26 16:21:58,186 - INFO - Deleting VM ctest-vn1-vm1-19592766
2025-08-26 16:21:58,253 - INFO - Deleting VN ctest-vn2-07347845
2025-08-26 16:21:58,291 - DEBUG - VN c3755c59-fff8-4034-b34a-16f2ccf56eac still in use: Unable to complete operation on network c3755c59-fff8-4034-b34a-16f2ccf56eac. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-bd14b25f-8368-48da-9ecf-2eee7090a384']
2025-08-26 16:21:58,292 - WARNING - Deleting VN ctest-vn2-07347845 failed..Will retry
2025-08-26 16:22:00,380 - DEBUG - Response for deleting network ()
2025-08-26 16:22:00,380 - INFO - Deleting VN ctest-vn1-79946774
2025-08-26 16:22:00,485 - DEBUG - Response for deleting network ()
2025-08-26 16:22:00,739 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 16:22:00,739 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-08-26 16:22:00,739 - INFO - --------------------------------------------------------------------------------
2025-08-26 16:22:01,445 - INFO - Deleted project: ctest-TestRouters-10725009, ID : a7975343-862d-40c5-9711-e821f2f25e39