2025-11-03 21:42:02,110 - INFO - Domain Default found not creating 2025-11-03 21:42:02,265 - INFO - Project ctest-TestRoutersBasic-06230998 not found, creating it 2025-11-03 21:42:02,714 - INFO - Created Project:ctest-TestRoutersBasic-06230998, ID : e46a399b-1f69-45a7-8302-d68ea3331850 2025-11-03 21:42:04,162 - INFO - ================================================================================ 2025-11-03 21:42:04,162 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-03 21:42:04,162 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2025-11-03 21:42:04,419 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-11-03 21:42:04,419 - INFO - Initial checks done. Running the testcase now 2025-11-03 21:42:04,419 - INFO - 2025-11-03 21:42:05,129 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06230998 2025-11-03 21:42:05,224 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06230998 2025-11-03 21:42:05,539 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06230998', 'default']} 2025-11-03 21:42:05,822 - DEBUG - Response for create_network : {'network': {'id': '1a8d72f0-65ce-440b-8d12-9df04d12ced3', 'name': 'ctest-vn-39555893', 'tenant_id': 'e46a399b1f6945a78302d68ea3331850', 'project_id': 'e46a399b1f6945a78302d68ea3331850', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06230998', 'ctest-vn-39555893'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 21:42:06,015 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cea2bee-7597-463b-adc9-0b2632c1457b', 'name': '', 'tenant_id': 'e46a399b1f6945a78302d68ea3331850', 'network_id': '1a8d72f0-65ce-440b-8d12-9df04d12ced3', 'ip_version': 4, 'cidr': '88.122.62.0/26', 'allocation_pools': [{'start': '88.122.62.2', 'end': '88.122.62.62'}], 'gateway_ip': '88.122.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.122.62.2', 'tags': [], 'project_id': 'e46a399b1f6945a78302d68ea3331850'}} 2025-11-03 21:42:06,033 - INFO - Created VN ctest-vn-39555893 2025-11-03 21:42:06,088 - DEBUG - VN ctest-vn-39555893 UUID is 1a8d72f0-65ce-440b-8d12-9df04d12ced3 2025-11-03 21:42:06,394 - DEBUG - Response for create_network : {'network': {'id': '772dc3a9-2f7e-4854-b8fe-bad14c104a42', 'name': 'ctest-ext_vn-98390665', 'tenant_id': 'e46a399b1f6945a78302d68ea3331850', 'project_id': 'e46a399b1f6945a78302d68ea3331850', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06230998', 'ctest-ext_vn-98390665'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 21:42:06,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '55420cbe-39d9-4270-b0c6-9210db5f8177', 'name': '', 'tenant_id': 'e46a399b1f6945a78302d68ea3331850', 'network_id': '772dc3a9-2f7e-4854-b8fe-bad14c104a42', 'ip_version': 4, 'cidr': '106.205.36.64/26', 'allocation_pools': [{'start': '106.205.36.66', 'end': '106.205.36.126'}], 'gateway_ip': '106.205.36.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.205.36.66', 'tags': [], 'project_id': 'e46a399b1f6945a78302d68ea3331850'}} 2025-11-03 21:42:06,562 - INFO - Created VN ctest-ext_vn-98390665 2025-11-03 21:42:06,616 - DEBUG - VN ctest-ext_vn-98390665 UUID is 772dc3a9-2f7e-4854-b8fe-bad14c104a42 2025-11-03 21:42:06,813 - DEBUG - Services list from nova: [, , ] 2025-11-03 21:42:07,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4613-1) 2025-11-03 21:42:08,952 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4613-1) 2025-11-03 21:42:09,026 - INFO - Setting gateway for router b6750f2b-035b-41f2-86e9-a49dac4e671d to network 772dc3a9-2f7e-4854-b8fe-bad14c104a42 2025-11-03 21:42:09,084 - INFO - Adding interface with subnet_id 0cea2bee-7597-463b-adc9-0b2632c1457b, port_id None to router b6750f2b-035b-41f2-86e9-a49dac4e671d 2025-11-03 21:42:09,388 - INFO - Waiting for VM ctest-TestRoutersBasic-06230998-87760527 to be up.. 2025-11-03 21:42:09,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 21:42:14,598 - DEBUG - VM is in ACTIVE state now 2025-11-03 21:42:14,598 - INFO - VM name : ctest-TestRoutersBasic-06230998-87760527 2025-11-03 21:42:14,669 - DEBUG - VM ctest-TestRoutersBasic-06230998-87760527 ID is ebdc723c-c8c8-47b9-8139-a1fcdd3fc587 2025-11-03 21:42:14,686 - DEBUG - VM ctest-TestRoutersBasic-06230998-87760527 launched on Node cn-jenkins-deploy-platform-ansible-os-4613-1 2025-11-03 21:42:14,755 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ebdc723c-c8c8-47b9-8139-a1fcdd3fc587 2025-11-03 21:42:15,059 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ebdc723c-c8c8-47b9-8139-a1fcdd3fc587 2025-11-03 21:42:15,088 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/ea1090c8-1f2f-4ec4-8ab3-b0cdceb3d2d9 2025-11-03 21:42:18,321 - 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 1003ms') 2025-11-03 21:42:18,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06230998-87760527 failed! 2025-11-03 21:42:18,376 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06230998:ctest-vn-39555893 is 88.122.62.1 and allocation pool is NOT set 2025-11-03 21:42:20,433 - 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.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/1.897/3.345/1.448 ms') 2025-11-03 21:42:20,433 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06230998-87760527 passed 2025-11-03 21:42:20,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:42:20,584 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06230998-87760527, IP 88.122.62.3, Port 22 2025-11-03 21:42:20,739 - DEBUG - VM ctest-TestRoutersBasic-06230998-87760527 is ready for SSH connections 2025-11-03 21:42:20,739 - INFO - Waiting for VM ctest-TestRoutersBasic-06230998-74712499 to be up.. 2025-11-03 21:42:20,813 - DEBUG - VM is in ACTIVE state now 2025-11-03 21:42:20,814 - INFO - VM name : ctest-TestRoutersBasic-06230998-74712499 2025-11-03 21:42:20,888 - DEBUG - VM ctest-TestRoutersBasic-06230998-74712499 ID is a676b20c-5b1c-4bc1-8ea5-3149d54a18ba 2025-11-03 21:42:20,888 - DEBUG - VM ctest-TestRoutersBasic-06230998-74712499 launched on Node cn-jenkins-deploy-platform-ansible-os-4613-1 2025-11-03 21:42:20,957 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a676b20c-5b1c-4bc1-8ea5-3149d54a18ba 2025-11-03 21:42:20,965 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/6aaadb94-78ba-4f17-ba2b-bf4e5c426ab3 2025-11-03 21:42:22,192 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.566 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.566/1.850/3.134/1.284 ms') 2025-11-03 21:42:22,192 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06230998-74712499 passed 2025-11-03 21:42:22,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:42:22,344 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06230998-74712499, IP 106.205.36.67, Port 22 2025-11-03 21:42:22,513 - DEBUG - VM ctest-TestRoutersBasic-06230998-74712499 is ready for SSH connections 2025-11-03 21:42:22,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 21:42:22,514 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.205.36.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-11-03 21:42:22,514 - DEBUG - ping -s 56 -c 3 -W 1 106.205.36.67 2025-11-03 21:42:26,219 - DEBUG - PING 106.205.36.67 (106.205.36.67): 56 data bytes 64 bytes from 106.205.36.67: seq=0 ttl=62 time=4.768 ms 64 bytes from 106.205.36.67: seq=1 ttl=62 time=0.894 ms 64 bytes from 106.205.36.67: seq=2 ttl=62 time=1.073 ms --- 106.205.36.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.894/2.245/4.768 ms 2025-11-03 21:42:26,219 - INFO - Ping to IP 106.205.36.67 from VM ctest-TestRoutersBasic-06230998-87760527 passed 2025-11-03 21:42:26,219 - INFO - Deleting interface with subnet_id 0cea2bee-7597-463b-adc9-0b2632c1457b, port_id None from router b6750f2b-035b-41f2-86e9-a49dac4e671d 2025-11-03 21:42:26,488 - INFO - Deleting VM ctest-TestRoutersBasic-06230998-74712499 2025-11-03 21:42:26,591 - INFO - Deleting VM ctest-TestRoutersBasic-06230998-87760527 2025-11-03 21:42:26,659 - INFO - Deleting VN ctest-ext_vn-98390665 2025-11-03 21:42:26,730 - DEBUG - VN 772dc3a9-2f7e-4854-b8fe-bad14c104a42 still in use: Unable to complete operation on network 772dc3a9-2f7e-4854-b8fe-bad14c104a42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5d0e06a7-2074-4c4b-bf72-cfbb582cb4f5'] 2025-11-03 21:42:26,730 - WARNING - Deleting VN ctest-ext_vn-98390665 failed..Will retry 2025-11-03 21:42:28,835 - DEBUG - Response for deleting network () 2025-11-03 21:42:28,835 - INFO - Deleting VN ctest-vn-39555893 2025-11-03 21:42:28,928 - DEBUG - Response for deleting network () 2025-11-03 21:42:29,181 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 21:42:29,181 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-03 21:42:29,181 - INFO - -------------------------------------------------------------------------------- 2025-11-03 21:42:29,834 - INFO - Deleted project: ctest-TestRoutersBasic-06230998, ID : e46a399b-1f69-45a7-8302-d68ea3331850