2025-11-05 08:18:24,020 - INFO - Domain Default found not creating 2025-11-05 08:18:24,155 - INFO - Project ctest-TestRouters-72401924 not found, creating it 2025-11-05 08:18:24,604 - INFO - Created Project:ctest-TestRouters-72401924, ID : c9852529-09de-42e2-b288-78e84be0faa0 2025-11-05 08:18:26,029 - INFO - ================================================================================ 2025-11-05 08:18:26,029 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-05 08:18:26,030 - 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-11-05 08:18:26,283 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.193': '0'}} with 2025-11-05 08:18:26,283 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:18:26,283 - INFO - 2025-11-05 08:18:26,860 - DEBUG - Response for create_network : {'network': {'id': '008841ca-48bb-44ab-bb79-f1939a9e8def', 'name': 'ctest-vn1-54903463', 'tenant_id': 'c985252909de42e2b28878e84be0faa0', 'project_id': 'c985252909de42e2b28878e84be0faa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72401924', 'ctest-vn1-54903463'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:18:27,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '292ecb1a-66ea-42e6-904b-2185a76db1cf', 'name': '', 'tenant_id': 'c985252909de42e2b28878e84be0faa0', 'network_id': '008841ca-48bb-44ab-bb79-f1939a9e8def', 'ip_version': 4, 'cidr': '158.58.4.192/26', 'allocation_pools': [{'start': '158.58.4.194', 'end': '158.58.4.254'}], 'gateway_ip': '158.58.4.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.58.4.194', 'tags': [], 'project_id': 'c985252909de42e2b28878e84be0faa0'}} 2025-11-05 08:18:27,073 - INFO - Created VN ctest-vn1-54903463 2025-11-05 08:18:27,129 - DEBUG - VN ctest-vn1-54903463 UUID is 008841ca-48bb-44ab-bb79-f1939a9e8def 2025-11-05 08:18:27,454 - DEBUG - Response for create_network : {'network': {'id': '78f9b139-d6de-4c76-ad0c-31c8ce9a2102', 'name': 'ctest-vn2-01721677', 'tenant_id': 'c985252909de42e2b28878e84be0faa0', 'project_id': 'c985252909de42e2b28878e84be0faa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72401924', 'ctest-vn2-01721677'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:18:27,660 - DEBUG - Response for create_subnet : {'subnet': {'id': '9005dee1-5882-4074-bc00-a8650c28f9b3', 'name': '', 'tenant_id': 'c985252909de42e2b28878e84be0faa0', 'network_id': '78f9b139-d6de-4c76-ad0c-31c8ce9a2102', 'ip_version': 4, 'cidr': '222.37.63.64/26', 'allocation_pools': [{'start': '222.37.63.66', 'end': '222.37.63.126'}], 'gateway_ip': '222.37.63.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.37.63.66', 'tags': [], 'project_id': 'c985252909de42e2b28878e84be0faa0'}} 2025-11-05 08:18:27,678 - INFO - Created VN ctest-vn2-01721677 2025-11-05 08:18:27,732 - DEBUG - VN ctest-vn2-01721677 UUID is 78f9b139-d6de-4c76-ad0c-31c8ce9a2102 2025-11-05 08:18:27,945 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:18:28,951 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1) 2025-11-05 08:18:30,178 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4633-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4633-1) 2025-11-05 08:18:30,265 - INFO - Adding interface with subnet_id 292ecb1a-66ea-42e6-904b-2185a76db1cf, port_id None to router e5aacb17-8388-40d9-8af4-7ef93e9a976d 2025-11-05 08:18:30,527 - INFO - Waiting for VM ctest-vn1-vm1-01928958 to be up.. 2025-11-05 08:18:30,654 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:18:35,730 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:18:35,731 - INFO - VM name : ctest-vn1-vm1-01928958 2025-11-05 08:18:35,799 - DEBUG - VM ctest-vn1-vm1-01928958 ID is 7afd7bd3-70c5-4df2-be46-0995cbe5f457 2025-11-05 08:18:35,818 - DEBUG - VM ctest-vn1-vm1-01928958 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1 2025-11-05 08:18:35,893 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7afd7bd3-70c5-4df2-be46-0995cbe5f457 2025-11-05 08:18:36,199 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/7afd7bd3-70c5-4df2-be46-0995cbe5f457 2025-11-05 08:18:36,230 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d8700b86-e305-4aba-8e0f-41359b0aa702 2025-11-05 08:18:39,481 - 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-11-05 08:18:39,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01928958 failed! 2025-11-05 08:18:39,533 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-72401924:ctest-vn1-54903463 is 158.58.4.193 and allocation pool is NOT set 2025-11-05 08:18:41,589 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/1.726/3.034/1.307 ms') 2025-11-05 08:18:41,589 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01928958 passed 2025-11-05 08:18:41,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:41,737 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01928958, IP 158.58.4.195, Port 22 2025-11-05 08:18:41,888 - DEBUG - VM ctest-vn1-vm1-01928958 is ready for SSH connections 2025-11-05 08:18:41,888 - INFO - Waiting for VM ctest-vn2-vm1-63574567 to be up.. 2025-11-05 08:18:41,958 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:18:41,958 - INFO - VM name : ctest-vn2-vm1-63574567 2025-11-05 08:18:42,028 - DEBUG - VM ctest-vn2-vm1-63574567 ID is 44b5ed7b-9b8a-458c-ac75-038b1325a11e 2025-11-05 08:18:42,028 - DEBUG - VM ctest-vn2-vm1-63574567 launched on Node cn-jenkins-deploy-platform-ansible-os-4633-1 2025-11-05 08:18:42,100 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/44b5ed7b-9b8a-458c-ac75-038b1325a11e 2025-11-05 08:18:42,109 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a0937132-0add-4e5f-9773-d7f2acb89f9c 2025-11-05 08:18:43,339 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.369 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.369/2.121/3.873/1.752 ms') 2025-11-05 08:18:43,339 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-63574567 passed 2025-11-05 08:18:43,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:43,489 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-63574567, IP 222.37.63.67, Port 22 2025-11-05 08:18:43,654 - DEBUG - VM ctest-vn2-vm1-63574567 is ready for SSH connections 2025-11-05 08:18:43,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:43,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.37.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-05 08:18:43,654 - DEBUG - ping -s 56 -c 3 -W 1 222.37.63.67 2025-11-05 08:18:48,302 - DEBUG - PING 222.37.63.67 (222.37.63.67): 56 data bytes --- 222.37.63.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:18:48,302 - WARNING - Ping to IP 222.37.63.67 from VM ctest-vn1-vm1-01928958 failed 2025-11-05 08:18:48,302 - INFO - Adding interface with subnet_id 9005dee1-5882-4074-bc00-a8650c28f9b3, port_id None to router e5aacb17-8388-40d9-8af4-7ef93e9a976d 2025-11-05 08:18:48,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:48,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.37.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-05 08:18:48,583 - DEBUG - ping -s 56 -c 3 -W 1 222.37.63.67 2025-11-05 08:18:50,786 - DEBUG - PING 222.37.63.67 (222.37.63.67): 56 data bytes 64 bytes from 222.37.63.67: seq=0 ttl=63 time=2.499 ms 64 bytes from 222.37.63.67: seq=1 ttl=63 time=0.923 ms 64 bytes from 222.37.63.67: seq=2 ttl=63 time=1.008 ms --- 222.37.63.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/1.476/2.499 ms 2025-11-05 08:18:50,786 - INFO - Ping to IP 222.37.63.67 from VM ctest-vn1-vm1-01928958 passed 2025-11-05 08:18:50,786 - INFO - Deleting interface with subnet_id 292ecb1a-66ea-42e6-904b-2185a76db1cf, port_id None from router e5aacb17-8388-40d9-8af4-7ef93e9a976d 2025-11-05 08:18:50,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:50,912 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.37.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-05 08:18:50,913 - DEBUG - ping -s 56 -c 3 -W 1 222.37.63.67 2025-11-05 08:18:54,125 - DEBUG - PING 222.37.63.67 (222.37.63.67): 56 data bytes --- 222.37.63.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:18:54,126 - WARNING - Ping to IP 222.37.63.67 from VM ctest-vn1-vm1-01928958 failed 2025-11-05 08:18:54,126 - INFO - Adding interface with subnet_id 292ecb1a-66ea-42e6-904b-2185a76db1cf, port_id None to router e5aacb17-8388-40d9-8af4-7ef93e9a976d 2025-11-05 08:18:54,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:54,339 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.37.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-05 08:18:54,339 - DEBUG - ping -s 56 -c 3 -W 1 222.37.63.67 2025-11-05 08:18:57,556 - DEBUG - PING 222.37.63.67 (222.37.63.67): 56 data bytes 64 bytes from 222.37.63.67: seq=1 ttl=63 time=1.645 ms 64 bytes from 222.37.63.67: seq=2 ttl=63 time=0.807 ms --- 222.37.63.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.807/1.226/1.645 ms 2025-11-05 08:18:57,556 - WARNING - Ping to IP 222.37.63.67 from VM ctest-vn1-vm1-01928958 failed 2025-11-05 08:18:58,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.37.63.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-11-05 08:18:58,557 - DEBUG - ping -s 56 -c 3 -W 1 222.37.63.67 2025-11-05 08:19:00,761 - DEBUG - PING 222.37.63.67 (222.37.63.67): 56 data bytes 64 bytes from 222.37.63.67: seq=0 ttl=63 time=1.728 ms 64 bytes from 222.37.63.67: seq=1 ttl=63 time=0.832 ms 64 bytes from 222.37.63.67: seq=2 ttl=63 time=0.924 ms --- 222.37.63.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.161/1.728 ms 2025-11-05 08:19:00,761 - INFO - Ping to IP 222.37.63.67 from VM ctest-vn1-vm1-01928958 passed 2025-11-05 08:19:00,761 - INFO - Deleting interface with subnet_id 9005dee1-5882-4074-bc00-a8650c28f9b3, port_id None from router e5aacb17-8388-40d9-8af4-7ef93e9a976d 2025-11-05 08:19:00,872 - INFO - Deleting interface with subnet_id 292ecb1a-66ea-42e6-904b-2185a76db1cf, port_id None from router e5aacb17-8388-40d9-8af4-7ef93e9a976d 2025-11-05 08:19:01,040 - INFO - Deleting VM ctest-vn2-vm1-63574567 2025-11-05 08:19:01,127 - INFO - Deleting VM ctest-vn1-vm1-01928958 2025-11-05 08:19:01,205 - INFO - Deleting VN ctest-vn2-01721677 2025-11-05 08:19:01,254 - DEBUG - VN 78f9b139-d6de-4c76-ad0c-31c8ce9a2102 still in use: Unable to complete operation on network 78f9b139-d6de-4c76-ad0c-31c8ce9a2102. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-995dae10-6e77-4f78-b170-1a8ca313a3f6'] 2025-11-05 08:19:01,254 - WARNING - Deleting VN ctest-vn2-01721677 failed..Will retry 2025-11-05 08:19:03,354 - DEBUG - Response for deleting network () 2025-11-05 08:19:03,355 - INFO - Deleting VN ctest-vn1-54903463 2025-11-05 08:19:03,445 - DEBUG - Response for deleting network () 2025-11-05 08:19:03,701 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:19:03,702 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-11-05 08:19:03,702 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:19:04,372 - INFO - Deleted project: ctest-TestRouters-72401924, ID : c9852529-09de-42e2-b288-78e84be0faa0