2025-12-30 03:00:57,492 - INFO - Domain Default found not creating 2025-12-30 03:00:57,628 - INFO - Project ctest-TestRoutersBasic-18642535 not found, creating it 2025-12-30 03:00:58,051 - INFO - Created Project:ctest-TestRoutersBasic-18642535, ID : 6ba9363f-8e63-4e13-9e51-97e1e1240122 2025-12-30 03:00:59,426 - INFO - ================================================================================ 2025-12-30 03:00:59,426 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-30 03:00:59,426 - 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-12-30 03:00:59,678 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-12-30 03:00:59,678 - INFO - Initial checks done. Running the testcase now 2025-12-30 03:00:59,678 - INFO - 2025-12-30 03:01:00,360 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-18642535 2025-12-30 03:01:00,458 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-18642535 2025-12-30 03:01:00,769 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18642535', 'default']} 2025-12-30 03:01:01,034 - DEBUG - Response for create_network : {'network': {'id': '076750c9-f670-4341-982d-2cf92d1e9d25', 'name': 'ctest-vn-20449979', 'tenant_id': '6ba9363f8e634e139e5197e1e1240122', 'project_id': '6ba9363f8e634e139e5197e1e1240122', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18642535', 'ctest-vn-20449979'], 'port_security_enabled': True, 'description': ''}} 2025-12-30 03:01:01,236 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d350588-87da-4c2c-9c13-9976f5febb04', 'name': '', 'tenant_id': '6ba9363f8e634e139e5197e1e1240122', 'network_id': '076750c9-f670-4341-982d-2cf92d1e9d25', 'ip_version': 4, 'cidr': '84.47.87.64/26', 'allocation_pools': [{'start': '84.47.87.66', 'end': '84.47.87.126'}], 'gateway_ip': '84.47.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.47.87.66', 'tags': [], 'project_id': '6ba9363f8e634e139e5197e1e1240122'}} 2025-12-30 03:01:01,251 - INFO - Created VN ctest-vn-20449979 2025-12-30 03:01:01,302 - DEBUG - VN ctest-vn-20449979 UUID is 076750c9-f670-4341-982d-2cf92d1e9d25 2025-12-30 03:01:01,624 - DEBUG - Response for create_network : {'network': {'id': '89fc36b3-2fc6-49fe-83ab-f3be9f696bd5', 'name': 'ctest-ext_vn-48935963', 'tenant_id': '6ba9363f8e634e139e5197e1e1240122', 'project_id': '6ba9363f8e634e139e5197e1e1240122', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-18642535', 'ctest-ext_vn-48935963'], 'port_security_enabled': True, 'description': ''}} 2025-12-30 03:01:01,812 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6d412f8-1f7e-426c-8bf3-00cdcb84bad2', 'name': '', 'tenant_id': '6ba9363f8e634e139e5197e1e1240122', 'network_id': '89fc36b3-2fc6-49fe-83ab-f3be9f696bd5', 'ip_version': 4, 'cidr': '222.228.183.0/26', 'allocation_pools': [{'start': '222.228.183.2', 'end': '222.228.183.62'}], 'gateway_ip': '222.228.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.228.183.2', 'tags': [], 'project_id': '6ba9363f8e634e139e5197e1e1240122'}} 2025-12-30 03:01:01,828 - INFO - Created VN ctest-ext_vn-48935963 2025-12-30 03:01:01,878 - DEBUG - VN ctest-ext_vn-48935963 UUID is 89fc36b3-2fc6-49fe-83ab-f3be9f696bd5 2025-12-30 03:01:02,035 - DEBUG - Services list from nova: [, , ] 2025-12-30 03:01:03,016 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4939-1) 2025-12-30 03:01:04,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4939-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4939-1) 2025-12-30 03:01:04,135 - INFO - Setting gateway for router 67ceb87c-d352-49cb-81c2-ef697db4cd6c to network 89fc36b3-2fc6-49fe-83ab-f3be9f696bd5 2025-12-30 03:01:04,186 - INFO - Adding interface with subnet_id 7d350588-87da-4c2c-9c13-9976f5febb04, port_id None to router 67ceb87c-d352-49cb-81c2-ef697db4cd6c 2025-12-30 03:01:04,480 - INFO - Waiting for VM ctest-TestRoutersBasic-18642535-04918847 to be up.. 2025-12-30 03:01:04,595 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-30 03:01:09,659 - DEBUG - VM is in ACTIVE state now 2025-12-30 03:01:09,660 - INFO - VM name : ctest-TestRoutersBasic-18642535-04918847 2025-12-30 03:01:09,721 - DEBUG - VM ctest-TestRoutersBasic-18642535-04918847 ID is fd451766-b76e-4068-aed3-fe860936d295 2025-12-30 03:01:09,739 - DEBUG - VM ctest-TestRoutersBasic-18642535-04918847 launched on Node cn-jenkins-deploy-platform-ansible-os-4939-1 2025-12-30 03:01:09,804 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fd451766-b76e-4068-aed3-fe860936d295 2025-12-30 03:01:10,094 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fd451766-b76e-4068-aed3-fe860936d295 2025-12-30 03:01:10,121 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/49575c14-a8a8-4b0b-87b5-a5abd9a7b192 2025-12-30 03:01:13,363 - 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-12-30 03:01:13,363 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18642535-04918847 failed! 2025-12-30 03:01:13,418 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-18642535:ctest-vn-20449979 is 84.47.87.65 and allocation pool is NOT set 2025-12-30 03:01:15,479 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.381 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.381/1.600/2.820/1.219 ms') 2025-12-30 03:01:15,479 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-18642535-04918847 passed 2025-12-30 03:01:15,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 03:01:15,626 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18642535-04918847, IP 84.47.87.67, Port 22 2025-12-30 03:01:15,777 - DEBUG - VM ctest-TestRoutersBasic-18642535-04918847 is ready for SSH connections 2025-12-30 03:01:15,777 - INFO - Waiting for VM ctest-TestRoutersBasic-18642535-67644238 to be up.. 2025-12-30 03:01:15,840 - DEBUG - VM is in ACTIVE state now 2025-12-30 03:01:15,840 - INFO - VM name : ctest-TestRoutersBasic-18642535-67644238 2025-12-30 03:01:15,901 - DEBUG - VM ctest-TestRoutersBasic-18642535-67644238 ID is 6abc8471-a739-4a1e-acff-d8ec460f6fc7 2025-12-30 03:01:15,902 - DEBUG - VM ctest-TestRoutersBasic-18642535-67644238 launched on Node cn-jenkins-deploy-platform-ansible-os-4939-1 2025-12-30 03:01:15,964 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6abc8471-a739-4a1e-acff-d8ec460f6fc7 2025-12-30 03:01:15,971 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/40449bc0-f659-4aad-84d1-ae2f40a5035f 2025-12-30 03:01:17,198 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.757 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.757/2.120/3.483/1.363 ms') 2025-12-30 03:01:17,198 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-18642535-67644238 passed 2025-12-30 03:01:17,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 03:01:17,350 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-18642535-67644238, IP 222.228.183.3, Port 22 2025-12-30 03:01:17,505 - DEBUG - VM ctest-TestRoutersBasic-18642535-67644238 is ready for SSH connections 2025-12-30 03:01:17,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-30 03:01:17,505 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.228.183.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-30 03:01:17,505 - DEBUG - ping -s 56 -c 3 -W 1 222.228.183.3 2025-12-30 03:01:21,163 - DEBUG - PING 222.228.183.3 (222.228.183.3): 56 data bytes 64 bytes from 222.228.183.3: seq=0 ttl=62 time=4.033 ms 64 bytes from 222.228.183.3: seq=1 ttl=62 time=0.923 ms 64 bytes from 222.228.183.3: seq=2 ttl=62 time=0.959 ms --- 222.228.183.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/1.971/4.033 ms 2025-12-30 03:01:21,163 - INFO - Ping to IP 222.228.183.3 from VM ctest-TestRoutersBasic-18642535-04918847 passed 2025-12-30 03:01:21,163 - INFO - Deleting interface with subnet_id 7d350588-87da-4c2c-9c13-9976f5febb04, port_id None from router 67ceb87c-d352-49cb-81c2-ef697db4cd6c 2025-12-30 03:01:21,364 - INFO - Deleting VM ctest-TestRoutersBasic-18642535-67644238 2025-12-30 03:01:21,426 - INFO - Deleting VM ctest-TestRoutersBasic-18642535-04918847 2025-12-30 03:01:21,498 - INFO - Deleting VN ctest-ext_vn-48935963 2025-12-30 03:01:21,554 - DEBUG - VN 89fc36b3-2fc6-49fe-83ab-f3be9f696bd5 still in use: Unable to complete operation on network 89fc36b3-2fc6-49fe-83ab-f3be9f696bd5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5c89de59-ba76-4257-86e1-13ef1f76d299'] 2025-12-30 03:01:21,554 - WARNING - Deleting VN ctest-ext_vn-48935963 failed..Will retry 2025-12-30 03:01:23,646 - DEBUG - Response for deleting network () 2025-12-30 03:01:23,646 - INFO - Deleting VN ctest-vn-20449979 2025-12-30 03:01:23,735 - DEBUG - Response for deleting network () 2025-12-30 03:01:24,002 - DEBUG - No XMPP flaps were noticed during the test
2025-12-30 03:01:24,002 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-30 03:01:24,002 - INFO - -------------------------------------------------------------------------------- 2025-12-30 03:01:24,651 - INFO - Deleted project: ctest-TestRoutersBasic-18642535, ID : 6ba9363f-8e63-4e13-9e51-97e1e1240122