2025-10-31 09:00:51,799 - INFO - Domain Default found not creating
2025-10-31 09:00:51,974 - INFO - Project ctest-TestRoutersBasic-97430203 not found, creating it
2025-10-31 09:00:52,478 - INFO - Created Project:ctest-TestRoutersBasic-97430203, ID : e36a1f68-5a41-4efd-92e2-505d4d124c5b
2025-10-31 09:00:54,047 - INFO - ================================================================================
2025-10-31 09:00:54,047 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-31 09:00:54,047 - 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 09:00:54,304 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-10-31 09:00:54,304 - INFO - Initial checks done. Running the testcase now
2025-10-31 09:00:54,304 - INFO -
2025-10-31 09:00:55,136 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97430203
2025-10-31 09:00:55,237 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97430203
2025-10-31 09:00:55,560 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97430203', 'default']}
2025-10-31 09:00:55,894 - DEBUG - Response for create_network : {'network': {'id': '95f1ac9c-0ee3-4f65-bec1-5a1168c0f708', 'name': 'ctest-vn-86586040', 'tenant_id': 'e36a1f685a414efd92e2505d4d124c5b', 'project_id': 'e36a1f685a414efd92e2505d4d124c5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97430203', 'ctest-vn-86586040'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 09:00:56,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '87114581-1cf9-4518-bf5a-29ebf2735998', 'name': '', 'tenant_id': 'e36a1f685a414efd92e2505d4d124c5b', 'network_id': '95f1ac9c-0ee3-4f65-bec1-5a1168c0f708', 'ip_version': 4, 'cidr': '145.249.210.64/26', 'allocation_pools': [{'start': '145.249.210.66', 'end': '145.249.210.126'}], 'gateway_ip': '145.249.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.249.210.66', 'tags': [], 'project_id': 'e36a1f685a414efd92e2505d4d124c5b'}}
2025-10-31 09:00:56,119 - INFO - Created VN ctest-vn-86586040
2025-10-31 09:00:56,173 - DEBUG - VN ctest-vn-86586040 UUID is 95f1ac9c-0ee3-4f65-bec1-5a1168c0f708
2025-10-31 09:00:56,508 - DEBUG - Response for create_network : {'network': {'id': 'eece16b0-a0b7-4690-9890-efa60c1e1eb1', 'name': 'ctest-ext_vn-67950419', 'tenant_id': 'e36a1f685a414efd92e2505d4d124c5b', 'project_id': 'e36a1f685a414efd92e2505d4d124c5b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97430203', 'ctest-ext_vn-67950419'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 09:00:56,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b259a67-04a5-43b3-b8b2-6acbf1a20dff', 'name': '', 'tenant_id': 'e36a1f685a414efd92e2505d4d124c5b', 'network_id': 'eece16b0-a0b7-4690-9890-efa60c1e1eb1', 'ip_version': 4, 'cidr': '66.117.204.192/26', 'allocation_pools': [{'start': '66.117.204.194', 'end': '66.117.204.254'}], 'gateway_ip': '66.117.204.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.117.204.194', 'tags': [], 'project_id': 'e36a1f685a414efd92e2505d4d124c5b'}}
2025-10-31 09:00:56,728 - INFO - Created VN ctest-ext_vn-67950419
2025-10-31 09:00:56,780 - DEBUG - VN ctest-ext_vn-67950419 UUID is eece16b0-a0b7-4690-9890-efa60c1e1eb1
2025-10-31 09:00:56,953 - DEBUG - Services list from nova: [, , ]
2025-10-31 09:00:58,039 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4573-1)
2025-10-31 09:00:59,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4573-1)
2025-10-31 09:00:59,327 - INFO - Setting gateway for router f39e490c-26a1-4cd9-a51f-ab2daddfb7c3 to network eece16b0-a0b7-4690-9890-efa60c1e1eb1
2025-10-31 09:00:59,415 - INFO - Adding interface with subnet_id 87114581-1cf9-4518-bf5a-29ebf2735998, port_id None to router f39e490c-26a1-4cd9-a51f-ab2daddfb7c3
2025-10-31 09:00:59,760 - INFO - Waiting for VM ctest-TestRoutersBasic-97430203-05797834 to be up..
2025-10-31 09:00:59,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-31 09:01:04,980 - DEBUG - VM is in ACTIVE state now
2025-10-31 09:01:04,980 - INFO - VM name : ctest-TestRoutersBasic-97430203-05797834
2025-10-31 09:01:05,063 - DEBUG - VM ctest-TestRoutersBasic-97430203-05797834 ID is 3d5849c1-0eed-40bf-a1a2-ef09747e8332
2025-10-31 09:01:05,086 - DEBUG - VM ctest-TestRoutersBasic-97430203-05797834 launched on Node cn-jenkins-deploy-platform-ansible-os-4573-1
2025-10-31 09:01:05,178 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3d5849c1-0eed-40bf-a1a2-ef09747e8332
2025-10-31 09:01:05,485 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/3d5849c1-0eed-40bf-a1a2-ef09747e8332
2025-10-31 09:01:05,523 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1fc681d6-0811-4156-b2c1-68c3a8a6c6e9
2025-10-31 09:01:08,796 - 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-10-31 09:01:08,796 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97430203-05797834 failed!
2025-10-31 09:01:08,853 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97430203:ctest-vn-86586040 is 145.249.210.65 and allocation pool is NOT set
2025-10-31 09:01:10,917 - 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=3.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.019/2.466/3.914/1.447 ms')
2025-10-31 09:01:10,917 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97430203-05797834 passed
2025-10-31 09:01:11,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 09:01:11,029 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97430203-05797834, IP 145.249.210.67, Port 22
2025-10-31 09:01:11,194 - DEBUG - VM ctest-TestRoutersBasic-97430203-05797834 is ready for SSH connections
2025-10-31 09:01:11,194 - INFO - Waiting for VM ctest-TestRoutersBasic-97430203-21568803 to be up..
2025-10-31 09:01:11,287 - DEBUG - VM is in ACTIVE state now
2025-10-31 09:01:11,288 - INFO - VM name : ctest-TestRoutersBasic-97430203-21568803
2025-10-31 09:01:11,373 - DEBUG - VM ctest-TestRoutersBasic-97430203-21568803 ID is 7a4f4ce4-b3db-4e49-8e46-2efe7bf267f9
2025-10-31 09:01:11,373 - DEBUG - VM ctest-TestRoutersBasic-97430203-21568803 launched on Node cn-jenkins-deploy-platform-ansible-os-4573-1
2025-10-31 09:01:11,458 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7a4f4ce4-b3db-4e49-8e46-2efe7bf267f9
2025-10-31 09:01:11,469 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/cb9bbcc0-4848-4e21-8ffa-11cb8108496f
2025-10-31 09:01:12,716 - 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=5.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.68 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 = 1.678/3.694/5.710/2.016 ms')
2025-10-31 09:01:12,717 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97430203-21568803 passed
2025-10-31 09:01:12,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 09:01:12,873 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97430203-21568803, IP 66.117.204.195, Port 22
2025-10-31 09:01:13,032 - DEBUG - VM ctest-TestRoutersBasic-97430203-21568803 is ready for SSH connections
2025-10-31 09:01:13,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 09:01:13,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.117.204.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-31 09:01:13,032 - DEBUG - ping -s 56 -c 3 -W 1 66.117.204.195
2025-10-31 09:01:16,782 - DEBUG - PING 66.117.204.195 (66.117.204.195): 56 data bytes
64 bytes from 66.117.204.195: seq=0 ttl=62 time=6.132 ms
64 bytes from 66.117.204.195: seq=1 ttl=62 time=1.607 ms
64 bytes from 66.117.204.195: seq=2 ttl=62 time=1.058 ms
--- 66.117.204.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.058/2.932/6.132 ms
2025-10-31 09:01:16,782 - INFO - Ping to IP 66.117.204.195 from VM ctest-TestRoutersBasic-97430203-05797834 passed
2025-10-31 09:01:16,782 - INFO - Deleting interface with subnet_id 87114581-1cf9-4518-bf5a-29ebf2735998, port_id None from router f39e490c-26a1-4cd9-a51f-ab2daddfb7c3
2025-10-31 09:01:16,991 - INFO - Deleting VM ctest-TestRoutersBasic-97430203-21568803
2025-10-31 09:01:17,063 - INFO - Deleting VM ctest-TestRoutersBasic-97430203-05797834
2025-10-31 09:01:17,145 - INFO - Deleting VN ctest-ext_vn-67950419
2025-10-31 09:01:17,219 - DEBUG - VN eece16b0-a0b7-4690-9890-efa60c1e1eb1 still in use: Unable to complete operation on network eece16b0-a0b7-4690-9890-efa60c1e1eb1. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-29d4ef43-7013-496c-816e-1dfd118c2240']
2025-10-31 09:01:17,219 - WARNING - Deleting VN ctest-ext_vn-67950419 failed..Will retry
2025-10-31 09:01:19,330 - DEBUG - Response for deleting network ()
2025-10-31 09:01:19,330 - INFO - Deleting VN ctest-vn-86586040
2025-10-31 09:01:19,444 - DEBUG - Response for deleting network ()
2025-10-31 09:01:19,713 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 09:01:19,713 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-31 09:01:19,713 - INFO - --------------------------------------------------------------------------------
2025-10-31 09:01:20,452 - INFO - Deleted project: ctest-TestRoutersBasic-97430203, ID : e36a1f68-5a41-4efd-92e2-505d4d124c5b