2025-11-24 02:14:34,934 - INFO - Domain Default found not creating 2025-11-24 02:14:35,118 - INFO - Project ctest-TestRoutersBasic-80273185 not found, creating it 2025-11-24 02:14:35,710 - INFO - Created Project:ctest-TestRoutersBasic-80273185, ID : 5f5e90e3-ef77-493a-8325-5fcc8157d361 2025-11-24 02:14:37,326 - INFO - ================================================================================ 2025-11-24 02:14:37,326 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-24 02:14:37,326 - 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-24 02:14:38,619 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.25': '0', '10.20.0.193': '0'}, '10.0.0.56': {'10.20.0.193': '0', '10.20.0.25': '0'}} with 2025-11-24 02:14:38,619 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:14:38,619 - INFO - 2025-11-24 02:14:39,365 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-80273185 2025-11-24 02:14:39,423 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-80273185 2025-11-24 02:14:39,734 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80273185', 'default']} 2025-11-24 02:14:40,225 - DEBUG - Response for create_network : {'network': {'id': '4e6b25dc-3aee-46a3-9059-bcacafaf6121', 'name': 'ctest-vn-52354365', 'tenant_id': '5f5e90e3ef77493a83255fcc8157d361', 'project_id': '5f5e90e3ef77493a83255fcc8157d361', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80273185', 'ctest-vn-52354365'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:14:40,550 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acd4899f-eea4-41b1-93a4-bbc00cfad96e', 'name': '', 'tenant_id': '5f5e90e3ef77493a83255fcc8157d361', 'network_id': '4e6b25dc-3aee-46a3-9059-bcacafaf6121', 'ip_version': 4, 'cidr': '206.215.16.64/26', 'allocation_pools': [{'start': '206.215.16.66', 'end': '206.215.16.126'}], 'gateway_ip': '206.215.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.215.16.66', 'tags': [], 'project_id': '5f5e90e3ef77493a83255fcc8157d361'}} 2025-11-24 02:14:40,583 - INFO - Created VN ctest-vn-52354365 2025-11-24 02:14:40,599 - DEBUG - VN ctest-vn-52354365 UUID is 4e6b25dc-3aee-46a3-9059-bcacafaf6121 2025-11-24 02:14:41,082 - DEBUG - Response for create_network : {'network': {'id': '81283165-f169-4e94-beb5-7d65547dc273', 'name': 'ctest-ext_vn-16558497', 'tenant_id': '5f5e90e3ef77493a83255fcc8157d361', 'project_id': '5f5e90e3ef77493a83255fcc8157d361', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-80273185', 'ctest-ext_vn-16558497'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:14:41,305 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4f28252-4328-47e6-86c4-6b7703ce88b4', 'name': '', 'tenant_id': '5f5e90e3ef77493a83255fcc8157d361', 'network_id': '81283165-f169-4e94-beb5-7d65547dc273', 'ip_version': 4, 'cidr': '193.210.135.192/26', 'allocation_pools': [{'start': '193.210.135.194', 'end': '193.210.135.254'}], 'gateway_ip': '193.210.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.210.135.194', 'tags': [], 'project_id': '5f5e90e3ef77493a83255fcc8157d361'}} 2025-11-24 02:14:41,331 - INFO - Created VN ctest-ext_vn-16558497 2025-11-24 02:14:41,342 - DEBUG - VN ctest-ext_vn-16558497 UUID is 81283165-f169-4e94-beb5-7d65547dc273 2025-11-24 02:14:41,489 - DEBUG - Services list from nova: [, , , ] 2025-11-24 02:14:42,572 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4803-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4803-2) 2025-11-24 02:14:43,993 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4803-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4803-1) 2025-11-24 02:14:44,145 - INFO - Setting gateway for router 8bec38fc-d184-4ccc-9f36-35fa145f97e0 to network 81283165-f169-4e94-beb5-7d65547dc273 2025-11-24 02:14:44,238 - INFO - Adding interface with subnet_id acd4899f-eea4-41b1-93a4-bbc00cfad96e, port_id None to router 8bec38fc-d184-4ccc-9f36-35fa145f97e0 2025-11-24 02:14:44,701 - INFO - Waiting for VM ctest-TestRoutersBasic-80273185-22753690 to be up.. 2025-11-24 02:14:44,958 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:14:50,046 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:14:50,046 - INFO - VM name : ctest-TestRoutersBasic-80273185-22753690 2025-11-24 02:14:50,134 - DEBUG - VM ctest-TestRoutersBasic-80273185-22753690 ID is e7938347-4cfc-491b-9162-19d1fd0a62ad 2025-11-24 02:14:50,160 - DEBUG - VM ctest-TestRoutersBasic-80273185-22753690 launched on Node an-jenkins-deploy-platform-ansible-os-4803-2 2025-11-24 02:14:50,257 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e7938347-4cfc-491b-9162-19d1fd0a62ad 2025-11-24 02:14:50,566 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e7938347-4cfc-491b-9162-19d1fd0a62ad 2025-11-24 02:14:50,618 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/64a10293-5ced-4f34-a1ef-6e79c76b41a1 2025-11-24 02:14:53,805 - 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 1019ms') 2025-11-24 02:14:53,805 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80273185-22753690 failed! 2025-11-24 02:14:53,830 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-80273185:ctest-vn-52354365 is 206.215.16.65 and allocation pool is NOT set 2025-11-24 02:14:55,896 - 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=6.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.20 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 = 2.203/4.305/6.408/2.102 ms') 2025-11-24 02:14:55,897 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80273185-22753690 passed 2025-11-24 02:14:55,966 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:14:55,967 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80273185-22753690, IP 206.215.16.67, Port 22 2025-11-24 02:14:56,126 - DEBUG - VM ctest-TestRoutersBasic-80273185-22753690 is ready for SSH connections 2025-11-24 02:14:56,126 - INFO - Waiting for VM ctest-TestRoutersBasic-80273185-23767630 to be up.. 2025-11-24 02:14:56,213 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:14:56,213 - INFO - VM name : ctest-TestRoutersBasic-80273185-23767630 2025-11-24 02:14:56,300 - DEBUG - VM ctest-TestRoutersBasic-80273185-23767630 ID is 72769efb-2e75-433b-bfb4-c6eab1deaa9b 2025-11-24 02:14:56,300 - DEBUG - VM ctest-TestRoutersBasic-80273185-23767630 launched on Node an-jenkins-deploy-platform-ansible-os-4803-1 2025-11-24 02:14:56,383 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/72769efb-2e75-433b-bfb4-c6eab1deaa9b 2025-11-24 02:14:56,399 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/e7a32351-4549-40a2-9881-d12f9df36b73 2025-11-24 02:14:57,566 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.570 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.570/2.269/3.969/1.699 ms') 2025-11-24 02:14:57,566 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-80273185-23767630 passed 2025-11-24 02:14:57,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:14:57,634 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-80273185-23767630, IP 193.210.135.195, Port 22 2025-11-24 02:14:57,794 - DEBUG - VM ctest-TestRoutersBasic-80273185-23767630 is ready for SSH connections 2025-11-24 02:14:57,794 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:14:57,794 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.210.135.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-11-24 02:14:57,794 - DEBUG - ping -s 56 -c 3 -W 1 193.210.135.195 2025-11-24 02:15:01,469 - DEBUG - PING 193.210.135.195 (193.210.135.195): 56 data bytes 64 bytes from 193.210.135.195: seq=0 ttl=62 time=9.354 ms 64 bytes from 193.210.135.195: seq=1 ttl=62 time=1.552 ms 64 bytes from 193.210.135.195: seq=2 ttl=62 time=1.587 ms --- 193.210.135.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.552/4.164/9.354 ms 2025-11-24 02:15:01,469 - INFO - Ping to IP 193.210.135.195 from VM ctest-TestRoutersBasic-80273185-22753690 passed 2025-11-24 02:15:01,469 - INFO - Deleting interface with subnet_id acd4899f-eea4-41b1-93a4-bbc00cfad96e, port_id None from router 8bec38fc-d184-4ccc-9f36-35fa145f97e0 2025-11-24 02:15:01,905 - INFO - Deleting VM ctest-TestRoutersBasic-80273185-23767630 2025-11-24 02:15:02,059 - INFO - Deleting VM ctest-TestRoutersBasic-80273185-22753690 2025-11-24 02:15:02,142 - INFO - Deleting VN ctest-ext_vn-16558497 2025-11-24 02:15:02,256 - DEBUG - VN 81283165-f169-4e94-beb5-7d65547dc273 still in use: Unable to complete operation on network 81283165-f169-4e94-beb5-7d65547dc273. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a75bbec4-ff24-4dac-87df-95c6ffa0d445'] 2025-11-24 02:15:02,256 - WARNING - Deleting VN ctest-ext_vn-16558497 failed..Will retry 2025-11-24 02:15:04,441 - DEBUG - Response for deleting network () 2025-11-24 02:15:04,442 - INFO - Deleting VN ctest-vn-52354365 2025-11-24 02:15:04,675 - DEBUG - Response for deleting network () 2025-11-24 02:15:05,990 - DEBUG - No XMPP flaps were noticed during the test 2025-11-24 02:15:05,991 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28] 2025-11-24 02:15:05,991 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:15:06,796 - INFO - Deleted project: ctest-TestRoutersBasic-80273185, ID : 5f5e90e3-ef77-493a-8325-5fcc8157d361