2025-08-22 09:32:43,803 - INFO - Domain Default found not creating 2025-08-22 09:32:43,937 - INFO - Project ctest-TestRoutersBasic-37933831 not found, creating it 2025-08-22 09:32:44,374 - INFO - Created Project:ctest-TestRoutersBasic-37933831, ID : 7896384c-8646-4649-ab79-1754603bdae9 2025-08-22 09:32:45,701 - INFO - ================================================================================ 2025-08-22 09:32:45,701 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-22 09:32:45,701 - 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-08-22 09:32:45,965 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with 2025-08-22 09:32:45,965 - INFO - Initial checks done. Running the testcase now 2025-08-22 09:32:45,965 - INFO - 2025-08-22 09:32:46,666 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37933831 2025-08-22 09:32:46,764 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37933831 2025-08-22 09:32:47,084 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37933831', 'default']} 2025-08-22 09:32:47,373 - DEBUG - Response for create_network : {'network': {'id': '2023046c-de65-46e9-9158-5c3b78351e31', 'name': 'ctest-vn-12011331', 'tenant_id': '7896384c86464649ab791754603bdae9', 'project_id': '7896384c86464649ab791754603bdae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37933831', 'ctest-vn-12011331'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 09:32:47,583 - DEBUG - Response for create_subnet : {'subnet': {'id': '9210bfb2-d141-4c5c-8ea4-5c70cd1bee67', 'name': '', 'tenant_id': '7896384c86464649ab791754603bdae9', 'network_id': '2023046c-de65-46e9-9158-5c3b78351e31', 'ip_version': 4, 'cidr': '64.15.197.0/26', 'allocation_pools': [{'start': '64.15.197.2', 'end': '64.15.197.62'}], 'gateway_ip': '64.15.197.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.15.197.2', 'tags': [], 'project_id': '7896384c86464649ab791754603bdae9'}} 2025-08-22 09:32:47,605 - INFO - Created VN ctest-vn-12011331 2025-08-22 09:32:47,656 - DEBUG - VN ctest-vn-12011331 UUID is 2023046c-de65-46e9-9158-5c3b78351e31 2025-08-22 09:32:48,000 - DEBUG - Response for create_network : {'network': {'id': 'ef0b2e04-11ef-4026-bd24-984bd51ede12', 'name': 'ctest-ext_vn-97554407', 'tenant_id': '7896384c86464649ab791754603bdae9', 'project_id': '7896384c86464649ab791754603bdae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37933831', 'ctest-ext_vn-97554407'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 09:32:48,185 - DEBUG - Response for create_subnet : {'subnet': {'id': '1238470b-3b08-44bf-a58f-5b81e3b4aade', 'name': '', 'tenant_id': '7896384c86464649ab791754603bdae9', 'network_id': 'ef0b2e04-11ef-4026-bd24-984bd51ede12', 'ip_version': 4, 'cidr': '120.143.180.192/26', 'allocation_pools': [{'start': '120.143.180.194', 'end': '120.143.180.254'}], 'gateway_ip': '120.143.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.143.180.194', 'tags': [], 'project_id': '7896384c86464649ab791754603bdae9'}} 2025-08-22 09:32:48,201 - INFO - Created VN ctest-ext_vn-97554407 2025-08-22 09:32:48,252 - DEBUG - VN ctest-ext_vn-97554407 UUID is ef0b2e04-11ef-4026-bd24-984bd51ede12 2025-08-22 09:32:48,453 - DEBUG - Services list from nova: [, , ] 2025-08-22 09:32:49,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3907-1) 2025-08-22 09:32:50,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3907-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3907-1) 2025-08-22 09:32:50,625 - INFO - Setting gateway for router 5ea3896e-2627-4f6d-b517-208ea4f29224 to network ef0b2e04-11ef-4026-bd24-984bd51ede12 2025-08-22 09:32:50,700 - INFO - Adding interface with subnet_id 9210bfb2-d141-4c5c-8ea4-5c70cd1bee67, port_id None to router 5ea3896e-2627-4f6d-b517-208ea4f29224 2025-08-22 09:32:51,100 - INFO - Waiting for VM ctest-TestRoutersBasic-37933831-93157244 to be up.. 2025-08-22 09:32:51,245 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 09:32:56,349 - DEBUG - VM is in ACTIVE state now 2025-08-22 09:32:56,349 - INFO - VM name : ctest-TestRoutersBasic-37933831-93157244 2025-08-22 09:32:56,479 - DEBUG - VM ctest-TestRoutersBasic-37933831-93157244 ID is cb56885a-9818-4c82-a9c2-d0515f1d662d 2025-08-22 09:32:56,535 - DEBUG - VM ctest-TestRoutersBasic-37933831-93157244 launched on Node cn-jenkins-deploy-platform-ansible-os-3907-1 2025-08-22 09:32:56,630 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cb56885a-9818-4c82-a9c2-d0515f1d662d 2025-08-22 09:32:56,959 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/cb56885a-9818-4c82-a9c2-d0515f1d662d 2025-08-22 09:32:57,003 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/24a780be-bb07-4641-8c66-af0494781a58 2025-08-22 09:33:00,257 - 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 1017ms') 2025-08-22 09:33:00,257 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37933831-93157244 failed! 2025-08-22 09:33:00,316 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37933831:ctest-vn-12011331 is 64.15.197.1 and allocation pool is NOT set 2025-08-22 09:33:02,378 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.824 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 = 0.824/2.716/4.609/1.892 ms') 2025-08-22 09:33:02,378 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37933831-93157244 passed 2025-08-22 09:33:02,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:33:02,540 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37933831-93157244, IP 64.15.197.3, Port 22 2025-08-22 09:33:02,721 - DEBUG - VM ctest-TestRoutersBasic-37933831-93157244 is ready for SSH connections 2025-08-22 09:33:02,722 - INFO - Waiting for VM ctest-TestRoutersBasic-37933831-15790163 to be up.. 2025-08-22 09:33:02,800 - DEBUG - VM is in ACTIVE state now 2025-08-22 09:33:02,801 - INFO - VM name : ctest-TestRoutersBasic-37933831-15790163 2025-08-22 09:33:02,881 - DEBUG - VM ctest-TestRoutersBasic-37933831-15790163 ID is 4c2e4ae3-3c68-4f37-a35e-8d1731b11996 2025-08-22 09:33:02,881 - DEBUG - VM ctest-TestRoutersBasic-37933831-15790163 launched on Node cn-jenkins-deploy-platform-ansible-os-3907-1 2025-08-22 09:33:02,966 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4c2e4ae3-3c68-4f37-a35e-8d1731b11996 2025-08-22 09:33:02,978 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/69d1d728-25a2-4dbf-b70f-c670645e37aa 2025-08-22 09:33:04,220 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.319 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.319/2.760/5.202/2.441 ms') 2025-08-22 09:33:04,220 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37933831-15790163 passed 2025-08-22 09:33:04,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:33:04,368 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37933831-15790163, IP 120.143.180.195, Port 22 2025-08-22 09:33:04,519 - DEBUG - VM ctest-TestRoutersBasic-37933831-15790163 is ready for SSH connections 2025-08-22 09:33:04,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 09:33:04,519 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.143.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-22 09:33:04,519 - DEBUG - ping -s 56 -c 3 -W 1 120.143.180.195 2025-08-22 09:33:08,481 - DEBUG - PING 120.143.180.195 (120.143.180.195): 56 data bytes 64 bytes from 120.143.180.195: seq=0 ttl=62 time=6.774 ms 64 bytes from 120.143.180.195: seq=1 ttl=62 time=1.026 ms 64 bytes from 120.143.180.195: seq=2 ttl=62 time=0.827 ms --- 120.143.180.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/2.875/6.774 ms 2025-08-22 09:33:08,482 - INFO - Ping to IP 120.143.180.195 from VM ctest-TestRoutersBasic-37933831-93157244 passed 2025-08-22 09:33:08,482 - INFO - Deleting interface with subnet_id 9210bfb2-d141-4c5c-8ea4-5c70cd1bee67, port_id None from router 5ea3896e-2627-4f6d-b517-208ea4f29224 2025-08-22 09:33:08,683 - INFO - Deleting VM ctest-TestRoutersBasic-37933831-15790163 2025-08-22 09:33:08,743 - INFO - Deleting VM ctest-TestRoutersBasic-37933831-93157244 2025-08-22 09:33:08,816 - INFO - Deleting VN ctest-ext_vn-97554407 2025-08-22 09:33:08,908 - DEBUG - VN ef0b2e04-11ef-4026-bd24-984bd51ede12 still in use: Unable to complete operation on network ef0b2e04-11ef-4026-bd24-984bd51ede12. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dc38a8f3-7e8d-45ea-b047-1b5c22753363'] 2025-08-22 09:33:08,908 - WARNING - Deleting VN ctest-ext_vn-97554407 failed..Will retry 2025-08-22 09:33:11,017 - DEBUG - Response for deleting network () 2025-08-22 09:33:11,018 - INFO - Deleting VN ctest-vn-12011331 2025-08-22 09:33:11,155 - DEBUG - Response for deleting network () 2025-08-22 09:33:11,429 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 09:33:11,429 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-08-22 09:33:11,429 - INFO - -------------------------------------------------------------------------------- 2025-08-22 09:33:12,101 - INFO - Deleted project: ctest-TestRoutersBasic-37933831, ID : 7896384c-8646-4649-ab79-1754603bdae9