2025-10-27 01:53:13,610 - INFO - Reading existing Domain with UUID 15e0ce75-9595-48f6-b10e-49e8c56bef44 2025-10-27 01:53:13,625 - INFO - Using existing domain ['admin_domain'](15e0ce75-9595-48f6-b10e-49e8c56bef44) 2025-10-27 01:53:13,877 - INFO - Project ctest-TestRouters-73028251 not found, creating it 2025-10-27 01:53:14,424 - INFO - Created Project:ctest-TestRouters-73028251, ID : 6e1a98d8-a033-4161-9cc2-8030e599d127 2025-10-27 01:53:16,302 - INFO - ================================================================================ 2025-10-27 01:53:16,302 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-27 01:53:16,303 - 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-27 01:53:16,709 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-10-27 01:53:16,710 - INFO - Initial checks done. Running the testcase now 2025-10-27 01:53:16,710 - INFO - 2025-10-27 01:53:17,549 - DEBUG - Response for create_network : {'network': {'id': '9ebe1355-2e66-4048-bdf5-f7753e6c1fc2', 'name': 'ctest-vn1-35275335', 'tenant_id': '6e1a98d8a03341619cc28030e599d127', 'project_id': '6e1a98d8a03341619cc28030e599d127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-73028251', 'ctest-vn1-35275335'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-27 01:53:17,766 - DEBUG - Response for create_subnet : {'subnet': {'id': '90f17212-1aef-465f-b162-385ce2887ec2', 'name': '', 'tenant_id': '6e1a98d8a03341619cc28030e599d127', 'network_id': '9ebe1355-2e66-4048-bdf5-f7753e6c1fc2', 'ip_version': 4, 'cidr': '142.240.28.64/26', 'allocation_pools': [{'start': '142.240.28.66', 'end': '142.240.28.126'}], 'gateway_ip': '142.240.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-27T01:53:17.652154', 'updated_at': '2025-10-27T01:53:17.652154', 'dns_server_address': '142.240.28.66', 'tags': [], 'project_id': '6e1a98d8a03341619cc28030e599d127'}} 2025-10-27 01:53:17,835 - INFO - Created VN ctest-vn1-35275335 2025-10-27 01:53:17,892 - DEBUG - VN ctest-vn1-35275335 UUID is 9ebe1355-2e66-4048-bdf5-f7753e6c1fc2 2025-10-27 01:53:18,420 - DEBUG - Response for create_network : {'network': {'id': 'e8d6629f-e878-47f8-b3a0-81fc32bfeae5', 'name': 'ctest-vn2-21683954', 'tenant_id': '6e1a98d8a03341619cc28030e599d127', 'project_id': '6e1a98d8a03341619cc28030e599d127', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestRouters-73028251', 'ctest-vn2-21683954'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}} 2025-10-27 01:53:18,657 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc9233ab-3bba-49ef-9471-e153a03980ca', 'name': '', 'tenant_id': '6e1a98d8a03341619cc28030e599d127', 'network_id': 'e8d6629f-e878-47f8-b3a0-81fc32bfeae5', 'ip_version': 4, 'cidr': '63.199.59.192/26', 'allocation_pools': [{'start': '63.199.59.194', 'end': '63.199.59.254'}], 'gateway_ip': '63.199.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-27T01:53:18.544986', 'updated_at': '2025-10-27T01:53:18.544986', 'dns_server_address': '63.199.59.194', 'tags': [], 'project_id': '6e1a98d8a03341619cc28030e599d127'}} 2025-10-27 01:53:18,726 - INFO - Created VN ctest-vn2-21683954 2025-10-27 01:53:18,780 - DEBUG - VN ctest-vn2-21683954 UUID is e8d6629f-e878-47f8-b3a0-81fc32bfeae5 2025-10-27 01:53:19,057 - DEBUG - Services list from nova: [, , ] 2025-10-27 01:53:20,702 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-607-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-607-1) 2025-10-27 01:53:22,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-juju-os-607-1), Zone: (nova:cn-jenkins-deploy-platform-juju-os-607-1) 2025-10-27 01:53:22,449 - INFO - Adding interface with subnet_id 90f17212-1aef-465f-b162-385ce2887ec2, port_id None to router 09992148-67d4-4f04-9673-c961c46866a5 2025-10-27 01:53:22,974 - INFO - Waiting for VM ctest-vn1-vm1-22810983 to be up.. 2025-10-27 01:53:23,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 01:53:28,285 - DEBUG - VM is in ACTIVE state now 2025-10-27 01:53:28,285 - INFO - VM name : ctest-vn1-vm1-22810983 2025-10-27 01:53:28,427 - DEBUG - VM ctest-vn1-vm1-22810983 ID is 83d1ff39-ab09-4816-8f15-96fa6661ee57 2025-10-27 01:53:28,473 - DEBUG - VM ctest-vn1-vm1-22810983 launched on Node cn-jenkins-deploy-platform-juju-os-607-1 2025-10-27 01:53:28,625 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/83d1ff39-ab09-4816-8f15-96fa6661ee57 2025-10-27 01:53:28,987 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/83d1ff39-ab09-4816-8f15-96fa6661ee57 2025-10-27 01:53:29,077 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/3f6e1ee5-1605-48b2-be37-aa8a96f102d4 2025-10-27 01:53:32,533 - 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 1006ms') 2025-10-27 01:53:32,533 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22810983 failed! 2025-10-27 01:53:32,588 - DEBUG - Gateway for vn admin_domain:ctest-TestRouters-73028251:ctest-vn1-35275335 is 142.240.28.65 and allocation pool is NOT set 2025-10-27 01:53:34,689 - 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=9.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.11 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 = 5.107/7.326/9.546/2.219 ms') 2025-10-27 01:53:34,689 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-22810983 passed 2025-10-27 01:53:34,852 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:53:34,852 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22810983, IP 142.240.28.67, Port 22 2025-10-27 01:53:34,940 - 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-27 01:53:35,108 - DEBUG - VM ctest-vn1-vm1-22810983 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-27 01:53:40,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:53:40,108 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-22810983, IP 142.240.28.67, Port 22 2025-10-27 01:53:40,318 - DEBUG - VM ctest-vn1-vm1-22810983 is ready for SSH connections 2025-10-27 01:53:40,319 - INFO - Waiting for VM ctest-vn2-vm1-94576275 to be up.. 2025-10-27 01:53:40,456 - DEBUG - VM is in ACTIVE state now 2025-10-27 01:53:40,457 - INFO - VM name : ctest-vn2-vm1-94576275 2025-10-27 01:53:40,592 - DEBUG - VM ctest-vn2-vm1-94576275 ID is a64f0c18-3c19-446b-848f-11dce2045d2b 2025-10-27 01:53:40,592 - DEBUG - VM ctest-vn2-vm1-94576275 launched on Node cn-jenkins-deploy-platform-juju-os-607-1 2025-10-27 01:53:40,819 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine/a64f0c18-3c19-446b-848f-11dce2045d2b 2025-10-27 01:53:40,878 - DEBUG - Requesting: https://10.0.0.27:8082/virtual-machine-interface/cd11b03f-a850-48a1-bd70-4f4216833c4b 2025-10-27 01:53:42,322 - 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=1.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.404 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.404/1.198/1.992/0.794 ms') 2025-10-27 01:53:42,322 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-94576275 passed 2025-10-27 01:53:42,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:53:42,472 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94576275, IP 63.199.59.195, Port 22 2025-10-27 01:53:42,686 - DEBUG - VM ctest-vn2-vm1-94576275 is ready for SSH connections 2025-10-27 01:53:42,686 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:53:42,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.199.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 01:53:42,686 - DEBUG - ping -s 56 -c 3 -W 1 63.199.59.195 2025-10-27 01:53:47,363 - DEBUG - PING 63.199.59.195 (63.199.59.195): 56 data bytes --- 63.199.59.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 01:53:47,363 - WARNING - Ping to IP 63.199.59.195 from VM ctest-vn1-vm1-22810983 failed 2025-10-27 01:53:47,364 - INFO - Adding interface with subnet_id cc9233ab-3bba-49ef-9471-e153a03980ca, port_id None to router 09992148-67d4-4f04-9673-c961c46866a5 2025-10-27 01:53:47,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:53:47,754 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.199.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 01:53:47,754 - DEBUG - ping -s 56 -c 3 -W 1 63.199.59.195 2025-10-27 01:53:49,960 - DEBUG - PING 63.199.59.195 (63.199.59.195): 56 data bytes 64 bytes from 63.199.59.195: seq=0 ttl=63 time=2.624 ms 64 bytes from 63.199.59.195: seq=1 ttl=63 time=0.952 ms 64 bytes from 63.199.59.195: seq=2 ttl=63 time=0.750 ms --- 63.199.59.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.750/1.442/2.624 ms 2025-10-27 01:53:49,960 - INFO - Ping to IP 63.199.59.195 from VM ctest-vn1-vm1-22810983 passed 2025-10-27 01:53:49,960 - INFO - Deleting interface with subnet_id 90f17212-1aef-465f-b162-385ce2887ec2, port_id None from router 09992148-67d4-4f04-9673-c961c46866a5 2025-10-27 01:53:50,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:53:50,186 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.199.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 01:53:50,187 - DEBUG - ping -s 56 -c 3 -W 1 63.199.59.195 2025-10-27 01:53:53,388 - DEBUG - PING 63.199.59.195 (63.199.59.195): 56 data bytes --- 63.199.59.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 01:53:53,389 - WARNING - Ping to IP 63.199.59.195 from VM ctest-vn1-vm1-22810983 failed 2025-10-27 01:53:53,389 - INFO - Adding interface with subnet_id 90f17212-1aef-465f-b162-385ce2887ec2, port_id None to router 09992148-67d4-4f04-9673-c961c46866a5 2025-10-27 01:53:53,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 01:53:53,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.199.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 01:53:53,810 - DEBUG - ping -s 56 -c 3 -W 1 63.199.59.195 2025-10-27 01:53:57,014 - DEBUG - PING 63.199.59.195 (63.199.59.195): 56 data bytes 64 bytes from 63.199.59.195: seq=1 ttl=63 time=1.791 ms 64 bytes from 63.199.59.195: seq=2 ttl=63 time=0.935 ms --- 63.199.59.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.935/1.363/1.791 ms 2025-10-27 01:53:57,015 - WARNING - Ping to IP 63.199.59.195 from VM ctest-vn1-vm1-22810983 failed 2025-10-27 01:53:58,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.199.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 01:53:58,016 - DEBUG - ping -s 56 -c 3 -W 1 63.199.59.195 2025-10-27 01:54:00,220 - DEBUG - PING 63.199.59.195 (63.199.59.195): 56 data bytes 64 bytes from 63.199.59.195: seq=0 ttl=63 time=1.406 ms 64 bytes from 63.199.59.195: seq=1 ttl=63 time=0.833 ms 64 bytes from 63.199.59.195: seq=2 ttl=63 time=0.858 ms --- 63.199.59.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.833/1.032/1.406 ms 2025-10-27 01:54:00,220 - INFO - Ping to IP 63.199.59.195 from VM ctest-vn1-vm1-22810983 passed 2025-10-27 01:54:00,220 - INFO - Deleting interface with subnet_id cc9233ab-3bba-49ef-9471-e153a03980ca, port_id None from router 09992148-67d4-4f04-9673-c961c46866a5 2025-10-27 01:54:00,508 - INFO - Deleting interface with subnet_id 90f17212-1aef-465f-b162-385ce2887ec2, port_id None from router 09992148-67d4-4f04-9673-c961c46866a5 2025-10-27 01:54:00,939 - INFO - Deleting VM ctest-vn2-vm1-94576275 2025-10-27 01:54:01,072 - INFO - Deleting VM ctest-vn1-vm1-22810983 2025-10-27 01:54:01,195 - INFO - Deleting VN ctest-vn2-21683954 2025-10-27 01:54:01,348 - DEBUG - VN e8d6629f-e878-47f8-b3a0-81fc32bfeae5 still in use: Unable to complete operation on network e8d6629f-e878-47f8-b3a0-81fc32bfeae5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e8832690-e898-44d4-bc29-2db900120386'] 2025-10-27 01:54:01,348 - WARNING - Deleting VN ctest-vn2-21683954 failed..Will retry 2025-10-27 01:54:03,538 - DEBUG - Response for deleting network () 2025-10-27 01:54:03,538 - INFO - Deleting VN ctest-vn1-35275335 2025-10-27 01:54:03,738 - DEBUG - Response for deleting network () 2025-10-27 01:54:04,125 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 01:54:04,125 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:48] 2025-10-27 01:54:04,125 - INFO - -------------------------------------------------------------------------------- 2025-10-27 01:54:04,872 - INFO - Deleted project: ctest-TestRouters-73028251, ID : 6e1a98d8-a033-4161-9cc2-8030e599d127