2026-05-04 02:42:23,029 - INFO - Domain Default found not creating 2026-05-04 02:42:23,234 - INFO - Project ctest-TestRoutersBasic-58719738 not found, creating it 2026-05-04 02:42:23,792 - INFO - Created Project:ctest-TestRoutersBasic-58719738, ID : 46ab2041-426f-4d58-9871-09f144ffaf40 2026-05-04 02:42:25,349 - INFO - ================================================================================ 2026-05-04 02:42:25,349 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-04 02:42:25,349 - 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-04 02:42:26,632 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.141': {'10.20.0.18': '0', '10.20.0.193': '0'}} with 2026-05-04 02:42:26,632 - INFO - Initial checks done. Running the testcase now 2026-05-04 02:42:26,632 - INFO - 2026-05-04 02:42:27,396 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58719738 2026-05-04 02:42:27,459 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58719738 2026-05-04 02:42:27,801 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58719738', 'default']} 2026-05-04 02:42:28,216 - DEBUG - Response for create_network : {'network': {'id': '9effaaad-cfe0-471a-9413-8ecf28c613c9', 'name': 'ctest-vn-41038054', 'tenant_id': '46ab2041426f4d58987109f144ffaf40', 'project_id': '46ab2041426f4d58987109f144ffaf40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58719738', 'ctest-vn-41038054'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:42:28,511 - DEBUG - Response for create_subnet : {'subnet': {'id': '057a1dfb-d46a-4c28-ab70-b0b61e7cca66', 'name': '', 'tenant_id': '46ab2041426f4d58987109f144ffaf40', 'network_id': '9effaaad-cfe0-471a-9413-8ecf28c613c9', 'ip_version': 4, 'cidr': '216.228.35.0/26', 'allocation_pools': [{'start': '216.228.35.2', 'end': '216.228.35.62'}], 'gateway_ip': '216.228.35.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.228.35.2', 'tags': [], 'project_id': '46ab2041426f4d58987109f144ffaf40'}} 2026-05-04 02:42:28,537 - INFO - Created VN ctest-vn-41038054 2026-05-04 02:42:28,549 - DEBUG - VN ctest-vn-41038054 UUID is 9effaaad-cfe0-471a-9413-8ecf28c613c9 2026-05-04 02:42:28,976 - DEBUG - Response for create_network : {'network': {'id': '30eb5672-0948-4143-ba1b-60fbe3a5e81f', 'name': 'ctest-ext_vn-15135956', 'tenant_id': '46ab2041426f4d58987109f144ffaf40', 'project_id': '46ab2041426f4d58987109f144ffaf40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58719738', 'ctest-ext_vn-15135956'], 'port_security_enabled': True, 'description': ''}} 2026-05-04 02:42:29,255 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3204edc-f23e-45c1-b73b-e7194a85286b', 'name': '', 'tenant_id': '46ab2041426f4d58987109f144ffaf40', 'network_id': '30eb5672-0948-4143-ba1b-60fbe3a5e81f', 'ip_version': 4, 'cidr': '74.2.179.0/26', 'allocation_pools': [{'start': '74.2.179.2', 'end': '74.2.179.62'}], 'gateway_ip': '74.2.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.2.179.2', 'tags': [], 'project_id': '46ab2041426f4d58987109f144ffaf40'}} 2026-05-04 02:42:29,280 - INFO - Created VN ctest-ext_vn-15135956 2026-05-04 02:42:29,297 - DEBUG - VN ctest-ext_vn-15135956 UUID is 30eb5672-0948-4143-ba1b-60fbe3a5e81f 2026-05-04 02:42:29,467 - DEBUG - Services list from nova: [, , , ] 2026-05-04 02:42:30,622 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5740-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5740-1) 2026-05-04 02:42:32,603 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5740-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5740-2) 2026-05-04 02:42:32,724 - INFO - Setting gateway for router 9429f17d-08eb-48e6-be6c-09c107dc9922 to network 30eb5672-0948-4143-ba1b-60fbe3a5e81f 2026-05-04 02:42:32,835 - INFO - Adding interface with subnet_id 057a1dfb-d46a-4c28-ab70-b0b61e7cca66, port_id None to router 9429f17d-08eb-48e6-be6c-09c107dc9922 2026-05-04 02:42:33,260 - INFO - Waiting for VM ctest-TestRoutersBasic-58719738-76109830 to be up.. 2026-05-04 02:42:33,471 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-04 02:42:38,573 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:42:38,573 - INFO - VM name : ctest-TestRoutersBasic-58719738-76109830 2026-05-04 02:42:38,688 - DEBUG - VM ctest-TestRoutersBasic-58719738-76109830 ID is 31e7fba9-bcd1-4e78-afda-7ec6bf2438dc 2026-05-04 02:42:38,714 - DEBUG - VM ctest-TestRoutersBasic-58719738-76109830 launched on Node an-jenkins-deploy-platform-ansible-os-5740-1 2026-05-04 02:42:38,810 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/31e7fba9-bcd1-4e78-afda-7ec6bf2438dc 2026-05-04 02:42:39,127 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/31e7fba9-bcd1-4e78-afda-7ec6bf2438dc 2026-05-04 02:42:39,173 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ff69961b-af27-4cf7-a4ed-b2d84ada1142 2026-05-04 02:42:42,379 - 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 1031ms') 2026-05-04 02:42:42,379 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58719738-76109830 failed! 2026-05-04 02:42:42,403 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58719738:ctest-vn-41038054 is 216.228.35.1 and allocation pool is NOT set 2026-05-04 02:42:44,462 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.639 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.639/1.820/3.001/1.181 ms') 2026-05-04 02:42:44,462 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58719738-76109830 passed 2026-05-04 02:42:44,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:42:44,535 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58719738-76109830, IP 216.228.35.3, Port 22 2026-05-04 02:42:44,698 - DEBUG - VM ctest-TestRoutersBasic-58719738-76109830 is ready for SSH connections 2026-05-04 02:42:44,698 - INFO - Waiting for VM ctest-TestRoutersBasic-58719738-35414596 to be up.. 2026-05-04 02:42:44,809 - DEBUG - VM is in ACTIVE state now 2026-05-04 02:42:44,809 - INFO - VM name : ctest-TestRoutersBasic-58719738-35414596 2026-05-04 02:42:44,906 - DEBUG - VM ctest-TestRoutersBasic-58719738-35414596 ID is c883ffba-6a02-46bb-8ae2-5a312c2e3109 2026-05-04 02:42:44,907 - DEBUG - VM ctest-TestRoutersBasic-58719738-35414596 launched on Node an-jenkins-deploy-platform-ansible-os-5740-2 2026-05-04 02:42:45,010 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c883ffba-6a02-46bb-8ae2-5a312c2e3109 2026-05-04 02:42:45,021 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/5e84f02e-ef57-41b7-8dc0-d17354f82391 2026-05-04 02:42:48,206 - 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=2 ttl=63 time=3.80 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.798/3.798/3.798/0.000 ms') 2026-05-04 02:42:48,206 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58719738-35414596 passed 2026-05-04 02:42:48,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:42:48,284 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58719738-35414596, IP 74.2.179.4, Port 22 2026-05-04 02:42:48,351 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-04 02:42:48,454 - DEBUG - VM ctest-TestRoutersBasic-58719738-35414596 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-04 02:42:53,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:42:53,456 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58719738-35414596, IP 74.2.179.4, Port 22 2026-05-04 02:42:53,622 - DEBUG - VM ctest-TestRoutersBasic-58719738-35414596 is ready for SSH connections 2026-05-04 02:42:53,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-04 02:42:53,622 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.2.179.4, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-05-04 02:42:53,623 - DEBUG - ping -s 56 -c 3 -W 1 74.2.179.4 2026-05-04 02:42:57,302 - DEBUG - PING 74.2.179.4 (74.2.179.4): 56 data bytes 64 bytes from 74.2.179.4: seq=0 ttl=62 time=8.067 ms 64 bytes from 74.2.179.4: seq=1 ttl=62 time=1.756 ms 64 bytes from 74.2.179.4: seq=2 ttl=62 time=1.384 ms --- 74.2.179.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.384/3.735/8.067 ms 2026-05-04 02:42:57,302 - INFO - Ping to IP 74.2.179.4 from VM ctest-TestRoutersBasic-58719738-76109830 passed 2026-05-04 02:42:57,302 - INFO - Deleting interface with subnet_id 057a1dfb-d46a-4c28-ab70-b0b61e7cca66, port_id None from router 9429f17d-08eb-48e6-be6c-09c107dc9922 2026-05-04 02:42:57,713 - INFO - Deleting VM ctest-TestRoutersBasic-58719738-35414596 2026-05-04 02:42:57,889 - INFO - Deleting VM ctest-TestRoutersBasic-58719738-76109830 2026-05-04 02:42:58,028 - INFO - Deleting VN ctest-ext_vn-15135956 2026-05-04 02:42:58,135 - DEBUG - VN 30eb5672-0948-4143-ba1b-60fbe3a5e81f still in use: Unable to complete operation on network 30eb5672-0948-4143-ba1b-60fbe3a5e81f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-63236cab-ce52-43b6-ac35-377759fc5648'] 2026-05-04 02:42:58,135 - WARNING - Deleting VN ctest-ext_vn-15135956 failed..Will retry 2026-05-04 02:43:00,317 - DEBUG - Response for deleting network () 2026-05-04 02:43:00,317 - INFO - Deleting VN ctest-vn-41038054 2026-05-04 02:43:00,548 - DEBUG - Response for deleting network () 2026-05-04 02:43:01,860 - DEBUG - No XMPP flaps were noticed during the test
2026-05-04 02:43:01,860 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36]
2026-05-04 02:43:01,860 - INFO - -------------------------------------------------------------------------------- 2026-05-04 02:43:02,652 - INFO - Deleted project: ctest-TestRoutersBasic-58719738, ID : 46ab2041-426f-4d58-9871-09f144ffaf40