2025-09-04 20:01:30,963 - INFO - Domain Default found not creating 2025-09-04 20:01:31,248 - INFO - Project ctest-TestRouters-71751062 not found, creating it 2025-09-04 20:01:31,835 - INFO - Created Project:ctest-TestRouters-71751062, ID : 55287657-c5e2-4020-918a-4f9d616940e9 2025-09-04 20:01:33,717 - INFO - ================================================================================ 2025-09-04 20:01:33,718 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-04 20:01:33,718 - 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-09-04 20:01:34,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-04 20:01:34,002 - INFO - Initial checks done. Running the testcase now 2025-09-04 20:01:34,003 - INFO - 2025-09-04 20:01:34,822 - DEBUG - Response for create_network : {'network': {'id': '8885e4b7-c8d1-4f61-907c-722bbc89a5fc', 'name': 'ctest-vn1-76108513', 'tenant_id': '55287657c5e24020918a4f9d616940e9', 'project_id': '55287657c5e24020918a4f9d616940e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71751062', 'ctest-vn1-76108513'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:01:35,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '140d0864-a51a-4569-94ec-5c53bf68442f', 'name': '', 'tenant_id': '55287657c5e24020918a4f9d616940e9', 'network_id': '8885e4b7-c8d1-4f61-907c-722bbc89a5fc', 'ip_version': 4, 'cidr': '84.98.144.0/26', 'allocation_pools': [{'start': '84.98.144.2', 'end': '84.98.144.62'}], 'gateway_ip': '84.98.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.98.144.2', 'tags': [], 'project_id': '55287657c5e24020918a4f9d616940e9'}} 2025-09-04 20:01:35,069 - INFO - Created VN ctest-vn1-76108513 2025-09-04 20:01:35,124 - DEBUG - VN ctest-vn1-76108513 UUID is 8885e4b7-c8d1-4f61-907c-722bbc89a5fc 2025-09-04 20:01:35,518 - DEBUG - Response for create_network : {'network': {'id': 'f33b0d5f-4a64-4e2b-9e05-6fb2a40d70f9', 'name': 'ctest-vn2-79891605', 'tenant_id': '55287657c5e24020918a4f9d616940e9', 'project_id': '55287657c5e24020918a4f9d616940e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71751062', 'ctest-vn2-79891605'], 'port_security_enabled': True, 'description': ''}} 2025-09-04 20:01:35,759 - DEBUG - Response for create_subnet : {'subnet': {'id': '805760fa-4cc1-4804-8fa2-3bc2ada4d338', 'name': '', 'tenant_id': '55287657c5e24020918a4f9d616940e9', 'network_id': 'f33b0d5f-4a64-4e2b-9e05-6fb2a40d70f9', 'ip_version': 4, 'cidr': '207.234.39.64/26', 'allocation_pools': [{'start': '207.234.39.66', 'end': '207.234.39.126'}], 'gateway_ip': '207.234.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '207.234.39.66', 'tags': [], 'project_id': '55287657c5e24020918a4f9d616940e9'}} 2025-09-04 20:01:35,779 - INFO - Created VN ctest-vn2-79891605 2025-09-04 20:01:35,832 - DEBUG - VN ctest-vn2-79891605 UUID is f33b0d5f-4a64-4e2b-9e05-6fb2a40d70f9 2025-09-04 20:01:36,073 - DEBUG - Services list from nova: [, , ] 2025-09-04 20:01:37,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4019-1) 2025-09-04 20:01:38,724 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4019-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4019-1) 2025-09-04 20:01:38,794 - INFO - Adding interface with subnet_id 140d0864-a51a-4569-94ec-5c53bf68442f, port_id None to router ab9ed425-c4e6-49ae-a676-943f23ebd661 2025-09-04 20:01:39,038 - INFO - Waiting for VM ctest-vn1-vm1-72947005 to be up.. 2025-09-04 20:01:39,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-04 20:01:44,234 - DEBUG - VM is in ACTIVE state now 2025-09-04 20:01:44,234 - INFO - VM name : ctest-vn1-vm1-72947005 2025-09-04 20:01:44,341 - DEBUG - VM ctest-vn1-vm1-72947005 ID is 305cd8f4-fdfb-4bbe-8aef-5747d0cfb8b1 2025-09-04 20:01:44,364 - DEBUG - VM ctest-vn1-vm1-72947005 launched on Node cn-jenkins-deploy-platform-ansible-os-4019-1 2025-09-04 20:01:44,459 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/305cd8f4-fdfb-4bbe-8aef-5747d0cfb8b1 2025-09-04 20:01:44,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/305cd8f4-fdfb-4bbe-8aef-5747d0cfb8b1 2025-09-04 20:01:44,856 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1321ff07-4236-49cc-8d82-47dfff266dd5 2025-09-04 20:01:48,171 - 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 1010ms') 2025-09-04 20:01:48,172 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72947005 failed! 2025-09-04 20:01:48,249 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-71751062:ctest-vn1-76108513 is 84.98.144.1 and allocation pool is NOT set 2025-09-04 20:01:50,318 - 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=4.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.719 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.719/2.845/4.971/2.126 ms') 2025-09-04 20:01:50,318 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72947005 passed 2025-09-04 20:01:50,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:01:50,464 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72947005, IP 84.98.144.3, Port 22 2025-09-04 20:01:50,531 - 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-09-04 20:01:50,635 - DEBUG - VM ctest-vn1-vm1-72947005 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-04 20:01:55,636 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:01:55,637 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72947005, IP 84.98.144.3, Port 22 2025-09-04 20:01:55,831 - DEBUG - VM ctest-vn1-vm1-72947005 is ready for SSH connections 2025-09-04 20:01:55,831 - INFO - Waiting for VM ctest-vn2-vm1-07933851 to be up.. 2025-09-04 20:01:55,994 - DEBUG - VM is in ACTIVE state now 2025-09-04 20:01:55,994 - INFO - VM name : ctest-vn2-vm1-07933851 2025-09-04 20:01:56,123 - DEBUG - VM ctest-vn2-vm1-07933851 ID is b2830334-121b-496f-853f-a643418794ee 2025-09-04 20:01:56,123 - DEBUG - VM ctest-vn2-vm1-07933851 launched on Node cn-jenkins-deploy-platform-ansible-os-4019-1 2025-09-04 20:01:56,258 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b2830334-121b-496f-853f-a643418794ee 2025-09-04 20:01:56,278 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f475c819-d986-4726-8861-0a38d078dec4 2025-09-04 20:01:57,581 - 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=12.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.328 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.328/6.252/12.177/5.924 ms') 2025-09-04 20:01:57,581 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-07933851 passed 2025-09-04 20:01:57,744 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:01:57,744 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-07933851, IP 207.234.39.67, Port 22 2025-09-04 20:01:57,958 - DEBUG - VM ctest-vn2-vm1-07933851 is ready for SSH connections 2025-09-04 20:01:57,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:01:57,959 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.234.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 20:01:57,959 - DEBUG - ping -s 56 -c 3 -W 1 207.234.39.67 2025-09-04 20:02:03,360 - DEBUG - PING 207.234.39.67 (207.234.39.67): 56 data bytes --- 207.234.39.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 20:02:03,361 - WARNING - Ping to IP 207.234.39.67 from VM ctest-vn1-vm1-72947005 failed 2025-09-04 20:02:03,361 - INFO - Adding interface with subnet_id 805760fa-4cc1-4804-8fa2-3bc2ada4d338, port_id None to router ab9ed425-c4e6-49ae-a676-943f23ebd661 2025-09-04 20:02:03,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:02:03,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.234.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 20:02:03,767 - DEBUG - ping -s 56 -c 3 -W 1 207.234.39.67 2025-09-04 20:02:06,011 - DEBUG - PING 207.234.39.67 (207.234.39.67): 56 data bytes 64 bytes from 207.234.39.67: seq=0 ttl=63 time=2.579 ms 64 bytes from 207.234.39.67: seq=1 ttl=63 time=1.034 ms 64 bytes from 207.234.39.67: seq=2 ttl=63 time=1.543 ms --- 207.234.39.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.034/1.718/2.579 ms 2025-09-04 20:02:06,011 - INFO - Ping to IP 207.234.39.67 from VM ctest-vn1-vm1-72947005 passed 2025-09-04 20:02:06,012 - INFO - Deleting interface with subnet_id 140d0864-a51a-4569-94ec-5c53bf68442f, port_id None from router ab9ed425-c4e6-49ae-a676-943f23ebd661 2025-09-04 20:02:06,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:02:06,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.234.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 20:02:06,191 - DEBUG - ping -s 56 -c 3 -W 1 207.234.39.67 2025-09-04 20:02:09,406 - DEBUG - PING 207.234.39.67 (207.234.39.67): 56 data bytes --- 207.234.39.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-04 20:02:09,406 - WARNING - Ping to IP 207.234.39.67 from VM ctest-vn1-vm1-72947005 failed 2025-09-04 20:02:09,406 - INFO - Adding interface with subnet_id 140d0864-a51a-4569-94ec-5c53bf68442f, port_id None to router ab9ed425-c4e6-49ae-a676-943f23ebd661 2025-09-04 20:02:09,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-04 20:02:09,647 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 207.234.39.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-04 20:02:09,647 - DEBUG - ping -s 56 -c 3 -W 1 207.234.39.67 2025-09-04 20:02:11,859 - DEBUG - PING 207.234.39.67 (207.234.39.67): 56 data bytes 64 bytes from 207.234.39.67: seq=0 ttl=63 time=3.280 ms 64 bytes from 207.234.39.67: seq=1 ttl=63 time=2.192 ms 64 bytes from 207.234.39.67: seq=2 ttl=63 time=1.390 ms --- 207.234.39.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.390/2.287/3.280 ms 2025-09-04 20:02:11,859 - INFO - Ping to IP 207.234.39.67 from VM ctest-vn1-vm1-72947005 passed 2025-09-04 20:02:11,860 - INFO - Deleting interface with subnet_id 805760fa-4cc1-4804-8fa2-3bc2ada4d338, port_id None from router ab9ed425-c4e6-49ae-a676-943f23ebd661 2025-09-04 20:02:12,075 - INFO - Deleting interface with subnet_id 140d0864-a51a-4569-94ec-5c53bf68442f, port_id None from router ab9ed425-c4e6-49ae-a676-943f23ebd661 2025-09-04 20:02:12,269 - INFO - Deleting VM ctest-vn2-vm1-07933851 2025-09-04 20:02:12,340 - INFO - Deleting VM ctest-vn1-vm1-72947005 2025-09-04 20:02:12,431 - INFO - Deleting VN ctest-vn2-79891605 2025-09-04 20:02:12,487 - DEBUG - VN f33b0d5f-4a64-4e2b-9e05-6fb2a40d70f9 still in use: Unable to complete operation on network f33b0d5f-4a64-4e2b-9e05-6fb2a40d70f9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-75c1adbd-90bc-4dbd-a226-48b5a0e83fd8'] 2025-09-04 20:02:12,487 - WARNING - Deleting VN ctest-vn2-79891605 failed..Will retry 2025-09-04 20:02:14,720 - DEBUG - Response for deleting network () 2025-09-04 20:02:14,721 - INFO - Deleting VN ctest-vn1-76108513 2025-09-04 20:02:14,866 - DEBUG - Response for deleting network () 2025-09-04 20:02:15,172 - DEBUG - No XMPP flaps were noticed during the test 2025-09-04 20:02:15,172 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:42] 2025-09-04 20:02:15,172 - INFO - -------------------------------------------------------------------------------- 2025-09-04 20:02:16,120 - INFO - Deleted project: ctest-TestRouters-71751062, ID : 55287657-c5e2-4020-918a-4f9d616940e9