2025-10-07 16:49:48,489 - INFO - Domain Default found not creating 2025-10-07 16:49:48,645 - INFO - Project ctest-TestRouters-21753910 not found, creating it 2025-10-07 16:49:49,121 - INFO - Created Project:ctest-TestRouters-21753910, ID : 1e1efe32-1afc-4a06-8b21-7ed9f78ca717 2025-10-07 16:49:50,700 - INFO - ================================================================================ 2025-10-07 16:49:50,700 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-07 16:49:50,700 - 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-07 16:49:50,956 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-07 16:49:50,956 - INFO - Initial checks done. Running the testcase now 2025-10-07 16:49:50,956 - INFO - 2025-10-07 16:49:51,504 - DEBUG - Response for create_network : {'network': {'id': '9993bfae-6014-4f2b-8875-9d676d88a317', 'name': 'ctest-vn1-87421833', 'tenant_id': '1e1efe321afc4a068b217ed9f78ca717', 'project_id': '1e1efe321afc4a068b217ed9f78ca717', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21753910', 'ctest-vn1-87421833'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 16:49:51,730 - DEBUG - Response for create_subnet : {'subnet': {'id': '32b93f1a-32ff-4b0a-9ab1-7c76ce0ac937', 'name': '', 'tenant_id': '1e1efe321afc4a068b217ed9f78ca717', 'network_id': '9993bfae-6014-4f2b-8875-9d676d88a317', 'ip_version': 4, 'cidr': '9.87.245.0/26', 'allocation_pools': [{'start': '9.87.245.2', 'end': '9.87.245.62'}], 'gateway_ip': '9.87.245.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.87.245.2', 'tags': [], 'project_id': '1e1efe321afc4a068b217ed9f78ca717'}} 2025-10-07 16:49:51,747 - INFO - Created VN ctest-vn1-87421833 2025-10-07 16:49:51,798 - DEBUG - VN ctest-vn1-87421833 UUID is 9993bfae-6014-4f2b-8875-9d676d88a317 2025-10-07 16:49:52,141 - DEBUG - Response for create_network : {'network': {'id': '35a30d13-7250-467c-9add-41c8bac834b1', 'name': 'ctest-vn2-70565441', 'tenant_id': '1e1efe321afc4a068b217ed9f78ca717', 'project_id': '1e1efe321afc4a068b217ed9f78ca717', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-21753910', 'ctest-vn2-70565441'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 16:49:52,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '52920cf7-9410-453d-a92c-7147b8a3a09d', 'name': '', 'tenant_id': '1e1efe321afc4a068b217ed9f78ca717', 'network_id': '35a30d13-7250-467c-9add-41c8bac834b1', 'ip_version': 4, 'cidr': '182.172.50.128/26', 'allocation_pools': [{'start': '182.172.50.130', 'end': '182.172.50.190'}], 'gateway_ip': '182.172.50.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.172.50.130', 'tags': [], 'project_id': '1e1efe321afc4a068b217ed9f78ca717'}} 2025-10-07 16:49:52,390 - INFO - Created VN ctest-vn2-70565441 2025-10-07 16:49:52,442 - DEBUG - VN ctest-vn2-70565441 UUID is 35a30d13-7250-467c-9add-41c8bac834b1 2025-10-07 16:49:52,660 - DEBUG - Services list from nova: [, , ] 2025-10-07 16:49:53,690 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4230-1) 2025-10-07 16:49:54,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4230-1) 2025-10-07 16:49:55,054 - INFO - Adding interface with subnet_id 32b93f1a-32ff-4b0a-9ab1-7c76ce0ac937, port_id None to router 17cb3d52-5954-4120-9042-269e04648546 2025-10-07 16:49:55,330 - INFO - Waiting for VM ctest-vn1-vm1-46803010 to be up.. 2025-10-07 16:49:55,410 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-07 16:50:00,506 - DEBUG - VM is in ACTIVE state now 2025-10-07 16:50:00,507 - INFO - VM name : ctest-vn1-vm1-46803010 2025-10-07 16:50:00,594 - DEBUG - VM ctest-vn1-vm1-46803010 ID is 2a2696bc-8caa-44f3-a295-7bd991501c90 2025-10-07 16:50:00,616 - DEBUG - VM ctest-vn1-vm1-46803010 launched on Node cn-jenkins-deploy-platform-ansible-os-4230-1 2025-10-07 16:50:00,703 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2a2696bc-8caa-44f3-a295-7bd991501c90 2025-10-07 16:50:01,008 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2a2696bc-8caa-44f3-a295-7bd991501c90 2025-10-07 16:50:01,046 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e0fd5949-209f-4dc5-9c1b-97b714d744c7 2025-10-07 16:50:04,316 - 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 1010ms') 2025-10-07 16:50:04,316 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46803010 failed! 2025-10-07 16:50:04,370 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-21753910:ctest-vn1-87421833 is 9.87.245.1 and allocation pool is NOT set 2025-10-07 16:50:06,432 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.05 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 = 1.045/2.383/3.722/1.338 ms') 2025-10-07 16:50:06,432 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46803010 passed 2025-10-07 16:50:06,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:50:06,587 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46803010, IP 9.87.245.3, Port 22 2025-10-07 16:50:06,759 - DEBUG - VM ctest-vn1-vm1-46803010 is ready for SSH connections 2025-10-07 16:50:06,759 - INFO - Waiting for VM ctest-vn2-vm1-48162649 to be up.. 2025-10-07 16:50:06,840 - DEBUG - VM is in ACTIVE state now 2025-10-07 16:50:06,840 - INFO - VM name : ctest-vn2-vm1-48162649 2025-10-07 16:50:06,925 - DEBUG - VM ctest-vn2-vm1-48162649 ID is cc820443-7910-4621-887d-c1698710836c 2025-10-07 16:50:06,925 - DEBUG - VM ctest-vn2-vm1-48162649 launched on Node cn-jenkins-deploy-platform-ansible-os-4230-1 2025-10-07 16:50:07,000 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cc820443-7910-4621-887d-c1698710836c 2025-10-07 16:50:07,009 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b6c1e006-887e-40af-9af8-3bfac0540a8b 2025-10-07 16:50:08,247 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.533 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.533/1.754/2.976/1.221 ms') 2025-10-07 16:50:08,247 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-48162649 passed 2025-10-07 16:50:08,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:50:08,410 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48162649, IP 182.172.50.131, Port 22 2025-10-07 16:50:08,585 - DEBUG - VM ctest-vn2-vm1-48162649 is ready for SSH connections 2025-10-07 16:50:08,585 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:50:08,585 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.172.50.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 16:50:08,585 - DEBUG - ping -s 56 -c 3 -W 1 182.172.50.131 2025-10-07 16:50:13,630 - DEBUG - PING 182.172.50.131 (182.172.50.131): 56 data bytes --- 182.172.50.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-07 16:50:13,630 - WARNING - Ping to IP 182.172.50.131 from VM ctest-vn1-vm1-46803010 failed 2025-10-07 16:50:13,630 - INFO - Adding interface with subnet_id 52920cf7-9410-453d-a92c-7147b8a3a09d, port_id None to router 17cb3d52-5954-4120-9042-269e04648546 2025-10-07 16:50:13,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:50:13,915 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.172.50.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 16:50:13,915 - DEBUG - ping -s 56 -c 3 -W 1 182.172.50.131 2025-10-07 16:50:17,127 - DEBUG - PING 182.172.50.131 (182.172.50.131): 56 data bytes 64 bytes from 182.172.50.131: seq=1 ttl=63 time=3.204 ms 64 bytes from 182.172.50.131: seq=2 ttl=63 time=1.202 ms --- 182.172.50.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.202/2.203/3.204 ms 2025-10-07 16:50:17,127 - WARNING - Ping to IP 182.172.50.131 from VM ctest-vn1-vm1-46803010 failed 2025-10-07 16:50:18,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.172.50.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 16:50:18,128 - DEBUG - ping -s 56 -c 3 -W 1 182.172.50.131 2025-10-07 16:50:20,342 - DEBUG - PING 182.172.50.131 (182.172.50.131): 56 data bytes 64 bytes from 182.172.50.131: seq=0 ttl=63 time=1.594 ms 64 bytes from 182.172.50.131: seq=1 ttl=63 time=1.026 ms 64 bytes from 182.172.50.131: seq=2 ttl=63 time=0.931 ms --- 182.172.50.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/1.183/1.594 ms 2025-10-07 16:50:20,342 - INFO - Ping to IP 182.172.50.131 from VM ctest-vn1-vm1-46803010 passed 2025-10-07 16:50:20,342 - INFO - Deleting interface with subnet_id 32b93f1a-32ff-4b0a-9ab1-7c76ce0ac937, port_id None from router 17cb3d52-5954-4120-9042-269e04648546 2025-10-07 16:50:20,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:50:20,464 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.172.50.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 16:50:20,464 - DEBUG - ping -s 56 -c 3 -W 1 182.172.50.131 2025-10-07 16:50:23,678 - DEBUG - PING 182.172.50.131 (182.172.50.131): 56 data bytes --- 182.172.50.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-07 16:50:23,678 - WARNING - Ping to IP 182.172.50.131 from VM ctest-vn1-vm1-46803010 failed 2025-10-07 16:50:23,678 - INFO - Adding interface with subnet_id 32b93f1a-32ff-4b0a-9ab1-7c76ce0ac937, port_id None to router 17cb3d52-5954-4120-9042-269e04648546 2025-10-07 16:50:23,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 16:50:23,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.172.50.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 16:50:23,907 - DEBUG - ping -s 56 -c 3 -W 1 182.172.50.131 2025-10-07 16:50:26,127 - DEBUG - PING 182.172.50.131 (182.172.50.131): 56 data bytes 64 bytes from 182.172.50.131: seq=0 ttl=63 time=1.849 ms 64 bytes from 182.172.50.131: seq=1 ttl=63 time=0.993 ms 64 bytes from 182.172.50.131: seq=2 ttl=63 time=1.113 ms --- 182.172.50.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.993/1.318/1.849 ms 2025-10-07 16:50:26,127 - INFO - Ping to IP 182.172.50.131 from VM ctest-vn1-vm1-46803010 passed 2025-10-07 16:50:26,127 - INFO - Deleting interface with subnet_id 52920cf7-9410-453d-a92c-7147b8a3a09d, port_id None from router 17cb3d52-5954-4120-9042-269e04648546 2025-10-07 16:50:26,274 - INFO - Deleting interface with subnet_id 32b93f1a-32ff-4b0a-9ab1-7c76ce0ac937, port_id None from router 17cb3d52-5954-4120-9042-269e04648546 2025-10-07 16:50:26,494 - INFO - Deleting VM ctest-vn2-vm1-48162649 2025-10-07 16:50:26,569 - INFO - Deleting VM ctest-vn1-vm1-46803010 2025-10-07 16:50:26,660 - INFO - Deleting VN ctest-vn2-70565441 2025-10-07 16:50:26,701 - DEBUG - VN 35a30d13-7250-467c-9add-41c8bac834b1 still in use: Unable to complete operation on network 35a30d13-7250-467c-9add-41c8bac834b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b223bea2-42d6-4bcf-ae07-9f48586621be'] 2025-10-07 16:50:26,702 - WARNING - Deleting VN ctest-vn2-70565441 failed..Will retry 2025-10-07 16:50:28,819 - DEBUG - Response for deleting network () 2025-10-07 16:50:28,820 - INFO - Deleting VN ctest-vn1-87421833 2025-10-07 16:50:28,932 - DEBUG - Response for deleting network () 2025-10-07 16:50:29,210 - DEBUG - No XMPP flaps were noticed during the test
2025-10-07 16:50:29,210 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-07 16:50:29,211 - INFO - -------------------------------------------------------------------------------- 2025-10-07 16:50:29,911 - INFO - Deleted project: ctest-TestRouters-21753910, ID : 1e1efe32-1afc-4a06-8b21-7ed9f78ca717