2025-11-02 21:40:38,719 - INFO - Domain Default found not creating 2025-11-02 21:40:38,863 - INFO - Project ctest-TestRoutersBasic-81242107 not found, creating it 2025-11-02 21:40:39,322 - INFO - Created Project:ctest-TestRoutersBasic-81242107, ID : 4503a101-2896-4b48-a477-a16e302f9489 2025-11-02 21:40:40,796 - INFO - ================================================================================ 2025-11-02 21:40:40,797 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-02 21:40:40,797 - 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-11-02 21:40:41,064 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-02 21:40:41,064 - INFO - Initial checks done. Running the testcase now 2025-11-02 21:40:41,064 - INFO - 2025-11-02 21:40:41,802 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81242107 2025-11-02 21:40:41,902 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81242107 2025-11-02 21:40:42,221 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81242107', 'default']} 2025-11-02 21:40:42,503 - DEBUG - Response for create_network : {'network': {'id': 'da45f1b5-4b89-4f4a-a1b9-66d8dd17dd1a', 'name': 'ctest-vn-41577086', 'tenant_id': '4503a10128964b48a477a16e302f9489', 'project_id': '4503a10128964b48a477a16e302f9489', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81242107', 'ctest-vn-41577086'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 21:40:42,719 - DEBUG - Response for create_subnet : {'subnet': {'id': '76d1a3c1-10f2-4896-83f1-3cdd3bf74a2c', 'name': '', 'tenant_id': '4503a10128964b48a477a16e302f9489', 'network_id': 'da45f1b5-4b89-4f4a-a1b9-66d8dd17dd1a', 'ip_version': 4, 'cidr': '143.119.193.192/26', 'allocation_pools': [{'start': '143.119.193.194', 'end': '143.119.193.254'}], 'gateway_ip': '143.119.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.119.193.194', 'tags': [], 'project_id': '4503a10128964b48a477a16e302f9489'}} 2025-11-02 21:40:42,735 - INFO - Created VN ctest-vn-41577086 2025-11-02 21:40:42,786 - DEBUG - VN ctest-vn-41577086 UUID is da45f1b5-4b89-4f4a-a1b9-66d8dd17dd1a 2025-11-02 21:40:43,104 - DEBUG - Response for create_network : {'network': {'id': '4f49620a-ea5e-485c-9d29-4efd7b688d2d', 'name': 'ctest-ext_vn-61526532', 'tenant_id': '4503a10128964b48a477a16e302f9489', 'project_id': '4503a10128964b48a477a16e302f9489', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81242107', 'ctest-ext_vn-61526532'], 'port_security_enabled': True, 'description': ''}} 2025-11-02 21:40:43,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '8f52d7d8-c49c-464f-92ea-d4053ac72e86', 'name': '', 'tenant_id': '4503a10128964b48a477a16e302f9489', 'network_id': '4f49620a-ea5e-485c-9d29-4efd7b688d2d', 'ip_version': 4, 'cidr': '68.66.236.192/26', 'allocation_pools': [{'start': '68.66.236.194', 'end': '68.66.236.254'}], 'gateway_ip': '68.66.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.66.236.194', 'tags': [], 'project_id': '4503a10128964b48a477a16e302f9489'}} 2025-11-02 21:40:43,306 - INFO - Created VN ctest-ext_vn-61526532 2025-11-02 21:40:43,358 - DEBUG - VN ctest-ext_vn-61526532 UUID is 4f49620a-ea5e-485c-9d29-4efd7b688d2d 2025-11-02 21:40:43,563 - DEBUG - Services list from nova: [, , ] 2025-11-02 21:40:44,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4595-1) 2025-11-02 21:40:45,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4595-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4595-1) 2025-11-02 21:40:45,807 - INFO - Setting gateway for router d621ef42-63a6-42a5-8923-eb2b4ed1ea31 to network 4f49620a-ea5e-485c-9d29-4efd7b688d2d 2025-11-02 21:40:45,873 - INFO - Adding interface with subnet_id 76d1a3c1-10f2-4896-83f1-3cdd3bf74a2c, port_id None to router d621ef42-63a6-42a5-8923-eb2b4ed1ea31 2025-11-02 21:40:46,246 - INFO - Waiting for VM ctest-TestRoutersBasic-81242107-84848326 to be up.. 2025-11-02 21:40:46,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-02 21:40:51,470 - DEBUG - VM is in ACTIVE state now 2025-11-02 21:40:51,470 - INFO - VM name : ctest-TestRoutersBasic-81242107-84848326 2025-11-02 21:40:51,544 - DEBUG - VM ctest-TestRoutersBasic-81242107-84848326 ID is 39c39714-2638-48db-8729-de173bf81811 2025-11-02 21:40:51,565 - DEBUG - VM ctest-TestRoutersBasic-81242107-84848326 launched on Node cn-jenkins-deploy-platform-ansible-os-4595-1 2025-11-02 21:40:51,638 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/39c39714-2638-48db-8729-de173bf81811 2025-11-02 21:40:51,937 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/39c39714-2638-48db-8729-de173bf81811 2025-11-02 21:40:51,972 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d332b384-b7da-44af-8768-b97db734ed1e 2025-11-02 21:40:55,208 - 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 1003ms') 2025-11-02 21:40:55,208 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81242107-84848326 failed! 2025-11-02 21:40:55,262 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81242107:ctest-vn-41577086 is 143.119.193.193 and allocation pool is NOT set 2025-11-02 21:40:57,320 - 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=3.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/1.923/3.379/1.456 ms') 2025-11-02 21:40:57,320 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81242107-84848326 passed 2025-11-02 21:40:57,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:40:57,470 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81242107-84848326, IP 143.119.193.195, Port 22 2025-11-02 21:40:57,640 - DEBUG - VM ctest-TestRoutersBasic-81242107-84848326 is ready for SSH connections 2025-11-02 21:40:57,640 - INFO - Waiting for VM ctest-TestRoutersBasic-81242107-78657585 to be up.. 2025-11-02 21:40:57,710 - DEBUG - VM is in ACTIVE state now 2025-11-02 21:40:57,710 - INFO - VM name : ctest-TestRoutersBasic-81242107-78657585 2025-11-02 21:40:57,785 - DEBUG - VM ctest-TestRoutersBasic-81242107-78657585 ID is abed5e39-8f38-469a-a0b0-c042f2cfa9b2 2025-11-02 21:40:57,785 - DEBUG - VM ctest-TestRoutersBasic-81242107-78657585 launched on Node cn-jenkins-deploy-platform-ansible-os-4595-1 2025-11-02 21:40:57,861 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/abed5e39-8f38-469a-a0b0-c042f2cfa9b2 2025-11-02 21:40:57,869 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8fe60bd7-d55f-4530-a46f-244d18381678 2025-11-02 21:40:59,101 - 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.15 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.775 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.775/2.962/5.149/2.187 ms') 2025-11-02 21:40:59,102 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81242107-78657585 passed 2025-11-02 21:40:59,258 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:40:59,258 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81242107-78657585, IP 68.66.236.195, Port 22 2025-11-02 21:40:59,412 - DEBUG - VM ctest-TestRoutersBasic-81242107-78657585 is ready for SSH connections 2025-11-02 21:40:59,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-02 21:40:59,413 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.66.236.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-02 21:40:59,413 - DEBUG - ping -s 56 -c 3 -W 1 68.66.236.195 2025-11-02 21:41:03,482 - DEBUG - PING 68.66.236.195 (68.66.236.195): 56 data bytes 64 bytes from 68.66.236.195: seq=0 ttl=62 time=5.554 ms 64 bytes from 68.66.236.195: seq=1 ttl=62 time=1.226 ms 64 bytes from 68.66.236.195: seq=2 ttl=62 time=1.032 ms --- 68.66.236.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/2.604/5.554 ms 2025-11-02 21:41:03,482 - INFO - Ping to IP 68.66.236.195 from VM ctest-TestRoutersBasic-81242107-84848326 passed 2025-11-02 21:41:03,482 - INFO - Deleting interface with subnet_id 76d1a3c1-10f2-4896-83f1-3cdd3bf74a2c, port_id None from router d621ef42-63a6-42a5-8923-eb2b4ed1ea31 2025-11-02 21:41:03,673 - INFO - Deleting VM ctest-TestRoutersBasic-81242107-78657585 2025-11-02 21:41:03,746 - INFO - Deleting VM ctest-TestRoutersBasic-81242107-84848326 2025-11-02 21:41:03,824 - INFO - Deleting VN ctest-ext_vn-61526532 2025-11-02 21:41:03,902 - DEBUG - VN 4f49620a-ea5e-485c-9d29-4efd7b688d2d still in use: Unable to complete operation on network 4f49620a-ea5e-485c-9d29-4efd7b688d2d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-844b5767-84d7-47ce-a511-011d661c4b8f'] 2025-11-02 21:41:03,902 - WARNING - Deleting VN ctest-ext_vn-61526532 failed..Will retry 2025-11-02 21:41:06,007 - DEBUG - Response for deleting network () 2025-11-02 21:41:06,007 - INFO - Deleting VN ctest-vn-41577086 2025-11-02 21:41:06,100 - DEBUG - Response for deleting network () 2025-11-02 21:41:06,355 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 21:41:06,355 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-11-02 21:41:06,355 - INFO - -------------------------------------------------------------------------------- 2025-11-02 21:41:07,046 - INFO - Deleted project: ctest-TestRoutersBasic-81242107, ID : 4503a101-2896-4b48-a477-a16e302f9489