2025-08-20 09:08:03,146 - INFO - Domain Default found not creating
2025-08-20 09:08:03,263 - INFO - Project ctest-TestRoutersBasic-25962264 not found, creating it
2025-08-20 09:08:03,688 - INFO - Created Project:ctest-TestRoutersBasic-25962264, ID : 3b6e371c-da38-4013-9e35-205a13e690d9
2025-08-20 09:08:04,987 - INFO - ================================================================================
2025-08-20 09:08:04,987 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-08-20 09:08:04,987 - 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-08-20 09:08:05,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.0.0.50': '0'}} with
2025-08-20 09:08:05,236 - INFO - Initial checks done. Running the testcase now
2025-08-20 09:08:05,236 - INFO -
2025-08-20 09:08:06,492 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25962264
2025-08-20 09:08:06,587 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25962264
2025-08-20 09:08:06,911 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25962264', 'default']}
2025-08-20 09:08:07,186 - DEBUG - Response for create_network : {'network': {'id': '3d146cac-f73e-4018-95f7-13904f4a812d', 'name': 'ctest-vn-83947876', 'tenant_id': '3b6e371cda3840139e35205a13e690d9', 'project_id': '3b6e371cda3840139e35205a13e690d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25962264', 'ctest-vn-83947876'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 09:08:07,383 - DEBUG - Response for create_subnet : {'subnet': {'id': '252aeb64-a574-4260-9365-8823c32da9a1', 'name': '', 'tenant_id': '3b6e371cda3840139e35205a13e690d9', 'network_id': '3d146cac-f73e-4018-95f7-13904f4a812d', 'ip_version': 4, 'cidr': '171.182.100.0/26', 'allocation_pools': [{'start': '171.182.100.2', 'end': '171.182.100.62'}], 'gateway_ip': '171.182.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.182.100.2', 'tags': [], 'project_id': '3b6e371cda3840139e35205a13e690d9'}}
2025-08-20 09:08:07,400 - INFO - Created VN ctest-vn-83947876
2025-08-20 09:08:07,451 - DEBUG - VN ctest-vn-83947876 UUID is 3d146cac-f73e-4018-95f7-13904f4a812d
2025-08-20 09:08:07,771 - DEBUG - Response for create_network : {'network': {'id': 'a8271c96-9897-42da-aff9-15f4140063d5', 'name': 'ctest-ext_vn-32512752', 'tenant_id': '3b6e371cda3840139e35205a13e690d9', 'project_id': '3b6e371cda3840139e35205a13e690d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25962264', 'ctest-ext_vn-32512752'], 'port_security_enabled': True, 'description': ''}}
2025-08-20 09:08:07,978 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a107235-105b-4c88-9170-3b6287b6cccd', 'name': '', 'tenant_id': '3b6e371cda3840139e35205a13e690d9', 'network_id': 'a8271c96-9897-42da-aff9-15f4140063d5', 'ip_version': 4, 'cidr': '1.232.11.0/26', 'allocation_pools': [{'start': '1.232.11.2', 'end': '1.232.11.62'}], 'gateway_ip': '1.232.11.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.232.11.2', 'tags': [], 'project_id': '3b6e371cda3840139e35205a13e690d9'}}
2025-08-20 09:08:07,993 - INFO - Created VN ctest-ext_vn-32512752
2025-08-20 09:08:08,043 - DEBUG - VN ctest-ext_vn-32512752 UUID is a8271c96-9897-42da-aff9-15f4140063d5
2025-08-20 09:08:08,232 - DEBUG - Services list from nova: [, , ]
2025-08-20 09:08:09,200 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3889-1)
2025-08-20 09:08:10,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3889-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3889-1)
2025-08-20 09:08:10,363 - INFO - Setting gateway for router d4221ba9-8f50-4db5-84fb-30422e01b53e to network a8271c96-9897-42da-aff9-15f4140063d5
2025-08-20 09:08:10,424 - INFO - Adding interface with subnet_id 252aeb64-a574-4260-9365-8823c32da9a1, port_id None to router d4221ba9-8f50-4db5-84fb-30422e01b53e
2025-08-20 09:08:10,893 - INFO - Waiting for VM ctest-TestRoutersBasic-25962264-64835859 to be up..
2025-08-20 09:08:11,018 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-20 09:08:16,085 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:08:16,085 - INFO - VM name : ctest-TestRoutersBasic-25962264-64835859
2025-08-20 09:08:16,164 - DEBUG - VM ctest-TestRoutersBasic-25962264-64835859 ID is 51436ce7-69a5-4dcc-9bdd-c5cef8bc2270
2025-08-20 09:08:16,190 - DEBUG - VM ctest-TestRoutersBasic-25962264-64835859 launched on Node cn-jenkins-deploy-platform-ansible-os-3889-1.
2025-08-20 09:08:16,264 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/51436ce7-69a5-4dcc-9bdd-c5cef8bc2270
2025-08-20 09:08:16,565 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/51436ce7-69a5-4dcc-9bdd-c5cef8bc2270
2025-08-20 09:08:16,593 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/47b93edf-57d4-40dd-a169-37075342924a
2025-08-20 09:08:19,861 - 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=8.96 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 8.956/8.956/8.956/0.000 ms')
2025-08-20 09:08:19,861 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25962264-64835859 passed
2025-08-20 09:08:20,007 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:08:20,007 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25962264-64835859, IP 171.182.100.3, Port 22
2025-08-20 09:08:20,162 - DEBUG - VM ctest-TestRoutersBasic-25962264-64835859 is ready for SSH connections
2025-08-20 09:08:20,162 - INFO - Waiting for VM ctest-TestRoutersBasic-25962264-38035304 to be up..
2025-08-20 09:08:20,254 - DEBUG - VM is in ACTIVE state now
2025-08-20 09:08:20,254 - INFO - VM name : ctest-TestRoutersBasic-25962264-38035304
2025-08-20 09:08:20,318 - DEBUG - VM ctest-TestRoutersBasic-25962264-38035304 ID is 0b1a2b83-cc6f-4fbd-b929-1ed282670969
2025-08-20 09:08:20,318 - DEBUG - VM ctest-TestRoutersBasic-25962264-38035304 launched on Node cn-jenkins-deploy-platform-ansible-os-3889-1.
2025-08-20 09:08:20,381 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0b1a2b83-cc6f-4fbd-b929-1ed282670969
2025-08-20 09:08:20,388 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fd69f3a9-4ee3-4551-a20d-797aa0a9d01c
2025-08-20 09:08:21,620 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.89 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.630/2.760/2.890/0.130 ms')
2025-08-20 09:08:21,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25962264-38035304 passed
2025-08-20 09:08:21,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:08:21,767 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25962264-38035304, IP 1.232.11.3, Port 22
2025-08-20 09:08:21,935 - DEBUG - VM ctest-TestRoutersBasic-25962264-38035304 is ready for SSH connections
2025-08-20 09:08:21,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-20 09:08:21,935 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.232.11.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-08-20 09:08:21,936 - DEBUG - ping -s 56 -c 3 -W 1 1.232.11.3
2025-08-20 09:08:25,908 - DEBUG - PING 1.232.11.3 (1.232.11.3): 56 data bytes
64 bytes from 1.232.11.3: seq=0 ttl=62 time=3.997 ms
64 bytes from 1.232.11.3: seq=1 ttl=62 time=0.783 ms
64 bytes from 1.232.11.3: seq=2 ttl=62 time=0.740 ms
--- 1.232.11.3 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.740/1.840/3.997 ms
2025-08-20 09:08:25,908 - INFO - Ping to IP 1.232.11.3 from VM ctest-TestRoutersBasic-25962264-64835859 passed
2025-08-20 09:08:25,908 - INFO - Deleting interface with subnet_id 252aeb64-a574-4260-9365-8823c32da9a1, port_id None from router d4221ba9-8f50-4db5-84fb-30422e01b53e
2025-08-20 09:08:26,072 - INFO - Deleting VM ctest-TestRoutersBasic-25962264-38035304
2025-08-20 09:08:26,149 - INFO - Deleting VM ctest-TestRoutersBasic-25962264-64835859
2025-08-20 09:08:26,217 - INFO - Deleting VN ctest-ext_vn-32512752
2025-08-20 09:08:26,276 - DEBUG - VN a8271c96-9897-42da-aff9-15f4140063d5 still in use: Unable to complete operation on network a8271c96-9897-42da-aff9-15f4140063d5. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-9fea5aad-1b06-4870-a4b9-204ae613e996']
2025-08-20 09:08:26,277 - WARNING - Deleting VN ctest-ext_vn-32512752 failed..Will retry
2025-08-20 09:08:28,366 - DEBUG - Response for deleting network ()
2025-08-20 09:08:28,366 - INFO - Deleting VN ctest-vn-83947876
2025-08-20 09:08:28,457 - DEBUG - Response for deleting network ()
2025-08-20 09:08:28,712 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 09:08:28,712 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-20 09:08:28,712 - INFO - --------------------------------------------------------------------------------
2025-08-20 09:08:29,343 - INFO - Deleted project: ctest-TestRoutersBasic-25962264, ID : 3b6e371c-da38-4013-9e35-205a13e690d9