2025-07-23 13:29:34,290 - INFO - Domain Default found not creating 2025-07-23 13:29:34,529 - INFO - Project ctest-TestRouters-71674689 not found, creating it 2025-07-23 13:29:35,056 - INFO - Created Project:ctest-TestRouters-71674689, ID : 3e6f588f-8095-47ca-a7ac-85c1e30d733b 2025-07-23 13:29:36,565 - INFO - ================================================================================ 2025-07-23 13:29:36,565 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-23 13:29:36,565 - 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-07-23 13:29:36,822 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.193': '0'}} with 2025-07-23 13:29:36,822 - INFO - Initial checks done. Running the testcase now 2025-07-23 13:29:36,822 - INFO - 2025-07-23 13:29:37,370 - DEBUG - Response for create_network : {'network': {'id': 'a0d0a191-dc81-44eb-8843-5c9f62d6817a', 'name': 'ctest-vn1-78838684', 'tenant_id': '3e6f588f809547caa7ac85c1e30d733b', 'project_id': '3e6f588f809547caa7ac85c1e30d733b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71674689', 'ctest-vn1-78838684'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:29:37,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '511cda89-1d64-4664-b2f8-07b6122ad159', 'name': '', 'tenant_id': '3e6f588f809547caa7ac85c1e30d733b', 'network_id': 'a0d0a191-dc81-44eb-8843-5c9f62d6817a', 'ip_version': 4, 'cidr': '210.224.163.64/26', 'allocation_pools': [{'start': '210.224.163.66', 'end': '210.224.163.126'}], 'gateway_ip': '210.224.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.224.163.66', 'tags': [], 'project_id': '3e6f588f809547caa7ac85c1e30d733b'}} 2025-07-23 13:29:37,603 - INFO - Created VN ctest-vn1-78838684 2025-07-23 13:29:37,660 - DEBUG - VN ctest-vn1-78838684 UUID is a0d0a191-dc81-44eb-8843-5c9f62d6817a 2025-07-23 13:29:38,023 - DEBUG - Response for create_network : {'network': {'id': 'e0034e1c-bd21-4536-9f78-f672fdbedc9a', 'name': 'ctest-vn2-77073372', 'tenant_id': '3e6f588f809547caa7ac85c1e30d733b', 'project_id': '3e6f588f809547caa7ac85c1e30d733b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71674689', 'ctest-vn2-77073372'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 13:29:38,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '22f55903-1928-434d-89b7-cb2ed526667d', 'name': '', 'tenant_id': '3e6f588f809547caa7ac85c1e30d733b', 'network_id': 'e0034e1c-bd21-4536-9f78-f672fdbedc9a', 'ip_version': 4, 'cidr': '37.201.157.0/26', 'allocation_pools': [{'start': '37.201.157.2', 'end': '37.201.157.62'}], 'gateway_ip': '37.201.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.201.157.2', 'tags': [], 'project_id': '3e6f588f809547caa7ac85c1e30d733b'}} 2025-07-23 13:29:38,282 - INFO - Created VN ctest-vn2-77073372 2025-07-23 13:29:38,336 - DEBUG - VN ctest-vn2-77073372 UUID is e0034e1c-bd21-4536-9f78-f672fdbedc9a 2025-07-23 13:29:38,539 - DEBUG - Services list from nova: [, , ] 2025-07-23 13:29:39,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3701-1) 2025-07-23 13:29:40,805 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3701-1) 2025-07-23 13:29:40,875 - INFO - Adding interface with subnet_id 511cda89-1d64-4664-b2f8-07b6122ad159, port_id None to router c0c463b6-f489-4384-968e-366b1a797125 2025-07-23 13:29:41,185 - INFO - Waiting for VM ctest-vn1-vm1-23301777 to be up.. 2025-07-23 13:29:41,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 13:29:46,380 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:29:46,380 - INFO - VM name : ctest-vn1-vm1-23301777 2025-07-23 13:29:46,458 - DEBUG - VM ctest-vn1-vm1-23301777 ID is 0a5a5c1c-032f-40a3-989f-bdc930ddd7fd 2025-07-23 13:29:46,476 - DEBUG - VM ctest-vn1-vm1-23301777 launched on Node cn-jenkins-deploy-platform-ansible-os-3701-1 2025-07-23 13:29:46,548 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/0a5a5c1c-032f-40a3-989f-bdc930ddd7fd 2025-07-23 13:29:46,840 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/0a5a5c1c-032f-40a3-989f-bdc930ddd7fd 2025-07-23 13:29:46,872 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e48013f3-1a0b-4716-8ad4-81bf3a7514ce 2025-07-23 13:29:50,129 - 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 1015ms') 2025-07-23 13:29:50,129 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23301777 failed! 2025-07-23 13:29:50,192 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-71674689:ctest-vn1-78838684 is 210.224.163.65 and allocation pool is NOT set 2025-07-23 13:29:52,261 - 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=2.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.396 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 = 0.396/1.536/2.677/1.140 ms') 2025-07-23 13:29:52,262 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23301777 passed 2025-07-23 13:29:52,412 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:29:52,412 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23301777, IP 210.224.163.67, Port 22 2025-07-23 13:29:52,568 - DEBUG - VM ctest-vn1-vm1-23301777 is ready for SSH connections 2025-07-23 13:29:52,568 - INFO - Waiting for VM ctest-vn2-vm1-22608773 to be up.. 2025-07-23 13:29:52,647 - DEBUG - VM is in ACTIVE state now 2025-07-23 13:29:52,647 - INFO - VM name : ctest-vn2-vm1-22608773 2025-07-23 13:29:52,719 - DEBUG - VM ctest-vn2-vm1-22608773 ID is 7105d4e6-72f7-4331-9994-432b1b3b01b2 2025-07-23 13:29:52,719 - DEBUG - VM ctest-vn2-vm1-22608773 launched on Node cn-jenkins-deploy-platform-ansible-os-3701-1 2025-07-23 13:29:52,791 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/7105d4e6-72f7-4331-9994-432b1b3b01b2 2025-07-23 13:29:52,801 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9831e58b-d611-4b88-a494-1565155f3199 2025-07-23 13:29:54,048 - 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.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/1.817/3.100/1.282 ms') 2025-07-23 13:29:54,048 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-22608773 passed 2025-07-23 13:29:54,204 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:29:54,204 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-22608773, IP 37.201.157.3, Port 22 2025-07-23 13:29:54,359 - DEBUG - VM ctest-vn2-vm1-22608773 is ready for SSH connections 2025-07-23 13:29:54,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:29:54,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.201.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-07-23 13:29:54,359 - DEBUG - ping -s 56 -c 3 -W 1 37.201.157.3 2025-07-23 13:29:59,364 - DEBUG - PING 37.201.157.3 (37.201.157.3): 56 data bytes --- 37.201.157.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 13:29:59,364 - WARNING - Ping to IP 37.201.157.3 from VM ctest-vn1-vm1-23301777 failed 2025-07-23 13:29:59,364 - INFO - Adding interface with subnet_id 22f55903-1928-434d-89b7-cb2ed526667d, port_id None to router c0c463b6-f489-4384-968e-366b1a797125 2025-07-23 13:29:59,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:29:59,680 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.201.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-07-23 13:29:59,680 - DEBUG - ping -s 56 -c 3 -W 1 37.201.157.3 2025-07-23 13:30:02,898 - DEBUG - PING 37.201.157.3 (37.201.157.3): 56 data bytes 64 bytes from 37.201.157.3: seq=1 ttl=63 time=2.716 ms 64 bytes from 37.201.157.3: seq=2 ttl=63 time=0.838 ms --- 37.201.157.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.838/1.777/2.716 ms 2025-07-23 13:30:02,898 - WARNING - Ping to IP 37.201.157.3 from VM ctest-vn1-vm1-23301777 failed 2025-07-23 13:30:03,899 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.201.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-07-23 13:30:03,899 - DEBUG - ping -s 56 -c 3 -W 1 37.201.157.3 2025-07-23 13:30:06,127 - DEBUG - PING 37.201.157.3 (37.201.157.3): 56 data bytes 64 bytes from 37.201.157.3: seq=0 ttl=63 time=1.618 ms 64 bytes from 37.201.157.3: seq=1 ttl=63 time=1.165 ms 64 bytes from 37.201.157.3: seq=2 ttl=63 time=0.941 ms --- 37.201.157.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.941/1.241/1.618 ms 2025-07-23 13:30:06,127 - INFO - Ping to IP 37.201.157.3 from VM ctest-vn1-vm1-23301777 passed 2025-07-23 13:30:06,127 - INFO - Deleting interface with subnet_id 511cda89-1d64-4664-b2f8-07b6122ad159, port_id None from router c0c463b6-f489-4384-968e-366b1a797125 2025-07-23 13:30:06,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:30:06,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.201.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-07-23 13:30:06,251 - DEBUG - ping -s 56 -c 3 -W 1 37.201.157.3 2025-07-23 13:30:09,462 - DEBUG - PING 37.201.157.3 (37.201.157.3): 56 data bytes --- 37.201.157.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 13:30:09,462 - WARNING - Ping to IP 37.201.157.3 from VM ctest-vn1-vm1-23301777 failed 2025-07-23 13:30:09,462 - INFO - Adding interface with subnet_id 511cda89-1d64-4664-b2f8-07b6122ad159, port_id None to router c0c463b6-f489-4384-968e-366b1a797125 2025-07-23 13:30:09,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 13:30:09,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.201.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-07-23 13:30:09,692 - DEBUG - ping -s 56 -c 3 -W 1 37.201.157.3 2025-07-23 13:30:11,896 - DEBUG - PING 37.201.157.3 (37.201.157.3): 56 data bytes 64 bytes from 37.201.157.3: seq=0 ttl=63 time=1.483 ms 64 bytes from 37.201.157.3: seq=1 ttl=63 time=0.836 ms 64 bytes from 37.201.157.3: seq=2 ttl=63 time=0.978 ms --- 37.201.157.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/1.099/1.483 ms 2025-07-23 13:30:11,896 - INFO - Ping to IP 37.201.157.3 from VM ctest-vn1-vm1-23301777 passed 2025-07-23 13:30:11,896 - INFO - Deleting interface with subnet_id 22f55903-1928-434d-89b7-cb2ed526667d, port_id None from router c0c463b6-f489-4384-968e-366b1a797125 2025-07-23 13:30:12,041 - INFO - Deleting interface with subnet_id 511cda89-1d64-4664-b2f8-07b6122ad159, port_id None from router c0c463b6-f489-4384-968e-366b1a797125 2025-07-23 13:30:12,253 - INFO - Deleting VM ctest-vn2-vm1-22608773 2025-07-23 13:30:12,337 - INFO - Deleting VM ctest-vn1-vm1-23301777 2025-07-23 13:30:12,416 - INFO - Deleting VN ctest-vn2-77073372 2025-07-23 13:30:12,463 - DEBUG - VN e0034e1c-bd21-4536-9f78-f672fdbedc9a still in use: Unable to complete operation on network e0034e1c-bd21-4536-9f78-f672fdbedc9a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9d829e70-d47a-446d-8d51-9611fe953ef5'] 2025-07-23 13:30:12,463 - WARNING - Deleting VN ctest-vn2-77073372 failed..Will retry 2025-07-23 13:30:14,593 - DEBUG - Response for deleting network () 2025-07-23 13:30:14,593 - INFO - Deleting VN ctest-vn1-78838684 2025-07-23 13:30:14,711 - DEBUG - Response for deleting network () 2025-07-23 13:30:14,966 - DEBUG - No XMPP flaps were noticed during the test 2025-07-23 13:30:14,966 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-07-23 13:30:14,966 - INFO - -------------------------------------------------------------------------------- 2025-07-23 13:30:15,675 - INFO - Deleted project: ctest-TestRouters-71674689, ID : 3e6f588f-8095-47ca-a7ac-85c1e30d733b