2025-11-05 08:08:52,949 - INFO - Domain Default found not creating
2025-11-05 08:08:53,103 - INFO - Project ctest-TestRouters-05545392 not found, creating it
2025-11-05 08:08:53,577 - INFO - Created Project:ctest-TestRouters-05545392, ID : a2a45faa-88ed-4be3-abc7-62c1afb287c5
2025-11-05 08:08:55,198 - INFO - ================================================================================
2025-11-05 08:08:55,198 - INFO - STARTING TEST : test_basic_router_behavior
2025-11-05 08:08:55,198 - 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-05 08:08:55,459 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.14': '0'}} with
2025-11-05 08:08:55,459 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:08:55,459 - INFO -
2025-11-05 08:08:56,081 - DEBUG - Response for create_network : {'network': {'id': 'cef5a0db-00d6-43c7-9fa4-26564285760b', 'name': 'ctest-vn1-13522108', 'tenant_id': 'a2a45faa88ed4be3abc762c1afb287c5', 'project_id': 'a2a45faa88ed4be3abc762c1afb287c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05545392', 'ctest-vn1-13522108'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:08:56,267 - DEBUG - Response for create_subnet : {'subnet': {'id': '23dfc65a-e155-4827-afde-d38fcb0c1109', 'name': '', 'tenant_id': 'a2a45faa88ed4be3abc762c1afb287c5', 'network_id': 'cef5a0db-00d6-43c7-9fa4-26564285760b', 'ip_version': 4, 'cidr': '21.218.70.192/26', 'allocation_pools': [{'start': '21.218.70.194', 'end': '21.218.70.254'}], 'gateway_ip': '21.218.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.218.70.194', 'tags': [], 'project_id': 'a2a45faa88ed4be3abc762c1afb287c5'}}
2025-11-05 08:08:56,286 - INFO - Created VN ctest-vn1-13522108
2025-11-05 08:08:56,341 - DEBUG - VN ctest-vn1-13522108 UUID is cef5a0db-00d6-43c7-9fa4-26564285760b
2025-11-05 08:08:56,690 - DEBUG - Response for create_network : {'network': {'id': 'b4aced37-3ffc-4208-8cc7-59ee9b72aa8b', 'name': 'ctest-vn2-70532816', 'tenant_id': 'a2a45faa88ed4be3abc762c1afb287c5', 'project_id': 'a2a45faa88ed4be3abc762c1afb287c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-05545392', 'ctest-vn2-70532816'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:08:56,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '7547bc5b-5a02-449c-bea6-a658a4dae198', 'name': '', 'tenant_id': 'a2a45faa88ed4be3abc762c1afb287c5', 'network_id': 'b4aced37-3ffc-4208-8cc7-59ee9b72aa8b', 'ip_version': 4, 'cidr': '60.243.56.128/26', 'allocation_pools': [{'start': '60.243.56.130', 'end': '60.243.56.190'}], 'gateway_ip': '60.243.56.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.243.56.130', 'tags': [], 'project_id': 'a2a45faa88ed4be3abc762c1afb287c5'}}
2025-11-05 08:08:56,877 - INFO - Created VN ctest-vn2-70532816
2025-11-05 08:08:56,929 - DEBUG - VN ctest-vn2-70532816 UUID is b4aced37-3ffc-4208-8cc7-59ee9b72aa8b
2025-11-05 08:08:57,124 - DEBUG - Services list from nova: [, , ]
2025-11-05 08:08:58,163 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4631-1)
2025-11-05 08:08:59,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4631-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4631-1)
2025-11-05 08:08:59,399 - INFO - Adding interface with subnet_id 23dfc65a-e155-4827-afde-d38fcb0c1109, port_id None to router cc493dc1-7362-4633-8b4c-5a5873e04a7e
2025-11-05 08:08:59,685 - INFO - Waiting for VM ctest-vn1-vm1-92739980 to be up..
2025-11-05 08:08:59,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 08:09:04,842 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:09:04,842 - INFO - VM name : ctest-vn1-vm1-92739980
2025-11-05 08:09:04,913 - DEBUG - VM ctest-vn1-vm1-92739980 ID is 2cf86574-c723-40c1-b576-6642d8ad4f84
2025-11-05 08:09:04,933 - DEBUG - VM ctest-vn1-vm1-92739980 launched on Node cn-jenkins-deploy-platform-ansible-os-4631-1
2025-11-05 08:09:05,000 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/2cf86574-c723-40c1-b576-6642d8ad4f84
2025-11-05 08:09:05,318 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/2cf86574-c723-40c1-b576-6642d8ad4f84
2025-11-05 08:09:05,349 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/3a4e3a25-d87e-46fa-8af5-0dff4c3b3481
2025-11-05 08:09:08,595 - 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=6.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 6.943/6.943/6.943/0.000 ms')
2025-11-05 08:09:08,595 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92739980 passed
2025-11-05 08:09:08,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:09:08,745 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92739980, IP 21.218.70.195, Port 22
2025-11-05 08:09:08,912 - DEBUG - VM ctest-vn1-vm1-92739980 is ready for SSH connections
2025-11-05 08:09:08,912 - INFO - Waiting for VM ctest-vn2-vm1-94101643 to be up..
2025-11-05 08:09:08,985 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:09:08,985 - INFO - VM name : ctest-vn2-vm1-94101643
2025-11-05 08:09:09,061 - DEBUG - VM ctest-vn2-vm1-94101643 ID is aae0cf61-0812-4e4b-bd5c-91aef0e79fb6
2025-11-05 08:09:09,061 - DEBUG - VM ctest-vn2-vm1-94101643 launched on Node cn-jenkins-deploy-platform-ansible-os-4631-1
2025-11-05 08:09:09,139 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/aae0cf61-0812-4e4b-bd5c-91aef0e79fb6
2025-11-05 08:09:09,149 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/94a183c3-300e-44d4-aa8c-3d7f71c58dc2
2025-11-05 08:09:10,402 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 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.479/1.949/3.420/1.470 ms')
2025-11-05 08:09:10,402 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94101643 passed
2025-11-05 08:09:10,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:09:10,557 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94101643, IP 60.243.56.131, Port 22
2025-11-05 08:09:10,717 - DEBUG - VM ctest-vn2-vm1-94101643 is ready for SSH connections
2025-11-05 08:09:10,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:09:10,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.243.56.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-05 08:09:10,717 - DEBUG - ping -s 56 -c 3 -W 1 60.243.56.131
2025-11-05 08:09:15,628 - DEBUG - PING 60.243.56.131 (60.243.56.131): 56 data bytes
--- 60.243.56.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-05 08:09:15,628 - WARNING - Ping to IP 60.243.56.131 from VM ctest-vn1-vm1-92739980 failed
2025-11-05 08:09:15,628 - INFO - Adding interface with subnet_id 7547bc5b-5a02-449c-bea6-a658a4dae198, port_id None to router cc493dc1-7362-4633-8b4c-5a5873e04a7e
2025-11-05 08:09:15,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:09:15,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.243.56.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-05 08:09:15,897 - DEBUG - ping -s 56 -c 3 -W 1 60.243.56.131
2025-11-05 08:09:18,026 - DEBUG - PING 60.243.56.131 (60.243.56.131): 56 data bytes
64 bytes from 60.243.56.131: seq=0 ttl=63 time=3.123 ms
64 bytes from 60.243.56.131: seq=1 ttl=63 time=1.095 ms
64 bytes from 60.243.56.131: seq=2 ttl=63 time=1.222 ms
--- 60.243.56.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.095/1.813/3.123 ms
2025-11-05 08:09:18,027 - INFO - Ping to IP 60.243.56.131 from VM ctest-vn1-vm1-92739980 passed
2025-11-05 08:09:18,027 - INFO - Deleting interface with subnet_id 23dfc65a-e155-4827-afde-d38fcb0c1109, port_id None from router cc493dc1-7362-4633-8b4c-5a5873e04a7e
2025-11-05 08:09:18,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:09:18,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.243.56.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-05 08:09:18,193 - DEBUG - ping -s 56 -c 3 -W 1 60.243.56.131
2025-11-05 08:09:21,319 - DEBUG - PING 60.243.56.131 (60.243.56.131): 56 data bytes
--- 60.243.56.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-11-05 08:09:21,319 - WARNING - Ping to IP 60.243.56.131 from VM ctest-vn1-vm1-92739980 failed
2025-11-05 08:09:21,319 - INFO - Adding interface with subnet_id 23dfc65a-e155-4827-afde-d38fcb0c1109, port_id None to router cc493dc1-7362-4633-8b4c-5a5873e04a7e
2025-11-05 08:09:21,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:09:21,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.243.56.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123
2025-11-05 08:09:21,606 - DEBUG - ping -s 56 -c 3 -W 1 60.243.56.131
2025-11-05 08:09:23,730 - DEBUG - PING 60.243.56.131 (60.243.56.131): 56 data bytes
64 bytes from 60.243.56.131: seq=0 ttl=63 time=1.670 ms
64 bytes from 60.243.56.131: seq=1 ttl=63 time=0.879 ms
64 bytes from 60.243.56.131: seq=2 ttl=63 time=0.735 ms
--- 60.243.56.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.735/1.094/1.670 ms
2025-11-05 08:09:23,730 - INFO - Ping to IP 60.243.56.131 from VM ctest-vn1-vm1-92739980 passed
2025-11-05 08:09:23,730 - INFO - Deleting interface with subnet_id 7547bc5b-5a02-449c-bea6-a658a4dae198, port_id None from router cc493dc1-7362-4633-8b4c-5a5873e04a7e
2025-11-05 08:09:23,846 - INFO - Deleting interface with subnet_id 23dfc65a-e155-4827-afde-d38fcb0c1109, port_id None from router cc493dc1-7362-4633-8b4c-5a5873e04a7e
2025-11-05 08:09:24,025 - INFO - Deleting VM ctest-vn2-vm1-94101643
2025-11-05 08:09:24,089 - INFO - Deleting VM ctest-vn1-vm1-92739980
2025-11-05 08:09:24,157 - INFO - Deleting VN ctest-vn2-70532816
2025-11-05 08:09:24,191 - DEBUG - VN b4aced37-3ffc-4208-8cc7-59ee9b72aa8b still in use: Unable to complete operation on network b4aced37-3ffc-4208-8cc7-59ee9b72aa8b. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-4fb3b7e1-329a-4e87-a6ed-701ea4dd7c77']
2025-11-05 08:09:24,191 - WARNING - Deleting VN ctest-vn2-70532816 failed..Will retry
2025-11-05 08:09:26,292 - DEBUG - Response for deleting network ()
2025-11-05 08:09:26,292 - INFO - Deleting VN ctest-vn1-13522108
2025-11-05 08:09:26,393 - DEBUG - Response for deleting network ()
2025-11-05 08:09:26,647 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:09:26,647 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31]
2025-11-05 08:09:26,647 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:09:27,375 - INFO - Deleted project: ctest-TestRouters-05545392, ID : a2a45faa-88ed-4be3-abc7-62c1afb287c5