2026-05-30 07:08:30,679 - INFO - Domain Default found not creating 2026-05-30 07:08:30,871 - INFO - Project ctest-TestRoutersBasic-56925631 not found, creating it 2026-05-30 07:08:31,347 - INFO - Created Project:ctest-TestRoutersBasic-56925631, ID : 05762643-2f00-45d8-8a0f-5cfd167e2328 2026-05-30 07:08:32,902 - INFO - ================================================================================ 2026-05-30 07:08:32,902 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-30 07:08:32,902 - 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 2026-05-30 07:08:33,155 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-30 07:08:33,155 - INFO - Initial checks done. Running the testcase now 2026-05-30 07:08:33,155 - INFO - 2026-05-30 07:08:33,894 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56925631 2026-05-30 07:08:33,993 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56925631 2026-05-30 07:08:34,321 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56925631', 'default']} 2026-05-30 07:08:34,631 - DEBUG - Response for create_network : {'network': {'id': '7bf019ac-b0c8-4e86-a9d9-8e2a13378c5d', 'name': 'ctest-vn-31111984', 'tenant_id': '057626432f0045d88a0f5cfd167e2328', 'project_id': '057626432f0045d88a0f5cfd167e2328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56925631', 'ctest-vn-31111984'], 'port_security_enabled': True, 'description': ''}} 2026-05-30 07:08:34,822 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbe633e1-c22a-4235-864f-f1ed3dba6663', 'name': '', 'tenant_id': '057626432f0045d88a0f5cfd167e2328', 'network_id': '7bf019ac-b0c8-4e86-a9d9-8e2a13378c5d', 'ip_version': 4, 'cidr': '141.182.234.0/26', 'allocation_pools': [{'start': '141.182.234.2', 'end': '141.182.234.62'}], 'gateway_ip': '141.182.234.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.182.234.2', 'tags': [], 'project_id': '057626432f0045d88a0f5cfd167e2328'}} 2026-05-30 07:08:34,842 - INFO - Created VN ctest-vn-31111984 2026-05-30 07:08:34,897 - DEBUG - VN ctest-vn-31111984 UUID is 7bf019ac-b0c8-4e86-a9d9-8e2a13378c5d 2026-05-30 07:08:35,210 - DEBUG - Response for create_network : {'network': {'id': 'f7743869-74dd-46f2-838e-aaa371e1609a', 'name': 'ctest-ext_vn-34414342', 'tenant_id': '057626432f0045d88a0f5cfd167e2328', 'project_id': '057626432f0045d88a0f5cfd167e2328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56925631', 'ctest-ext_vn-34414342'], 'port_security_enabled': True, 'description': ''}} 2026-05-30 07:08:35,368 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef68ca86-9367-4d3f-aa30-c194bed92628', 'name': '', 'tenant_id': '057626432f0045d88a0f5cfd167e2328', 'network_id': 'f7743869-74dd-46f2-838e-aaa371e1609a', 'ip_version': 4, 'cidr': '168.240.47.64/26', 'allocation_pools': [{'start': '168.240.47.66', 'end': '168.240.47.126'}], 'gateway_ip': '168.240.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.240.47.66', 'tags': [], 'project_id': '057626432f0045d88a0f5cfd167e2328'}} 2026-05-30 07:08:35,392 - INFO - Created VN ctest-ext_vn-34414342 2026-05-30 07:08:35,445 - DEBUG - VN ctest-ext_vn-34414342 UUID is f7743869-74dd-46f2-838e-aaa371e1609a 2026-05-30 07:08:35,618 - DEBUG - Services list from nova: [, , ] 2026-05-30 07:08:36,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5855-1) 2026-05-30 07:08:37,920 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5855-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5855-1) 2026-05-30 07:08:38,005 - INFO - Setting gateway for router 5d94b92c-f62b-449f-8512-6c1bca7bbce5 to network f7743869-74dd-46f2-838e-aaa371e1609a 2026-05-30 07:08:38,081 - INFO - Adding interface with subnet_id dbe633e1-c22a-4235-864f-f1ed3dba6663, port_id None to router 5d94b92c-f62b-449f-8512-6c1bca7bbce5 2026-05-30 07:08:38,457 - INFO - Waiting for VM ctest-TestRoutersBasic-56925631-98442365 to be up.. 2026-05-30 07:08:38,630 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-30 07:08:43,716 - DEBUG - VM is in ACTIVE state now 2026-05-30 07:08:43,716 - INFO - VM name : ctest-TestRoutersBasic-56925631-98442365 2026-05-30 07:08:43,797 - DEBUG - VM ctest-TestRoutersBasic-56925631-98442365 ID is a9516d03-aea2-44af-993d-e56619d6c5a6 2026-05-30 07:08:43,819 - DEBUG - VM ctest-TestRoutersBasic-56925631-98442365 launched on Node cn-jenkins-deploy-platform-ansible-os-5855-1 2026-05-30 07:08:43,910 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a9516d03-aea2-44af-993d-e56619d6c5a6 2026-05-30 07:08:44,207 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a9516d03-aea2-44af-993d-e56619d6c5a6 2026-05-30 07:08:44,249 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c1b54403-eb8c-4c8e-87ac-ef8cc0ed7a33 2026-05-30 07:08:47,501 - 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 1013ms') 2026-05-30 07:08:47,501 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56925631-98442365 failed! 2026-05-30 07:08:47,561 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56925631:ctest-vn-31111984 is 141.182.234.1 and allocation pool is NOT set 2026-05-30 07:08:49,624 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.727 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.727/2.820/4.913/2.093 ms') 2026-05-30 07:08:49,624 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56925631-98442365 passed 2026-05-30 07:08:49,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-30 07:08:49,773 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56925631-98442365, IP 141.182.234.3, Port 22 2026-05-30 07:08:49,932 - DEBUG - VM ctest-TestRoutersBasic-56925631-98442365 is ready for SSH connections 2026-05-30 07:08:49,932 - INFO - Waiting for VM ctest-TestRoutersBasic-56925631-01113437 to be up.. 2026-05-30 07:08:50,027 - DEBUG - VM is in ACTIVE state now 2026-05-30 07:08:50,027 - INFO - VM name : ctest-TestRoutersBasic-56925631-01113437 2026-05-30 07:08:50,114 - DEBUG - VM ctest-TestRoutersBasic-56925631-01113437 ID is 2249b617-9ad0-4093-9da4-995726162d93 2026-05-30 07:08:50,114 - DEBUG - VM ctest-TestRoutersBasic-56925631-01113437 launched on Node cn-jenkins-deploy-platform-ansible-os-5855-1 2026-05-30 07:08:50,196 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2249b617-9ad0-4093-9da4-995726162d93 2026-05-30 07:08:50,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c6ddc13e-5cde-465d-b373-7e0cafd40750 2026-05-30 07:08:51,456 - 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=4.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.06 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 = 1.063/2.840/4.617/1.777 ms') 2026-05-30 07:08:51,456 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56925631-01113437 passed 2026-05-30 07:08:51,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-30 07:08:51,609 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56925631-01113437, IP 168.240.47.67, Port 22 2026-05-30 07:08:51,768 - DEBUG - VM ctest-TestRoutersBasic-56925631-01113437 is ready for SSH connections 2026-05-30 07:08:51,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-30 07:08:51,769 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.240.47.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-30 07:08:51,769 - DEBUG - ping -s 56 -c 3 -W 1 168.240.47.67 2026-05-30 07:08:55,561 - DEBUG - PING 168.240.47.67 (168.240.47.67): 56 data bytes 64 bytes from 168.240.47.67: seq=0 ttl=62 time=9.008 ms 64 bytes from 168.240.47.67: seq=1 ttl=62 time=1.070 ms 64 bytes from 168.240.47.67: seq=2 ttl=62 time=0.897 ms --- 168.240.47.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.897/3.658/9.008 ms 2026-05-30 07:08:55,561 - INFO - Ping to IP 168.240.47.67 from VM ctest-TestRoutersBasic-56925631-98442365 passed 2026-05-30 07:08:55,562 - INFO - Deleting interface with subnet_id dbe633e1-c22a-4235-864f-f1ed3dba6663, port_id None from router 5d94b92c-f62b-449f-8512-6c1bca7bbce5 2026-05-30 07:08:55,745 - INFO - Deleting VM ctest-TestRoutersBasic-56925631-01113437 2026-05-30 07:08:55,833 - INFO - Deleting VM ctest-TestRoutersBasic-56925631-98442365 2026-05-30 07:08:55,913 - INFO - Deleting VN ctest-ext_vn-34414342 2026-05-30 07:08:55,995 - DEBUG - VN f7743869-74dd-46f2-838e-aaa371e1609a still in use: Unable to complete operation on network f7743869-74dd-46f2-838e-aaa371e1609a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aaf9146a-b742-4639-b1d5-ef8dbcd34b07'] 2026-05-30 07:08:55,995 - WARNING - Deleting VN ctest-ext_vn-34414342 failed..Will retry 2026-05-30 07:08:58,155 - DEBUG - Response for deleting network () 2026-05-30 07:08:58,155 - INFO - Deleting VN ctest-vn-31111984 2026-05-30 07:08:58,256 - DEBUG - Response for deleting network () 2026-05-30 07:08:58,510 - DEBUG - No XMPP flaps were noticed during the test 2026-05-30 07:08:58,510 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-05-30 07:08:58,510 - INFO - -------------------------------------------------------------------------------- 2026-05-30 07:08:59,215 - INFO - Deleted project: ctest-TestRoutersBasic-56925631, ID : 05762643-2f00-45d8-8a0f-5cfd167e2328