2025-10-08 14:42:38,359 - INFO - Domain Default found not creating
2025-10-08 14:42:38,480 - INFO - Project ctest-TestRoutersBasic-12337257 not found, creating it
2025-10-08 14:42:38,940 - INFO - Created Project:ctest-TestRoutersBasic-12337257, ID : 3a311e71-9609-41f6-b3bc-76233bc7cc1f
2025-10-08 14:42:40,278 - INFO - ================================================================================
2025-10-08 14:42:40,278 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-08 14:42:40,278 - 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-10-08 14:42:40,531 - DEBUG - Nothing to compare xmpp stats {'10.0.0.162': {'10.20.0.18': '0'}} with
2025-10-08 14:42:40,531 - INFO - Initial checks done. Running the testcase now
2025-10-08 14:42:40,532 - INFO -
2025-10-08 14:42:41,211 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12337257
2025-10-08 14:42:41,307 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12337257
2025-10-08 14:42:41,627 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12337257', 'default']}
2025-10-08 14:42:41,889 - DEBUG - Response for create_network : {'network': {'id': 'bd483b0d-51fa-4161-b511-d738d3abf77c', 'name': 'ctest-vn-36095829', 'tenant_id': '3a311e71960941f6b3bc76233bc7cc1f', 'project_id': '3a311e71960941f6b3bc76233bc7cc1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12337257', 'ctest-vn-36095829'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 14:42:42,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '84b7570e-8789-4465-8da3-a8ee9fcd4046', 'name': '', 'tenant_id': '3a311e71960941f6b3bc76233bc7cc1f', 'network_id': 'bd483b0d-51fa-4161-b511-d738d3abf77c', 'ip_version': 4, 'cidr': '187.10.189.192/26', 'allocation_pools': [{'start': '187.10.189.194', 'end': '187.10.189.254'}], 'gateway_ip': '187.10.189.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.10.189.194', 'tags': [], 'project_id': '3a311e71960941f6b3bc76233bc7cc1f'}}
2025-10-08 14:42:42,116 - INFO - Created VN ctest-vn-36095829
2025-10-08 14:42:42,167 - DEBUG - VN ctest-vn-36095829 UUID is bd483b0d-51fa-4161-b511-d738d3abf77c
2025-10-08 14:42:42,503 - DEBUG - Response for create_network : {'network': {'id': 'd48d6173-2d52-42e4-a25e-7a4bc908a2df', 'name': 'ctest-ext_vn-90488881', 'tenant_id': '3a311e71960941f6b3bc76233bc7cc1f', 'project_id': '3a311e71960941f6b3bc76233bc7cc1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12337257', 'ctest-ext_vn-90488881'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 14:42:42,678 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b56659c-d889-457e-8362-35280424875d', 'name': '', 'tenant_id': '3a311e71960941f6b3bc76233bc7cc1f', 'network_id': 'd48d6173-2d52-42e4-a25e-7a4bc908a2df', 'ip_version': 4, 'cidr': '85.113.32.128/26', 'allocation_pools': [{'start': '85.113.32.130', 'end': '85.113.32.190'}], 'gateway_ip': '85.113.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.113.32.130', 'tags': [], 'project_id': '3a311e71960941f6b3bc76233bc7cc1f'}}
2025-10-08 14:42:42,695 - INFO - Created VN ctest-ext_vn-90488881
2025-10-08 14:42:42,747 - DEBUG - VN ctest-ext_vn-90488881 UUID is d48d6173-2d52-42e4-a25e-7a4bc908a2df
2025-10-08 14:42:42,931 - DEBUG - Services list from nova: [, , ]
2025-10-08 14:42:43,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4237-1)
2025-10-08 14:42:45,057 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4237-1)
2025-10-08 14:42:45,111 - INFO - Setting gateway for router fde4db0d-b806-4947-a097-cc77d13185a6 to network d48d6173-2d52-42e4-a25e-7a4bc908a2df
2025-10-08 14:42:45,193 - INFO - Adding interface with subnet_id 84b7570e-8789-4465-8da3-a8ee9fcd4046, port_id None to router fde4db0d-b806-4947-a097-cc77d13185a6
2025-10-08 14:42:45,527 - INFO - Waiting for VM ctest-TestRoutersBasic-12337257-51347124 to be up..
2025-10-08 14:42:45,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 14:42:50,733 - DEBUG - VM is in ACTIVE state now
2025-10-08 14:42:50,733 - INFO - VM name : ctest-TestRoutersBasic-12337257-51347124
2025-10-08 14:42:50,824 - DEBUG - VM ctest-TestRoutersBasic-12337257-51347124 ID is bbefeef3-6993-45b6-b6a5-55029ea8e5f4
2025-10-08 14:42:50,840 - DEBUG - VM ctest-TestRoutersBasic-12337257-51347124 launched on Node cn-jenkins-deploy-platform-ansible-os-4237-1
2025-10-08 14:42:50,901 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/bbefeef3-6993-45b6-b6a5-55029ea8e5f4
2025-10-08 14:42:51,189 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/bbefeef3-6993-45b6-b6a5-55029ea8e5f4
2025-10-08 14:42:51,216 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/c7d831a8-496c-4f71-8d04-7321a6c8de87
2025-10-08 14:42:54,478 - 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 1031ms')
2025-10-08 14:42:54,478 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12337257-51347124 failed!
2025-10-08 14:42:54,531 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12337257:ctest-vn-36095829 is 187.10.189.193 and allocation pool is NOT set
2025-10-08 14:42:56,591 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 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 = 1.652/3.291/4.931/1.639 ms')
2025-10-08 14:42:56,592 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12337257-51347124 passed
2025-10-08 14:42:56,743 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:42:56,743 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12337257-51347124, IP 187.10.189.195, Port 22
2025-10-08 14:42:56,895 - DEBUG - VM ctest-TestRoutersBasic-12337257-51347124 is ready for SSH connections
2025-10-08 14:42:56,895 - INFO - Waiting for VM ctest-TestRoutersBasic-12337257-45393539 to be up..
2025-10-08 14:42:56,968 - DEBUG - VM is in ACTIVE state now
2025-10-08 14:42:56,968 - INFO - VM name : ctest-TestRoutersBasic-12337257-45393539
2025-10-08 14:42:57,029 - DEBUG - VM ctest-TestRoutersBasic-12337257-45393539 ID is 2a7a8eb2-4abd-4d99-877f-07aa0bb35ad2
2025-10-08 14:42:57,029 - DEBUG - VM ctest-TestRoutersBasic-12337257-45393539 launched on Node cn-jenkins-deploy-platform-ansible-os-4237-1
2025-10-08 14:42:57,096 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine/2a7a8eb2-4abd-4d99-877f-07aa0bb35ad2
2025-10-08 14:42:57,103 - DEBUG - Requesting: http://10.0.0.162:8082/virtual-machine-interface/d5742e1a-dc5a-45ff-847a-b89e2c11ecf9
2025-10-08 14:42:58,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=4.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/2.360/4.340/1.979 ms')
2025-10-08 14:42:58,339 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12337257-45393539 passed
2025-10-08 14:42:58,487 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:42:58,487 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12337257-45393539, IP 85.113.32.131, Port 22
2025-10-08 14:42:58,642 - DEBUG - VM ctest-TestRoutersBasic-12337257-45393539 is ready for SSH connections
2025-10-08 14:42:58,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 14:42:58,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 85.113.32.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.162, gateway password: c0ntrail123
2025-10-08 14:42:58,642 - DEBUG - ping -s 56 -c 3 -W 1 85.113.32.131
2025-10-08 14:43:02,634 - DEBUG - PING 85.113.32.131 (85.113.32.131): 56 data bytes
64 bytes from 85.113.32.131: seq=0 ttl=62 time=4.152 ms
64 bytes from 85.113.32.131: seq=1 ttl=62 time=0.673 ms
64 bytes from 85.113.32.131: seq=2 ttl=62 time=0.736 ms
--- 85.113.32.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.673/1.853/4.152 ms
2025-10-08 14:43:02,634 - INFO - Ping to IP 85.113.32.131 from VM ctest-TestRoutersBasic-12337257-51347124 passed
2025-10-08 14:43:02,634 - INFO - Deleting interface with subnet_id 84b7570e-8789-4465-8da3-a8ee9fcd4046, port_id None from router fde4db0d-b806-4947-a097-cc77d13185a6
2025-10-08 14:43:02,784 - INFO - Deleting VM ctest-TestRoutersBasic-12337257-45393539
2025-10-08 14:43:02,840 - INFO - Deleting VM ctest-TestRoutersBasic-12337257-51347124
2025-10-08 14:43:02,903 - INFO - Deleting VN ctest-ext_vn-90488881
2025-10-08 14:43:02,959 - DEBUG - VN d48d6173-2d52-42e4-a25e-7a4bc908a2df still in use: Unable to complete operation on network d48d6173-2d52-42e4-a25e-7a4bc908a2df. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-fccd2202-560f-4f28-a407-ceeded6a7839']
2025-10-08 14:43:02,960 - WARNING - Deleting VN ctest-ext_vn-90488881 failed..Will retry
2025-10-08 14:43:05,042 - DEBUG - Response for deleting network ()
2025-10-08 14:43:05,042 - INFO - Deleting VN ctest-vn-36095829
2025-10-08 14:43:05,126 - DEBUG - Response for deleting network ()
2025-10-08 14:43:05,378 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 14:43:05,378 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-08 14:43:05,379 - INFO - --------------------------------------------------------------------------------
2025-10-08 14:43:06,009 - INFO - Deleted project: ctest-TestRoutersBasic-12337257, ID : 3a311e71-9609-41f6-b3bc-76233bc7cc1f