2025-11-12 15:29:07,581 - INFO - Domain Default found not creating
2025-11-12 15:29:07,726 - INFO - Project ctest-TestRouters-00357682 not found, creating it
2025-11-12 15:29:08,180 - INFO - Created Project:ctest-TestRouters-00357682, ID : 4ba22fb0-9bc8-45dc-b64b-3f816a97d00d
2025-11-12 15:29:09,841 - INFO - ================================================================================
2025-11-12 15:29:09,841 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-12 15:29:09,841 - 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-11-12 15:29:10,106 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-11-12 15:29:10,106 - INFO - Initial checks done. Running the testcase now
2025-11-12 15:29:10,106 - INFO -
2025-11-12 15:29:10,757 - DEBUG - Response for create_network : {'network': {'id': 'a140358b-1468-4b37-b89b-3a55ca0232f0', 'name': 'ctest-vn1-12295184', 'tenant_id': '4ba22fb09bc845dcb64b3f816a97d00d', 'project_id': '4ba22fb09bc845dcb64b3f816a97d00d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00357682', 'ctest-vn1-12295184'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 15:29:10,940 - DEBUG - Response for create_subnet : {'subnet': {'id': '15385fa7-3ce3-44c8-a923-ef7140df6508', 'name': '', 'tenant_id': '4ba22fb09bc845dcb64b3f816a97d00d', 'network_id': 'a140358b-1468-4b37-b89b-3a55ca0232f0', 'ip_version': 4, 'cidr': '213.249.103.128/26', 'allocation_pools': [{'start': '213.249.103.130', 'end': '213.249.103.190'}], 'gateway_ip': '213.249.103.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.249.103.130', 'tags': [], 'project_id': '4ba22fb09bc845dcb64b3f816a97d00d'}}
2025-11-12 15:29:10,959 - INFO - Created VN ctest-vn1-12295184
2025-11-12 15:29:11,013 - DEBUG - VN ctest-vn1-12295184 UUID is a140358b-1468-4b37-b89b-3a55ca0232f0
2025-11-12 15:29:11,354 - DEBUG - Response for create_network : {'network': {'id': '36f18121-8175-4129-a375-4913a4fe1942', 'name': 'ctest-vn2-13650859', 'tenant_id': '4ba22fb09bc845dcb64b3f816a97d00d', 'project_id': '4ba22fb09bc845dcb64b3f816a97d00d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-00357682', 'ctest-vn2-13650859'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 15:29:11,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '8031a098-3541-4845-ac80-df870af84ab1', 'name': '', 'tenant_id': '4ba22fb09bc845dcb64b3f816a97d00d', 'network_id': '36f18121-8175-4129-a375-4913a4fe1942', 'ip_version': 4, 'cidr': '123.41.116.128/26', 'allocation_pools': [{'start': '123.41.116.130', 'end': '123.41.116.190'}], 'gateway_ip': '123.41.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.41.116.130', 'tags': [], 'project_id': '4ba22fb09bc845dcb64b3f816a97d00d'}}
2025-11-12 15:29:11,536 - INFO - Created VN ctest-vn2-13650859
2025-11-12 15:29:11,589 - DEBUG - VN ctest-vn2-13650859 UUID is 36f18121-8175-4129-a375-4913a4fe1942
2025-11-12 15:29:11,787 - DEBUG - Services list from nova: [, , ]
2025-11-12 15:29:12,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4706-1)
2025-11-12 15:29:14,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4706-1)
2025-11-12 15:29:14,226 - INFO - Adding interface with subnet_id 15385fa7-3ce3-44c8-a923-ef7140df6508, port_id None to router 72caa0d8-0c5f-4d44-bc9b-59cae12b5b43
2025-11-12 15:29:14,502 - INFO - Waiting for VM ctest-vn1-vm1-23706569 to be up..
2025-11-12 15:29:14,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 15:29:19,673 - DEBUG - VM is in ACTIVE state now
2025-11-12 15:29:19,673 - INFO - VM name : ctest-vn1-vm1-23706569
2025-11-12 15:29:19,751 - DEBUG - VM ctest-vn1-vm1-23706569 ID is 2356fda2-aea8-4094-828b-9360fd91ce01
2025-11-12 15:29:19,775 - DEBUG - VM ctest-vn1-vm1-23706569 launched on Node cn-jenkins-deploy-platform-ansible-os-4706-1
2025-11-12 15:29:19,854 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2356fda2-aea8-4094-828b-9360fd91ce01
2025-11-12 15:29:20,222 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2356fda2-aea8-4094-828b-9360fd91ce01
2025-11-12 15:29:20,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ba21a8a7-8c82-416c-85aa-95abaf247539
2025-11-12 15:29:23,510 - 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=2 ttl=63 time=17.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 17.160/17.160/17.160/0.000 ms')
2025-11-12 15:29:23,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23706569 passed
2025-11-12 15:29:23,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 15:29:23,665 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23706569, IP 213.249.103.131, Port 22
2025-11-12 15:29:23,831 - DEBUG - VM ctest-vn1-vm1-23706569 is ready for SSH connections
2025-11-12 15:29:23,831 - INFO - Waiting for VM ctest-vn2-vm1-12584975 to be up..
2025-11-12 15:29:23,909 - DEBUG - VM is in ACTIVE state now
2025-11-12 15:29:23,909 - INFO - VM name : ctest-vn2-vm1-12584975
2025-11-12 15:29:23,978 - DEBUG - VM ctest-vn2-vm1-12584975 ID is 86e9237a-dbf3-4fb6-8e90-771b8a4ff2c8
2025-11-12 15:29:23,979 - DEBUG - VM ctest-vn2-vm1-12584975 launched on Node cn-jenkins-deploy-platform-ansible-os-4706-1
2025-11-12 15:29:24,057 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/86e9237a-dbf3-4fb6-8e90-771b8a4ff2c8
2025-11-12 15:29:24,065 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/06dfa97b-fc64-4675-8b08-103132d973a1
2025-11-12 15:29:25,301 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.931/3.426/1.494 ms')
2025-11-12 15:29:25,301 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-12584975 passed
2025-11-12 15:29:25,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 15:29:25,453 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-12584975, IP 123.41.116.131, Port 22
2025-11-12 15:29:25,619 - DEBUG - VM ctest-vn2-vm1-12584975 is ready for SSH connections
2025-11-12 15:29:25,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 15:29:25,619 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.41.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-12 15:29:25,619 - DEBUG - ping -s 56 -c 3 -W 1 123.41.116.131
2025-11-12 15:29:30,583 - DEBUG - PING 123.41.116.131 (123.41.116.131): 56 data bytes
--- 123.41.116.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-12 15:29:30,583 - WARNING - Ping to IP 123.41.116.131 from VM ctest-vn1-vm1-23706569 failed
2025-11-12 15:29:30,583 - INFO - Adding interface with subnet_id 8031a098-3541-4845-ac80-df870af84ab1, port_id None to router 72caa0d8-0c5f-4d44-bc9b-59cae12b5b43
2025-11-12 15:29:30,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 15:29:30,816 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.41.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-12 15:29:30,816 - DEBUG - ping -s 56 -c 3 -W 1 123.41.116.131
2025-11-12 15:29:33,947 - DEBUG - PING 123.41.116.131 (123.41.116.131): 56 data bytes
64 bytes from 123.41.116.131: seq=1 ttl=63 time=2.799 ms
64 bytes from 123.41.116.131: seq=2 ttl=63 time=0.944 ms
--- 123.41.116.131 ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 0.944/1.871/2.799 ms
2025-11-12 15:29:33,947 - WARNING - Ping to IP 123.41.116.131 from VM ctest-vn1-vm1-23706569 failed
2025-11-12 15:29:34,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.41.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-12 15:29:34,948 - DEBUG - ping -s 56 -c 3 -W 1 123.41.116.131
2025-11-12 15:29:37,069 - DEBUG - PING 123.41.116.131 (123.41.116.131): 56 data bytes
64 bytes from 123.41.116.131: seq=0 ttl=63 time=1.695 ms
64 bytes from 123.41.116.131: seq=1 ttl=63 time=0.967 ms
64 bytes from 123.41.116.131: seq=2 ttl=63 time=0.806 ms
--- 123.41.116.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.806/1.156/1.695 ms
2025-11-12 15:29:37,070 - INFO - Ping to IP 123.41.116.131 from VM ctest-vn1-vm1-23706569 passed
2025-11-12 15:29:37,070 - INFO - Deleting interface with subnet_id 15385fa7-3ce3-44c8-a923-ef7140df6508, port_id None from router 72caa0d8-0c5f-4d44-bc9b-59cae12b5b43
2025-11-12 15:29:37,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 15:29:37,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.41.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-12 15:29:37,191 - DEBUG - ping -s 56 -c 3 -W 1 123.41.116.131
2025-11-12 15:29:40,322 - DEBUG - PING 123.41.116.131 (123.41.116.131): 56 data bytes
--- 123.41.116.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-12 15:29:40,322 - WARNING - Ping to IP 123.41.116.131 from VM ctest-vn1-vm1-23706569 failed
2025-11-12 15:29:40,322 - INFO - Adding interface with subnet_id 15385fa7-3ce3-44c8-a923-ef7140df6508, port_id None to router 72caa0d8-0c5f-4d44-bc9b-59cae12b5b43
2025-11-12 15:29:40,546 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 15:29:40,547 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.41.116.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-11-12 15:29:40,547 - DEBUG - ping -s 56 -c 3 -W 1 123.41.116.131
2025-11-12 15:29:42,670 - DEBUG - PING 123.41.116.131 (123.41.116.131): 56 data bytes
64 bytes from 123.41.116.131: seq=0 ttl=63 time=1.377 ms
64 bytes from 123.41.116.131: seq=1 ttl=63 time=0.993 ms
64 bytes from 123.41.116.131: seq=2 ttl=63 time=0.889 ms
--- 123.41.116.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.889/1.086/1.377 ms
2025-11-12 15:29:42,670 - INFO - Ping to IP 123.41.116.131 from VM ctest-vn1-vm1-23706569 passed
2025-11-12 15:29:42,670 - INFO - Deleting interface with subnet_id 8031a098-3541-4845-ac80-df870af84ab1, port_id None from router 72caa0d8-0c5f-4d44-bc9b-59cae12b5b43
2025-11-12 15:29:42,785 - INFO - Deleting interface with subnet_id 15385fa7-3ce3-44c8-a923-ef7140df6508, port_id None from router 72caa0d8-0c5f-4d44-bc9b-59cae12b5b43
2025-11-12 15:29:42,953 - INFO - Deleting VM ctest-vn2-vm1-12584975
2025-11-12 15:29:43,017 - INFO - Deleting VM ctest-vn1-vm1-23706569
2025-11-12 15:29:43,092 - INFO - Deleting VN ctest-vn2-13650859
2025-11-12 15:29:43,121 - DEBUG - VN 36f18121-8175-4129-a375-4913a4fe1942 still in use: Unable to complete operation on network 36f18121-8175-4129-a375-4913a4fe1942. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-67172525-43b8-438c-8dc2-6f75f4be685c']
2025-11-12 15:29:43,121 - WARNING - Deleting VN ctest-vn2-13650859 failed..Will retry
2025-11-12 15:29:45,229 - DEBUG - Response for deleting network ()
2025-11-12 15:29:45,229 - INFO - Deleting VN ctest-vn1-12295184
2025-11-12 15:29:45,348 - DEBUG - Response for deleting network ()
2025-11-12 15:29:45,603 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 15:29:45,603 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36]
2025-11-12 15:29:45,603 - INFO - --------------------------------------------------------------------------------
2025-11-12 15:29:46,344 - INFO - Deleted project: ctest-TestRouters-00357682, ID : 4ba22fb0-9bc8-45dc-b64b-3f816a97d00d