2025-10-21 17:48:57,853 - INFO - Domain Default found not creating
2025-10-21 17:48:58,054 - INFO - Project ctest-TestRouters-72645431 not found, creating it
2025-10-21 17:48:58,581 - INFO - Created Project:ctest-TestRouters-72645431, ID : 845e8b02-7de4-4e5a-8019-7ac098ec9e07
2025-10-21 17:49:00,411 - INFO - ================================================================================
2025-10-21 17:49:00,411 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-21 17:49:00,411 - 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-21 17:49:00,695 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.25': '0'}} with
2025-10-21 17:49:00,695 - INFO - Initial checks done. Running the testcase now
2025-10-21 17:49:00,695 - INFO -
2025-10-21 17:49:01,359 - DEBUG - Response for create_network : {'network': {'id': '3ac537b3-b88a-4395-891b-1e58ab1f6981', 'name': 'ctest-vn1-30397405', 'tenant_id': '845e8b027de44e5a80197ac098ec9e07', 'project_id': '845e8b027de44e5a80197ac098ec9e07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72645431', 'ctest-vn1-30397405'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 17:49:01,614 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d193006-9840-4825-9f51-a6ddf286d2ca', 'name': '', 'tenant_id': '845e8b027de44e5a80197ac098ec9e07', 'network_id': '3ac537b3-b88a-4395-891b-1e58ab1f6981', 'ip_version': 4, 'cidr': '65.156.13.128/26', 'allocation_pools': [{'start': '65.156.13.130', 'end': '65.156.13.190'}], 'gateway_ip': '65.156.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.156.13.130', 'tags': [], 'project_id': '845e8b027de44e5a80197ac098ec9e07'}}
2025-10-21 17:49:01,638 - INFO - Created VN ctest-vn1-30397405
2025-10-21 17:49:01,691 - DEBUG - VN ctest-vn1-30397405 UUID is 3ac537b3-b88a-4395-891b-1e58ab1f6981
2025-10-21 17:49:02,055 - DEBUG - Response for create_network : {'network': {'id': '2c79d879-ee37-4ed9-9e14-525890144ccc', 'name': 'ctest-vn2-25652074', 'tenant_id': '845e8b027de44e5a80197ac098ec9e07', 'project_id': '845e8b027de44e5a80197ac098ec9e07', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72645431', 'ctest-vn2-25652074'], 'port_security_enabled': True, 'description': ''}}
2025-10-21 17:49:02,273 - DEBUG - Response for create_subnet : {'subnet': {'id': '64bc9c90-1fa3-4ac0-ae15-f987ccbf8ff6', 'name': '', 'tenant_id': '845e8b027de44e5a80197ac098ec9e07', 'network_id': '2c79d879-ee37-4ed9-9e14-525890144ccc', 'ip_version': 4, 'cidr': '183.217.165.192/26', 'allocation_pools': [{'start': '183.217.165.194', 'end': '183.217.165.254'}], 'gateway_ip': '183.217.165.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.217.165.194', 'tags': [], 'project_id': '845e8b027de44e5a80197ac098ec9e07'}}
2025-10-21 17:49:02,299 - INFO - Created VN ctest-vn2-25652074
2025-10-21 17:49:02,355 - DEBUG - VN ctest-vn2-25652074 UUID is 2c79d879-ee37-4ed9-9e14-525890144ccc
2025-10-21 17:49:02,548 - DEBUG - Services list from nova: [, , ]
2025-10-21 17:49:03,952 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4402-1)
2025-10-21 17:49:05,382 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4402-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4402-1)
2025-10-21 17:49:05,446 - INFO - Adding interface with subnet_id 3d193006-9840-4825-9f51-a6ddf286d2ca, port_id None to router 899e7295-993f-43c6-9efb-aff3bc8b7442
2025-10-21 17:49:05,703 - INFO - Waiting for VM ctest-vn1-vm1-78084005 to be up..
2025-10-21 17:49:05,819 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-21 17:49:10,979 - DEBUG - VM is in ACTIVE state now
2025-10-21 17:49:10,979 - INFO - VM name : ctest-vn1-vm1-78084005
2025-10-21 17:49:11,156 - DEBUG - VM ctest-vn1-vm1-78084005 ID is 18057d6b-5db9-4326-af3d-23d6364e146a
2025-10-21 17:49:11,182 - DEBUG - VM ctest-vn1-vm1-78084005 launched on Node cn-jenkins-deploy-platform-ansible-os-4402-1
2025-10-21 17:49:11,293 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/18057d6b-5db9-4326-af3d-23d6364e146a
2025-10-21 17:49:11,589 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/18057d6b-5db9-4326-af3d-23d6364e146a
2025-10-21 17:49:11,638 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/3a987568-c280-4e5f-a489-43ed71cf64c6
2025-10-21 17:49:14,977 - 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 1012ms')
2025-10-21 17:49:14,977 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78084005 failed!
2025-10-21 17:49:15,031 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-72645431:ctest-vn1-30397405 is 65.156.13.129 and allocation pool is NOT set
2025-10-21 17:49:17,102 - 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.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.33 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 = 1.333/2.531/3.729/1.198 ms')
2025-10-21 17:49:17,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-78084005 passed
2025-10-21 17:49:17,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:49:17,276 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78084005, IP 65.156.13.131, Port 22
2025-10-21 17:49:17,358 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-21 17:49:17,538 - DEBUG - VM ctest-vn1-vm1-78084005 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-21 17:49:22,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:49:22,539 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-78084005, IP 65.156.13.131, Port 22
2025-10-21 17:49:22,739 - DEBUG - VM ctest-vn1-vm1-78084005 is ready for SSH connections
2025-10-21 17:49:22,739 - INFO - Waiting for VM ctest-vn2-vm1-47733666 to be up..
2025-10-21 17:49:22,892 - DEBUG - VM is in ACTIVE state now
2025-10-21 17:49:22,892 - INFO - VM name : ctest-vn2-vm1-47733666
2025-10-21 17:49:23,023 - DEBUG - VM ctest-vn2-vm1-47733666 ID is fc88bd89-815c-466f-ad59-4bda652dde0c
2025-10-21 17:49:23,023 - DEBUG - VM ctest-vn2-vm1-47733666 launched on Node cn-jenkins-deploy-platform-ansible-os-4402-1
2025-10-21 17:49:23,161 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/fc88bd89-815c-466f-ad59-4bda652dde0c
2025-10-21 17:49:23,172 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/c9fece90-6ed6-4345-8900-c3e9246132a3
2025-10-21 17:49:24,467 - 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=8.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.445/4.512/8.580/4.067 ms')
2025-10-21 17:49:24,467 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-47733666 passed
2025-10-21 17:49:24,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:49:24,627 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-47733666, IP 183.217.165.195, Port 22
2025-10-21 17:49:24,808 - DEBUG - VM ctest-vn2-vm1-47733666 is ready for SSH connections
2025-10-21 17:49:24,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:49:24,809 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.217.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-21 17:49:24,809 - DEBUG - ping -s 56 -c 3 -W 1 183.217.165.195
2025-10-21 17:49:30,309 - DEBUG - PING 183.217.165.195 (183.217.165.195): 56 data bytes
--- 183.217.165.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-21 17:49:30,310 - WARNING - Ping to IP 183.217.165.195 from VM ctest-vn1-vm1-78084005 failed
2025-10-21 17:49:30,310 - INFO - Adding interface with subnet_id 64bc9c90-1fa3-4ac0-ae15-f987ccbf8ff6, port_id None to router 899e7295-993f-43c6-9efb-aff3bc8b7442
2025-10-21 17:49:30,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:49:30,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.217.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-21 17:49:30,643 - DEBUG - ping -s 56 -c 3 -W 1 183.217.165.195
2025-10-21 17:49:32,926 - DEBUG - PING 183.217.165.195 (183.217.165.195): 56 data bytes
64 bytes from 183.217.165.195: seq=0 ttl=63 time=2.862 ms
64 bytes from 183.217.165.195: seq=1 ttl=63 time=1.180 ms
64 bytes from 183.217.165.195: seq=2 ttl=63 time=1.939 ms
--- 183.217.165.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.180/1.993/2.862 ms
2025-10-21 17:49:32,927 - INFO - Ping to IP 183.217.165.195 from VM ctest-vn1-vm1-78084005 passed
2025-10-21 17:49:32,927 - INFO - Deleting interface with subnet_id 3d193006-9840-4825-9f51-a6ddf286d2ca, port_id None from router 899e7295-993f-43c6-9efb-aff3bc8b7442
2025-10-21 17:49:33,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:49:33,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.217.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-21 17:49:33,175 - DEBUG - ping -s 56 -c 3 -W 1 183.217.165.195
2025-10-21 17:49:36,474 - DEBUG - PING 183.217.165.195 (183.217.165.195): 56 data bytes
--- 183.217.165.195 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-21 17:49:36,475 - WARNING - Ping to IP 183.217.165.195 from VM ctest-vn1-vm1-78084005 failed
2025-10-21 17:49:36,475 - INFO - Adding interface with subnet_id 3d193006-9840-4825-9f51-a6ddf286d2ca, port_id None to router 899e7295-993f-43c6-9efb-aff3bc8b7442
2025-10-21 17:49:36,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-21 17:49:36,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.217.165.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123
2025-10-21 17:49:36,882 - DEBUG - ping -s 56 -c 3 -W 1 183.217.165.195
2025-10-21 17:49:39,142 - DEBUG - PING 183.217.165.195 (183.217.165.195): 56 data bytes
64 bytes from 183.217.165.195: seq=0 ttl=63 time=1.662 ms
64 bytes from 183.217.165.195: seq=1 ttl=63 time=1.582 ms
64 bytes from 183.217.165.195: seq=2 ttl=63 time=1.635 ms
--- 183.217.165.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.582/1.626/1.662 ms
2025-10-21 17:49:39,142 - INFO - Ping to IP 183.217.165.195 from VM ctest-vn1-vm1-78084005 passed
2025-10-21 17:49:39,143 - INFO - Deleting interface with subnet_id 64bc9c90-1fa3-4ac0-ae15-f987ccbf8ff6, port_id None from router 899e7295-993f-43c6-9efb-aff3bc8b7442
2025-10-21 17:49:39,389 - INFO - Deleting interface with subnet_id 3d193006-9840-4825-9f51-a6ddf286d2ca, port_id None from router 899e7295-993f-43c6-9efb-aff3bc8b7442
2025-10-21 17:49:39,649 - INFO - Deleting VM ctest-vn2-vm1-47733666
2025-10-21 17:49:39,731 - INFO - Deleting VM ctest-vn1-vm1-78084005
2025-10-21 17:49:39,829 - INFO - Deleting VN ctest-vn2-25652074
2025-10-21 17:49:39,878 - DEBUG - VN 2c79d879-ee37-4ed9-9e14-525890144ccc still in use: Unable to complete operation on network 2c79d879-ee37-4ed9-9e14-525890144ccc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-189b2aea-17df-432d-8707-e701993f36a2']
2025-10-21 17:49:39,878 - WARNING - Deleting VN ctest-vn2-25652074 failed..Will retry
2025-10-21 17:49:42,064 - DEBUG - Response for deleting network ()
2025-10-21 17:49:42,064 - INFO - Deleting VN ctest-vn1-30397405
2025-10-21 17:49:42,204 - DEBUG - Response for deleting network ()
2025-10-21 17:49:42,511 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 17:49:42,511 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42]
2025-10-21 17:49:42,512 - INFO - --------------------------------------------------------------------------------
2025-10-21 17:49:43,340 - INFO - Deleted project: ctest-TestRouters-72645431, ID : 845e8b02-7de4-4e5a-8019-7ac098ec9e07