2025-12-08 02:36:20,912 - INFO - Domain Default found not creating 2025-12-08 02:36:21,109 - INFO - Project ctest-TestRouters-01795753 not found, creating it 2025-12-08 02:36:21,630 - INFO - Created Project:ctest-TestRouters-01795753, ID : a9956e4c-5233-45dd-b5e6-20b19271ff71 2025-12-08 02:36:23,466 - INFO - ================================================================================ 2025-12-08 02:36:23,466 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-08 02:36:23,466 - 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-12-08 02:36:23,738 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.130': '0'}} with 2025-12-08 02:36:23,739 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:36:23,739 - INFO - 2025-12-08 02:36:24,437 - DEBUG - Response for create_network : {'network': {'id': '6e70e63b-40d1-47ba-af7c-6c5e9b548f85', 'name': 'ctest-vn1-28351880', 'tenant_id': 'a9956e4c523345ddb5e620b19271ff71', 'project_id': 'a9956e4c523345ddb5e620b19271ff71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01795753', 'ctest-vn1-28351880'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:36:24,668 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bfa48f7-e1fb-4275-b89f-e1f55d9b978e', 'name': '', 'tenant_id': 'a9956e4c523345ddb5e620b19271ff71', 'network_id': '6e70e63b-40d1-47ba-af7c-6c5e9b548f85', 'ip_version': 4, 'cidr': '64.58.91.64/26', 'allocation_pools': [{'start': '64.58.91.66', 'end': '64.58.91.126'}], 'gateway_ip': '64.58.91.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.58.91.66', 'tags': [], 'project_id': 'a9956e4c523345ddb5e620b19271ff71'}} 2025-12-08 02:36:24,695 - INFO - Created VN ctest-vn1-28351880 2025-12-08 02:36:24,751 - DEBUG - VN ctest-vn1-28351880 UUID is 6e70e63b-40d1-47ba-af7c-6c5e9b548f85 2025-12-08 02:36:25,086 - DEBUG - Response for create_network : {'network': {'id': '284d8376-8fbf-4e58-bdac-113dceb4df99', 'name': 'ctest-vn2-95717088', 'tenant_id': 'a9956e4c523345ddb5e620b19271ff71', 'project_id': 'a9956e4c523345ddb5e620b19271ff71', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-01795753', 'ctest-vn2-95717088'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:36:25,309 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0c47ca7-7083-4395-9b75-03be62eaf234', 'name': '', 'tenant_id': 'a9956e4c523345ddb5e620b19271ff71', 'network_id': '284d8376-8fbf-4e58-bdac-113dceb4df99', 'ip_version': 4, 'cidr': '213.191.226.64/26', 'allocation_pools': [{'start': '213.191.226.66', 'end': '213.191.226.126'}], 'gateway_ip': '213.191.226.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.191.226.66', 'tags': [], 'project_id': 'a9956e4c523345ddb5e620b19271ff71'}} 2025-12-08 02:36:25,332 - INFO - Created VN ctest-vn2-95717088 2025-12-08 02:36:25,391 - DEBUG - VN ctest-vn2-95717088 UUID is 284d8376-8fbf-4e58-bdac-113dceb4df99 2025-12-08 02:36:25,583 - DEBUG - Services list from nova: [, , ] 2025-12-08 02:36:26,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4850-1) 2025-12-08 02:36:28,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4850-1) 2025-12-08 02:36:28,462 - INFO - Adding interface with subnet_id 9bfa48f7-e1fb-4275-b89f-e1f55d9b978e, port_id None to router e33e01b3-dec7-44ca-99f2-e3f4f0ee57e9 2025-12-08 02:36:28,783 - INFO - Waiting for VM ctest-vn1-vm1-23339810 to be up.. 2025-12-08 02:36:28,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:36:34,050 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:36:34,051 - INFO - VM name : ctest-vn1-vm1-23339810 2025-12-08 02:36:34,156 - DEBUG - VM ctest-vn1-vm1-23339810 ID is 45258945-e8df-460c-bf9d-2c11c3002742 2025-12-08 02:36:34,183 - DEBUG - VM ctest-vn1-vm1-23339810 launched on Node cn-jenkins-deploy-platform-ansible-os-4850-1 2025-12-08 02:36:34,299 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/45258945-e8df-460c-bf9d-2c11c3002742 2025-12-08 02:36:34,672 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/45258945-e8df-460c-bf9d-2c11c3002742 2025-12-08 02:36:34,720 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/bd25f4ff-d8d9-4a9f-b5c2-d713c929aacd 2025-12-08 02:36:37,981 - 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 1008ms') 2025-12-08 02:36:37,982 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23339810 failed! 2025-12-08 02:36:38,039 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-01795753:ctest-vn1-28351880 is 64.58.91.65 and allocation pool is NOT set 2025-12-08 02:36:40,105 - 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.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.447 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.447/2.001/3.556/1.554 ms') 2025-12-08 02:36:40,105 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23339810 passed 2025-12-08 02:36:40,271 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:40,271 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23339810, IP 64.58.91.67, Port 22 2025-12-08 02:36:40,450 - DEBUG - VM ctest-vn1-vm1-23339810 is ready for SSH connections 2025-12-08 02:36:40,450 - INFO - Waiting for VM ctest-vn2-vm1-66369792 to be up.. 2025-12-08 02:36:40,545 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:36:40,545 - INFO - VM name : ctest-vn2-vm1-66369792 2025-12-08 02:36:40,644 - DEBUG - VM ctest-vn2-vm1-66369792 ID is 37e8a108-0199-4373-a53f-1f023bffa24f 2025-12-08 02:36:40,644 - DEBUG - VM ctest-vn2-vm1-66369792 launched on Node cn-jenkins-deploy-platform-ansible-os-4850-1 2025-12-08 02:36:40,745 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/37e8a108-0199-4373-a53f-1f023bffa24f 2025-12-08 02:36:40,755 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/53712743-14cc-45c5-94b9-7aaaa37c76ef 2025-12-08 02:36:42,006 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/2.211/3.971/1.759 ms') 2025-12-08 02:36:42,006 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-66369792 passed 2025-12-08 02:36:42,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:42,163 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-66369792, IP 213.191.226.67, Port 22 2025-12-08 02:36:42,229 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-08 02:36:42,314 - DEBUG - VM ctest-vn2-vm1-66369792 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-08 02:36:47,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:47,315 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-66369792, IP 213.191.226.67, Port 22 2025-12-08 02:36:47,486 - DEBUG - VM ctest-vn2-vm1-66369792 is ready for SSH connections 2025-12-08 02:36:47,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:47,486 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.191.226.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-08 02:36:47,486 - DEBUG - ping -s 56 -c 3 -W 1 213.191.226.67 2025-12-08 02:36:52,639 - DEBUG - PING 213.191.226.67 (213.191.226.67): 56 data bytes --- 213.191.226.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 02:36:52,639 - WARNING - Ping to IP 213.191.226.67 from VM ctest-vn1-vm1-23339810 failed 2025-12-08 02:36:52,639 - INFO - Adding interface with subnet_id e0c47ca7-7083-4395-9b75-03be62eaf234, port_id None to router e33e01b3-dec7-44ca-99f2-e3f4f0ee57e9 2025-12-08 02:36:52,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:52,902 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.191.226.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-08 02:36:52,902 - DEBUG - ping -s 56 -c 3 -W 1 213.191.226.67 2025-12-08 02:36:55,162 - DEBUG - PING 213.191.226.67 (213.191.226.67): 56 data bytes 64 bytes from 213.191.226.67: seq=0 ttl=63 time=3.303 ms 64 bytes from 213.191.226.67: seq=1 ttl=63 time=1.128 ms 64 bytes from 213.191.226.67: seq=2 ttl=63 time=0.987 ms --- 213.191.226.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.987/1.806/3.303 ms 2025-12-08 02:36:55,162 - INFO - Ping to IP 213.191.226.67 from VM ctest-vn1-vm1-23339810 passed 2025-12-08 02:36:55,162 - INFO - Deleting interface with subnet_id 9bfa48f7-e1fb-4275-b89f-e1f55d9b978e, port_id None from router e33e01b3-dec7-44ca-99f2-e3f4f0ee57e9 2025-12-08 02:36:55,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:55,317 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.191.226.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-08 02:36:55,317 - DEBUG - ping -s 56 -c 3 -W 1 213.191.226.67 2025-12-08 02:36:58,557 - DEBUG - PING 213.191.226.67 (213.191.226.67): 56 data bytes --- 213.191.226.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-08 02:36:58,557 - WARNING - Ping to IP 213.191.226.67 from VM ctest-vn1-vm1-23339810 failed 2025-12-08 02:36:58,557 - INFO - Adding interface with subnet_id 9bfa48f7-e1fb-4275-b89f-e1f55d9b978e, port_id None to router e33e01b3-dec7-44ca-99f2-e3f4f0ee57e9 2025-12-08 02:36:58,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:36:58,803 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.191.226.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-08 02:36:58,803 - DEBUG - ping -s 56 -c 3 -W 1 213.191.226.67 2025-12-08 02:37:01,041 - DEBUG - PING 213.191.226.67 (213.191.226.67): 56 data bytes 64 bytes from 213.191.226.67: seq=0 ttl=63 time=1.632 ms 64 bytes from 213.191.226.67: seq=1 ttl=63 time=1.622 ms 64 bytes from 213.191.226.67: seq=2 ttl=63 time=1.638 ms --- 213.191.226.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.622/1.630/1.638 ms 2025-12-08 02:37:01,041 - INFO - Ping to IP 213.191.226.67 from VM ctest-vn1-vm1-23339810 passed 2025-12-08 02:37:01,041 - INFO - Deleting interface with subnet_id e0c47ca7-7083-4395-9b75-03be62eaf234, port_id None from router e33e01b3-dec7-44ca-99f2-e3f4f0ee57e9 2025-12-08 02:37:01,207 - INFO - Deleting interface with subnet_id 9bfa48f7-e1fb-4275-b89f-e1f55d9b978e, port_id None from router e33e01b3-dec7-44ca-99f2-e3f4f0ee57e9 2025-12-08 02:37:01,447 - INFO - Deleting VM ctest-vn2-vm1-66369792 2025-12-08 02:37:01,564 - INFO - Deleting VM ctest-vn1-vm1-23339810 2025-12-08 02:37:01,664 - INFO - Deleting VN ctest-vn2-95717088 2025-12-08 02:37:01,717 - DEBUG - VN 284d8376-8fbf-4e58-bdac-113dceb4df99 still in use: Unable to complete operation on network 284d8376-8fbf-4e58-bdac-113dceb4df99. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-37435895-8a96-462d-ad54-a3d349750a2d'] 2025-12-08 02:37:01,717 - WARNING - Deleting VN ctest-vn2-95717088 failed..Will retry 2025-12-08 02:37:03,866 - DEBUG - Response for deleting network () 2025-12-08 02:37:03,867 - INFO - Deleting VN ctest-vn1-28351880 2025-12-08 02:37:04,010 - DEBUG - Response for deleting network () 2025-12-08 02:37:04,286 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 02:37:04,286 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41] 2025-12-08 02:37:04,286 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:37:05,093 - INFO - Deleted project: ctest-TestRouters-01795753, ID : a9956e4c-5233-45dd-b5e6-20b19271ff71