2025-10-08 12:48:20,299 - INFO - Domain Default found not creating 2025-10-08 12:48:20,438 - INFO - Project ctest-TestRouters-45117075 not found, creating it 2025-10-08 12:48:20,885 - INFO - Created Project:ctest-TestRouters-45117075, ID : 1c61161d-9b7f-4f58-9c80-5d793f9a644b 2025-10-08 12:48:22,280 - INFO - ================================================================================ 2025-10-08 12:48:22,280 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-08 12:48:22,280 - 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-08 12:48:22,536 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-08 12:48:22,536 - INFO - Initial checks done. Running the testcase now 2025-10-08 12:48:22,536 - INFO - 2025-10-08 12:48:23,054 - DEBUG - Response for create_network : {'network': {'id': 'e1c3d3aa-dde7-4526-8a02-cd38b2b019a0', 'name': 'ctest-vn1-90250891', 'tenant_id': '1c61161d9b7f4f589c805d793f9a644b', 'project_id': '1c61161d9b7f4f589c805d793f9a644b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45117075', 'ctest-vn1-90250891'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 12:48:23,226 - DEBUG - Response for create_subnet : {'subnet': {'id': '72a00f6e-803e-461c-a333-700ddafba4f8', 'name': '', 'tenant_id': '1c61161d9b7f4f589c805d793f9a644b', 'network_id': 'e1c3d3aa-dde7-4526-8a02-cd38b2b019a0', 'ip_version': 4, 'cidr': '103.84.1.0/26', 'allocation_pools': [{'start': '103.84.1.2', 'end': '103.84.1.62'}], 'gateway_ip': '103.84.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.84.1.2', 'tags': [], 'project_id': '1c61161d9b7f4f589c805d793f9a644b'}} 2025-10-08 12:48:23,243 - INFO - Created VN ctest-vn1-90250891 2025-10-08 12:48:23,294 - DEBUG - VN ctest-vn1-90250891 UUID is e1c3d3aa-dde7-4526-8a02-cd38b2b019a0 2025-10-08 12:48:23,595 - DEBUG - Response for create_network : {'network': {'id': 'e4bedfb1-adc7-44d1-8144-2e66a7bed20f', 'name': 'ctest-vn2-26441250', 'tenant_id': '1c61161d9b7f4f589c805d793f9a644b', 'project_id': '1c61161d9b7f4f589c805d793f9a644b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-45117075', 'ctest-vn2-26441250'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 12:48:23,794 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a8ace6b6-839a-4ae1-adce-6da473a9be49', 'name': '', 'tenant_id': '1c61161d9b7f4f589c805d793f9a644b', 'network_id': 'e4bedfb1-adc7-44d1-8144-2e66a7bed20f', 'ip_version': 4, 'cidr': '25.240.25.128/26', 'allocation_pools': [{'start': '25.240.25.130', 'end': '25.240.25.190'}], 'gateway_ip': '25.240.25.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.240.25.130', 'tags': [], 'project_id': '1c61161d9b7f4f589c805d793f9a644b'}} 2025-10-08 12:48:23,810 - INFO - Created VN ctest-vn2-26441250 2025-10-08 12:48:23,866 - DEBUG - VN ctest-vn2-26441250 UUID is e4bedfb1-adc7-44d1-8144-2e66a7bed20f 2025-10-08 12:48:24,104 - DEBUG - Services list from nova: [, , ] 2025-10-08 12:48:25,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4233-1) 2025-10-08 12:48:26,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4233-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4233-1) 2025-10-08 12:48:26,351 - INFO - Adding interface with subnet_id 72a00f6e-803e-461c-a333-700ddafba4f8, port_id None to router 74de1cbf-a825-442c-ad04-ba044b170b22 2025-10-08 12:48:26,618 - INFO - Waiting for VM ctest-vn1-vm1-72209167 to be up.. 2025-10-08 12:48:26,703 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 12:48:31,768 - DEBUG - VM is in ACTIVE state now 2025-10-08 12:48:31,768 - INFO - VM name : ctest-vn1-vm1-72209167 2025-10-08 12:48:31,834 - DEBUG - VM ctest-vn1-vm1-72209167 ID is 16c03c5b-e693-48dd-830a-92af9641c3fe 2025-10-08 12:48:31,851 - DEBUG - VM ctest-vn1-vm1-72209167 launched on Node cn-jenkins-deploy-platform-ansible-os-4233-1 2025-10-08 12:48:31,923 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/16c03c5b-e693-48dd-830a-92af9641c3fe 2025-10-08 12:48:32,222 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/16c03c5b-e693-48dd-830a-92af9641c3fe 2025-10-08 12:48:32,253 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6067ec38-14af-4439-af11-e15799873276 2025-10-08 12:48:35,519 - 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 1032ms') 2025-10-08 12:48:35,519 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72209167 failed! 2025-10-08 12:48:35,574 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-45117075:ctest-vn1-90250891 is 103.84.1.1 and allocation pool is NOT set 2025-10-08 12:48:37,632 - 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.386 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.386/1.534/2.682/1.148 ms') 2025-10-08 12:48:37,632 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72209167 passed 2025-10-08 12:48:37,777 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:48:37,778 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72209167, IP 103.84.1.3, Port 22 2025-10-08 12:48:37,938 - DEBUG - VM ctest-vn1-vm1-72209167 is ready for SSH connections 2025-10-08 12:48:37,938 - INFO - Waiting for VM ctest-vn2-vm1-32137860 to be up.. 2025-10-08 12:48:38,011 - DEBUG - VM is in ACTIVE state now 2025-10-08 12:48:38,011 - INFO - VM name : ctest-vn2-vm1-32137860 2025-10-08 12:48:38,079 - DEBUG - VM ctest-vn2-vm1-32137860 ID is 4ded600e-0625-48f3-9a17-d48c7fd9df5d 2025-10-08 12:48:38,080 - DEBUG - VM ctest-vn2-vm1-32137860 launched on Node cn-jenkins-deploy-platform-ansible-os-4233-1 2025-10-08 12:48:38,151 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4ded600e-0625-48f3-9a17-d48c7fd9df5d 2025-10-08 12:48:38,158 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/57690caa-57c9-472b-bd19-018d9772b5fd 2025-10-08 12:48:39,391 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.370/1.495/2.620/1.125 ms') 2025-10-08 12:48:39,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-32137860 passed 2025-10-08 12:48:39,538 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:48:39,539 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-32137860, IP 25.240.25.131, Port 22 2025-10-08 12:48:39,704 - DEBUG - VM ctest-vn2-vm1-32137860 is ready for SSH connections 2025-10-08 12:48:39,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:48:39,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.240.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-08 12:48:39,704 - DEBUG - ping -s 56 -c 3 -W 1 25.240.25.131 2025-10-08 12:48:44,362 - DEBUG - PING 25.240.25.131 (25.240.25.131): 56 data bytes --- 25.240.25.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 12:48:44,363 - WARNING - Ping to IP 25.240.25.131 from VM ctest-vn1-vm1-72209167 failed 2025-10-08 12:48:44,363 - INFO - Adding interface with subnet_id a8ace6b6-839a-4ae1-adce-6da473a9be49, port_id None to router 74de1cbf-a825-442c-ad04-ba044b170b22 2025-10-08 12:48:44,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:48:44,595 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.240.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-08 12:48:44,595 - DEBUG - ping -s 56 -c 3 -W 1 25.240.25.131 2025-10-08 12:48:46,791 - DEBUG - PING 25.240.25.131 (25.240.25.131): 56 data bytes 64 bytes from 25.240.25.131: seq=0 ttl=63 time=2.591 ms 64 bytes from 25.240.25.131: seq=1 ttl=63 time=0.822 ms 64 bytes from 25.240.25.131: seq=2 ttl=63 time=1.085 ms --- 25.240.25.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/1.499/2.591 ms 2025-10-08 12:48:46,791 - INFO - Ping to IP 25.240.25.131 from VM ctest-vn1-vm1-72209167 passed 2025-10-08 12:48:46,792 - INFO - Deleting interface with subnet_id 72a00f6e-803e-461c-a333-700ddafba4f8, port_id None from router 74de1cbf-a825-442c-ad04-ba044b170b22 2025-10-08 12:48:46,896 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:48:46,896 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.240.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-08 12:48:46,896 - DEBUG - ping -s 56 -c 3 -W 1 25.240.25.131 2025-10-08 12:48:50,095 - DEBUG - PING 25.240.25.131 (25.240.25.131): 56 data bytes --- 25.240.25.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-08 12:48:50,095 - WARNING - Ping to IP 25.240.25.131 from VM ctest-vn1-vm1-72209167 failed 2025-10-08 12:48:50,096 - INFO - Adding interface with subnet_id 72a00f6e-803e-461c-a333-700ddafba4f8, port_id None to router 74de1cbf-a825-442c-ad04-ba044b170b22 2025-10-08 12:48:50,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 12:48:50,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.240.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-08 12:48:50,288 - DEBUG - ping -s 56 -c 3 -W 1 25.240.25.131 2025-10-08 12:48:53,481 - DEBUG - PING 25.240.25.131 (25.240.25.131): 56 data bytes 64 bytes from 25.240.25.131: seq=1 ttl=63 time=1.368 ms 64 bytes from 25.240.25.131: seq=2 ttl=63 time=0.704 ms --- 25.240.25.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.704/1.036/1.368 ms 2025-10-08 12:48:53,481 - WARNING - Ping to IP 25.240.25.131 from VM ctest-vn1-vm1-72209167 failed 2025-10-08 12:48:54,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.240.25.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-08 12:48:54,482 - DEBUG - ping -s 56 -c 3 -W 1 25.240.25.131 2025-10-08 12:48:56,686 - DEBUG - PING 25.240.25.131 (25.240.25.131): 56 data bytes 64 bytes from 25.240.25.131: seq=0 ttl=63 time=1.349 ms 64 bytes from 25.240.25.131: seq=1 ttl=63 time=0.738 ms 64 bytes from 25.240.25.131: seq=2 ttl=63 time=0.804 ms --- 25.240.25.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/0.963/1.349 ms 2025-10-08 12:48:56,686 - INFO - Ping to IP 25.240.25.131 from VM ctest-vn1-vm1-72209167 passed 2025-10-08 12:48:56,686 - INFO - Deleting interface with subnet_id a8ace6b6-839a-4ae1-adce-6da473a9be49, port_id None from router 74de1cbf-a825-442c-ad04-ba044b170b22 2025-10-08 12:48:56,798 - INFO - Deleting interface with subnet_id 72a00f6e-803e-461c-a333-700ddafba4f8, port_id None from router 74de1cbf-a825-442c-ad04-ba044b170b22 2025-10-08 12:48:56,976 - INFO - Deleting VM ctest-vn2-vm1-32137860 2025-10-08 12:48:57,049 - INFO - Deleting VM ctest-vn1-vm1-72209167 2025-10-08 12:48:57,110 - INFO - Deleting VN ctest-vn2-26441250 2025-10-08 12:48:57,143 - DEBUG - VN e4bedfb1-adc7-44d1-8144-2e66a7bed20f still in use: Unable to complete operation on network e4bedfb1-adc7-44d1-8144-2e66a7bed20f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-133fb74b-02d5-4181-b030-de0ce402168e'] 2025-10-08 12:48:57,144 - WARNING - Deleting VN ctest-vn2-26441250 failed..Will retry 2025-10-08 12:48:59,238 - DEBUG - Response for deleting network () 2025-10-08 12:48:59,238 - INFO - Deleting VN ctest-vn1-90250891 2025-10-08 12:48:59,345 - DEBUG - Response for deleting network () 2025-10-08 12:48:59,610 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 12:48:59,610 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-10-08 12:48:59,610 - INFO - -------------------------------------------------------------------------------- 2025-10-08 12:49:00,272 - INFO - Deleted project: ctest-TestRouters-45117075, ID : 1c61161d-9b7f-4f58-9c80-5d793f9a644b