2025-11-15 20:28:27,230 - INFO - Domain Default found not creating 2025-11-15 20:28:27,449 - INFO - Project ctest-TestRouters-87824871 not found, creating it 2025-11-15 20:28:27,909 - INFO - Created Project:ctest-TestRouters-87824871, ID : fc6fc4c7-3107-410f-b318-39304ea4dce3 2025-11-15 20:28:29,361 - INFO - ================================================================================ 2025-11-15 20:28:29,361 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-15 20:28:29,361 - 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-15 20:28:29,618 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-15 20:28:29,618 - INFO - Initial checks done. Running the testcase now 2025-11-15 20:28:29,618 - INFO - 2025-11-15 20:28:30,186 - DEBUG - Response for create_network : {'network': {'id': 'cf08dcf8-f80c-4a21-8e5b-d52f613770d5', 'name': 'ctest-vn1-62363033', 'tenant_id': 'fc6fc4c73107410fb31839304ea4dce3', 'project_id': 'fc6fc4c73107410fb31839304ea4dce3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87824871', 'ctest-vn1-62363033'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 20:28:30,438 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf1a7e3a-6d75-4ccc-a744-90b19efa8d8b', 'name': '', 'tenant_id': 'fc6fc4c73107410fb31839304ea4dce3', 'network_id': 'cf08dcf8-f80c-4a21-8e5b-d52f613770d5', 'ip_version': 4, 'cidr': '157.218.179.64/26', 'allocation_pools': [{'start': '157.218.179.66', 'end': '157.218.179.126'}], 'gateway_ip': '157.218.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.218.179.66', 'tags': [], 'project_id': 'fc6fc4c73107410fb31839304ea4dce3'}} 2025-11-15 20:28:30,455 - INFO - Created VN ctest-vn1-62363033 2025-11-15 20:28:30,505 - DEBUG - VN ctest-vn1-62363033 UUID is cf08dcf8-f80c-4a21-8e5b-d52f613770d5 2025-11-15 20:28:30,840 - DEBUG - Response for create_network : {'network': {'id': '062466c9-bdb6-45cf-81a5-18e3129f92b8', 'name': 'ctest-vn2-70814724', 'tenant_id': 'fc6fc4c73107410fb31839304ea4dce3', 'project_id': 'fc6fc4c73107410fb31839304ea4dce3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87824871', 'ctest-vn2-70814724'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 20:28:31,082 - DEBUG - Response for create_subnet : {'subnet': {'id': '26fa7d7d-703d-4403-9e02-564c9eef3738', 'name': '', 'tenant_id': 'fc6fc4c73107410fb31839304ea4dce3', 'network_id': '062466c9-bdb6-45cf-81a5-18e3129f92b8', 'ip_version': 4, 'cidr': '204.238.84.0/26', 'allocation_pools': [{'start': '204.238.84.2', 'end': '204.238.84.62'}], 'gateway_ip': '204.238.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.238.84.2', 'tags': [], 'project_id': 'fc6fc4c73107410fb31839304ea4dce3'}} 2025-11-15 20:28:31,097 - INFO - Created VN ctest-vn2-70814724 2025-11-15 20:28:31,149 - DEBUG - VN ctest-vn2-70814724 UUID is 062466c9-bdb6-45cf-81a5-18e3129f92b8 2025-11-15 20:28:31,340 - DEBUG - Services list from nova: [, , ] 2025-11-15 20:28:32,411 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4735-1) 2025-11-15 20:28:33,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4735-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4735-1) 2025-11-15 20:28:33,572 - INFO - Adding interface with subnet_id cf1a7e3a-6d75-4ccc-a744-90b19efa8d8b, port_id None to router ea48074d-e6f9-4c0e-b219-173a7e403faf 2025-11-15 20:28:33,826 - INFO - Waiting for VM ctest-vn1-vm1-34950238 to be up.. 2025-11-15 20:28:33,899 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-15 20:28:38,970 - DEBUG - VM is in ACTIVE state now 2025-11-15 20:28:38,971 - INFO - VM name : ctest-vn1-vm1-34950238 2025-11-15 20:28:39,042 - DEBUG - VM ctest-vn1-vm1-34950238 ID is a439a86e-7fa5-4b0e-94c9-aaae2f841595 2025-11-15 20:28:39,063 - DEBUG - VM ctest-vn1-vm1-34950238 launched on Node cn-jenkins-deploy-platform-ansible-os-4735-1 2025-11-15 20:28:39,130 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a439a86e-7fa5-4b0e-94c9-aaae2f841595 2025-11-15 20:28:39,442 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a439a86e-7fa5-4b0e-94c9-aaae2f841595 2025-11-15 20:28:39,479 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7144ba1e-a23f-427f-ba52-e21c15afff46 2025-11-15 20:28:42,724 - 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 1011ms') 2025-11-15 20:28:42,724 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34950238 failed! 2025-11-15 20:28:42,777 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-87824871:ctest-vn1-62363033 is 157.218.179.65 and allocation pool is NOT set 2025-11-15 20:28:44,837 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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 = 0.441/2.054/3.667/1.613 ms') 2025-11-15 20:28:44,837 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34950238 passed 2025-11-15 20:28:44,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:28:44,989 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34950238, IP 157.218.179.67, Port 22 2025-11-15 20:28:45,163 - DEBUG - VM ctest-vn1-vm1-34950238 is ready for SSH connections 2025-11-15 20:28:45,163 - INFO - Waiting for VM ctest-vn2-vm1-63096836 to be up.. 2025-11-15 20:28:45,233 - DEBUG - VM is in ACTIVE state now 2025-11-15 20:28:45,233 - INFO - VM name : ctest-vn2-vm1-63096836 2025-11-15 20:28:45,299 - DEBUG - VM ctest-vn2-vm1-63096836 ID is 717ce2e6-b683-46e4-90a6-7ea904bb9486 2025-11-15 20:28:45,300 - DEBUG - VM ctest-vn2-vm1-63096836 launched on Node cn-jenkins-deploy-platform-ansible-os-4735-1 2025-11-15 20:28:45,366 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/717ce2e6-b683-46e4-90a6-7ea904bb9486 2025-11-15 20:28:45,373 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2bb40154-6715-4f99-8ff1-8f52190d293b 2025-11-15 20:28:46,607 - 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=2.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.499 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.499/1.290/2.082/0.791 ms') 2025-11-15 20:28:46,607 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-63096836 passed 2025-11-15 20:28:46,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:28:46,761 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63096836, IP 204.238.84.3, Port 22 2025-11-15 20:28:46,924 - DEBUG - VM ctest-vn2-vm1-63096836 is ready for SSH connections 2025-11-15 20:28:46,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:28:46,925 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.238.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-15 20:28:46,925 - DEBUG - ping -s 56 -c 3 -W 1 204.238.84.3 2025-11-15 20:28:51,591 - DEBUG - PING 204.238.84.3 (204.238.84.3): 56 data bytes --- 204.238.84.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-15 20:28:51,592 - WARNING - Ping to IP 204.238.84.3 from VM ctest-vn1-vm1-34950238 failed 2025-11-15 20:28:51,592 - INFO - Adding interface with subnet_id 26fa7d7d-703d-4403-9e02-564c9eef3738, port_id None to router ea48074d-e6f9-4c0e-b219-173a7e403faf 2025-11-15 20:28:51,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:28:51,801 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.238.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-15 20:28:51,801 - DEBUG - ping -s 56 -c 3 -W 1 204.238.84.3 2025-11-15 20:28:55,013 - DEBUG - PING 204.238.84.3 (204.238.84.3): 56 data bytes 64 bytes from 204.238.84.3: seq=1 ttl=63 time=2.676 ms 64 bytes from 204.238.84.3: seq=2 ttl=63 time=1.007 ms --- 204.238.84.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.007/1.841/2.676 ms 2025-11-15 20:28:55,013 - WARNING - Ping to IP 204.238.84.3 from VM ctest-vn1-vm1-34950238 failed 2025-11-15 20:28:56,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.238.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-15 20:28:56,013 - DEBUG - ping -s 56 -c 3 -W 1 204.238.84.3 2025-11-15 20:28:58,217 - DEBUG - PING 204.238.84.3 (204.238.84.3): 56 data bytes 64 bytes from 204.238.84.3: seq=0 ttl=63 time=1.731 ms 64 bytes from 204.238.84.3: seq=1 ttl=63 time=0.739 ms 64 bytes from 204.238.84.3: seq=2 ttl=63 time=0.776 ms --- 204.238.84.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.739/1.082/1.731 ms 2025-11-15 20:28:58,217 - INFO - Ping to IP 204.238.84.3 from VM ctest-vn1-vm1-34950238 passed 2025-11-15 20:28:58,217 - INFO - Deleting interface with subnet_id cf1a7e3a-6d75-4ccc-a744-90b19efa8d8b, port_id None from router ea48074d-e6f9-4c0e-b219-173a7e403faf 2025-11-15 20:28:58,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:28:58,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.238.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-15 20:28:58,320 - DEBUG - ping -s 56 -c 3 -W 1 204.238.84.3 2025-11-15 20:29:01,529 - DEBUG - PING 204.238.84.3 (204.238.84.3): 56 data bytes --- 204.238.84.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-15 20:29:01,529 - WARNING - Ping to IP 204.238.84.3 from VM ctest-vn1-vm1-34950238 failed 2025-11-15 20:29:01,529 - INFO - Adding interface with subnet_id cf1a7e3a-6d75-4ccc-a744-90b19efa8d8b, port_id None to router ea48074d-e6f9-4c0e-b219-173a7e403faf 2025-11-15 20:29:01,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 20:29:01,762 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.238.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-15 20:29:01,762 - DEBUG - ping -s 56 -c 3 -W 1 204.238.84.3 2025-11-15 20:29:03,963 - DEBUG - PING 204.238.84.3 (204.238.84.3): 56 data bytes 64 bytes from 204.238.84.3: seq=0 ttl=63 time=1.542 ms 64 bytes from 204.238.84.3: seq=1 ttl=63 time=1.012 ms 64 bytes from 204.238.84.3: seq=2 ttl=63 time=0.769 ms --- 204.238.84.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.107/1.542 ms 2025-11-15 20:29:03,964 - INFO - Ping to IP 204.238.84.3 from VM ctest-vn1-vm1-34950238 passed 2025-11-15 20:29:03,964 - INFO - Deleting interface with subnet_id 26fa7d7d-703d-4403-9e02-564c9eef3738, port_id None from router ea48074d-e6f9-4c0e-b219-173a7e403faf 2025-11-15 20:29:04,074 - INFO - Deleting interface with subnet_id cf1a7e3a-6d75-4ccc-a744-90b19efa8d8b, port_id None from router ea48074d-e6f9-4c0e-b219-173a7e403faf 2025-11-15 20:29:04,222 - INFO - Deleting VM ctest-vn2-vm1-63096836 2025-11-15 20:29:04,290 - INFO - Deleting VM ctest-vn1-vm1-34950238 2025-11-15 20:29:04,360 - INFO - Deleting VN ctest-vn2-70814724 2025-11-15 20:29:04,397 - DEBUG - VN 062466c9-bdb6-45cf-81a5-18e3129f92b8 still in use: Unable to complete operation on network 062466c9-bdb6-45cf-81a5-18e3129f92b8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-78920cde-210b-4c7a-8edd-1a59b7704ae4'] 2025-11-15 20:29:04,397 - WARNING - Deleting VN ctest-vn2-70814724 failed..Will retry 2025-11-15 20:29:06,506 - DEBUG - Response for deleting network () 2025-11-15 20:29:06,506 - INFO - Deleting VN ctest-vn1-62363033 2025-11-15 20:29:06,613 - DEBUG - Response for deleting network () 2025-11-15 20:29:06,878 - DEBUG - No XMPP flaps were noticed during the test 2025-11-15 20:29:06,878 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-15 20:29:06,878 - INFO - -------------------------------------------------------------------------------- 2025-11-15 20:29:07,559 - INFO - Deleted project: ctest-TestRouters-87824871, ID : fc6fc4c7-3107-410f-b318-39304ea4dce3