2025-10-08 22:17:39,475 - INFO - Domain Default found not creating
2025-10-08 22:17:39,600 - INFO - Project ctest-TestRoutersBasic-56648708 not found, creating it
2025-10-08 22:17:40,028 - INFO - Created Project:ctest-TestRoutersBasic-56648708, ID : 2f6396ce-966c-43a5-b5a0-916326965a1a
2025-10-08 22:17:41,355 - INFO - ================================================================================
2025-10-08 22:17:41,355 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-08 22:17:41,355 - 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-08 22:17:41,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.254': '0'}} with
2025-10-08 22:17:41,603 - INFO - Initial checks done. Running the testcase now
2025-10-08 22:17:41,603 - INFO -
2025-10-08 22:17:42,274 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56648708
2025-10-08 22:17:42,366 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56648708
2025-10-08 22:17:42,690 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56648708', 'default']}
2025-10-08 22:17:42,934 - DEBUG - Response for create_network : {'network': {'id': 'a322ecab-b416-4ac1-8d21-0b50b2bf886f', 'name': 'ctest-vn-69230053', 'tenant_id': '2f6396ce966c43a5b5a0916326965a1a', 'project_id': '2f6396ce966c43a5b5a0916326965a1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56648708', 'ctest-vn-69230053'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 22:17:43,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '04bf67f1-f892-414b-901b-a922662949ae', 'name': '', 'tenant_id': '2f6396ce966c43a5b5a0916326965a1a', 'network_id': 'a322ecab-b416-4ac1-8d21-0b50b2bf886f', 'ip_version': 4, 'cidr': '198.27.35.64/26', 'allocation_pools': [{'start': '198.27.35.66', 'end': '198.27.35.126'}], 'gateway_ip': '198.27.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.27.35.66', 'tags': [], 'project_id': '2f6396ce966c43a5b5a0916326965a1a'}}
2025-10-08 22:17:43,150 - INFO - Created VN ctest-vn-69230053
2025-10-08 22:17:43,206 - DEBUG - VN ctest-vn-69230053 UUID is a322ecab-b416-4ac1-8d21-0b50b2bf886f
2025-10-08 22:17:43,519 - DEBUG - Response for create_network : {'network': {'id': 'ac073b64-3e70-41bf-b602-b8842e03b45c', 'name': 'ctest-ext_vn-85366469', 'tenant_id': '2f6396ce966c43a5b5a0916326965a1a', 'project_id': '2f6396ce966c43a5b5a0916326965a1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56648708', 'ctest-ext_vn-85366469'], 'port_security_enabled': True, 'description': ''}}
2025-10-08 22:17:43,662 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff44e84f-68c9-40bf-97d5-b3b55f74f7f0', 'name': '', 'tenant_id': '2f6396ce966c43a5b5a0916326965a1a', 'network_id': 'ac073b64-3e70-41bf-b602-b8842e03b45c', 'ip_version': 4, 'cidr': '140.171.20.192/26', 'allocation_pools': [{'start': '140.171.20.194', 'end': '140.171.20.254'}], 'gateway_ip': '140.171.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.171.20.194', 'tags': [], 'project_id': '2f6396ce966c43a5b5a0916326965a1a'}}
2025-10-08 22:17:43,676 - INFO - Created VN ctest-ext_vn-85366469
2025-10-08 22:17:43,726 - DEBUG - VN ctest-ext_vn-85366469 UUID is ac073b64-3e70-41bf-b602-b8842e03b45c
2025-10-08 22:17:43,910 - DEBUG - Services list from nova: [, , ]
2025-10-08 22:17:44,831 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4247-1)
2025-10-08 22:17:45,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4247-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4247-1)
2025-10-08 22:17:45,937 - INFO - Setting gateway for router 41be3085-3143-49cb-8388-63e167a4a1dd to network ac073b64-3e70-41bf-b602-b8842e03b45c
2025-10-08 22:17:45,988 - INFO - Adding interface with subnet_id 04bf67f1-f892-414b-901b-a922662949ae, port_id None to router 41be3085-3143-49cb-8388-63e167a4a1dd
2025-10-08 22:17:46,263 - INFO - Waiting for VM ctest-TestRoutersBasic-56648708-53855699 to be up..
2025-10-08 22:17:46,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-08 22:17:51,433 - DEBUG - VM is in ACTIVE state now
2025-10-08 22:17:51,433 - INFO - VM name : ctest-TestRoutersBasic-56648708-53855699
2025-10-08 22:17:51,499 - DEBUG - VM ctest-TestRoutersBasic-56648708-53855699 ID is f89bec7a-a057-4c05-8c7a-a147d3b235eb
2025-10-08 22:17:51,515 - DEBUG - VM ctest-TestRoutersBasic-56648708-53855699 launched on Node cn-jenkins-deploy-platform-ansible-os-4247-1
2025-10-08 22:17:51,574 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f89bec7a-a057-4c05-8c7a-a147d3b235eb
2025-10-08 22:17:51,866 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/f89bec7a-a057-4c05-8c7a-a147d3b235eb
2025-10-08 22:17:51,897 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/2d28f36e-c5df-4003-aaad-45d4436d748f
2025-10-08 22:17:55,150 - 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 1024ms')
2025-10-08 22:17:55,150 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56648708-53855699 failed!
2025-10-08 22:17:55,206 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56648708:ctest-vn-69230053 is 198.27.35.65 and allocation pool is NOT set
2025-10-08 22:17:57,269 - 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=2.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.389 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 = 0.389/1.497/2.606/1.108 ms')
2025-10-08 22:17:57,269 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56648708-53855699 passed
2025-10-08 22:17:57,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 22:17:57,418 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56648708-53855699, IP 198.27.35.67, Port 22
2025-10-08 22:17:57,581 - DEBUG - VM ctest-TestRoutersBasic-56648708-53855699 is ready for SSH connections
2025-10-08 22:17:57,582 - INFO - Waiting for VM ctest-TestRoutersBasic-56648708-41552503 to be up..
2025-10-08 22:17:57,651 - DEBUG - VM is in ACTIVE state now
2025-10-08 22:17:57,651 - INFO - VM name : ctest-TestRoutersBasic-56648708-41552503
2025-10-08 22:17:57,719 - DEBUG - VM ctest-TestRoutersBasic-56648708-41552503 ID is 2f042c37-b941-454d-9947-b3df7e7c8a5d
2025-10-08 22:17:57,719 - DEBUG - VM ctest-TestRoutersBasic-56648708-41552503 launched on Node cn-jenkins-deploy-platform-ansible-os-4247-1
2025-10-08 22:17:57,780 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/2f042c37-b941-454d-9947-b3df7e7c8a5d
2025-10-08 22:17:57,786 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/71c49fbd-b95c-4b04-b5c4-23c6cc05d869
2025-10-08 22:17:59,020 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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 = 0.338/1.472/2.606/1.134 ms')
2025-10-08 22:17:59,020 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56648708-41552503 passed
2025-10-08 22:17:59,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 22:17:59,162 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56648708-41552503, IP 140.171.20.195, Port 22
2025-10-08 22:17:59,313 - DEBUG - VM ctest-TestRoutersBasic-56648708-41552503 is ready for SSH connections
2025-10-08 22:17:59,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-08 22:17:59,314 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.171.20.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123
2025-10-08 22:17:59,314 - DEBUG - ping -s 56 -c 3 -W 1 140.171.20.195
2025-10-08 22:18:03,251 - DEBUG - PING 140.171.20.195 (140.171.20.195): 56 data bytes
64 bytes from 140.171.20.195: seq=0 ttl=62 time=4.235 ms
64 bytes from 140.171.20.195: seq=1 ttl=62 time=0.729 ms
64 bytes from 140.171.20.195: seq=2 ttl=62 time=0.751 ms
--- 140.171.20.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.729/1.905/4.235 ms
2025-10-08 22:18:03,251 - INFO - Ping to IP 140.171.20.195 from VM ctest-TestRoutersBasic-56648708-53855699 passed
2025-10-08 22:18:03,252 - INFO - Deleting interface with subnet_id 04bf67f1-f892-414b-901b-a922662949ae, port_id None from router 41be3085-3143-49cb-8388-63e167a4a1dd
2025-10-08 22:18:03,412 - INFO - Deleting VM ctest-TestRoutersBasic-56648708-41552503
2025-10-08 22:18:03,485 - INFO - Deleting VM ctest-TestRoutersBasic-56648708-53855699
2025-10-08 22:18:03,549 - INFO - Deleting VN ctest-ext_vn-85366469
2025-10-08 22:18:03,607 - DEBUG - VN ac073b64-3e70-41bf-b602-b8842e03b45c still in use: Unable to complete operation on network ac073b64-3e70-41bf-b602-b8842e03b45c. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-eed2dd6b-85b8-4868-aab9-080f2b25fbbb']
2025-10-08 22:18:03,607 - WARNING - Deleting VN ctest-ext_vn-85366469 failed..Will retry
2025-10-08 22:18:05,692 - DEBUG - Response for deleting network ()
2025-10-08 22:18:05,692 - INFO - Deleting VN ctest-vn-69230053
2025-10-08 22:18:05,794 - DEBUG - Response for deleting network ()
2025-10-08 22:18:06,047 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 22:18:06,047 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-08 22:18:06,047 - INFO - --------------------------------------------------------------------------------
2025-10-08 22:18:06,689 - INFO - Deleted project: ctest-TestRoutersBasic-56648708, ID : 2f6396ce-966c-43a5-b5a0-916326965a1a