2026-10-05 03:00:40,266 - INFO - Domain Default found not creating
2026-10-05 03:00:40,468 - INFO - Project ctest-TestRoutersBasic-31875142 not found, creating it
2026-10-05 03:00:41,110 - INFO - Created Project:ctest-TestRoutersBasic-31875142, ID : 1f24eeb1-702d-4261-a50d-72721aafb0c1
2026-10-05 03:00:43,061 - INFO - ================================================================================
2026-10-05 03:00:43,062 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-10-05 03:00:43,064 - 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-05 03:00:44,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.191': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2026-10-05 03:00:44,412 - INFO - Initial checks done. Running the testcase now
2026-10-05 03:00:44,412 - INFO -
2026-10-05 03:00:45,431 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31875142
2026-10-05 03:00:45,493 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31875142
2026-10-05 03:00:45,826 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31875142', 'default']}
2026-10-05 03:00:46,342 - DEBUG - Response for create_network : {'network': {'id': '87a31df3-3125-41ea-8481-2e62a06f539c', 'name': 'ctest-vn-84352774', 'tenant_id': '1f24eeb1702d4261a50d72721aafb0c1', 'project_id': '1f24eeb1702d4261a50d72721aafb0c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31875142', 'ctest-vn-84352774'], 'port_security_enabled': True, 'description': ''}}
2026-10-05 03:00:46,683 - DEBUG - Response for create_subnet : {'subnet': {'id': '02ab5458-78a4-4669-b3e7-76dd1d98f91b', 'name': '', 'tenant_id': '1f24eeb1702d4261a50d72721aafb0c1', 'network_id': '87a31df3-3125-41ea-8481-2e62a06f539c', 'ip_version': 4, 'cidr': '180.88.98.128/26', 'allocation_pools': [{'start': '180.88.98.130', 'end': '180.88.98.190'}], 'gateway_ip': '180.88.98.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.88.98.130', 'tags': [], 'project_id': '1f24eeb1702d4261a50d72721aafb0c1'}}
2026-10-05 03:00:46,708 - INFO - Created VN ctest-vn-84352774
2026-10-05 03:00:46,724 - DEBUG - VN ctest-vn-84352774 UUID is 87a31df3-3125-41ea-8481-2e62a06f539c
2026-10-05 03:00:47,241 - DEBUG - Response for create_network : {'network': {'id': 'b38809cc-3b93-4900-a34a-735e6506b442', 'name': 'ctest-ext_vn-61685108', 'tenant_id': '1f24eeb1702d4261a50d72721aafb0c1', 'project_id': '1f24eeb1702d4261a50d72721aafb0c1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31875142', 'ctest-ext_vn-61685108'], 'port_security_enabled': True, 'description': ''}}
2026-10-05 03:00:47,501 - DEBUG - Response for create_subnet : {'subnet': {'id': '0eb1818f-0132-4ba9-8e2d-18d68f58e66a', 'name': '', 'tenant_id': '1f24eeb1702d4261a50d72721aafb0c1', 'network_id': 'b38809cc-3b93-4900-a34a-735e6506b442', 'ip_version': 4, 'cidr': '139.247.229.192/26', 'allocation_pools': [{'start': '139.247.229.194', 'end': '139.247.229.254'}], 'gateway_ip': '139.247.229.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.247.229.194', 'tags': [], 'project_id': '1f24eeb1702d4261a50d72721aafb0c1'}}
2026-10-05 03:00:47,524 - INFO - Created VN ctest-ext_vn-61685108
2026-10-05 03:00:47,540 - DEBUG - VN ctest-ext_vn-61685108 UUID is b38809cc-3b93-4900-a34a-735e6506b442
2026-10-05 03:00:47,692 - DEBUG - Services list from nova: [, , , ]
2026-10-05 03:00:48,219 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6343-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6343-1)
2026-10-05 03:00:48,736 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6343-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6343-2)
2026-10-05 03:00:48,901 - INFO - Setting gateway for router ef3dd9c0-5661-4a2a-be5b-8f6efea40e9e to network b38809cc-3b93-4900-a34a-735e6506b442
2026-10-05 03:00:49,022 - INFO - Adding interface with subnet_id 02ab5458-78a4-4669-b3e7-76dd1d98f91b, port_id None to router ef3dd9c0-5661-4a2a-be5b-8f6efea40e9e
2026-10-05 03:00:49,633 - INFO - Waiting for VM ctest-TestRoutersBasic-31875142-77145415 to be up..
2026-10-05 03:00:49,713 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-05 03:00:54,824 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-05 03:00:59,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-05 03:01:05,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-05 03:01:10,163 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-10-05 03:01:15,258 - DEBUG - VM is in ACTIVE state now
2026-10-05 03:01:15,258 - INFO - VM name : ctest-TestRoutersBasic-31875142-77145415
2026-10-05 03:01:15,354 - DEBUG - VM ctest-TestRoutersBasic-31875142-77145415 ID is 13e4b826-3e02-4b46-830e-2ad9f3377cd8
2026-10-05 03:01:15,385 - DEBUG - VM ctest-TestRoutersBasic-31875142-77145415 launched on Node an-jenkins-deploy-platform-ansible-os-6343-1
2026-10-05 03:01:15,487 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/13e4b826-3e02-4b46-830e-2ad9f3377cd8
2026-10-05 03:01:15,871 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/13e4b826-3e02-4b46-830e-2ad9f3377cd8
2026-10-05 03:01:15,913 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/76ae7db7-593f-4d50-b451-dc80b3320aab
2026-10-05 03:01:19,132 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1029ms')
2026-10-05 03:01:19,133 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31875142-77145415 failed!
2026-10-05 03:01:19,151 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31875142:ctest-vn-84352774 is 180.88.98.129 and allocation pool is NOT set
2026-10-05 03:01:21,214 - 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=1 ttl=63 time=6.67 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.590 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.590/3.629/6.668/3.039 ms')
2026-10-05 03:01:21,214 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31875142-77145415 passed
2026-10-05 03:01:21,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-05 03:01:21,292 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31875142-77145415, IP 180.88.98.131, Port 22
2026-10-05 03:01:21,464 - DEBUG - VM ctest-TestRoutersBasic-31875142-77145415 is ready for SSH connections
2026-10-05 03:01:21,464 - INFO - Waiting for VM ctest-TestRoutersBasic-31875142-38577485 to be up..
2026-10-05 03:01:21,575 - DEBUG - VM is in ACTIVE state now
2026-10-05 03:01:21,575 - INFO - VM name : ctest-TestRoutersBasic-31875142-38577485
2026-10-05 03:01:21,678 - DEBUG - VM ctest-TestRoutersBasic-31875142-38577485 ID is 02ca9352-1166-4dd0-b545-3a4ae5134336
2026-10-05 03:01:21,678 - DEBUG - VM ctest-TestRoutersBasic-31875142-38577485 launched on Node an-jenkins-deploy-platform-ansible-os-6343-2
2026-10-05 03:01:21,797 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/02ca9352-1166-4dd0-b545-3a4ae5134336
2026-10-05 03:01:21,810 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/28abf0a6-b0ef-4eed-8d7a-f9fb4a289ade
2026-10-05 03:01:23,012 - 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=1 ttl=63 time=7.24 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=2.01 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.005/4.623/7.241/2.618 ms')
2026-10-05 03:01:23,012 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-31875142-38577485 passed
2026-10-05 03:01:23,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-05 03:01:23,088 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31875142-38577485, IP 139.247.229.196, Port 22
2026-10-05 03:01:23,155 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-10-05 03:01:23,249 - DEBUG - VM ctest-TestRoutersBasic-31875142-38577485 is NOT ready for SSH connections, VM status: ACTIVE
2026-10-05 03:01:28,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-05 03:01:28,250 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31875142-38577485, IP 139.247.229.196, Port 22
2026-10-05 03:01:28,424 - DEBUG - VM ctest-TestRoutersBasic-31875142-38577485 is ready for SSH connections
2026-10-05 03:01:28,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-10-05 03:01:28,424 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.247.229.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-10-05 03:01:28,424 - DEBUG - ping -s 56 -c 3 -W 1 139.247.229.196
2026-10-05 03:01:31,400 - DEBUG - PING 139.247.229.196 (139.247.229.196): 56 data bytes
64 bytes from 139.247.229.196: seq=0 ttl=62 time=7.708 ms
64 bytes from 139.247.229.196: seq=1 ttl=62 time=1.598 ms
64 bytes from 139.247.229.196: seq=2 ttl=62 time=1.488 ms
--- 139.247.229.196 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.488/3.598/7.708 ms
2026-10-05 03:01:31,400 - INFO - Ping to IP 139.247.229.196 from VM ctest-TestRoutersBasic-31875142-77145415 passed
2026-10-05 03:01:31,400 - INFO - Deleting interface with subnet_id 02ab5458-78a4-4669-b3e7-76dd1d98f91b, port_id None from router ef3dd9c0-5661-4a2a-be5b-8f6efea40e9e
2026-10-05 03:01:31,880 - INFO - Deleting VM ctest-TestRoutersBasic-31875142-38577485
2026-10-05 03:01:32,049 - INFO - Deleting VM ctest-TestRoutersBasic-31875142-77145415
2026-10-05 03:01:32,236 - INFO - Deleting VN ctest-ext_vn-61685108
2026-10-05 03:01:32,408 - DEBUG - VN b38809cc-3b93-4900-a34a-735e6506b442 still in use: Unable to complete operation on network b38809cc-3b93-4900-a34a-735e6506b442. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-a20b4400-09f5-4732-85ed-004800104e6b']
2026-10-05 03:01:32,409 - WARNING - Deleting VN ctest-ext_vn-61685108 failed..Will retry
2026-10-05 03:01:34,680 - DEBUG - Response for deleting network ()
2026-10-05 03:01:34,680 - INFO - Deleting VN ctest-vn-84352774
2026-10-05 03:01:34,857 - DEBUG - Response for deleting network ()
2026-10-05 03:01:36,152 - DEBUG - No XMPP flaps were noticed during the test
2026-10-05 03:01:36,152 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:53]
2026-10-05 03:01:36,152 - INFO - --------------------------------------------------------------------------------
2026-10-05 03:01:37,082 - INFO - Deleted project: ctest-TestRoutersBasic-31875142, ID : 1f24eeb1-702d-4261-a50d-72721aafb0c1