2025-09-08 16:03:23,690 - INFO - Domain Default found not creating 2025-09-08 16:03:23,830 - INFO - Project ctest-TestRoutersBasic-55280606 not found, creating it 2025-09-08 16:03:24,270 - INFO - Created Project:ctest-TestRoutersBasic-55280606, ID : 51430baa-2214-4686-9699-cc8b349e9577 2025-09-08 16:03:25,697 - INFO - ================================================================================ 2025-09-08 16:03:25,697 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-08 16:03:25,697 - 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-08 16:03:25,953 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.193': '0'}} with 2025-09-08 16:03:25,953 - INFO - Initial checks done. Running the testcase now 2025-09-08 16:03:25,953 - INFO - 2025-09-08 16:03:26,646 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55280606 2025-09-08 16:03:26,743 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55280606 2025-09-08 16:03:27,071 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55280606', 'default']} 2025-09-08 16:03:27,434 - DEBUG - Response for create_network : {'network': {'id': 'a33996a7-9156-46e6-a4c0-1952e310eb00', 'name': 'ctest-vn-06417921', 'tenant_id': '51430baa221446869699cc8b349e9577', 'project_id': '51430baa221446869699cc8b349e9577', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55280606', 'ctest-vn-06417921'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 16:03:27,593 - DEBUG - Response for create_subnet : {'subnet': {'id': '93b06b92-6878-4217-9ce4-671bbc18abe5', 'name': '', 'tenant_id': '51430baa221446869699cc8b349e9577', 'network_id': 'a33996a7-9156-46e6-a4c0-1952e310eb00', 'ip_version': 4, 'cidr': '31.143.237.128/26', 'allocation_pools': [{'start': '31.143.237.130', 'end': '31.143.237.190'}], 'gateway_ip': '31.143.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.143.237.130', 'tags': [], 'project_id': '51430baa221446869699cc8b349e9577'}} 2025-09-08 16:03:27,611 - INFO - Created VN ctest-vn-06417921 2025-09-08 16:03:27,663 - DEBUG - VN ctest-vn-06417921 UUID is a33996a7-9156-46e6-a4c0-1952e310eb00 2025-09-08 16:03:27,972 - DEBUG - Response for create_network : {'network': {'id': '37b1497e-d72a-4f96-b65f-262f4303c3ce', 'name': 'ctest-ext_vn-58203484', 'tenant_id': '51430baa221446869699cc8b349e9577', 'project_id': '51430baa221446869699cc8b349e9577', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55280606', 'ctest-ext_vn-58203484'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 16:03:28,138 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c1cd250-736b-40af-88c3-68ed14f3d344', 'name': '', 'tenant_id': '51430baa221446869699cc8b349e9577', 'network_id': '37b1497e-d72a-4f96-b65f-262f4303c3ce', 'ip_version': 4, 'cidr': '76.240.217.192/26', 'allocation_pools': [{'start': '76.240.217.194', 'end': '76.240.217.254'}], 'gateway_ip': '76.240.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.240.217.194', 'tags': [], 'project_id': '51430baa221446869699cc8b349e9577'}} 2025-09-08 16:03:28,154 - INFO - Created VN ctest-ext_vn-58203484 2025-09-08 16:03:28,207 - DEBUG - VN ctest-ext_vn-58203484 UUID is 37b1497e-d72a-4f96-b65f-262f4303c3ce 2025-09-08 16:03:28,371 - DEBUG - Services list from nova: [, , ] 2025-09-08 16:03:29,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4054-1) 2025-09-08 16:03:30,470 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4054-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4054-1) 2025-09-08 16:03:30,547 - INFO - Setting gateway for router 7bce1fd9-8a85-4847-a2c0-60a9e8c2213e to network 37b1497e-d72a-4f96-b65f-262f4303c3ce 2025-09-08 16:03:30,618 - INFO - Adding interface with subnet_id 93b06b92-6878-4217-9ce4-671bbc18abe5, port_id None to router 7bce1fd9-8a85-4847-a2c0-60a9e8c2213e 2025-09-08 16:03:30,974 - INFO - Waiting for VM ctest-TestRoutersBasic-55280606-35410672 to be up.. 2025-09-08 16:03:31,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 16:03:36,215 - DEBUG - VM is in ACTIVE state now 2025-09-08 16:03:36,215 - INFO - VM name : ctest-TestRoutersBasic-55280606-35410672 2025-09-08 16:03:36,301 - DEBUG - VM ctest-TestRoutersBasic-55280606-35410672 ID is 115e57f1-ed3c-4125-b744-bd05a4873546 2025-09-08 16:03:36,332 - DEBUG - VM ctest-TestRoutersBasic-55280606-35410672 launched on Node cn-jenkins-deploy-platform-ansible-os-4054-1 2025-09-08 16:03:36,413 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/115e57f1-ed3c-4125-b744-bd05a4873546 2025-09-08 16:03:36,718 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/115e57f1-ed3c-4125-b744-bd05a4873546 2025-09-08 16:03:36,750 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/22a2a13f-1da7-4ecb-bb38-9c38ceaed57a 2025-09-08 16:03:40,010 - 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-09-08 16:03:40,010 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55280606-35410672 failed! 2025-09-08 16:03:40,063 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55280606:ctest-vn-06417921 is 31.143.237.129 and allocation pool is NOT set 2025-09-08 16:03:42,124 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/1.720/2.989/1.268 ms') 2025-09-08 16:03:42,124 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55280606-35410672 passed 2025-09-08 16:03:42,272 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:03:42,272 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55280606-35410672, IP 31.143.237.131, Port 22 2025-09-08 16:03:42,430 - DEBUG - VM ctest-TestRoutersBasic-55280606-35410672 is ready for SSH connections 2025-09-08 16:03:42,430 - INFO - Waiting for VM ctest-TestRoutersBasic-55280606-55045898 to be up.. 2025-09-08 16:03:42,509 - DEBUG - VM is in ACTIVE state now 2025-09-08 16:03:42,509 - INFO - VM name : ctest-TestRoutersBasic-55280606-55045898 2025-09-08 16:03:42,585 - DEBUG - VM ctest-TestRoutersBasic-55280606-55045898 ID is 13353bcd-70f5-4858-a77c-564d8f37965d 2025-09-08 16:03:42,585 - DEBUG - VM ctest-TestRoutersBasic-55280606-55045898 launched on Node cn-jenkins-deploy-platform-ansible-os-4054-1 2025-09-08 16:03:42,665 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/13353bcd-70f5-4858-a77c-564d8f37965d 2025-09-08 16:03:42,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6a5bf827-5e81-4ebd-b58d-442a3a7569a3 2025-09-08 16:03:43,912 - 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=2.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.464 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.464/1.694/2.925/1.230 ms') 2025-09-08 16:03:43,912 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55280606-55045898 passed 2025-09-08 16:03:44,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:03:44,059 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55280606-55045898, IP 76.240.217.195, Port 22 2025-09-08 16:03:44,214 - DEBUG - VM ctest-TestRoutersBasic-55280606-55045898 is ready for SSH connections 2025-09-08 16:03:44,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 16:03:44,215 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.240.217.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-08 16:03:44,215 - DEBUG - ping -s 56 -c 3 -W 1 76.240.217.195 2025-09-08 16:03:48,211 - DEBUG - PING 76.240.217.195 (76.240.217.195): 56 data bytes 64 bytes from 76.240.217.195: seq=0 ttl=62 time=6.714 ms 64 bytes from 76.240.217.195: seq=1 ttl=62 time=1.044 ms 64 bytes from 76.240.217.195: seq=2 ttl=62 time=0.889 ms --- 76.240.217.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/2.882/6.714 ms 2025-09-08 16:03:48,211 - INFO - Ping to IP 76.240.217.195 from VM ctest-TestRoutersBasic-55280606-35410672 passed 2025-09-08 16:03:48,211 - INFO - Deleting interface with subnet_id 93b06b92-6878-4217-9ce4-671bbc18abe5, port_id None from router 7bce1fd9-8a85-4847-a2c0-60a9e8c2213e 2025-09-08 16:03:48,405 - INFO - Deleting VM ctest-TestRoutersBasic-55280606-55045898 2025-09-08 16:03:48,476 - INFO - Deleting VM ctest-TestRoutersBasic-55280606-35410672 2025-09-08 16:03:48,552 - INFO - Deleting VN ctest-ext_vn-58203484 2025-09-08 16:03:48,611 - DEBUG - VN 37b1497e-d72a-4f96-b65f-262f4303c3ce still in use: Unable to complete operation on network 37b1497e-d72a-4f96-b65f-262f4303c3ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-114c37a2-95d3-4a63-8308-40fbcea57911'] 2025-09-08 16:03:48,611 - WARNING - Deleting VN ctest-ext_vn-58203484 failed..Will retry 2025-09-08 16:03:50,708 - DEBUG - Response for deleting network () 2025-09-08 16:03:50,708 - INFO - Deleting VN ctest-vn-06417921 2025-09-08 16:03:50,801 - DEBUG - Response for deleting network () 2025-09-08 16:03:51,057 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 16:03:51,057 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-09-08 16:03:51,057 - INFO - -------------------------------------------------------------------------------- 2025-09-08 16:03:51,741 - INFO - Deleted project: ctest-TestRoutersBasic-55280606, ID : 51430baa-2214-4686-9699-cc8b349e9577