2025-08-28 17:55:23,588 - INFO - Domain Default found not creating 2025-08-28 17:55:23,961 - INFO - Project ctest-TestRouters-06484898 not found, creating it 2025-08-28 17:55:24,577 - INFO - Created Project:ctest-TestRouters-06484898, ID : abd7080d-4523-4bcc-aa3a-d713021fda89 2025-08-28 17:55:26,685 - INFO - ================================================================================ 2025-08-28 17:55:26,686 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-28 17:55:26,686 - 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-08-28 17:55:27,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-08-28 17:55:27,005 - INFO - Initial checks done. Running the testcase now 2025-08-28 17:55:27,005 - INFO - 2025-08-28 17:55:27,799 - DEBUG - Response for create_network : {'network': {'id': '6b0b56b8-8de4-4157-8981-782e4dc95526', 'name': 'ctest-vn1-08311300', 'tenant_id': 'abd7080d45234bccaa3ad713021fda89', 'project_id': 'abd7080d45234bccaa3ad713021fda89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06484898', 'ctest-vn1-08311300'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:55:28,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '16e1ff17-b701-498a-9477-9259aa8bd0ee', 'name': '', 'tenant_id': 'abd7080d45234bccaa3ad713021fda89', 'network_id': '6b0b56b8-8de4-4157-8981-782e4dc95526', 'ip_version': 4, 'cidr': '143.182.224.0/26', 'allocation_pools': [{'start': '143.182.224.2', 'end': '143.182.224.62'}], 'gateway_ip': '143.182.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.182.224.2', 'tags': [], 'project_id': 'abd7080d45234bccaa3ad713021fda89'}} 2025-08-28 17:55:28,041 - INFO - Created VN ctest-vn1-08311300 2025-08-28 17:55:28,097 - DEBUG - VN ctest-vn1-08311300 UUID is 6b0b56b8-8de4-4157-8981-782e4dc95526 2025-08-28 17:55:28,548 - DEBUG - Response for create_network : {'network': {'id': 'efe257f4-7172-4adf-9883-b7cb1a149b74', 'name': 'ctest-vn2-26792478', 'tenant_id': 'abd7080d45234bccaa3ad713021fda89', 'project_id': 'abd7080d45234bccaa3ad713021fda89', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06484898', 'ctest-vn2-26792478'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 17:55:28,732 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a117b5e0-ebe0-4309-9b96-2d3d3e4d2352', 'name': '', 'tenant_id': 'abd7080d45234bccaa3ad713021fda89', 'network_id': 'efe257f4-7172-4adf-9883-b7cb1a149b74', 'ip_version': 4, 'cidr': '141.109.177.64/26', 'allocation_pools': [{'start': '141.109.177.66', 'end': '141.109.177.126'}], 'gateway_ip': '141.109.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.109.177.66', 'tags': [], 'project_id': 'abd7080d45234bccaa3ad713021fda89'}} 2025-08-28 17:55:28,750 - INFO - Created VN ctest-vn2-26792478 2025-08-28 17:55:28,804 - DEBUG - VN ctest-vn2-26792478 UUID is efe257f4-7172-4adf-9883-b7cb1a149b74 2025-08-28 17:55:29,060 - DEBUG - Services list from nova: [, , ] 2025-08-28 17:55:30,497 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3964-1) 2025-08-28 17:55:32,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3964-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3964-1) 2025-08-28 17:55:32,114 - INFO - Adding interface with subnet_id 16e1ff17-b701-498a-9477-9259aa8bd0ee, port_id None to router 0798d646-8c5b-4693-ac9d-7662eb711006 2025-08-28 17:55:32,432 - INFO - Waiting for VM ctest-vn1-vm1-23702231 to be up.. 2025-08-28 17:55:32,584 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 17:55:37,723 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:55:37,723 - INFO - VM name : ctest-vn1-vm1-23702231 2025-08-28 17:55:37,834 - DEBUG - VM ctest-vn1-vm1-23702231 ID is 62d8dad1-08eb-4e28-b085-c29d14935c0e 2025-08-28 17:55:37,862 - DEBUG - VM ctest-vn1-vm1-23702231 launched on Node cn-jenkins-deploy-platform-ansible-os-3964-1 2025-08-28 17:55:37,972 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/62d8dad1-08eb-4e28-b085-c29d14935c0e 2025-08-28 17:55:38,365 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/62d8dad1-08eb-4e28-b085-c29d14935c0e 2025-08-28 17:55:38,400 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/046e9298-ce09-4db3-8ca9-d48362359078 2025-08-28 17:55:41,679 - 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 1019ms') 2025-08-28 17:55:41,679 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23702231 failed! 2025-08-28 17:55:41,745 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-06484898:ctest-vn1-08311300 is 143.182.224.1 and allocation pool is NOT set 2025-08-28 17:55:43,816 - 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=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.04 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.037/3.061/5.085/2.024 ms') 2025-08-28 17:55:43,817 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23702231 passed 2025-08-28 17:55:43,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:43,985 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23702231, IP 143.182.224.3, Port 22 2025-08-28 17:55:44,179 - DEBUG - VM ctest-vn1-vm1-23702231 is ready for SSH connections 2025-08-28 17:55:44,180 - INFO - Waiting for VM ctest-vn2-vm1-88460594 to be up.. 2025-08-28 17:55:44,391 - DEBUG - VM is in ACTIVE state now 2025-08-28 17:55:44,391 - INFO - VM name : ctest-vn2-vm1-88460594 2025-08-28 17:55:44,536 - DEBUG - VM ctest-vn2-vm1-88460594 ID is 0a244fcc-4d14-430b-8e88-764ba6873ecb 2025-08-28 17:55:44,536 - DEBUG - VM ctest-vn2-vm1-88460594 launched on Node cn-jenkins-deploy-platform-ansible-os-3964-1 2025-08-28 17:55:44,631 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/0a244fcc-4d14-430b-8e88-764ba6873ecb 2025-08-28 17:55:44,643 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/4549b5fb-8335-4768-93f7-3325b0df48b0 2025-08-28 17:55:45,895 - 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=14.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.589 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.589/7.522/14.456/6.933 ms') 2025-08-28 17:55:45,895 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-88460594 passed 2025-08-28 17:55:46,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:46,084 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-88460594, IP 141.109.177.67, Port 22 2025-08-28 17:55:46,166 - 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-08-28 17:55:46,312 - DEBUG - VM ctest-vn2-vm1-88460594 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-28 17:55:51,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:51,313 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-88460594, IP 141.109.177.67, Port 22 2025-08-28 17:55:51,508 - DEBUG - VM ctest-vn2-vm1-88460594 is ready for SSH connections 2025-08-28 17:55:51,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:51,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.109.177.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-28 17:55:51,509 - DEBUG - ping -s 56 -c 3 -W 1 141.109.177.67 2025-08-28 17:55:57,154 - DEBUG - PING 141.109.177.67 (141.109.177.67): 56 data bytes --- 141.109.177.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 17:55:57,154 - WARNING - Ping to IP 141.109.177.67 from VM ctest-vn1-vm1-23702231 failed 2025-08-28 17:55:57,155 - INFO - Adding interface with subnet_id a117b5e0-ebe0-4309-9b96-2d3d3e4d2352, port_id None to router 0798d646-8c5b-4693-ac9d-7662eb711006 2025-08-28 17:55:57,578 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:55:57,578 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.109.177.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-28 17:55:57,578 - DEBUG - ping -s 56 -c 3 -W 1 141.109.177.67 2025-08-28 17:55:59,825 - DEBUG - PING 141.109.177.67 (141.109.177.67): 56 data bytes 64 bytes from 141.109.177.67: seq=0 ttl=63 time=7.963 ms 64 bytes from 141.109.177.67: seq=1 ttl=63 time=2.330 ms 64 bytes from 141.109.177.67: seq=2 ttl=63 time=2.094 ms --- 141.109.177.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.094/4.129/7.963 ms 2025-08-28 17:55:59,826 - INFO - Ping to IP 141.109.177.67 from VM ctest-vn1-vm1-23702231 passed 2025-08-28 17:55:59,826 - INFO - Deleting interface with subnet_id 16e1ff17-b701-498a-9477-9259aa8bd0ee, port_id None from router 0798d646-8c5b-4693-ac9d-7662eb711006 2025-08-28 17:56:00,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:56:00,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.109.177.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-28 17:56:00,083 - DEBUG - ping -s 56 -c 3 -W 1 141.109.177.67 2025-08-28 17:56:03,353 - DEBUG - PING 141.109.177.67 (141.109.177.67): 56 data bytes --- 141.109.177.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 17:56:03,353 - WARNING - Ping to IP 141.109.177.67 from VM ctest-vn1-vm1-23702231 failed 2025-08-28 17:56:03,354 - INFO - Adding interface with subnet_id 16e1ff17-b701-498a-9477-9259aa8bd0ee, port_id None to router 0798d646-8c5b-4693-ac9d-7662eb711006 2025-08-28 17:56:03,646 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 17:56:03,646 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.109.177.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-28 17:56:03,647 - DEBUG - ping -s 56 -c 3 -W 1 141.109.177.67 2025-08-28 17:56:05,988 - DEBUG - PING 141.109.177.67 (141.109.177.67): 56 data bytes 64 bytes from 141.109.177.67: seq=0 ttl=63 time=2.556 ms 64 bytes from 141.109.177.67: seq=1 ttl=63 time=2.243 ms 64 bytes from 141.109.177.67: seq=2 ttl=63 time=1.689 ms --- 141.109.177.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.689/2.162/2.556 ms 2025-08-28 17:56:05,989 - INFO - Ping to IP 141.109.177.67 from VM ctest-vn1-vm1-23702231 passed 2025-08-28 17:56:05,989 - INFO - Deleting interface with subnet_id a117b5e0-ebe0-4309-9b96-2d3d3e4d2352, port_id None from router 0798d646-8c5b-4693-ac9d-7662eb711006 2025-08-28 17:56:06,178 - INFO - Deleting interface with subnet_id 16e1ff17-b701-498a-9477-9259aa8bd0ee, port_id None from router 0798d646-8c5b-4693-ac9d-7662eb711006 2025-08-28 17:56:06,375 - INFO - Deleting VM ctest-vn2-vm1-88460594 2025-08-28 17:56:06,453 - INFO - Deleting VM ctest-vn1-vm1-23702231 2025-08-28 17:56:06,560 - INFO - Deleting VN ctest-vn2-26792478 2025-08-28 17:56:06,637 - DEBUG - VN efe257f4-7172-4adf-9883-b7cb1a149b74 still in use: Unable to complete operation on network efe257f4-7172-4adf-9883-b7cb1a149b74. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad853a7c-20be-4229-86a0-87c445e85da8'] 2025-08-28 17:56:06,637 - WARNING - Deleting VN ctest-vn2-26792478 failed..Will retry 2025-08-28 17:56:08,852 - DEBUG - Response for deleting network () 2025-08-28 17:56:08,853 - INFO - Deleting VN ctest-vn1-08311300 2025-08-28 17:56:08,999 - DEBUG - Response for deleting network () 2025-08-28 17:56:09,324 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 17:56:09,324 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2025-08-28 17:56:09,325 - INFO - -------------------------------------------------------------------------------- 2025-08-28 17:56:10,319 - INFO - Deleted project: ctest-TestRouters-06484898, ID : abd7080d-4523-4bcc-aa3a-d713021fda89