2025-10-23 02:16:11,374 - INFO - Domain Default found not creating
2025-10-23 02:16:11,553 - INFO - Project ctest-TestRoutersBasic-86811034 not found, creating it
2025-10-23 02:16:12,049 - INFO - Created Project:ctest-TestRoutersBasic-86811034, ID : 1b1e79c9-ce6d-4c38-9a33-af641757bf25
2025-10-23 02:16:13,674 - INFO - ================================================================================
2025-10-23 02:16:13,675 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-23 02:16:13,675 - 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
2025-10-23 02:16:14,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0', '10.20.0.129': '0'}, '10.0.0.49': {'10.20.0.14': '0', '10.20.0.129': '0'}} with
2025-10-23 02:16:14,957 - INFO - Initial checks done. Running the testcase now
2025-10-23 02:16:14,957 - INFO -
2025-10-23 02:16:15,770 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86811034
2025-10-23 02:16:15,829 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86811034
2025-10-23 02:16:16,124 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86811034', 'default']}
2025-10-23 02:16:16,550 - DEBUG - Response for create_network : {'network': {'id': '3f7ef75a-b98f-4269-88d5-94a147dfe94d', 'name': 'ctest-vn-14720858', 'tenant_id': '1b1e79c9ce6d4c389a33af641757bf25', 'project_id': '1b1e79c9ce6d4c389a33af641757bf25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86811034', 'ctest-vn-14720858'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 02:16:16,838 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5aeb3d4-717f-404f-85fa-4d47eeb71d29', 'name': '', 'tenant_id': '1b1e79c9ce6d4c389a33af641757bf25', 'network_id': '3f7ef75a-b98f-4269-88d5-94a147dfe94d', 'ip_version': 4, 'cidr': '92.177.210.0/26', 'allocation_pools': [{'start': '92.177.210.2', 'end': '92.177.210.62'}], 'gateway_ip': '92.177.210.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.177.210.2', 'tags': [], 'project_id': '1b1e79c9ce6d4c389a33af641757bf25'}}
2025-10-23 02:16:16,866 - INFO - Created VN ctest-vn-14720858
2025-10-23 02:16:16,877 - DEBUG - VN ctest-vn-14720858 UUID is 3f7ef75a-b98f-4269-88d5-94a147dfe94d
2025-10-23 02:16:17,309 - DEBUG - Response for create_network : {'network': {'id': '7890d216-8c03-4b11-8150-2bb44060a3d3', 'name': 'ctest-ext_vn-32100552', 'tenant_id': '1b1e79c9ce6d4c389a33af641757bf25', 'project_id': '1b1e79c9ce6d4c389a33af641757bf25', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86811034', 'ctest-ext_vn-32100552'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 02:16:17,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '779f6c76-703f-402c-98a9-695a568f063f', 'name': '', 'tenant_id': '1b1e79c9ce6d4c389a33af641757bf25', 'network_id': '7890d216-8c03-4b11-8150-2bb44060a3d3', 'ip_version': 4, 'cidr': '26.83.90.192/26', 'allocation_pools': [{'start': '26.83.90.194', 'end': '26.83.90.254'}], 'gateway_ip': '26.83.90.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.83.90.194', 'tags': [], 'project_id': '1b1e79c9ce6d4c389a33af641757bf25'}}
2025-10-23 02:16:17,681 - INFO - Created VN ctest-ext_vn-32100552
2025-10-23 02:16:17,695 - DEBUG - VN ctest-ext_vn-32100552 UUID is 7890d216-8c03-4b11-8150-2bb44060a3d3
2025-10-23 02:16:17,866 - DEBUG - Services list from nova: [, , , ]
2025-10-23 02:16:19,261 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4448-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4448-2)
2025-10-23 02:16:21,458 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4448-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4448-1)
2025-10-23 02:16:21,578 - INFO - Setting gateway for router fd88e48d-7098-4e91-965b-b4e9cc060e8f to network 7890d216-8c03-4b11-8150-2bb44060a3d3
2025-10-23 02:16:21,727 - INFO - Adding interface with subnet_id a5aeb3d4-717f-404f-85fa-4d47eeb71d29, port_id None to router fd88e48d-7098-4e91-965b-b4e9cc060e8f
2025-10-23 02:16:22,188 - INFO - Waiting for VM ctest-TestRoutersBasic-86811034-63581298 to be up..
2025-10-23 02:16:22,371 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 02:16:27,475 - DEBUG - VM is in ACTIVE state now
2025-10-23 02:16:27,475 - INFO - VM name : ctest-TestRoutersBasic-86811034-63581298
2025-10-23 02:16:27,575 - DEBUG - VM ctest-TestRoutersBasic-86811034-63581298 ID is 1b586d26-bee7-4ed6-b0ed-98ed122c0566
2025-10-23 02:16:27,609 - DEBUG - VM ctest-TestRoutersBasic-86811034-63581298 launched on Node an-jenkins-deploy-platform-ansible-os-4448-2
2025-10-23 02:16:27,702 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/1b586d26-bee7-4ed6-b0ed-98ed122c0566
2025-10-23 02:16:28,052 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/1b586d26-bee7-4ed6-b0ed-98ed122c0566
2025-10-23 02:16:28,089 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/8456ff1a-da0a-4dcb-b339-98cbea380843
2025-10-23 02:16:31,262 - 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 1009ms')
2025-10-23 02:16:31,263 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86811034-63581298 failed!
2025-10-23 02:16:31,277 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86811034:ctest-vn-14720858 is 92.177.210.1 and allocation pool is NOT set
2025-10-23 02:16:33,343 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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 = 1.063/2.447/3.831/1.384 ms')
2025-10-23 02:16:33,344 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86811034-63581298 passed
2025-10-23 02:16:33,413 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:16:33,413 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86811034-63581298, IP 92.177.210.3, Port 22
2025-10-23 02:16:33,571 - DEBUG - VM ctest-TestRoutersBasic-86811034-63581298 is ready for SSH connections
2025-10-23 02:16:33,571 - INFO - Waiting for VM ctest-TestRoutersBasic-86811034-19591843 to be up..
2025-10-23 02:16:33,667 - DEBUG - VM is in ACTIVE state now
2025-10-23 02:16:33,667 - INFO - VM name : ctest-TestRoutersBasic-86811034-19591843
2025-10-23 02:16:33,759 - DEBUG - VM ctest-TestRoutersBasic-86811034-19591843 ID is 73b30a5b-f5ee-4abe-af81-166f3bc65ce6
2025-10-23 02:16:33,759 - DEBUG - VM ctest-TestRoutersBasic-86811034-19591843 launched on Node an-jenkins-deploy-platform-ansible-os-4448-1
2025-10-23 02:16:33,864 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/73b30a5b-f5ee-4abe-af81-166f3bc65ce6
2025-10-23 02:16:33,876 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/8fd9d3c6-e62d-47cd-a173-80600a9dd842
2025-10-23 02:16:37,080 - 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=5.22 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 5.224/5.224/5.224/0.000 ms')
2025-10-23 02:16:37,080 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86811034-19591843 passed
2025-10-23 02:16:37,150 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:16:37,150 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86811034-19591843, IP 26.83.90.195, Port 22
2025-10-23 02:16:37,216 - 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': ''}
2025-10-23 02:16:37,314 - DEBUG - VM ctest-TestRoutersBasic-86811034-19591843 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-23 02:16:42,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:16:42,315 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86811034-19591843, IP 26.83.90.195, Port 22
2025-10-23 02:16:42,488 - DEBUG - VM ctest-TestRoutersBasic-86811034-19591843 is ready for SSH connections
2025-10-23 02:16:42,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 02:16:42,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 26.83.90.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123
2025-10-23 02:16:42,489 - DEBUG - ping -s 56 -c 3 -W 1 26.83.90.195
2025-10-23 02:16:46,391 - DEBUG - PING 26.83.90.195 (26.83.90.195): 56 data bytes
64 bytes from 26.83.90.195: seq=0 ttl=62 time=8.631 ms
64 bytes from 26.83.90.195: seq=1 ttl=62 time=1.796 ms
64 bytes from 26.83.90.195: seq=2 ttl=62 time=1.679 ms
--- 26.83.90.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.679/4.035/8.631 ms
2025-10-23 02:16:46,392 - INFO - Ping to IP 26.83.90.195 from VM ctest-TestRoutersBasic-86811034-63581298 passed
2025-10-23 02:16:46,392 - INFO - Deleting interface with subnet_id a5aeb3d4-717f-404f-85fa-4d47eeb71d29, port_id None from router fd88e48d-7098-4e91-965b-b4e9cc060e8f
2025-10-23 02:16:46,725 - INFO - Deleting VM ctest-TestRoutersBasic-86811034-19591843
2025-10-23 02:16:46,884 - INFO - Deleting VM ctest-TestRoutersBasic-86811034-63581298
2025-10-23 02:16:47,053 - INFO - Deleting VN ctest-ext_vn-32100552
2025-10-23 02:16:47,177 - DEBUG - VN 7890d216-8c03-4b11-8150-2bb44060a3d3 still in use: Unable to complete operation on network 7890d216-8c03-4b11-8150-2bb44060a3d3. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5f0ad710-de1d-4d17-b148-684fc1e50fcc']
2025-10-23 02:16:47,177 - WARNING - Deleting VN ctest-ext_vn-32100552 failed..Will retry
2025-10-23 02:16:49,331 - DEBUG - Response for deleting network ()
2025-10-23 02:16:49,332 - INFO - Deleting VN ctest-vn-14720858
2025-10-23 02:16:49,515 - DEBUG - Response for deleting network ()
2025-10-23 02:16:50,779 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 02:16:50,779 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:37]
2025-10-23 02:16:50,779 - INFO - --------------------------------------------------------------------------------
2025-10-23 02:16:51,547 - INFO - Deleted project: ctest-TestRoutersBasic-86811034, ID : 1b1e79c9-ce6d-4c38-9a33-af641757bf25