2025-11-15 10:29:42,211 - INFO - Domain Default found not creating 2025-11-15 10:29:42,584 - INFO - Project ctest-TestRoutersBasic-23710740 not found, creating it 2025-11-15 10:29:43,243 - INFO - Created Project:ctest-TestRoutersBasic-23710740, ID : 8354d3e3-4e9b-476d-a773-76981a81ee1a 2025-11-15 10:29:45,314 - INFO - ================================================================================ 2025-11-15 10:29:45,315 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-15 10:29:45,315 - 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-15 10:29:45,633 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-15 10:29:45,633 - INFO - Initial checks done. Running the testcase now 2025-11-15 10:29:45,633 - INFO - 2025-11-15 10:29:46,613 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-23710740 2025-11-15 10:29:46,722 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-23710740 2025-11-15 10:29:47,106 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23710740', 'default']} 2025-11-15 10:29:47,594 - DEBUG - Response for create_network : {'network': {'id': '2dd068c4-3b81-4ca0-a29c-30bf2f8293ba', 'name': 'ctest-vn-60665164', 'tenant_id': '8354d3e34e9b476da77376981a81ee1a', 'project_id': '8354d3e34e9b476da77376981a81ee1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23710740', 'ctest-vn-60665164'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 10:29:47,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ced9171c-9b62-4610-ba9d-71845063697e', 'name': '', 'tenant_id': '8354d3e34e9b476da77376981a81ee1a', 'network_id': '2dd068c4-3b81-4ca0-a29c-30bf2f8293ba', 'ip_version': 4, 'cidr': '52.150.115.0/26', 'allocation_pools': [{'start': '52.150.115.2', 'end': '52.150.115.62'}], 'gateway_ip': '52.150.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.150.115.2', 'tags': [], 'project_id': '8354d3e34e9b476da77376981a81ee1a'}} 2025-11-15 10:29:47,866 - INFO - Created VN ctest-vn-60665164 2025-11-15 10:29:47,917 - DEBUG - VN ctest-vn-60665164 UUID is 2dd068c4-3b81-4ca0-a29c-30bf2f8293ba 2025-11-15 10:29:48,309 - DEBUG - Response for create_network : {'network': {'id': '64d3c45c-4881-487e-a1b1-d48a47d9928a', 'name': 'ctest-ext_vn-87357920', 'tenant_id': '8354d3e34e9b476da77376981a81ee1a', 'project_id': '8354d3e34e9b476da77376981a81ee1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-23710740', 'ctest-ext_vn-87357920'], 'port_security_enabled': True, 'description': ''}} 2025-11-15 10:29:48,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '1977fbd6-3f81-4ff7-b5f5-06625273f638', 'name': '', 'tenant_id': '8354d3e34e9b476da77376981a81ee1a', 'network_id': '64d3c45c-4881-487e-a1b1-d48a47d9928a', 'ip_version': 4, 'cidr': '92.55.46.64/26', 'allocation_pools': [{'start': '92.55.46.66', 'end': '92.55.46.126'}], 'gateway_ip': '92.55.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.55.46.66', 'tags': [], 'project_id': '8354d3e34e9b476da77376981a81ee1a'}} 2025-11-15 10:29:48,549 - INFO - Created VN ctest-ext_vn-87357920 2025-11-15 10:29:48,601 - DEBUG - VN ctest-ext_vn-87357920 UUID is 64d3c45c-4881-487e-a1b1-d48a47d9928a 2025-11-15 10:29:48,797 - DEBUG - Services list from nova: [, , ] 2025-11-15 10:29:50,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4734-1) 2025-11-15 10:29:51,888 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4734-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4734-1) 2025-11-15 10:29:51,953 - INFO - Setting gateway for router 2c45304c-abaf-4950-9048-d1780fc36efd to network 64d3c45c-4881-487e-a1b1-d48a47d9928a 2025-11-15 10:29:52,006 - INFO - Adding interface with subnet_id ced9171c-9b62-4610-ba9d-71845063697e, port_id None to router 2c45304c-abaf-4950-9048-d1780fc36efd 2025-11-15 10:29:52,297 - INFO - Waiting for VM ctest-TestRoutersBasic-23710740-23400280 to be up.. 2025-11-15 10:29:52,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-15 10:29:57,636 - DEBUG - VM is in ACTIVE state now 2025-11-15 10:29:57,637 - INFO - VM name : ctest-TestRoutersBasic-23710740-23400280 2025-11-15 10:29:57,755 - DEBUG - VM ctest-TestRoutersBasic-23710740-23400280 ID is 1113a1a7-0de6-4f1c-818c-d1aa3bed4013 2025-11-15 10:29:57,785 - DEBUG - VM ctest-TestRoutersBasic-23710740-23400280 launched on Node cn-jenkins-deploy-platform-ansible-os-4734-1 2025-11-15 10:29:57,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1113a1a7-0de6-4f1c-818c-d1aa3bed4013 2025-11-15 10:29:58,223 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1113a1a7-0de6-4f1c-818c-d1aa3bed4013 2025-11-15 10:29:58,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/88279d27-fe63-46a9-a0cf-e03533ae14fd 2025-11-15 10:30:01,599 - 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 1021ms') 2025-11-15 10:30:01,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23710740-23400280 failed! 2025-11-15 10:30:01,666 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-23710740:ctest-vn-60665164 is 52.150.115.1 and allocation pool is NOT set 2025-11-15 10:30:03,742 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.793 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.793/2.543/4.293/1.750 ms') 2025-11-15 10:30:03,742 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-23710740-23400280 passed 2025-11-15 10:30:03,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:30:03,898 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23710740-23400280, IP 52.150.115.3, Port 22 2025-11-15 10:30:04,080 - DEBUG - VM ctest-TestRoutersBasic-23710740-23400280 is ready for SSH connections 2025-11-15 10:30:04,080 - INFO - Waiting for VM ctest-TestRoutersBasic-23710740-16999815 to be up.. 2025-11-15 10:30:04,186 - DEBUG - VM is in ACTIVE state now 2025-11-15 10:30:04,186 - INFO - VM name : ctest-TestRoutersBasic-23710740-16999815 2025-11-15 10:30:04,267 - DEBUG - VM ctest-TestRoutersBasic-23710740-16999815 ID is 10ae0f62-6ecb-4bb0-a6a1-9a826492a880 2025-11-15 10:30:04,268 - DEBUG - VM ctest-TestRoutersBasic-23710740-16999815 launched on Node cn-jenkins-deploy-platform-ansible-os-4734-1 2025-11-15 10:30:04,356 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/10ae0f62-6ecb-4bb0-a6a1-9a826492a880 2025-11-15 10:30:04,365 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d46b24c9-776e-437c-94ec-0f816bdfe590 2025-11-15 10:30:05,610 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.791 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.791/1.877/2.963/1.086 ms') 2025-11-15 10:30:05,611 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-23710740-16999815 passed 2025-11-15 10:30:05,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:30:05,782 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-23710740-16999815, IP 92.55.46.67, Port 22 2025-11-15 10:30:05,974 - DEBUG - VM ctest-TestRoutersBasic-23710740-16999815 is ready for SSH connections 2025-11-15 10:30:05,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-15 10:30:05,975 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.55.46.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-15 10:30:05,975 - DEBUG - ping -s 56 -c 3 -W 1 92.55.46.67 2025-11-15 10:30:10,043 - DEBUG - PING 92.55.46.67 (92.55.46.67): 56 data bytes 64 bytes from 92.55.46.67: seq=0 ttl=62 time=8.136 ms 64 bytes from 92.55.46.67: seq=1 ttl=62 time=1.523 ms 64 bytes from 92.55.46.67: seq=2 ttl=62 time=1.995 ms --- 92.55.46.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.523/3.884/8.136 ms 2025-11-15 10:30:10,044 - INFO - Ping to IP 92.55.46.67 from VM ctest-TestRoutersBasic-23710740-23400280 passed 2025-11-15 10:30:10,044 - INFO - Deleting interface with subnet_id ced9171c-9b62-4610-ba9d-71845063697e, port_id None from router 2c45304c-abaf-4950-9048-d1780fc36efd 2025-11-15 10:30:10,345 - INFO - Deleting VM ctest-TestRoutersBasic-23710740-16999815 2025-11-15 10:30:10,437 - INFO - Deleting VM ctest-TestRoutersBasic-23710740-23400280 2025-11-15 10:30:10,536 - INFO - Deleting VN ctest-ext_vn-87357920 2025-11-15 10:30:10,636 - DEBUG - VN 64d3c45c-4881-487e-a1b1-d48a47d9928a still in use: Unable to complete operation on network 64d3c45c-4881-487e-a1b1-d48a47d9928a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85be525a-c8b3-4c33-9d3d-113b803b8487'] 2025-11-15 10:30:10,636 - WARNING - Deleting VN ctest-ext_vn-87357920 failed..Will retry 2025-11-15 10:30:12,892 - DEBUG - Response for deleting network () 2025-11-15 10:30:12,893 - INFO - Deleting VN ctest-vn-60665164 2025-11-15 10:30:13,052 - DEBUG - Response for deleting network () 2025-11-15 10:30:13,359 - DEBUG - No XMPP flaps were noticed during the test 2025-11-15 10:30:13,359 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-11-15 10:30:13,359 - INFO - -------------------------------------------------------------------------------- 2025-11-15 10:30:14,291 - INFO - Deleted project: ctest-TestRoutersBasic-23710740, ID : 8354d3e3-4e9b-476d-a773-76981a81ee1a