2025-08-22 13:54:01,946 - INFO - Domain Default found not creating 2025-08-22 13:54:02,122 - INFO - Project ctest-TestRouters-20689157 not found, creating it 2025-08-22 13:54:02,676 - INFO - Created Project:ctest-TestRouters-20689157, ID : 8e1b6b8c-dfff-4fb1-a68c-3ac6d2a3c6be 2025-08-22 13:54:04,299 - INFO - ================================================================================ 2025-08-22 13:54:04,299 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-22 13:54:04,299 - 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-22 13:54:04,556 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-22 13:54:04,556 - INFO - Initial checks done. Running the testcase now 2025-08-22 13:54:04,556 - INFO - 2025-08-22 13:54:05,201 - DEBUG - Response for create_network : {'network': {'id': '242dff56-bdf9-4903-a7aa-f58adbbab9e9', 'name': 'ctest-vn1-99395711', 'tenant_id': '8e1b6b8cdfff4fb1a68c3ac6d2a3c6be', 'project_id': '8e1b6b8cdfff4fb1a68c3ac6d2a3c6be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20689157', 'ctest-vn1-99395711'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:54:05,476 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7b60214-27dd-474e-b351-be1ec62a671f', 'name': '', 'tenant_id': '8e1b6b8cdfff4fb1a68c3ac6d2a3c6be', 'network_id': '242dff56-bdf9-4903-a7aa-f58adbbab9e9', 'ip_version': 4, 'cidr': '151.58.27.192/26', 'allocation_pools': [{'start': '151.58.27.194', 'end': '151.58.27.254'}], 'gateway_ip': '151.58.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.58.27.194', 'tags': [], 'project_id': '8e1b6b8cdfff4fb1a68c3ac6d2a3c6be'}} 2025-08-22 13:54:05,507 - INFO - Created VN ctest-vn1-99395711 2025-08-22 13:54:05,565 - DEBUG - VN ctest-vn1-99395711 UUID is 242dff56-bdf9-4903-a7aa-f58adbbab9e9 2025-08-22 13:54:05,936 - DEBUG - Response for create_network : {'network': {'id': 'a4d6fd85-3419-4783-9dd7-235665b5f4d8', 'name': 'ctest-vn2-91505162', 'tenant_id': '8e1b6b8cdfff4fb1a68c3ac6d2a3c6be', 'project_id': '8e1b6b8cdfff4fb1a68c3ac6d2a3c6be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-20689157', 'ctest-vn2-91505162'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 13:54:06,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b7d0f8f-5132-4e69-bf8f-94caea843600', 'name': '', 'tenant_id': '8e1b6b8cdfff4fb1a68c3ac6d2a3c6be', 'network_id': 'a4d6fd85-3419-4783-9dd7-235665b5f4d8', 'ip_version': 4, 'cidr': '111.0.191.64/26', 'allocation_pools': [{'start': '111.0.191.66', 'end': '111.0.191.126'}], 'gateway_ip': '111.0.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.0.191.66', 'tags': [], 'project_id': '8e1b6b8cdfff4fb1a68c3ac6d2a3c6be'}} 2025-08-22 13:54:06,213 - INFO - Created VN ctest-vn2-91505162 2025-08-22 13:54:06,265 - DEBUG - VN ctest-vn2-91505162 UUID is a4d6fd85-3419-4783-9dd7-235665b5f4d8 2025-08-22 13:54:06,428 - DEBUG - Services list from nova: [, , ] 2025-08-22 13:54:07,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3910-1) 2025-08-22 13:54:08,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3910-1) 2025-08-22 13:54:09,032 - INFO - Adding interface with subnet_id e7b60214-27dd-474e-b351-be1ec62a671f, port_id None to router a7228f0c-8bdb-4822-be3e-93f91e50343a 2025-08-22 13:54:09,345 - INFO - Waiting for VM ctest-vn1-vm1-06781159 to be up.. 2025-08-22 13:54:09,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 13:54:14,588 - DEBUG - VM is in ACTIVE state now 2025-08-22 13:54:14,588 - INFO - VM name : ctest-vn1-vm1-06781159 2025-08-22 13:54:14,667 - DEBUG - VM ctest-vn1-vm1-06781159 ID is ec3b4eb8-ae41-46de-9330-d4fdfe99390a 2025-08-22 13:54:14,685 - DEBUG - VM ctest-vn1-vm1-06781159 launched on Node cn-jenkins-deploy-platform-ansible-os-3910-1 2025-08-22 13:54:14,765 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ec3b4eb8-ae41-46de-9330-d4fdfe99390a 2025-08-22 13:54:15,057 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ec3b4eb8-ae41-46de-9330-d4fdfe99390a 2025-08-22 13:54:15,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/04af740a-5d43-4b16-be0f-14cc1ccba76d 2025-08-22 13:54:18,372 - 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 1025ms') 2025-08-22 13:54:18,372 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06781159 failed! 2025-08-22 13:54:18,437 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-20689157:ctest-vn1-99395711 is 151.58.27.193 and allocation pool is NOT set 2025-08-22 13:54:20,502 - 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=4.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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.381/2.771/4.162/1.390 ms') 2025-08-22 13:54:20,503 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06781159 passed 2025-08-22 13:54:20,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:54:20,657 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06781159, IP 151.58.27.195, Port 22 2025-08-22 13:54:20,835 - DEBUG - VM ctest-vn1-vm1-06781159 is ready for SSH connections 2025-08-22 13:54:20,835 - INFO - Waiting for VM ctest-vn2-vm1-16823779 to be up.. 2025-08-22 13:54:20,923 - DEBUG - VM is in ACTIVE state now 2025-08-22 13:54:20,923 - INFO - VM name : ctest-vn2-vm1-16823779 2025-08-22 13:54:21,001 - DEBUG - VM ctest-vn2-vm1-16823779 ID is 6083d14d-89b5-49b4-b19c-355efb4f12a9 2025-08-22 13:54:21,001 - DEBUG - VM ctest-vn2-vm1-16823779 launched on Node cn-jenkins-deploy-platform-ansible-os-3910-1 2025-08-22 13:54:21,076 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6083d14d-89b5-49b4-b19c-355efb4f12a9 2025-08-22 13:54:21,085 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ffc83149-b03b-47c1-b8cd-c97ada662768 2025-08-22 13:54:22,325 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/1.925/3.315/1.389 ms') 2025-08-22 13:54:22,325 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-16823779 passed 2025-08-22 13:54:22,477 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:54:22,477 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-16823779, IP 111.0.191.67, Port 22 2025-08-22 13:54:22,641 - DEBUG - VM ctest-vn2-vm1-16823779 is ready for SSH connections 2025-08-22 13:54:22,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:54:22,641 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.0.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-22 13:54:22,641 - DEBUG - ping -s 56 -c 3 -W 1 111.0.191.67 2025-08-22 13:54:27,642 - DEBUG - PING 111.0.191.67 (111.0.191.67): 56 data bytes --- 111.0.191.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 13:54:27,642 - WARNING - Ping to IP 111.0.191.67 from VM ctest-vn1-vm1-06781159 failed 2025-08-22 13:54:27,642 - INFO - Adding interface with subnet_id 4b7d0f8f-5132-4e69-bf8f-94caea843600, port_id None to router a7228f0c-8bdb-4822-be3e-93f91e50343a 2025-08-22 13:54:27,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:54:27,954 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.0.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-22 13:54:27,954 - DEBUG - ping -s 56 -c 3 -W 1 111.0.191.67 2025-08-22 13:54:31,166 - DEBUG - PING 111.0.191.67 (111.0.191.67): 56 data bytes 64 bytes from 111.0.191.67: seq=1 ttl=63 time=2.890 ms 64 bytes from 111.0.191.67: seq=2 ttl=63 time=0.905 ms --- 111.0.191.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.905/1.897/2.890 ms 2025-08-22 13:54:31,166 - WARNING - Ping to IP 111.0.191.67 from VM ctest-vn1-vm1-06781159 failed 2025-08-22 13:54:32,167 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.0.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-22 13:54:32,167 - DEBUG - ping -s 56 -c 3 -W 1 111.0.191.67 2025-08-22 13:54:34,397 - DEBUG - PING 111.0.191.67 (111.0.191.67): 56 data bytes 64 bytes from 111.0.191.67: seq=0 ttl=63 time=2.058 ms 64 bytes from 111.0.191.67: seq=1 ttl=63 time=0.977 ms 64 bytes from 111.0.191.67: seq=2 ttl=63 time=0.974 ms --- 111.0.191.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/1.336/2.058 ms 2025-08-22 13:54:34,397 - INFO - Ping to IP 111.0.191.67 from VM ctest-vn1-vm1-06781159 passed 2025-08-22 13:54:34,397 - INFO - Deleting interface with subnet_id e7b60214-27dd-474e-b351-be1ec62a671f, port_id None from router a7228f0c-8bdb-4822-be3e-93f91e50343a 2025-08-22 13:54:34,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:54:34,543 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.0.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-22 13:54:34,543 - DEBUG - ping -s 56 -c 3 -W 1 111.0.191.67 2025-08-22 13:54:37,759 - DEBUG - PING 111.0.191.67 (111.0.191.67): 56 data bytes --- 111.0.191.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 13:54:37,759 - WARNING - Ping to IP 111.0.191.67 from VM ctest-vn1-vm1-06781159 failed 2025-08-22 13:54:37,759 - INFO - Adding interface with subnet_id e7b60214-27dd-474e-b351-be1ec62a671f, port_id None to router a7228f0c-8bdb-4822-be3e-93f91e50343a 2025-08-22 13:54:38,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 13:54:38,034 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 111.0.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-22 13:54:38,034 - DEBUG - ping -s 56 -c 3 -W 1 111.0.191.67 2025-08-22 13:54:40,312 - DEBUG - PING 111.0.191.67 (111.0.191.67): 56 data bytes 64 bytes from 111.0.191.67: seq=0 ttl=63 time=1.726 ms 64 bytes from 111.0.191.67: seq=1 ttl=63 time=0.792 ms 64 bytes from 111.0.191.67: seq=2 ttl=63 time=0.799 ms --- 111.0.191.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.105/1.726 ms 2025-08-22 13:54:40,312 - INFO - Ping to IP 111.0.191.67 from VM ctest-vn1-vm1-06781159 passed 2025-08-22 13:54:40,312 - INFO - Deleting interface with subnet_id 4b7d0f8f-5132-4e69-bf8f-94caea843600, port_id None from router a7228f0c-8bdb-4822-be3e-93f91e50343a 2025-08-22 13:54:40,454 - INFO - Deleting interface with subnet_id e7b60214-27dd-474e-b351-be1ec62a671f, port_id None from router a7228f0c-8bdb-4822-be3e-93f91e50343a 2025-08-22 13:54:40,691 - INFO - Deleting VM ctest-vn2-vm1-16823779 2025-08-22 13:54:40,765 - INFO - Deleting VM ctest-vn1-vm1-06781159 2025-08-22 13:54:40,829 - INFO - Deleting VN ctest-vn2-91505162 2025-08-22 13:54:40,870 - DEBUG - VN a4d6fd85-3419-4783-9dd7-235665b5f4d8 still in use: Unable to complete operation on network a4d6fd85-3419-4783-9dd7-235665b5f4d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-65897da7-7d21-43e2-9c4e-aec9611bf38c'] 2025-08-22 13:54:40,870 - WARNING - Deleting VN ctest-vn2-91505162 failed..Will retry 2025-08-22 13:54:43,012 - DEBUG - Response for deleting network () 2025-08-22 13:54:43,012 - INFO - Deleting VN ctest-vn1-99395711 2025-08-22 13:54:43,132 - DEBUG - Response for deleting network () 2025-08-22 13:54:43,390 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 13:54:43,390 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-08-22 13:54:43,391 - INFO - -------------------------------------------------------------------------------- 2025-08-22 13:54:44,159 - INFO - Deleted project: ctest-TestRouters-20689157, ID : 8e1b6b8c-dfff-4fb1-a68c-3ac6d2a3c6be