2026-10-07 06:35:44,900 - INFO - Domain Default found not creating 2026-10-07 06:35:45,080 - INFO - Project ctest-TestRoutersBasic-82894081 not found, creating it 2026-10-07 06:35:45,696 - INFO - Created Project:ctest-TestRoutersBasic-82894081, ID : ec4dd502-54ad-43f2-874e-0e8b958af21a 2026-10-07 06:35:47,430 - INFO - ================================================================================ 2026-10-07 06:35:47,430 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-07 06:35:47,430 - 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-10-07 06:35:47,691 - DEBUG - Nothing to compare xmpp stats {'10.0.0.176': {'10.20.0.25': '0'}} with 2026-10-07 06:35:47,691 - INFO - Initial checks done. Running the testcase now 2026-10-07 06:35:47,691 - INFO - 2026-10-07 06:35:48,630 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-82894081 2026-10-07 06:35:48,727 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-82894081 2026-10-07 06:35:49,060 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82894081', 'default']} 2026-10-07 06:35:49,360 - DEBUG - Response for create_network : {'network': {'id': '2f3ca9bd-4895-46c4-a515-a5524af60893', 'name': 'ctest-vn-02255522', 'tenant_id': 'ec4dd50254ad43f2874e0e8b958af21a', 'project_id': 'ec4dd50254ad43f2874e0e8b958af21a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82894081', 'ctest-vn-02255522'], 'port_security_enabled': True, 'description': ''}} 2026-10-07 06:35:49,551 - DEBUG - Response for create_subnet : {'subnet': {'id': '734cdad9-1d02-448b-9c39-3338549199e1', 'name': '', 'tenant_id': 'ec4dd50254ad43f2874e0e8b958af21a', 'network_id': '2f3ca9bd-4895-46c4-a515-a5524af60893', 'ip_version': 4, 'cidr': '121.9.191.64/26', 'allocation_pools': [{'start': '121.9.191.66', 'end': '121.9.191.126'}], 'gateway_ip': '121.9.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.9.191.66', 'tags': [], 'project_id': 'ec4dd50254ad43f2874e0e8b958af21a'}} 2026-10-07 06:35:49,571 - INFO - Created VN ctest-vn-02255522 2026-10-07 06:35:49,628 - DEBUG - VN ctest-vn-02255522 UUID is 2f3ca9bd-4895-46c4-a515-a5524af60893 2026-10-07 06:35:49,980 - DEBUG - Response for create_network : {'network': {'id': '26496340-9d44-4481-a275-b605c31e4de2', 'name': 'ctest-ext_vn-76073603', 'tenant_id': 'ec4dd50254ad43f2874e0e8b958af21a', 'project_id': 'ec4dd50254ad43f2874e0e8b958af21a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-82894081', 'ctest-ext_vn-76073603'], 'port_security_enabled': True, 'description': ''}} 2026-10-07 06:35:50,216 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a38c2e87-6454-4be7-b34c-f10a6a61d4f6', 'name': '', 'tenant_id': 'ec4dd50254ad43f2874e0e8b958af21a', 'network_id': '26496340-9d44-4481-a275-b605c31e4de2', 'ip_version': 4, 'cidr': '58.72.143.64/26', 'allocation_pools': [{'start': '58.72.143.66', 'end': '58.72.143.126'}], 'gateway_ip': '58.72.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.72.143.66', 'tags': [], 'project_id': 'ec4dd50254ad43f2874e0e8b958af21a'}} 2026-10-07 06:35:50,234 - INFO - Created VN ctest-ext_vn-76073603 2026-10-07 06:35:50,287 - DEBUG - VN ctest-ext_vn-76073603 UUID is 26496340-9d44-4481-a275-b605c31e4de2 2026-10-07 06:35:50,479 - DEBUG - Services list from nova: [, , ] 2026-10-07 06:35:50,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6353-1) 2026-10-07 06:35:51,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6353-1) 2026-10-07 06:35:51,392 - INFO - Setting gateway for router 89ed45cc-fda1-45d6-aa6c-f2832a5bf7ec to network 26496340-9d44-4481-a275-b605c31e4de2 2026-10-07 06:35:51,467 - INFO - Adding interface with subnet_id 734cdad9-1d02-448b-9c39-3338549199e1, port_id None to router 89ed45cc-fda1-45d6-aa6c-f2832a5bf7ec 2026-10-07 06:35:51,751 - INFO - Waiting for VM ctest-TestRoutersBasic-82894081-52104986 to be up.. 2026-10-07 06:35:51,828 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 06:35:56,985 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 06:36:02,084 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 06:36:07,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 06:36:12,262 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 06:36:17,351 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 06:36:22,441 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 06:36:27,548 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-07 06:36:32,635 - DEBUG - VM is in ACTIVE state now 2026-10-07 06:36:32,635 - INFO - VM name : ctest-TestRoutersBasic-82894081-52104986 2026-10-07 06:36:32,722 - DEBUG - VM ctest-TestRoutersBasic-82894081-52104986 ID is 5f4c19c2-0354-4560-b128-8e914727daf0 2026-10-07 06:36:32,748 - DEBUG - VM ctest-TestRoutersBasic-82894081-52104986 launched on Node cn-jenkins-deploy-platform-ansible-os-6353-1 2026-10-07 06:36:32,831 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/5f4c19c2-0354-4560-b128-8e914727daf0 2026-10-07 06:36:33,199 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/5f4c19c2-0354-4560-b128-8e914727daf0 2026-10-07 06:36:33,234 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine-interface/28eca24a-4066-4271-8273-3dbd0880bce3 2026-10-07 06:36:36,488 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=6.01 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 6.008/6.008/6.008/0.000 ms') 2026-10-07 06:36:36,489 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-82894081-52104986 passed 2026-10-07 06:36:36,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 06:36:36,643 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82894081-52104986, IP 121.9.191.67, Port 22 2026-10-07 06:36:36,815 - DEBUG - VM ctest-TestRoutersBasic-82894081-52104986 is ready for SSH connections 2026-10-07 06:36:36,815 - INFO - Waiting for VM ctest-TestRoutersBasic-82894081-17372921 to be up.. 2026-10-07 06:36:36,914 - DEBUG - VM is in ACTIVE state now 2026-10-07 06:36:36,914 - INFO - VM name : ctest-TestRoutersBasic-82894081-17372921 2026-10-07 06:36:37,007 - DEBUG - VM ctest-TestRoutersBasic-82894081-17372921 ID is 2e3d75c8-d71e-4171-bc73-1c21ae428554 2026-10-07 06:36:37,007 - DEBUG - VM ctest-TestRoutersBasic-82894081-17372921 launched on Node cn-jenkins-deploy-platform-ansible-os-6353-1 2026-10-07 06:36:37,097 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine/2e3d75c8-d71e-4171-bc73-1c21ae428554 2026-10-07 06:36:37,107 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-machine-interface/eabbe62e-268e-4df6-995a-d387047397cb 2026-10-07 06:36:40,354 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2026-10-07 06:36:40,354 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-82894081-17372921 failed! 2026-10-07 06:36:40,411 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-82894081:ctest-ext_vn-76073603 is 58.72.143.65 and allocation pool is NOT set 2026-10-07 06:36:42,477 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=4.46 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.587 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.587/2.521/4.456/1.934 ms') 2026-10-07 06:36:42,477 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-82894081-17372921 passed 2026-10-07 06:36:42,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 06:36:42,632 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-82894081-17372921, IP 58.72.143.68, Port 22 2026-10-07 06:36:42,802 - DEBUG - VM ctest-TestRoutersBasic-82894081-17372921 is ready for SSH connections 2026-10-07 06:36:42,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-07 06:36:42,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 58.72.143.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.176, gateway password: c0ntrail123 2026-10-07 06:36:42,802 - DEBUG - ping -s 56 -c 3 -W 1 58.72.143.68 2026-10-07 06:36:45,807 - DEBUG - PING 58.72.143.68 (58.72.143.68): 56 data bytes 64 bytes from 58.72.143.68: seq=0 ttl=62 time=6.726 ms 64 bytes from 58.72.143.68: seq=1 ttl=62 time=0.982 ms 64 bytes from 58.72.143.68: seq=2 ttl=62 time=1.438 ms --- 58.72.143.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.982/3.048/6.726 ms 2026-10-07 06:36:45,807 - INFO - Ping to IP 58.72.143.68 from VM ctest-TestRoutersBasic-82894081-52104986 passed 2026-10-07 06:36:45,808 - INFO - Deleting interface with subnet_id 734cdad9-1d02-448b-9c39-3338549199e1, port_id None from router 89ed45cc-fda1-45d6-aa6c-f2832a5bf7ec 2026-10-07 06:36:46,064 - INFO - Deleting VM ctest-TestRoutersBasic-82894081-17372921 2026-10-07 06:36:46,153 - INFO - Deleting VM ctest-TestRoutersBasic-82894081-52104986 2026-10-07 06:36:46,259 - INFO - Deleting VN ctest-ext_vn-76073603 2026-10-07 06:36:46,343 - DEBUG - VN 26496340-9d44-4481-a275-b605c31e4de2 still in use: Unable to complete operation on network 26496340-9d44-4481-a275-b605c31e4de2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1a46944-0a50-4e60-a22f-da7451f21d47'] 2026-10-07 06:36:46,343 - WARNING - Deleting VN ctest-ext_vn-76073603 failed..Will retry 2026-10-07 06:36:48,401 - DEBUG - VN 26496340-9d44-4481-a275-b605c31e4de2 still in use: Unable to complete operation on network 26496340-9d44-4481-a275-b605c31e4de2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c110f9c-ad33-4a90-a9dd-c9f9083ebd35'] 2026-10-07 06:36:48,401 - WARNING - Deleting VN ctest-ext_vn-76073603 failed..Will retry 2026-10-07 06:36:50,536 - DEBUG - Response for deleting network () 2026-10-07 06:36:50,537 - INFO - Deleting VN ctest-vn-02255522 2026-10-07 06:36:50,665 - DEBUG - Response for deleting network () 2026-10-07 06:36:50,935 - DEBUG - No XMPP flaps were noticed during the test 2026-10-07 06:36:50,935 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03] 2026-10-07 06:36:50,936 - INFO - -------------------------------------------------------------------------------- 2026-10-07 06:36:51,746 - INFO - Deleted project: ctest-TestRoutersBasic-82894081, ID : ec4dd502-54ad-43f2-874e-0e8b958af21a