2025-10-23 11:33:43,284 - INFO - Domain Default found not creating
2025-10-23 11:33:43,446 - INFO - Project ctest-TestRoutersBasic-38110903 not found, creating it
2025-10-23 11:33:43,933 - INFO - Created Project:ctest-TestRoutersBasic-38110903, ID : 59e24f5c-6b70-4870-aa6a-543e781429e3
2025-10-23 11:33:45,472 - INFO - ================================================================================
2025-10-23 11:33:45,472 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-23 11:33:45,472 - 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 11:33:45,743 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-23 11:33:45,743 - INFO - Initial checks done. Running the testcase now
2025-10-23 11:33:45,743 - INFO -
2025-10-23 11:33:46,497 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38110903
2025-10-23 11:33:46,598 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38110903
2025-10-23 11:33:46,925 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38110903', 'default']}
2025-10-23 11:33:47,226 - DEBUG - Response for create_network : {'network': {'id': '91c4c25a-a313-4a99-9dc5-66b233dc8669', 'name': 'ctest-vn-52737932', 'tenant_id': '59e24f5c6b704870aa6a543e781429e3', 'project_id': '59e24f5c6b704870aa6a543e781429e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38110903', 'ctest-vn-52737932'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 11:33:47,402 - DEBUG - Response for create_subnet : {'subnet': {'id': '1d009169-f75d-4154-a976-1ac2df7f0b62', 'name': '', 'tenant_id': '59e24f5c6b704870aa6a543e781429e3', 'network_id': '91c4c25a-a313-4a99-9dc5-66b233dc8669', 'ip_version': 4, 'cidr': '181.55.63.192/26', 'allocation_pools': [{'start': '181.55.63.194', 'end': '181.55.63.254'}], 'gateway_ip': '181.55.63.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.55.63.194', 'tags': [], 'project_id': '59e24f5c6b704870aa6a543e781429e3'}}
2025-10-23 11:33:47,421 - INFO - Created VN ctest-vn-52737932
2025-10-23 11:33:47,474 - DEBUG - VN ctest-vn-52737932 UUID is 91c4c25a-a313-4a99-9dc5-66b233dc8669
2025-10-23 11:33:47,801 - DEBUG - Response for create_network : {'network': {'id': '91bf3300-3fcc-44bb-afb7-53790f95934d', 'name': 'ctest-ext_vn-99780845', 'tenant_id': '59e24f5c6b704870aa6a543e781429e3', 'project_id': '59e24f5c6b704870aa6a543e781429e3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38110903', 'ctest-ext_vn-99780845'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 11:33:47,977 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4f13db1-89e8-4303-a6e5-b556b0ee898c', 'name': '', 'tenant_id': '59e24f5c6b704870aa6a543e781429e3', 'network_id': '91bf3300-3fcc-44bb-afb7-53790f95934d', 'ip_version': 4, 'cidr': '179.173.233.192/26', 'allocation_pools': [{'start': '179.173.233.194', 'end': '179.173.233.254'}], 'gateway_ip': '179.173.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.173.233.194', 'tags': [], 'project_id': '59e24f5c6b704870aa6a543e781429e3'}}
2025-10-23 11:33:48,000 - INFO - Created VN ctest-ext_vn-99780845
2025-10-23 11:33:48,054 - DEBUG - VN ctest-ext_vn-99780845 UUID is 91bf3300-3fcc-44bb-afb7-53790f95934d
2025-10-23 11:33:48,238 - DEBUG - Services list from nova: [, , ]
2025-10-23 11:33:49,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4458-1)
2025-10-23 11:33:50,668 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4458-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4458-1)
2025-10-23 11:33:50,739 - INFO - Setting gateway for router 65230dfc-0d0f-4923-a479-12eada7d8193 to network 91bf3300-3fcc-44bb-afb7-53790f95934d
2025-10-23 11:33:50,825 - INFO - Adding interface with subnet_id 1d009169-f75d-4154-a976-1ac2df7f0b62, port_id None to router 65230dfc-0d0f-4923-a479-12eada7d8193
2025-10-23 11:33:51,415 - INFO - Waiting for VM ctest-TestRoutersBasic-38110903-51106717 to be up..
2025-10-23 11:33:51,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 11:33:56,649 - DEBUG - VM is in ACTIVE state now
2025-10-23 11:33:56,649 - INFO - VM name : ctest-TestRoutersBasic-38110903-51106717
2025-10-23 11:33:56,733 - DEBUG - VM ctest-TestRoutersBasic-38110903-51106717 ID is d48cbdce-cf17-4842-850c-b1aa6bdef586
2025-10-23 11:33:56,757 - DEBUG - VM ctest-TestRoutersBasic-38110903-51106717 launched on Node cn-jenkins-deploy-platform-ansible-os-4458-1
2025-10-23 11:33:56,838 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d48cbdce-cf17-4842-850c-b1aa6bdef586
2025-10-23 11:33:57,139 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d48cbdce-cf17-4842-850c-b1aa6bdef586
2025-10-23 11:33:57,172 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/986b5725-f4ee-45dc-8f49-b5a5d833d73c
2025-10-23 11:34:00,413 - 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 1002ms')
2025-10-23 11:34:00,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38110903-51106717 failed!
2025-10-23 11:34:00,474 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38110903:ctest-vn-52737932 is 181.55.63.193 and allocation pool is NOT set
2025-10-23 11:34:02,542 - 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=4.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.11 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.109/3.192/4.275/1.083 ms')
2025-10-23 11:34:02,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38110903-51106717 passed
2025-10-23 11:34:02,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 11:34:02,698 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38110903-51106717, IP 181.55.63.195, Port 22
2025-10-23 11:34:02,768 - 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 11:34:02,855 - DEBUG - VM ctest-TestRoutersBasic-38110903-51106717 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-23 11:34:07,856 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 11:34:07,857 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38110903-51106717, IP 181.55.63.195, Port 22
2025-10-23 11:34:08,023 - DEBUG - VM ctest-TestRoutersBasic-38110903-51106717 is ready for SSH connections
2025-10-23 11:34:08,023 - INFO - Waiting for VM ctest-TestRoutersBasic-38110903-51709879 to be up..
2025-10-23 11:34:08,103 - DEBUG - VM is in ACTIVE state now
2025-10-23 11:34:08,104 - INFO - VM name : ctest-TestRoutersBasic-38110903-51709879
2025-10-23 11:34:08,183 - DEBUG - VM ctest-TestRoutersBasic-38110903-51709879 ID is 1367d3f5-16d2-4be0-b2f6-075559fd0bdf
2025-10-23 11:34:08,184 - DEBUG - VM ctest-TestRoutersBasic-38110903-51709879 launched on Node cn-jenkins-deploy-platform-ansible-os-4458-1
2025-10-23 11:34:08,270 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1367d3f5-16d2-4be0-b2f6-075559fd0bdf
2025-10-23 11:34:08,279 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ea9b0cb4-8d9e-4a7f-b869-b394f4077142
2025-10-23 11:34:09,538 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.512 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.512/2.294/4.077/1.782 ms')
2025-10-23 11:34:09,538 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38110903-51709879 passed
2025-10-23 11:34:09,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 11:34:09,694 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38110903-51709879, IP 179.173.233.195, Port 22
2025-10-23 11:34:09,860 - DEBUG - VM ctest-TestRoutersBasic-38110903-51709879 is ready for SSH connections
2025-10-23 11:34:09,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 11:34:09,861 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.173.233.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-10-23 11:34:09,861 - DEBUG - ping -s 56 -c 3 -W 1 179.173.233.195
2025-10-23 11:34:13,616 - DEBUG - PING 179.173.233.195 (179.173.233.195): 56 data bytes
64 bytes from 179.173.233.195: seq=0 ttl=62 time=7.660 ms
64 bytes from 179.173.233.195: seq=1 ttl=62 time=1.013 ms
64 bytes from 179.173.233.195: seq=2 ttl=62 time=1.088 ms
--- 179.173.233.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.013/3.253/7.660 ms
2025-10-23 11:34:13,616 - INFO - Ping to IP 179.173.233.195 from VM ctest-TestRoutersBasic-38110903-51106717 passed
2025-10-23 11:34:13,616 - INFO - Deleting interface with subnet_id 1d009169-f75d-4154-a976-1ac2df7f0b62, port_id None from router 65230dfc-0d0f-4923-a479-12eada7d8193
2025-10-23 11:34:13,827 - INFO - Deleting VM ctest-TestRoutersBasic-38110903-51709879
2025-10-23 11:34:13,911 - INFO - Deleting VM ctest-TestRoutersBasic-38110903-51106717
2025-10-23 11:34:14,003 - INFO - Deleting VN ctest-ext_vn-99780845
2025-10-23 11:34:14,090 - DEBUG - VN 91bf3300-3fcc-44bb-afb7-53790f95934d still in use: Unable to complete operation on network 91bf3300-3fcc-44bb-afb7-53790f95934d. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-55906408-cde9-4112-9cda-dc8368e2cb13']
2025-10-23 11:34:14,090 - WARNING - Deleting VN ctest-ext_vn-99780845 failed..Will retry
2025-10-23 11:34:16,206 - DEBUG - Response for deleting network ()
2025-10-23 11:34:16,206 - INFO - Deleting VN ctest-vn-52737932
2025-10-23 11:34:16,319 - DEBUG - Response for deleting network ()
2025-10-23 11:34:16,579 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 11:34:16,579 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-23 11:34:16,579 - INFO - --------------------------------------------------------------------------------
2025-10-23 11:34:17,302 - INFO - Deleted project: ctest-TestRoutersBasic-38110903, ID : 59e24f5c-6b70-4870-aa6a-543e781429e3