2025-12-08 22:44:50,281 - INFO - Domain Default found not creating 2025-12-08 22:44:50,434 - INFO - Project ctest-TestRoutersBasic-98442750 not found, creating it 2025-12-08 22:44:50,858 - INFO - Created Project:ctest-TestRoutersBasic-98442750, ID : 3db80364-2fbb-47ab-ae0b-e421db6e8f87 2025-12-08 22:44:52,253 - INFO - ================================================================================ 2025-12-08 22:44:52,253 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-08 22:44:52,253 - 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-12-08 22:44:52,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-12-08 22:44:52,509 - INFO - Initial checks done. Running the testcase now 2025-12-08 22:44:52,509 - INFO - 2025-12-08 22:44:53,203 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-98442750 2025-12-08 22:44:53,299 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-98442750 2025-12-08 22:44:53,614 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98442750', 'default']} 2025-12-08 22:44:53,886 - DEBUG - Response for create_network : {'network': {'id': '395250a7-83c0-4daf-931e-c9b72a6adb9c', 'name': 'ctest-vn-32523784', 'tenant_id': '3db803642fbb47abae0be421db6e8f87', 'project_id': '3db803642fbb47abae0be421db6e8f87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98442750', 'ctest-vn-32523784'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:44:54,080 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba02becd-b7ce-444a-8e54-5d5e19b6b8ec', 'name': '', 'tenant_id': '3db803642fbb47abae0be421db6e8f87', 'network_id': '395250a7-83c0-4daf-931e-c9b72a6adb9c', 'ip_version': 4, 'cidr': '151.207.112.128/26', 'allocation_pools': [{'start': '151.207.112.130', 'end': '151.207.112.190'}], 'gateway_ip': '151.207.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.207.112.130', 'tags': [], 'project_id': '3db803642fbb47abae0be421db6e8f87'}} 2025-12-08 22:44:54,098 - INFO - Created VN ctest-vn-32523784 2025-12-08 22:44:54,147 - DEBUG - VN ctest-vn-32523784 UUID is 395250a7-83c0-4daf-931e-c9b72a6adb9c 2025-12-08 22:44:54,494 - DEBUG - Response for create_network : {'network': {'id': '78cdd495-9517-43a5-8cd7-bb541333d67d', 'name': 'ctest-ext_vn-60012072', 'tenant_id': '3db803642fbb47abae0be421db6e8f87', 'project_id': '3db803642fbb47abae0be421db6e8f87', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-98442750', 'ctest-ext_vn-60012072'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 22:44:54,635 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffd4c92a-987e-4dd8-a008-cef8fa494715', 'name': '', 'tenant_id': '3db803642fbb47abae0be421db6e8f87', 'network_id': '78cdd495-9517-43a5-8cd7-bb541333d67d', 'ip_version': 4, 'cidr': '79.101.220.0/26', 'allocation_pools': [{'start': '79.101.220.2', 'end': '79.101.220.62'}], 'gateway_ip': '79.101.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.101.220.2', 'tags': [], 'project_id': '3db803642fbb47abae0be421db6e8f87'}} 2025-12-08 22:44:54,652 - INFO - Created VN ctest-ext_vn-60012072 2025-12-08 22:44:54,707 - DEBUG - VN ctest-ext_vn-60012072 UUID is 78cdd495-9517-43a5-8cd7-bb541333d67d 2025-12-08 22:44:54,909 - DEBUG - Services list from nova: [, , ] 2025-12-08 22:44:55,894 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4862-1) 2025-12-08 22:44:57,017 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4862-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4862-1) 2025-12-08 22:44:57,090 - INFO - Setting gateway for router a5458ddc-0cce-4a8e-b4df-d08d452bdcd1 to network 78cdd495-9517-43a5-8cd7-bb541333d67d 2025-12-08 22:44:57,143 - INFO - Adding interface with subnet_id ba02becd-b7ce-444a-8e54-5d5e19b6b8ec, port_id None to router a5458ddc-0cce-4a8e-b4df-d08d452bdcd1 2025-12-08 22:44:57,399 - INFO - Waiting for VM ctest-TestRoutersBasic-98442750-23038019 to be up.. 2025-12-08 22:44:57,515 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 22:45:02,604 - DEBUG - VM is in ACTIVE state now 2025-12-08 22:45:02,604 - INFO - VM name : ctest-TestRoutersBasic-98442750-23038019 2025-12-08 22:45:02,683 - DEBUG - VM ctest-TestRoutersBasic-98442750-23038019 ID is 9bfdf04b-9536-44ba-8f2c-7c58ac8e695a 2025-12-08 22:45:02,706 - DEBUG - VM ctest-TestRoutersBasic-98442750-23038019 launched on Node cn-jenkins-deploy-platform-ansible-os-4862-1 2025-12-08 22:45:02,781 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9bfdf04b-9536-44ba-8f2c-7c58ac8e695a 2025-12-08 22:45:03,089 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9bfdf04b-9536-44ba-8f2c-7c58ac8e695a 2025-12-08 22:45:03,125 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/03ea018a-f30d-4023-bd53-acbabe2b01f7 2025-12-08 22:45:06,383 - 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 1014ms') 2025-12-08 22:45:06,383 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98442750-23038019 failed! 2025-12-08 22:45:06,435 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-98442750:ctest-vn-32523784 is 151.207.112.129 and allocation pool is NOT set 2025-12-08 22:45:08,495 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.521 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.521/1.598/2.675/1.077 ms') 2025-12-08 22:45:08,495 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-98442750-23038019 passed 2025-12-08 22:45:08,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:45:08,643 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98442750-23038019, IP 151.207.112.131, Port 22 2025-12-08 22:45:08,812 - DEBUG - VM ctest-TestRoutersBasic-98442750-23038019 is ready for SSH connections 2025-12-08 22:45:08,812 - INFO - Waiting for VM ctest-TestRoutersBasic-98442750-27247875 to be up.. 2025-12-08 22:45:08,888 - DEBUG - VM is in ACTIVE state now 2025-12-08 22:45:08,888 - INFO - VM name : ctest-TestRoutersBasic-98442750-27247875 2025-12-08 22:45:08,962 - DEBUG - VM ctest-TestRoutersBasic-98442750-27247875 ID is 39a1dead-e3c0-410e-b742-75f9c3fc1eac 2025-12-08 22:45:08,962 - DEBUG - VM ctest-TestRoutersBasic-98442750-27247875 launched on Node cn-jenkins-deploy-platform-ansible-os-4862-1 2025-12-08 22:45:09,030 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/39a1dead-e3c0-410e-b742-75f9c3fc1eac 2025-12-08 22:45:09,038 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/21253cba-55f4-487a-80aa-0b517ae41cad 2025-12-08 22:45:10,276 - 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=3.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.71 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 = 1.707/2.722/3.737/1.015 ms') 2025-12-08 22:45:10,276 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-98442750-27247875 passed 2025-12-08 22:45:10,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:45:10,423 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-98442750-27247875, IP 79.101.220.3, Port 22 2025-12-08 22:45:10,582 - DEBUG - VM ctest-TestRoutersBasic-98442750-27247875 is ready for SSH connections 2025-12-08 22:45:10,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 22:45:10,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.101.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-08 22:45:10,583 - DEBUG - ping -s 56 -c 3 -W 1 79.101.220.3 2025-12-08 22:45:14,567 - DEBUG - PING 79.101.220.3 (79.101.220.3): 56 data bytes 64 bytes from 79.101.220.3: seq=0 ttl=62 time=8.528 ms 64 bytes from 79.101.220.3: seq=1 ttl=62 time=1.240 ms 64 bytes from 79.101.220.3: seq=2 ttl=62 time=1.074 ms --- 79.101.220.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.074/3.614/8.528 ms 2025-12-08 22:45:14,567 - INFO - Ping to IP 79.101.220.3 from VM ctest-TestRoutersBasic-98442750-23038019 passed 2025-12-08 22:45:14,567 - INFO - Deleting interface with subnet_id ba02becd-b7ce-444a-8e54-5d5e19b6b8ec, port_id None from router a5458ddc-0cce-4a8e-b4df-d08d452bdcd1 2025-12-08 22:45:14,752 - INFO - Deleting VM ctest-TestRoutersBasic-98442750-27247875 2025-12-08 22:45:14,824 - INFO - Deleting VM ctest-TestRoutersBasic-98442750-23038019 2025-12-08 22:45:14,907 - INFO - Deleting VN ctest-ext_vn-60012072 2025-12-08 22:45:14,970 - DEBUG - VN 78cdd495-9517-43a5-8cd7-bb541333d67d still in use: Unable to complete operation on network 78cdd495-9517-43a5-8cd7-bb541333d67d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7c3784e1-7dc3-482a-9822-0fd2e24e4348'] 2025-12-08 22:45:14,970 - WARNING - Deleting VN ctest-ext_vn-60012072 failed..Will retry 2025-12-08 22:45:17,057 - DEBUG - Response for deleting network () 2025-12-08 22:45:17,057 - INFO - Deleting VN ctest-vn-32523784 2025-12-08 22:45:17,150 - DEBUG - Response for deleting network () 2025-12-08 22:45:17,403 - DEBUG - No XMPP flaps were noticed during the test 2025-12-08 22:45:17,403 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-12-08 22:45:17,403 - INFO - -------------------------------------------------------------------------------- 2025-12-08 22:45:18,066 - INFO - Deleted project: ctest-TestRoutersBasic-98442750, ID : 3db80364-2fbb-47ab-ae0b-e421db6e8f87