2026-11-03 04:06:58,693 - INFO - Domain Default found not creating 2026-11-03 04:06:58,855 - INFO - Project ctest-TestRoutersBasic-96740997 not found, creating it 2026-11-03 04:06:59,332 - INFO - Created Project:ctest-TestRoutersBasic-96740997, ID : 2e08fb59-9fa2-46a0-9056-78315323ad65 2026-11-03 04:07:01,011 - INFO - ================================================================================ 2026-11-03 04:07:01,011 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-11-03 04:07:01,011 - 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-11-03 04:07:01,269 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.25': '0'}} with 2026-11-03 04:07:01,269 - INFO - Initial checks done. Running the testcase now 2026-11-03 04:07:01,269 - INFO - 2026-11-03 04:07:02,116 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96740997 2026-11-03 04:07:02,214 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96740997 2026-11-03 04:07:02,538 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96740997', 'default']} 2026-11-03 04:07:02,821 - DEBUG - Response for create_network : {'network': {'id': '8b36dfe7-b6d2-4fc8-bc89-47b9dfcc55b2', 'name': 'ctest-vn-12012639', 'tenant_id': '2e08fb599fa246a0905678315323ad65', 'project_id': '2e08fb599fa246a0905678315323ad65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96740997', 'ctest-vn-12012639'], 'port_security_enabled': True, 'description': ''}} 2026-11-03 04:07:03,037 - DEBUG - Response for create_subnet : {'subnet': {'id': '219bcf0b-2da1-42c1-b1f4-38db40faae22', 'name': '', 'tenant_id': '2e08fb599fa246a0905678315323ad65', 'network_id': '8b36dfe7-b6d2-4fc8-bc89-47b9dfcc55b2', 'ip_version': 4, 'cidr': '160.45.245.64/26', 'allocation_pools': [{'start': '160.45.245.66', 'end': '160.45.245.126'}], 'gateway_ip': '160.45.245.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.45.245.66', 'tags': [], 'project_id': '2e08fb599fa246a0905678315323ad65'}} 2026-11-03 04:07:03,054 - INFO - Created VN ctest-vn-12012639 2026-11-03 04:07:03,110 - DEBUG - VN ctest-vn-12012639 UUID is 8b36dfe7-b6d2-4fc8-bc89-47b9dfcc55b2 2026-11-03 04:07:03,459 - DEBUG - Response for create_network : {'network': {'id': '3fb511bf-7d92-438e-9b97-5869e5ae9cbd', 'name': 'ctest-ext_vn-67037733', 'tenant_id': '2e08fb599fa246a0905678315323ad65', 'project_id': '2e08fb599fa246a0905678315323ad65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96740997', 'ctest-ext_vn-67037733'], 'port_security_enabled': True, 'description': ''}} 2026-11-03 04:07:03,639 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e54ef27e-789d-4fb4-b84c-40ff6146091c', 'name': '', 'tenant_id': '2e08fb599fa246a0905678315323ad65', 'network_id': '3fb511bf-7d92-438e-9b97-5869e5ae9cbd', 'ip_version': 4, 'cidr': '172.111.48.192/26', 'allocation_pools': [{'start': '172.111.48.194', 'end': '172.111.48.254'}], 'gateway_ip': '172.111.48.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.111.48.194', 'tags': [], 'project_id': '2e08fb599fa246a0905678315323ad65'}} 2026-11-03 04:07:03,698 - INFO - Created VN ctest-ext_vn-67037733 2026-11-03 04:07:03,754 - DEBUG - VN ctest-ext_vn-67037733 UUID is 3fb511bf-7d92-438e-9b97-5869e5ae9cbd 2026-11-03 04:07:03,956 - DEBUG - Services list from nova: [, , ] 2026-11-03 04:07:04,278 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6477-1) 2026-11-03 04:07:04,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6477-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6477-1) 2026-11-03 04:07:04,720 - INFO - Setting gateway for router dbb47523-b352-42bd-956a-6b84990b8758 to network 3fb511bf-7d92-438e-9b97-5869e5ae9cbd 2026-11-03 04:07:04,784 - INFO - Adding interface with subnet_id 219bcf0b-2da1-42c1-b1f4-38db40faae22, port_id None to router dbb47523-b352-42bd-956a-6b84990b8758 2026-11-03 04:07:05,081 - INFO - Waiting for VM ctest-TestRoutersBasic-96740997-29907014 to be up.. 2026-11-03 04:07:05,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 04:07:10,240 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 04:07:15,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 04:07:20,459 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 04:07:25,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 04:07:30,604 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 04:07:35,677 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 04:07:40,748 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-03 04:07:45,827 - DEBUG - VM is in ACTIVE state now 2026-11-03 04:07:45,827 - INFO - VM name : ctest-TestRoutersBasic-96740997-29907014 2026-11-03 04:07:45,902 - DEBUG - VM ctest-TestRoutersBasic-96740997-29907014 ID is f6cf8b77-4e26-40f7-a885-fc366933d82f 2026-11-03 04:07:45,925 - DEBUG - VM ctest-TestRoutersBasic-96740997-29907014 launched on Node cn-jenkins-deploy-platform-ansible-os-6477-1 2026-11-03 04:07:46,007 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/f6cf8b77-4e26-40f7-a885-fc366933d82f 2026-11-03 04:07:46,388 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/f6cf8b77-4e26-40f7-a885-fc366933d82f 2026-11-03 04:07:46,416 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/0e5b8099-55da-4009-b272-772cdc6db54b 2026-11-03 04:07:49,664 - 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=8.30 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 8.298/8.298/8.298/0.000 ms') 2026-11-03 04:07:49,664 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-96740997-29907014 passed 2026-11-03 04:07:49,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 04:07:49,814 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96740997-29907014, IP 160.45.245.67, Port 22 2026-11-03 04:07:49,981 - DEBUG - VM ctest-TestRoutersBasic-96740997-29907014 is ready for SSH connections 2026-11-03 04:07:49,981 - INFO - Waiting for VM ctest-TestRoutersBasic-96740997-04743216 to be up.. 2026-11-03 04:07:50,052 - DEBUG - VM is in ACTIVE state now 2026-11-03 04:07:50,052 - INFO - VM name : ctest-TestRoutersBasic-96740997-04743216 2026-11-03 04:07:50,136 - DEBUG - VM ctest-TestRoutersBasic-96740997-04743216 ID is a2b30fac-e75e-4d43-b6ab-a11ee7984f25 2026-11-03 04:07:50,137 - DEBUG - VM ctest-TestRoutersBasic-96740997-04743216 launched on Node cn-jenkins-deploy-platform-ansible-os-6477-1 2026-11-03 04:07:50,207 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine/a2b30fac-e75e-4d43-b6ab-a11ee7984f25 2026-11-03 04:07:50,215 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-machine-interface/97fb73d1-6522-473c-8af5-cd0ffdc3ad05 2026-11-03 04:07:51,460 - 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=8.20 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.55 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.549/4.874/8.200/3.325 ms') 2026-11-03 04:07:51,460 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-96740997-04743216 passed 2026-11-03 04:07:51,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 04:07:51,610 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96740997-04743216, IP 172.111.48.196, Port 22 2026-11-03 04:07:51,693 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-03 04:07:51,825 - DEBUG - VM ctest-TestRoutersBasic-96740997-04743216 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-03 04:07:56,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 04:07:56,825 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96740997-04743216, IP 172.111.48.196, Port 22 2026-11-03 04:07:56,982 - DEBUG - VM ctest-TestRoutersBasic-96740997-04743216 is ready for SSH connections 2026-11-03 04:07:56,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-03 04:07:56,982 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.111.48.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.251, gateway password: c0ntrail123 2026-11-03 04:07:56,982 - DEBUG - ping -s 56 -c 3 -W 1 172.111.48.196 2026-11-03 04:08:00,046 - DEBUG - PING 172.111.48.196 (172.111.48.196): 56 data bytes 64 bytes from 172.111.48.196: seq=0 ttl=62 time=6.691 ms 64 bytes from 172.111.48.196: seq=1 ttl=62 time=0.952 ms 64 bytes from 172.111.48.196: seq=2 ttl=62 time=1.220 ms --- 172.111.48.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.952/2.954/6.691 ms 2026-11-03 04:08:00,047 - INFO - Ping to IP 172.111.48.196 from VM ctest-TestRoutersBasic-96740997-29907014 passed 2026-11-03 04:08:00,047 - INFO - Deleting interface with subnet_id 219bcf0b-2da1-42c1-b1f4-38db40faae22, port_id None from router dbb47523-b352-42bd-956a-6b84990b8758 2026-11-03 04:08:00,261 - INFO - Deleting VM ctest-TestRoutersBasic-96740997-04743216 2026-11-03 04:08:00,343 - INFO - Deleting VM ctest-TestRoutersBasic-96740997-29907014 2026-11-03 04:08:00,413 - INFO - Deleting VN ctest-ext_vn-67037733 2026-11-03 04:08:00,470 - DEBUG - VN 3fb511bf-7d92-438e-9b97-5869e5ae9cbd still in use: Unable to complete operation on network 3fb511bf-7d92-438e-9b97-5869e5ae9cbd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b372601-2622-49f5-9ea3-4c54064b8be4'] 2026-11-03 04:08:00,470 - WARNING - Deleting VN ctest-ext_vn-67037733 failed..Will retry 2026-11-03 04:08:02,509 - DEBUG - VN 3fb511bf-7d92-438e-9b97-5869e5ae9cbd still in use: Unable to complete operation on network 3fb511bf-7d92-438e-9b97-5869e5ae9cbd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8aefef38-71d6-4930-a156-88eebd583a05'] 2026-11-03 04:08:02,509 - WARNING - Deleting VN ctest-ext_vn-67037733 failed..Will retry 2026-11-03 04:08:04,608 - DEBUG - Response for deleting network () 2026-11-03 04:08:04,608 - INFO - Deleting VN ctest-vn-12012639 2026-11-03 04:08:04,697 - DEBUG - Response for deleting network () 2026-11-03 04:08:04,955 - DEBUG - No XMPP flaps were noticed during the test 2026-11-03 04:08:04,955 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:03] 2026-11-03 04:08:04,955 - INFO - -------------------------------------------------------------------------------- 2026-11-03 04:08:05,727 - INFO - Deleted project: ctest-TestRoutersBasic-96740997, ID : 2e08fb59-9fa2-46a0-9056-78315323ad65