2025-10-31 14:46:32,511 - INFO - Domain Default found not creating
2025-10-31 14:46:32,677 - INFO - Project ctest-TestRoutersBasic-21952696 not found, creating it
2025-10-31 14:46:33,143 - INFO - Created Project:ctest-TestRoutersBasic-21952696, ID : c7769b35-5edc-400e-8c4a-160e9841eeb7 
2025-10-31 14:46:34,709 - INFO - ================================================================================
2025-10-31 14:46:34,709 - INFO - STARTING TEST    : test_basic_snat_behavior_without_external_connectivity
2025-10-31 14:46:34,709 - 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-31 14:46:34,965 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2025-10-31 14:46:34,966 - INFO - Initial checks done. Running the testcase now
2025-10-31 14:46:34,966 - INFO - 
2025-10-31 14:46:35,735 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-21952696
2025-10-31 14:46:35,840 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-21952696
2025-10-31 14:46:36,160 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21952696', 'default']}
2025-10-31 14:46:36,457 - DEBUG - Response for create_network : {'network': {'id': 'fd47d4a1-aa70-4700-bf23-c41eda23ce54', 'name': 'ctest-vn-50187489', 'tenant_id': 'c7769b355edc400e8c4a160e9841eeb7', 'project_id': 'c7769b355edc400e8c4a160e9841eeb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21952696', 'ctest-vn-50187489'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 14:46:36,653 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e92a3ec-2833-4d07-9f1f-34a3cba52dd4', 'name': '', 'tenant_id': 'c7769b355edc400e8c4a160e9841eeb7', 'network_id': 'fd47d4a1-aa70-4700-bf23-c41eda23ce54', 'ip_version': 4, 'cidr': '95.43.193.64/26', 'allocation_pools': [{'start': '95.43.193.66', 'end': '95.43.193.126'}], 'gateway_ip': '95.43.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.43.193.66', 'tags': [], 'project_id': 'c7769b355edc400e8c4a160e9841eeb7'}}
2025-10-31 14:46:36,670 - INFO - Created VN ctest-vn-50187489
2025-10-31 14:46:36,724 - DEBUG - VN ctest-vn-50187489 UUID is fd47d4a1-aa70-4700-bf23-c41eda23ce54
2025-10-31 14:46:37,081 - DEBUG - Response for create_network : {'network': {'id': '26592b4b-5d73-421a-98b5-5db289f2c8fc', 'name': 'ctest-ext_vn-55579150', 'tenant_id': 'c7769b355edc400e8c4a160e9841eeb7', 'project_id': 'c7769b355edc400e8c4a160e9841eeb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-21952696', 'ctest-ext_vn-55579150'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 14:46:37,230 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac046e8d-25da-407d-8b23-e8700e3cdea6', 'name': '', 'tenant_id': 'c7769b355edc400e8c4a160e9841eeb7', 'network_id': '26592b4b-5d73-421a-98b5-5db289f2c8fc', 'ip_version': 4, 'cidr': '168.216.119.192/26', 'allocation_pools': [{'start': '168.216.119.194', 'end': '168.216.119.254'}], 'gateway_ip': '168.216.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.216.119.194', 'tags': [], 'project_id': 'c7769b355edc400e8c4a160e9841eeb7'}}
2025-10-31 14:46:37,248 - INFO - Created VN ctest-ext_vn-55579150
2025-10-31 14:46:37,300 - DEBUG - VN ctest-ext_vn-55579150 UUID is 26592b4b-5d73-421a-98b5-5db289f2c8fc
2025-10-31 14:46:37,504 - DEBUG - Services list from nova: [, , ]
2025-10-31 14:46:38,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4578-1)
2025-10-31 14:46:39,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4578-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4578-1)
2025-10-31 14:46:39,922 - INFO - Setting gateway for router 6764f0f5-1f5c-4e86-96bd-193c94a1e322 to network 26592b4b-5d73-421a-98b5-5db289f2c8fc 
2025-10-31 14:46:39,992 - INFO - Adding interface with subnet_id 5e92a3ec-2833-4d07-9f1f-34a3cba52dd4, port_id None to router 6764f0f5-1f5c-4e86-96bd-193c94a1e322
2025-10-31 14:46:40,281 - INFO - Waiting for VM ctest-TestRoutersBasic-21952696-96343803 to be up..
2025-10-31 14:46:40,434 - DEBUG - VM  is still in BUILD state, Expected: ACTIVE
2025-10-31 14:46:45,508 - DEBUG - VM  is in ACTIVE state now
2025-10-31 14:46:45,508 - INFO - VM name : ctest-TestRoutersBasic-21952696-96343803
2025-10-31 14:46:45,578 - DEBUG - VM ctest-TestRoutersBasic-21952696-96343803 ID is 22e23653-958f-4efe-a627-9eaf39fe53d0
2025-10-31 14:46:45,596 - DEBUG - VM ctest-TestRoutersBasic-21952696-96343803 launched on Node cn-jenkins-deploy-platform-ansible-os-4578-1
2025-10-31 14:46:45,666 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/22e23653-958f-4efe-a627-9eaf39fe53d0
2025-10-31 14:46:46,003 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/22e23653-958f-4efe-a627-9eaf39fe53d0
2025-10-31 14:46:46,033 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e69634cf-b7af-4bae-ab7f-ddf106fe95d4
2025-10-31 14:46:49,272 - 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 1003ms')
2025-10-31 14:46:49,272 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21952696-96343803 failed!
2025-10-31 14:46:49,328 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-21952696:ctest-vn-50187489 is 95.43.193.65 and allocation pool is NOT set
2025-10-31 14:46:51,384 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.434 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.434/2.352/4.271/1.918 ms')
2025-10-31 14:46:51,384 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-21952696-96343803 passed
2025-10-31 14:46:51,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:46:51,532 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21952696-96343803, IP 95.43.193.67, Port 22
2025-10-31 14:46:51,601 - 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-31 14:46:51,674 - DEBUG - VM ctest-TestRoutersBasic-21952696-96343803 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-31 14:46:56,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:46:56,676 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21952696-96343803, IP 95.43.193.67, Port 22
2025-10-31 14:46:56,830 - DEBUG - VM ctest-TestRoutersBasic-21952696-96343803 is ready for SSH connections
2025-10-31 14:46:56,831 - INFO - Waiting for VM ctest-TestRoutersBasic-21952696-30192839 to be up..
2025-10-31 14:46:56,906 - DEBUG - VM  is in ACTIVE state now
2025-10-31 14:46:56,906 - INFO - VM name : ctest-TestRoutersBasic-21952696-30192839
2025-10-31 14:46:56,980 - DEBUG - VM ctest-TestRoutersBasic-21952696-30192839 ID is a4e9b224-3253-436d-bb19-8185a4a8b76a
2025-10-31 14:46:56,980 - DEBUG - VM ctest-TestRoutersBasic-21952696-30192839 launched on Node cn-jenkins-deploy-platform-ansible-os-4578-1
2025-10-31 14:46:57,066 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a4e9b224-3253-436d-bb19-8185a4a8b76a
2025-10-31 14:46:57,075 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c30a9812-cccd-409d-9a00-80e60e53ce58
2025-10-31 14:46:58,321 - 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=2.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/1.735/2.989/1.253 ms')
2025-10-31 14:46:58,321 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-21952696-30192839 passed
2025-10-31 14:46:58,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:46:58,472 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-21952696-30192839, IP 168.216.119.195, Port 22
2025-10-31 14:46:58,627 - DEBUG - VM ctest-TestRoutersBasic-21952696-30192839 is ready for SSH connections
2025-10-31 14:46:58,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 14:46:58,628 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1  168.216.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-10-31 14:46:58,628 - DEBUG - ping -s 56 -c 3 -W 1  168.216.119.195
2025-10-31 14:47:02,437 - DEBUG - PING 168.216.119.195 (168.216.119.195): 56 data bytes
64 bytes from 168.216.119.195: seq=0 ttl=62 time=5.948 ms
64 bytes from 168.216.119.195: seq=1 ttl=62 time=0.894 ms
64 bytes from 168.216.119.195: seq=2 ttl=62 time=0.966 ms
--- 168.216.119.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.894/2.602/5.948 ms
2025-10-31 14:47:02,437 - INFO - Ping to IP 168.216.119.195 from VM ctest-TestRoutersBasic-21952696-96343803 passed
2025-10-31 14:47:02,438 - INFO - Deleting interface with subnet_id 5e92a3ec-2833-4d07-9f1f-34a3cba52dd4, port_id None from router 6764f0f5-1f5c-4e86-96bd-193c94a1e322
2025-10-31 14:47:02,613 - INFO - Deleting VM ctest-TestRoutersBasic-21952696-30192839
2025-10-31 14:47:02,686 - INFO - Deleting VM ctest-TestRoutersBasic-21952696-96343803
2025-10-31 14:47:02,769 - INFO - Deleting VN ctest-ext_vn-55579150 
2025-10-31 14:47:02,829 - DEBUG - VN 26592b4b-5d73-421a-98b5-5db289f2c8fc still in use: Unable to complete operation on network 26592b4b-5d73-421a-98b5-5db289f2c8fc. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-43c09dc1-8f41-476c-912e-1da5d52eb52c']
2025-10-31 14:47:02,829 - WARNING - Deleting VN ctest-ext_vn-55579150 failed..Will retry
2025-10-31 14:47:04,929 - DEBUG - Response for deleting network ()
2025-10-31 14:47:04,929 - INFO - Deleting VN ctest-vn-50187489 
2025-10-31 14:47:05,025 - DEBUG - Response for deleting network ()
2025-10-31 14:47:05,284 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 14:47:05,285 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-31 14:47:05,285 - INFO - --------------------------------------------------------------------------------
2025-10-31 14:47:06,401 - INFO - Deleted project: ctest-TestRoutersBasic-21952696, ID : c7769b35-5edc-400e-8c4a-160e9841eeb7