2025-10-24 07:09:04,903 - INFO - Domain Default found not creating
2025-10-24 07:09:05,035 - INFO - Project ctest-TestRouters-56417252 not found, creating it
2025-10-24 07:09:05,482 - INFO - Created Project:ctest-TestRouters-56417252, ID : 510a91c0-2350-4250-a75c-338d486e8430
2025-10-24 07:09:07,014 - INFO - ================================================================================
2025-10-24 07:09:07,014 - INFO - STARTING TEST : test_basic_router_behavior
2025-10-24 07:09:07,014 - 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-24 07:09:07,275 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-10-24 07:09:07,276 - INFO - Initial checks done. Running the testcase now
2025-10-24 07:09:07,276 - INFO -
2025-10-24 07:09:07,817 - DEBUG - Response for create_network : {'network': {'id': '4da2c0a7-acdb-4db2-864d-e32f7995991f', 'name': 'ctest-vn1-63670724', 'tenant_id': '510a91c023504250a75c338d486e8430', 'project_id': '510a91c023504250a75c338d486e8430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-56417252', 'ctest-vn1-63670724'], 'port_security_enabled': True, 'description': ''}}
2025-10-24 07:09:07,996 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fb83631-e0ff-498b-b205-06ceae40073d', 'name': '', 'tenant_id': '510a91c023504250a75c338d486e8430', 'network_id': '4da2c0a7-acdb-4db2-864d-e32f7995991f', 'ip_version': 4, 'cidr': '65.24.9.128/26', 'allocation_pools': [{'start': '65.24.9.130', 'end': '65.24.9.190'}], 'gateway_ip': '65.24.9.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.24.9.130', 'tags': [], 'project_id': '510a91c023504250a75c338d486e8430'}}
2025-10-24 07:09:08,011 - INFO - Created VN ctest-vn1-63670724
2025-10-24 07:09:08,061 - DEBUG - VN ctest-vn1-63670724 UUID is 4da2c0a7-acdb-4db2-864d-e32f7995991f
2025-10-24 07:09:08,417 - DEBUG - Response for create_network : {'network': {'id': '25e91227-bc98-4365-b668-94884fc97da7', 'name': 'ctest-vn2-24713411', 'tenant_id': '510a91c023504250a75c338d486e8430', 'project_id': '510a91c023504250a75c338d486e8430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-56417252', 'ctest-vn2-24713411'], 'port_security_enabled': True, 'description': ''}}
2025-10-24 07:09:08,637 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c34d5517-700a-49cc-9dc5-dd73845a2844', 'name': '', 'tenant_id': '510a91c023504250a75c338d486e8430', 'network_id': '25e91227-bc98-4365-b668-94884fc97da7', 'ip_version': 4, 'cidr': '203.164.99.0/26', 'allocation_pools': [{'start': '203.164.99.2', 'end': '203.164.99.62'}], 'gateway_ip': '203.164.99.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.164.99.2', 'tags': [], 'project_id': '510a91c023504250a75c338d486e8430'}}
2025-10-24 07:09:08,653 - INFO - Created VN ctest-vn2-24713411
2025-10-24 07:09:08,705 - DEBUG - VN ctest-vn2-24713411 UUID is 25e91227-bc98-4365-b668-94884fc97da7
2025-10-24 07:09:08,938 - DEBUG - Services list from nova: [, , ]
2025-10-24 07:09:09,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4473-1)
2025-10-24 07:09:11,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4473-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4473-1)
2025-10-24 07:09:11,261 - INFO - Adding interface with subnet_id 0fb83631-e0ff-498b-b205-06ceae40073d, port_id None to router 6217dbb8-df03-4469-b2b1-1f5eef9b6402
2025-10-24 07:09:11,563 - INFO - Waiting for VM ctest-vn1-vm1-15201210 to be up..
2025-10-24 07:09:11,737 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-24 07:09:16,815 - DEBUG - VM is in ACTIVE state now
2025-10-24 07:09:16,815 - INFO - VM name : ctest-vn1-vm1-15201210
2025-10-24 07:09:16,901 - DEBUG - VM ctest-vn1-vm1-15201210 ID is 6f7a13f5-17d9-4dd7-bf5b-477aef2f5f66
2025-10-24 07:09:16,922 - DEBUG - VM ctest-vn1-vm1-15201210 launched on Node cn-jenkins-deploy-platform-ansible-os-4473-1
2025-10-24 07:09:16,989 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6f7a13f5-17d9-4dd7-bf5b-477aef2f5f66
2025-10-24 07:09:17,288 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6f7a13f5-17d9-4dd7-bf5b-477aef2f5f66
2025-10-24 07:09:17,320 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/17f5d780-91b6-4b9e-9d78-87f711bd5a62
2025-10-24 07:09:20,578 - 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 1020ms')
2025-10-24 07:09:20,578 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15201210 failed!
2025-10-24 07:09:20,638 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-56417252:ctest-vn1-63670724 is 65.24.9.129 and allocation pool is NOT set
2025-10-24 07:09:22,696 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.63 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 = 2.632/3.023/3.415/0.391 ms')
2025-10-24 07:09:22,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15201210 passed
2025-10-24 07:09:22,854 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 07:09:22,854 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15201210, IP 65.24.9.131, Port 22
2025-10-24 07:09:22,919 - 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-24 07:09:23,019 - DEBUG - VM ctest-vn1-vm1-15201210 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-24 07:09:28,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 07:09:28,020 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15201210, IP 65.24.9.131, Port 22
2025-10-24 07:09:28,177 - DEBUG - VM ctest-vn1-vm1-15201210 is ready for SSH connections
2025-10-24 07:09:28,177 - INFO - Waiting for VM ctest-vn2-vm1-70323520 to be up..
2025-10-24 07:09:28,254 - DEBUG - VM is in ACTIVE state now
2025-10-24 07:09:28,254 - INFO - VM name : ctest-vn2-vm1-70323520
2025-10-24 07:09:28,322 - DEBUG - VM ctest-vn2-vm1-70323520 ID is 131a3b76-ebe2-4c04-af3d-0e56df7c0e63
2025-10-24 07:09:28,322 - DEBUG - VM ctest-vn2-vm1-70323520 launched on Node cn-jenkins-deploy-platform-ansible-os-4473-1
2025-10-24 07:09:28,391 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/131a3b76-ebe2-4c04-af3d-0e56df7c0e63
2025-10-24 07:09:28,400 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3d7ab5b5-1213-42e4-80b2-294b2fcc875c
2025-10-24 07:09:29,636 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.736/3.088/1.351 ms')
2025-10-24 07:09:29,636 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-70323520 passed
2025-10-24 07:09:29,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 07:09:29,789 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-70323520, IP 203.164.99.3, Port 22
2025-10-24 07:09:29,949 - DEBUG - VM ctest-vn2-vm1-70323520 is ready for SSH connections
2025-10-24 07:09:29,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 07:09:29,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.164.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-24 07:09:29,949 - DEBUG - ping -s 56 -c 3 -W 1 203.164.99.3
2025-10-24 07:09:35,105 - DEBUG - PING 203.164.99.3 (203.164.99.3): 56 data bytes
--- 203.164.99.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-24 07:09:35,105 - WARNING - Ping to IP 203.164.99.3 from VM ctest-vn1-vm1-15201210 failed
2025-10-24 07:09:35,105 - INFO - Adding interface with subnet_id c34d5517-700a-49cc-9dc5-dd73845a2844, port_id None to router 6217dbb8-df03-4469-b2b1-1f5eef9b6402
2025-10-24 07:09:35,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 07:09:35,341 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.164.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-24 07:09:35,341 - DEBUG - ping -s 56 -c 3 -W 1 203.164.99.3
2025-10-24 07:09:38,577 - DEBUG - PING 203.164.99.3 (203.164.99.3): 56 data bytes
64 bytes from 203.164.99.3: seq=1 ttl=63 time=3.128 ms
64 bytes from 203.164.99.3: seq=2 ttl=63 time=0.759 ms
--- 203.164.99.3 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.759/1.943/3.128 ms
2025-10-24 07:09:38,577 - WARNING - Ping to IP 203.164.99.3 from VM ctest-vn1-vm1-15201210 failed
2025-10-24 07:09:39,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.164.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-24 07:09:39,578 - DEBUG - ping -s 56 -c 3 -W 1 203.164.99.3
2025-10-24 07:09:41,791 - DEBUG - PING 203.164.99.3 (203.164.99.3): 56 data bytes
64 bytes from 203.164.99.3: seq=0 ttl=63 time=1.537 ms
64 bytes from 203.164.99.3: seq=1 ttl=63 time=0.903 ms
64 bytes from 203.164.99.3: seq=2 ttl=63 time=0.725 ms
--- 203.164.99.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.725/1.055/1.537 ms
2025-10-24 07:09:41,791 - INFO - Ping to IP 203.164.99.3 from VM ctest-vn1-vm1-15201210 passed
2025-10-24 07:09:41,791 - INFO - Deleting interface with subnet_id 0fb83631-e0ff-498b-b205-06ceae40073d, port_id None from router 6217dbb8-df03-4469-b2b1-1f5eef9b6402
2025-10-24 07:09:41,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 07:09:41,900 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.164.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-24 07:09:41,900 - DEBUG - ping -s 56 -c 3 -W 1 203.164.99.3
2025-10-24 07:09:45,111 - DEBUG - PING 203.164.99.3 (203.164.99.3): 56 data bytes
--- 203.164.99.3 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-10-24 07:09:45,111 - WARNING - Ping to IP 203.164.99.3 from VM ctest-vn1-vm1-15201210 failed
2025-10-24 07:09:45,112 - INFO - Adding interface with subnet_id 0fb83631-e0ff-498b-b205-06ceae40073d, port_id None to router 6217dbb8-df03-4469-b2b1-1f5eef9b6402
2025-10-24 07:09:45,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-24 07:09:45,311 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.164.99.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-24 07:09:45,311 - DEBUG - ping -s 56 -c 3 -W 1 203.164.99.3
2025-10-24 07:09:47,520 - DEBUG - PING 203.164.99.3 (203.164.99.3): 56 data bytes
64 bytes from 203.164.99.3: seq=0 ttl=63 time=1.400 ms
64 bytes from 203.164.99.3: seq=1 ttl=63 time=0.742 ms
64 bytes from 203.164.99.3: seq=2 ttl=63 time=1.159 ms
--- 203.164.99.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.742/1.100/1.400 ms
2025-10-24 07:09:47,521 - INFO - Ping to IP 203.164.99.3 from VM ctest-vn1-vm1-15201210 passed
2025-10-24 07:09:47,521 - INFO - Deleting interface with subnet_id c34d5517-700a-49cc-9dc5-dd73845a2844, port_id None from router 6217dbb8-df03-4469-b2b1-1f5eef9b6402
2025-10-24 07:09:47,636 - INFO - Deleting interface with subnet_id 0fb83631-e0ff-498b-b205-06ceae40073d, port_id None from router 6217dbb8-df03-4469-b2b1-1f5eef9b6402
2025-10-24 07:09:47,827 - INFO - Deleting VM ctest-vn2-vm1-70323520
2025-10-24 07:09:47,906 - INFO - Deleting VM ctest-vn1-vm1-15201210
2025-10-24 07:09:47,983 - INFO - Deleting VN ctest-vn2-24713411
2025-10-24 07:09:48,021 - DEBUG - VN 25e91227-bc98-4365-b668-94884fc97da7 still in use: Unable to complete operation on network 25e91227-bc98-4365-b668-94884fc97da7. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f8387571-a539-4200-b23b-73d439f57861']
2025-10-24 07:09:48,021 - WARNING - Deleting VN ctest-vn2-24713411 failed..Will retry
2025-10-24 07:09:50,109 - DEBUG - Response for deleting network ()
2025-10-24 07:09:50,110 - INFO - Deleting VN ctest-vn1-63670724
2025-10-24 07:09:50,199 - DEBUG - Response for deleting network ()
2025-10-24 07:09:50,454 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 07:09:50,454 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43]
2025-10-24 07:09:50,454 - INFO - --------------------------------------------------------------------------------
2025-10-24 07:09:51,123 - INFO - Deleted project: ctest-TestRouters-56417252, ID : 510a91c0-2350-4250-a75c-338d486e8430