2025-09-23 15:57:30,314 - INFO - Domain Default found not creating 2025-09-23 15:57:30,462 - INFO - Project ctest-TestRoutersBasic-91366365 not found, creating it 2025-09-23 15:57:30,909 - INFO - Created Project:ctest-TestRoutersBasic-91366365, ID : 8b860ab9-7cab-46c8-aa07-31d8dd684bc1 2025-09-23 15:57:32,270 - INFO - ================================================================================ 2025-09-23 15:57:32,270 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-23 15:57:32,270 - 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-23 15:57:32,518 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-09-23 15:57:32,518 - INFO - Initial checks done. Running the testcase now 2025-09-23 15:57:32,518 - INFO - 2025-09-23 15:57:33,209 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91366365 2025-09-23 15:57:33,305 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91366365 2025-09-23 15:57:33,617 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91366365', 'default']} 2025-09-23 15:57:33,887 - DEBUG - Response for create_network : {'network': {'id': '093aa6b1-2b9e-4ab6-b448-adefd1ea5efd', 'name': 'ctest-vn-62575796', 'tenant_id': '8b860ab97cab46c8aa0731d8dd684bc1', 'project_id': '8b860ab97cab46c8aa0731d8dd684bc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91366365', 'ctest-vn-62575796'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:57:34,095 - DEBUG - Response for create_subnet : {'subnet': {'id': '06c7ba5b-1e2a-4d89-b905-43c45d844030', 'name': '', 'tenant_id': '8b860ab97cab46c8aa0731d8dd684bc1', 'network_id': '093aa6b1-2b9e-4ab6-b448-adefd1ea5efd', 'ip_version': 4, 'cidr': '98.182.155.64/26', 'allocation_pools': [{'start': '98.182.155.66', 'end': '98.182.155.126'}], 'gateway_ip': '98.182.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.182.155.66', 'tags': [], 'project_id': '8b860ab97cab46c8aa0731d8dd684bc1'}} 2025-09-23 15:57:34,112 - INFO - Created VN ctest-vn-62575796 2025-09-23 15:57:34,161 - DEBUG - VN ctest-vn-62575796 UUID is 093aa6b1-2b9e-4ab6-b448-adefd1ea5efd 2025-09-23 15:57:34,479 - DEBUG - Response for create_network : {'network': {'id': 'c4852487-0c92-4e65-8998-4126e1686cbe', 'name': 'ctest-ext_vn-35403703', 'tenant_id': '8b860ab97cab46c8aa0731d8dd684bc1', 'project_id': '8b860ab97cab46c8aa0731d8dd684bc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91366365', 'ctest-ext_vn-35403703'], 'port_security_enabled': True, 'description': ''}} 2025-09-23 15:57:34,637 - DEBUG - Response for create_subnet : {'subnet': {'id': '16fb883a-bc94-4c48-bfe3-8ac32080c29f', 'name': '', 'tenant_id': '8b860ab97cab46c8aa0731d8dd684bc1', 'network_id': 'c4852487-0c92-4e65-8998-4126e1686cbe', 'ip_version': 4, 'cidr': '97.41.81.192/26', 'allocation_pools': [{'start': '97.41.81.194', 'end': '97.41.81.254'}], 'gateway_ip': '97.41.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.41.81.194', 'tags': [], 'project_id': '8b860ab97cab46c8aa0731d8dd684bc1'}} 2025-09-23 15:57:34,652 - INFO - Created VN ctest-ext_vn-35403703 2025-09-23 15:57:34,701 - DEBUG - VN ctest-ext_vn-35403703 UUID is c4852487-0c92-4e65-8998-4126e1686cbe 2025-09-23 15:57:34,890 - DEBUG - Services list from nova: [, , ] 2025-09-23 15:57:35,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4177-1) 2025-09-23 15:57:36,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4177-1) 2025-09-23 15:57:37,032 - INFO - Setting gateway for router b650b642-d11b-448f-b8c9-3a796e41f005 to network c4852487-0c92-4e65-8998-4126e1686cbe 2025-09-23 15:57:37,102 - INFO - Adding interface with subnet_id 06c7ba5b-1e2a-4d89-b905-43c45d844030, port_id None to router b650b642-d11b-448f-b8c9-3a796e41f005 2025-09-23 15:57:37,382 - INFO - Waiting for VM ctest-TestRoutersBasic-91366365-17033512 to be up.. 2025-09-23 15:57:37,504 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-23 15:57:42,570 - DEBUG - VM is in ACTIVE state now 2025-09-23 15:57:42,570 - INFO - VM name : ctest-TestRoutersBasic-91366365-17033512 2025-09-23 15:57:42,636 - DEBUG - VM ctest-TestRoutersBasic-91366365-17033512 ID is afeefd9e-4df1-4e95-b55a-e1a10d3f6e6f 2025-09-23 15:57:42,654 - DEBUG - VM ctest-TestRoutersBasic-91366365-17033512 launched on Node cn-jenkins-deploy-platform-ansible-os-4177-1 2025-09-23 15:57:42,723 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/afeefd9e-4df1-4e95-b55a-e1a10d3f6e6f 2025-09-23 15:57:43,015 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/afeefd9e-4df1-4e95-b55a-e1a10d3f6e6f 2025-09-23 15:57:43,045 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/275a3df0-4b87-4088-ae9a-3ca0e899df51 2025-09-23 15:57:46,287 - 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 1007ms') 2025-09-23 15:57:46,287 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91366365-17033512 failed! 2025-09-23 15:57:46,341 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91366365:ctest-vn-62575796 is 98.182.155.65 and allocation pool is NOT set 2025-09-23 15:57:48,409 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.494 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.494/1.675/2.856/1.181 ms') 2025-09-23 15:57:48,409 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91366365-17033512 passed 2025-09-23 15:57:48,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:57:48,558 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91366365-17033512, IP 98.182.155.67, Port 22 2025-09-23 15:57:48,709 - DEBUG - VM ctest-TestRoutersBasic-91366365-17033512 is ready for SSH connections 2025-09-23 15:57:48,709 - INFO - Waiting for VM ctest-TestRoutersBasic-91366365-40436235 to be up.. 2025-09-23 15:57:48,778 - DEBUG - VM is in ACTIVE state now 2025-09-23 15:57:48,778 - INFO - VM name : ctest-TestRoutersBasic-91366365-40436235 2025-09-23 15:57:48,842 - DEBUG - VM ctest-TestRoutersBasic-91366365-40436235 ID is 2a3d6db8-71fc-4ed1-b51c-83d6bdeb3004 2025-09-23 15:57:48,842 - DEBUG - VM ctest-TestRoutersBasic-91366365-40436235 launched on Node cn-jenkins-deploy-platform-ansible-os-4177-1 2025-09-23 15:57:48,907 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/2a3d6db8-71fc-4ed1-b51c-83d6bdeb3004 2025-09-23 15:57:48,915 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/f2eb0273-6ee0-4fd4-94fd-9241c4ad922f 2025-09-23 15:57:50,142 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.592 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.592/1.906/3.220/1.314 ms') 2025-09-23 15:57:50,142 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91366365-40436235 passed 2025-09-23 15:57:50,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:57:50,293 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91366365-40436235, IP 97.41.81.195, Port 22 2025-09-23 15:57:50,445 - DEBUG - VM ctest-TestRoutersBasic-91366365-40436235 is ready for SSH connections 2025-09-23 15:57:50,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-23 15:57:50,445 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.41.81.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-09-23 15:57:50,445 - DEBUG - ping -s 56 -c 3 -W 1 97.41.81.195 2025-09-23 15:57:54,409 - DEBUG - PING 97.41.81.195 (97.41.81.195): 56 data bytes 64 bytes from 97.41.81.195: seq=0 ttl=62 time=8.002 ms 64 bytes from 97.41.81.195: seq=1 ttl=62 time=0.783 ms 64 bytes from 97.41.81.195: seq=2 ttl=62 time=1.194 ms --- 97.41.81.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/3.326/8.002 ms 2025-09-23 15:57:54,409 - INFO - Ping to IP 97.41.81.195 from VM ctest-TestRoutersBasic-91366365-17033512 passed 2025-09-23 15:57:54,409 - INFO - Deleting interface with subnet_id 06c7ba5b-1e2a-4d89-b905-43c45d844030, port_id None from router b650b642-d11b-448f-b8c9-3a796e41f005 2025-09-23 15:57:54,568 - INFO - Deleting VM ctest-TestRoutersBasic-91366365-40436235 2025-09-23 15:57:54,631 - INFO - Deleting VM ctest-TestRoutersBasic-91366365-17033512 2025-09-23 15:57:54,704 - INFO - Deleting VN ctest-ext_vn-35403703 2025-09-23 15:57:54,764 - DEBUG - VN c4852487-0c92-4e65-8998-4126e1686cbe still in use: Unable to complete operation on network c4852487-0c92-4e65-8998-4126e1686cbe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82c02115-ebf6-46f2-9f15-e78afb847062'] 2025-09-23 15:57:54,764 - WARNING - Deleting VN ctest-ext_vn-35403703 failed..Will retry 2025-09-23 15:57:56,848 - DEBUG - Response for deleting network () 2025-09-23 15:57:56,848 - INFO - Deleting VN ctest-vn-62575796 2025-09-23 15:57:56,936 - DEBUG - Response for deleting network () 2025-09-23 15:57:57,194 - DEBUG - No XMPP flaps were noticed during the test
2025-09-23 15:57:57,195 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-23 15:57:57,195 - INFO - -------------------------------------------------------------------------------- 2025-09-23 15:57:57,836 - INFO - Deleted project: ctest-TestRoutersBasic-91366365, ID : 8b860ab9-7cab-46c8-aa07-31d8dd684bc1