2025-10-17 21:52:49,108 - INFO - Domain Default found not creating 2025-10-17 21:52:49,261 - INFO - Project ctest-TestRouters-48167298 not found, creating it 2025-10-17 21:52:49,778 - INFO - Created Project:ctest-TestRouters-48167298, ID : bd369157-9e1a-4190-bb7f-3b148b6887cf 2025-10-17 21:52:51,954 - INFO - ================================================================================ 2025-10-17 21:52:51,955 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-17 21:52:51,955 - 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-17 21:52:52,265 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-17 21:52:52,265 - INFO - Initial checks done. Running the testcase now 2025-10-17 21:52:52,266 - INFO - 2025-10-17 21:52:52,937 - DEBUG - Response for create_network : {'network': {'id': 'bb78e9ee-f803-4ea4-b6e3-882aebb1f02f', 'name': 'ctest-vn1-73270439', 'tenant_id': 'bd3691579e1a4190bb7f3b148b6887cf', 'project_id': 'bd3691579e1a4190bb7f3b148b6887cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48167298', 'ctest-vn1-73270439'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:52:53,182 - DEBUG - Response for create_subnet : {'subnet': {'id': '327f9caf-9bf6-4310-b267-d88a0fe07c0b', 'name': '', 'tenant_id': 'bd3691579e1a4190bb7f3b148b6887cf', 'network_id': 'bb78e9ee-f803-4ea4-b6e3-882aebb1f02f', 'ip_version': 4, 'cidr': '165.108.96.64/26', 'allocation_pools': [{'start': '165.108.96.66', 'end': '165.108.96.126'}], 'gateway_ip': '165.108.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.108.96.66', 'tags': [], 'project_id': 'bd3691579e1a4190bb7f3b148b6887cf'}} 2025-10-17 21:52:53,200 - INFO - Created VN ctest-vn1-73270439 2025-10-17 21:52:53,253 - DEBUG - VN ctest-vn1-73270439 UUID is bb78e9ee-f803-4ea4-b6e3-882aebb1f02f 2025-10-17 21:52:53,655 - DEBUG - Response for create_network : {'network': {'id': '029b4f07-b121-4c92-a631-1c681e398814', 'name': 'ctest-vn2-38673481', 'tenant_id': 'bd3691579e1a4190bb7f3b148b6887cf', 'project_id': 'bd3691579e1a4190bb7f3b148b6887cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48167298', 'ctest-vn2-38673481'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 21:52:53,909 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ca4995b-7b2c-4a7a-94ed-8d0eb724f668', 'name': '', 'tenant_id': 'bd3691579e1a4190bb7f3b148b6887cf', 'network_id': '029b4f07-b121-4c92-a631-1c681e398814', 'ip_version': 4, 'cidr': '48.34.38.0/26', 'allocation_pools': [{'start': '48.34.38.2', 'end': '48.34.38.62'}], 'gateway_ip': '48.34.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.34.38.2', 'tags': [], 'project_id': 'bd3691579e1a4190bb7f3b148b6887cf'}} 2025-10-17 21:52:53,929 - INFO - Created VN ctest-vn2-38673481 2025-10-17 21:52:53,985 - DEBUG - VN ctest-vn2-38673481 UUID is 029b4f07-b121-4c92-a631-1c681e398814 2025-10-17 21:52:54,230 - DEBUG - Services list from nova: [, , ] 2025-10-17 21:52:55,536 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:52:56,913 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4359-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4359-1) 2025-10-17 21:52:57,001 - INFO - Adding interface with subnet_id 327f9caf-9bf6-4310-b267-d88a0fe07c0b, port_id None to router 2cb43c71-c354-4cd2-b8ce-9c86d27281a1 2025-10-17 21:52:57,310 - INFO - Waiting for VM ctest-vn1-vm1-27283208 to be up.. 2025-10-17 21:52:57,396 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 21:53:02,510 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:53:02,510 - INFO - VM name : ctest-vn1-vm1-27283208 2025-10-17 21:53:02,613 - DEBUG - VM ctest-vn1-vm1-27283208 ID is 1cc8d6d2-b9d5-4095-82cb-3aee63291ac4 2025-10-17 21:53:02,637 - DEBUG - VM ctest-vn1-vm1-27283208 launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:53:02,744 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1cc8d6d2-b9d5-4095-82cb-3aee63291ac4 2025-10-17 21:53:03,069 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1cc8d6d2-b9d5-4095-82cb-3aee63291ac4 2025-10-17 21:53:03,122 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/24f0aed2-b01e-439f-ba41-f6a6dc737e71 2025-10-17 21:53:06,433 - 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 1024ms') 2025-10-17 21:53:06,433 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27283208 failed! 2025-10-17 21:53:06,494 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48167298:ctest-vn1-73270439 is 165.108.96.65 and allocation pool is NOT set 2025-10-17 21:53:08,563 - 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=8.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.973 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.973/4.495/8.018/3.522 ms') 2025-10-17 21:53:08,564 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-27283208 passed 2025-10-17 21:53:08,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:53:08,757 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27283208, IP 165.108.96.67, Port 22 2025-10-17 21:53:08,959 - DEBUG - VM ctest-vn1-vm1-27283208 is ready for SSH connections 2025-10-17 21:53:08,960 - INFO - Waiting for VM ctest-vn2-vm1-15712799 to be up.. 2025-10-17 21:53:09,090 - DEBUG - VM is in ACTIVE state now 2025-10-17 21:53:09,090 - INFO - VM name : ctest-vn2-vm1-15712799 2025-10-17 21:53:09,209 - DEBUG - VM ctest-vn2-vm1-15712799 ID is e2a0c9ed-1e55-4f97-ab39-146dba8fe01e 2025-10-17 21:53:09,209 - DEBUG - VM ctest-vn2-vm1-15712799 launched on Node cn-jenkins-deploy-platform-ansible-os-4359-1 2025-10-17 21:53:09,320 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e2a0c9ed-1e55-4f97-ab39-146dba8fe01e 2025-10-17 21:53:09,331 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/02ef5b1f-16b2-4299-95d3-ba08a761224d 2025-10-17 21:53:10,629 - 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=5.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.40 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 = 2.403/3.940/5.478/1.537 ms') 2025-10-17 21:53:10,629 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-15712799 passed 2025-10-17 21:53:10,798 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:53:10,798 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-15712799, IP 48.34.38.3, Port 22 2025-10-17 21:53:10,992 - DEBUG - VM ctest-vn2-vm1-15712799 is ready for SSH connections 2025-10-17 21:53:10,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:53:10,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.34.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-17 21:53:10,992 - DEBUG - ping -s 56 -c 3 -W 1 48.34.38.3 2025-10-17 21:53:16,474 - DEBUG - PING 48.34.38.3 (48.34.38.3): 56 data bytes --- 48.34.38.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 21:53:16,475 - WARNING - Ping to IP 48.34.38.3 from VM ctest-vn1-vm1-27283208 failed 2025-10-17 21:53:16,475 - INFO - Adding interface with subnet_id 9ca4995b-7b2c-4a7a-94ed-8d0eb724f668, port_id None to router 2cb43c71-c354-4cd2-b8ce-9c86d27281a1 2025-10-17 21:53:16,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:53:16,844 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.34.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-17 21:53:16,844 - DEBUG - ping -s 56 -c 3 -W 1 48.34.38.3 2025-10-17 21:53:19,100 - DEBUG - PING 48.34.38.3 (48.34.38.3): 56 data bytes 64 bytes from 48.34.38.3: seq=0 ttl=63 time=2.786 ms 64 bytes from 48.34.38.3: seq=1 ttl=63 time=2.010 ms 64 bytes from 48.34.38.3: seq=2 ttl=63 time=1.511 ms --- 48.34.38.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.511/2.102/2.786 ms 2025-10-17 21:53:19,100 - INFO - Ping to IP 48.34.38.3 from VM ctest-vn1-vm1-27283208 passed 2025-10-17 21:53:19,101 - INFO - Deleting interface with subnet_id 327f9caf-9bf6-4310-b267-d88a0fe07c0b, port_id None from router 2cb43c71-c354-4cd2-b8ce-9c86d27281a1 2025-10-17 21:53:19,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:53:19,272 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.34.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-17 21:53:19,272 - DEBUG - ping -s 56 -c 3 -W 1 48.34.38.3 2025-10-17 21:53:22,499 - DEBUG - PING 48.34.38.3 (48.34.38.3): 56 data bytes --- 48.34.38.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-17 21:53:22,499 - WARNING - Ping to IP 48.34.38.3 from VM ctest-vn1-vm1-27283208 failed 2025-10-17 21:53:22,500 - INFO - Adding interface with subnet_id 327f9caf-9bf6-4310-b267-d88a0fe07c0b, port_id None to router 2cb43c71-c354-4cd2-b8ce-9c86d27281a1 2025-10-17 21:53:22,881 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 21:53:22,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.34.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-17 21:53:22,881 - DEBUG - ping -s 56 -c 3 -W 1 48.34.38.3 2025-10-17 21:53:25,147 - DEBUG - PING 48.34.38.3 (48.34.38.3): 56 data bytes 64 bytes from 48.34.38.3: seq=0 ttl=63 time=3.401 ms 64 bytes from 48.34.38.3: seq=1 ttl=63 time=1.672 ms 64 bytes from 48.34.38.3: seq=2 ttl=63 time=1.787 ms --- 48.34.38.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.672/2.286/3.401 ms 2025-10-17 21:53:25,147 - INFO - Ping to IP 48.34.38.3 from VM ctest-vn1-vm1-27283208 passed 2025-10-17 21:53:25,147 - INFO - Deleting interface with subnet_id 9ca4995b-7b2c-4a7a-94ed-8d0eb724f668, port_id None from router 2cb43c71-c354-4cd2-b8ce-9c86d27281a1 2025-10-17 21:53:25,392 - INFO - Deleting interface with subnet_id 327f9caf-9bf6-4310-b267-d88a0fe07c0b, port_id None from router 2cb43c71-c354-4cd2-b8ce-9c86d27281a1 2025-10-17 21:53:25,606 - INFO - Deleting VM ctest-vn2-vm1-15712799 2025-10-17 21:53:25,694 - INFO - Deleting VM ctest-vn1-vm1-27283208 2025-10-17 21:53:25,776 - INFO - Deleting VN ctest-vn2-38673481 2025-10-17 21:53:25,817 - DEBUG - VN 029b4f07-b121-4c92-a631-1c681e398814 still in use: Unable to complete operation on network 029b4f07-b121-4c92-a631-1c681e398814. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-432f7feb-5532-4b49-abda-c9024bd1451f'] 2025-10-17 21:53:25,817 - WARNING - Deleting VN ctest-vn2-38673481 failed..Will retry 2025-10-17 21:53:28,040 - DEBUG - Response for deleting network () 2025-10-17 21:53:28,040 - INFO - Deleting VN ctest-vn1-73270439 2025-10-17 21:53:28,167 - DEBUG - Response for deleting network () 2025-10-17 21:53:28,465 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 21:53:28,465 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-10-17 21:53:28,465 - INFO - -------------------------------------------------------------------------------- 2025-10-17 21:53:29,285 - INFO - Deleted project: ctest-TestRouters-48167298, ID : bd369157-9e1a-4190-bb7f-3b148b6887cf