2025-09-15 10:49:34,023 - INFO - Domain Default found not creating 2025-09-15 10:49:34,199 - INFO - Project ctest-TestRoutersBasic-09988338 not found, creating it 2025-09-15 10:49:34,692 - INFO - Created Project:ctest-TestRoutersBasic-09988338, ID : f3aee1f1-bb22-4d6f-acd6-5a49d1cdf869 2025-09-15 10:49:36,303 - INFO - ================================================================================ 2025-09-15 10:49:36,303 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-15 10:49:36,303 - 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-09-15 10:49:36,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-09-15 10:49:36,561 - INFO - Initial checks done. Running the testcase now 2025-09-15 10:49:36,561 - INFO - 2025-09-15 10:49:37,346 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-09988338 2025-09-15 10:49:37,442 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-09988338 2025-09-15 10:49:37,770 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09988338', 'default']} 2025-09-15 10:49:38,080 - DEBUG - Response for create_network : {'network': {'id': '05f49bef-5a2d-4366-a281-8c4ec9a44367', 'name': 'ctest-vn-14860138', 'tenant_id': 'f3aee1f1bb224d6facd65a49d1cdf869', 'project_id': 'f3aee1f1bb224d6facd65a49d1cdf869', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09988338', 'ctest-vn-14860138'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 10:49:38,263 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb63fa38-b0f5-4b4b-81d9-a40cd042bb44', 'name': '', 'tenant_id': 'f3aee1f1bb224d6facd65a49d1cdf869', 'network_id': '05f49bef-5a2d-4366-a281-8c4ec9a44367', 'ip_version': 4, 'cidr': '162.83.94.192/26', 'allocation_pools': [{'start': '162.83.94.194', 'end': '162.83.94.254'}], 'gateway_ip': '162.83.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.83.94.194', 'tags': [], 'project_id': 'f3aee1f1bb224d6facd65a49d1cdf869'}} 2025-09-15 10:49:38,291 - INFO - Created VN ctest-vn-14860138 2025-09-15 10:49:38,346 - DEBUG - VN ctest-vn-14860138 UUID is 05f49bef-5a2d-4366-a281-8c4ec9a44367 2025-09-15 10:49:38,670 - DEBUG - Response for create_network : {'network': {'id': '1c37e965-61be-42c6-a9c7-b1712f3ec9bd', 'name': 'ctest-ext_vn-48753361', 'tenant_id': 'f3aee1f1bb224d6facd65a49d1cdf869', 'project_id': 'f3aee1f1bb224d6facd65a49d1cdf869', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-09988338', 'ctest-ext_vn-48753361'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 10:49:38,837 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b87583d-7a1c-495c-9854-cc76f734a599', 'name': '', 'tenant_id': 'f3aee1f1bb224d6facd65a49d1cdf869', 'network_id': '1c37e965-61be-42c6-a9c7-b1712f3ec9bd', 'ip_version': 4, 'cidr': '198.64.237.64/26', 'allocation_pools': [{'start': '198.64.237.66', 'end': '198.64.237.126'}], 'gateway_ip': '198.64.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.64.237.66', 'tags': [], 'project_id': 'f3aee1f1bb224d6facd65a49d1cdf869'}} 2025-09-15 10:49:38,856 - INFO - Created VN ctest-ext_vn-48753361 2025-09-15 10:49:38,910 - DEBUG - VN ctest-ext_vn-48753361 UUID is 1c37e965-61be-42c6-a9c7-b1712f3ec9bd 2025-09-15 10:49:39,088 - DEBUG - Services list from nova: [, , ] 2025-09-15 10:49:40,230 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4113-1) 2025-09-15 10:49:41,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4113-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4113-1) 2025-09-15 10:49:41,602 - INFO - Setting gateway for router 07e62761-5321-40d8-969d-73866530bbd5 to network 1c37e965-61be-42c6-a9c7-b1712f3ec9bd 2025-09-15 10:49:41,685 - INFO - Adding interface with subnet_id eb63fa38-b0f5-4b4b-81d9-a40cd042bb44, port_id None to router 07e62761-5321-40d8-969d-73866530bbd5 2025-09-15 10:49:42,074 - INFO - Waiting for VM ctest-TestRoutersBasic-09988338-69172721 to be up.. 2025-09-15 10:49:42,251 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 10:49:47,334 - DEBUG - VM is in ACTIVE state now 2025-09-15 10:49:47,334 - INFO - VM name : ctest-TestRoutersBasic-09988338-69172721 2025-09-15 10:49:47,456 - DEBUG - VM ctest-TestRoutersBasic-09988338-69172721 ID is 5c564bcf-f8c5-4598-9a41-105281e6c15f 2025-09-15 10:49:47,479 - DEBUG - VM ctest-TestRoutersBasic-09988338-69172721 launched on Node cn-jenkins-deploy-platform-ansible-os-4113-1 2025-09-15 10:49:47,587 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c564bcf-f8c5-4598-9a41-105281e6c15f 2025-09-15 10:49:48,045 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5c564bcf-f8c5-4598-9a41-105281e6c15f 2025-09-15 10:49:48,078 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e0052bd7-0027-4c49-9025-f0a937395f41 2025-09-15 10:49:51,356 - 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 1024ms') 2025-09-15 10:49:51,357 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09988338-69172721 failed! 2025-09-15 10:49:51,418 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-09988338:ctest-vn-14860138 is 162.83.94.193 and allocation pool is NOT set 2025-09-15 10:49:53,482 - 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.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.837 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.837/2.535/4.234/1.698 ms') 2025-09-15 10:49:53,482 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-09988338-69172721 passed 2025-09-15 10:49:53,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:49:53,598 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09988338-69172721, IP 162.83.94.195, Port 22 2025-09-15 10:49:53,762 - DEBUG - VM ctest-TestRoutersBasic-09988338-69172721 is ready for SSH connections 2025-09-15 10:49:53,762 - INFO - Waiting for VM ctest-TestRoutersBasic-09988338-93757866 to be up.. 2025-09-15 10:49:53,864 - DEBUG - VM is in ACTIVE state now 2025-09-15 10:49:53,864 - INFO - VM name : ctest-TestRoutersBasic-09988338-93757866 2025-09-15 10:49:53,955 - DEBUG - VM ctest-TestRoutersBasic-09988338-93757866 ID is e1714784-7666-4db9-a737-47a6d3d27ae1 2025-09-15 10:49:53,955 - DEBUG - VM ctest-TestRoutersBasic-09988338-93757866 launched on Node cn-jenkins-deploy-platform-ansible-os-4113-1 2025-09-15 10:49:54,035 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e1714784-7666-4db9-a737-47a6d3d27ae1 2025-09-15 10:49:54,044 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d4092a46-0304-466f-9597-bdc4ff0721d5 2025-09-15 10:49:55,302 - 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=5.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.017/3.383/5.750/2.366 ms') 2025-09-15 10:49:55,302 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-09988338-93757866 passed 2025-09-15 10:49:55,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:49:55,454 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-09988338-93757866, IP 198.64.237.67, Port 22 2025-09-15 10:49:55,613 - DEBUG - VM ctest-TestRoutersBasic-09988338-93757866 is ready for SSH connections 2025-09-15 10:49:55,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 10:49:55,613 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.64.237.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-09-15 10:49:55,614 - DEBUG - ping -s 56 -c 3 -W 1 198.64.237.67 2025-09-15 10:49:59,363 - DEBUG - PING 198.64.237.67 (198.64.237.67): 56 data bytes 64 bytes from 198.64.237.67: seq=0 ttl=62 time=7.815 ms 64 bytes from 198.64.237.67: seq=1 ttl=62 time=1.150 ms 64 bytes from 198.64.237.67: seq=2 ttl=62 time=1.326 ms --- 198.64.237.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.150/3.430/7.815 ms 2025-09-15 10:49:59,363 - INFO - Ping to IP 198.64.237.67 from VM ctest-TestRoutersBasic-09988338-69172721 passed 2025-09-15 10:49:59,363 - INFO - Deleting interface with subnet_id eb63fa38-b0f5-4b4b-81d9-a40cd042bb44, port_id None from router 07e62761-5321-40d8-969d-73866530bbd5 2025-09-15 10:49:59,575 - INFO - Deleting VM ctest-TestRoutersBasic-09988338-93757866 2025-09-15 10:49:59,676 - INFO - Deleting VM ctest-TestRoutersBasic-09988338-69172721 2025-09-15 10:49:59,769 - INFO - Deleting VN ctest-ext_vn-48753361 2025-09-15 10:49:59,843 - DEBUG - VN 1c37e965-61be-42c6-a9c7-b1712f3ec9bd still in use: Unable to complete operation on network 1c37e965-61be-42c6-a9c7-b1712f3ec9bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-18efadab-daef-43fd-a125-5c4ba2737f0e'] 2025-09-15 10:49:59,843 - WARNING - Deleting VN ctest-ext_vn-48753361 failed..Will retry 2025-09-15 10:50:01,969 - DEBUG - Response for deleting network () 2025-09-15 10:50:01,969 - INFO - Deleting VN ctest-vn-14860138 2025-09-15 10:50:02,084 - DEBUG - Response for deleting network () 2025-09-15 10:50:02,339 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 10:50:02,340 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-09-15 10:50:02,340 - INFO - -------------------------------------------------------------------------------- 2025-09-15 10:50:03,064 - INFO - Deleted project: ctest-TestRoutersBasic-09988338, ID : f3aee1f1-bb22-4d6f-acd6-5a49d1cdf869