2026-04-22 13:36:34,440 - INFO - Domain Default found not creating 2026-04-22 13:36:34,582 - INFO - Project ctest-TestRoutersBasic-84930821 not found, creating it 2026-04-22 13:36:35,016 - INFO - Created Project:ctest-TestRoutersBasic-84930821, ID : 4cdefdb0-f34a-459a-940e-a8b3625829ba 2026-04-22 13:36:36,417 - INFO - ================================================================================ 2026-04-22 13:36:36,417 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-22 13:36:36,417 - 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 2026-04-22 13:36:36,669 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2026-04-22 13:36:36,669 - INFO - Initial checks done. Running the testcase now 2026-04-22 13:36:36,669 - INFO - 2026-04-22 13:36:37,365 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84930821 2026-04-22 13:36:37,460 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84930821 2026-04-22 13:36:37,772 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84930821', 'default']} 2026-04-22 13:36:38,066 - DEBUG - Response for create_network : {'network': {'id': '7c2b0f86-06db-4c20-9748-577fc2d94189', 'name': 'ctest-vn-50503017', 'tenant_id': '4cdefdb0f34a459a940ea8b3625829ba', 'project_id': '4cdefdb0f34a459a940ea8b3625829ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84930821', 'ctest-vn-50503017'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 13:36:38,269 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c151c3aa-3e83-447f-a6b9-50e86960359d', 'name': '', 'tenant_id': '4cdefdb0f34a459a940ea8b3625829ba', 'network_id': '7c2b0f86-06db-4c20-9748-577fc2d94189', 'ip_version': 4, 'cidr': '41.169.115.0/26', 'allocation_pools': [{'start': '41.169.115.2', 'end': '41.169.115.62'}], 'gateway_ip': '41.169.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.169.115.2', 'tags': [], 'project_id': '4cdefdb0f34a459a940ea8b3625829ba'}} 2026-04-22 13:36:38,286 - INFO - Created VN ctest-vn-50503017 2026-04-22 13:36:38,336 - DEBUG - VN ctest-vn-50503017 UUID is 7c2b0f86-06db-4c20-9748-577fc2d94189 2026-04-22 13:36:38,660 - DEBUG - Response for create_network : {'network': {'id': 'd1f0fcc6-6767-4ff7-98bf-de126e157d53', 'name': 'ctest-ext_vn-18076471', 'tenant_id': '4cdefdb0f34a459a940ea8b3625829ba', 'project_id': '4cdefdb0f34a459a940ea8b3625829ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84930821', 'ctest-ext_vn-18076471'], 'port_security_enabled': True, 'description': ''}} 2026-04-22 13:36:38,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '3bc176cd-8c39-4a16-94ef-bdf7fa149b05', 'name': '', 'tenant_id': '4cdefdb0f34a459a940ea8b3625829ba', 'network_id': 'd1f0fcc6-6767-4ff7-98bf-de126e157d53', 'ip_version': 4, 'cidr': '98.149.52.0/26', 'allocation_pools': [{'start': '98.149.52.2', 'end': '98.149.52.62'}], 'gateway_ip': '98.149.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.149.52.2', 'tags': [], 'project_id': '4cdefdb0f34a459a940ea8b3625829ba'}} 2026-04-22 13:36:38,829 - INFO - Created VN ctest-ext_vn-18076471 2026-04-22 13:36:38,880 - DEBUG - VN ctest-ext_vn-18076471 UUID is d1f0fcc6-6767-4ff7-98bf-de126e157d53 2026-04-22 13:36:39,079 - DEBUG - Services list from nova: [, , ] 2026-04-22 13:36:40,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5666-1) 2026-04-22 13:36:41,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5666-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5666-1) 2026-04-22 13:36:41,188 - INFO - Setting gateway for router 2b7caf5a-4cfb-4ce6-9305-0727672c1c08 to network d1f0fcc6-6767-4ff7-98bf-de126e157d53 2026-04-22 13:36:41,243 - INFO - Adding interface with subnet_id c151c3aa-3e83-447f-a6b9-50e86960359d, port_id None to router 2b7caf5a-4cfb-4ce6-9305-0727672c1c08 2026-04-22 13:36:41,534 - INFO - Waiting for VM ctest-TestRoutersBasic-84930821-60004261 to be up.. 2026-04-22 13:36:41,685 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-22 13:36:46,756 - DEBUG - VM is in ACTIVE state now 2026-04-22 13:36:46,757 - INFO - VM name : ctest-TestRoutersBasic-84930821-60004261 2026-04-22 13:36:46,823 - DEBUG - VM ctest-TestRoutersBasic-84930821-60004261 ID is 170b03b4-536e-43fa-9b32-bf70244fab72 2026-04-22 13:36:46,840 - DEBUG - VM ctest-TestRoutersBasic-84930821-60004261 launched on Node cn-jenkins-deploy-platform-ansible-os-5666-1 2026-04-22 13:36:46,905 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/170b03b4-536e-43fa-9b32-bf70244fab72 2026-04-22 13:36:47,195 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/170b03b4-536e-43fa-9b32-bf70244fab72 2026-04-22 13:36:47,226 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1d823b93-36a2-4d05-902d-826576853263 2026-04-22 13:36:50,485 - 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 1027ms') 2026-04-22 13:36:50,485 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84930821-60004261 failed! 2026-04-22 13:36:50,540 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84930821:ctest-vn-50503017 is 41.169.115.1 and allocation pool is NOT set 2026-04-22 13:36:52,597 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.441 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.441/1.637/2.834/1.196 ms') 2026-04-22 13:36:52,597 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84930821-60004261 passed 2026-04-22 13:36:52,752 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 13:36:52,752 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84930821-60004261, IP 41.169.115.3, Port 22 2026-04-22 13:36:52,907 - DEBUG - VM ctest-TestRoutersBasic-84930821-60004261 is ready for SSH connections 2026-04-22 13:36:52,908 - INFO - Waiting for VM ctest-TestRoutersBasic-84930821-19074530 to be up.. 2026-04-22 13:36:52,980 - DEBUG - VM is in ACTIVE state now 2026-04-22 13:36:52,980 - INFO - VM name : ctest-TestRoutersBasic-84930821-19074530 2026-04-22 13:36:53,046 - DEBUG - VM ctest-TestRoutersBasic-84930821-19074530 ID is 89d9f9d6-c220-47d6-9a65-cf3ed028d96a 2026-04-22 13:36:53,046 - DEBUG - VM ctest-TestRoutersBasic-84930821-19074530 launched on Node cn-jenkins-deploy-platform-ansible-os-5666-1 2026-04-22 13:36:53,115 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/89d9f9d6-c220-47d6-9a65-cf3ed028d96a 2026-04-22 13:36:53,124 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/297d05f0-e60c-4ecc-a637-9e8f378bbf85 2026-04-22 13:36:54,346 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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.411/1.578/2.746/1.167 ms') 2026-04-22 13:36:54,346 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-84930821-19074530 passed 2026-04-22 13:36:54,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 13:36:54,492 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84930821-19074530, IP 98.149.52.3, Port 22 2026-04-22 13:36:54,648 - DEBUG - VM ctest-TestRoutersBasic-84930821-19074530 is ready for SSH connections 2026-04-22 13:36:54,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-22 13:36:54,648 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.149.52.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2026-04-22 13:36:54,648 - DEBUG - ping -s 56 -c 3 -W 1 98.149.52.3 2026-04-22 13:36:58,416 - DEBUG - PING 98.149.52.3 (98.149.52.3): 56 data bytes 64 bytes from 98.149.52.3: seq=0 ttl=62 time=5.527 ms 64 bytes from 98.149.52.3: seq=1 ttl=62 time=0.978 ms 64 bytes from 98.149.52.3: seq=2 ttl=62 time=0.913 ms --- 98.149.52.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.913/2.472/5.527 ms 2026-04-22 13:36:58,417 - INFO - Ping to IP 98.149.52.3 from VM ctest-TestRoutersBasic-84930821-60004261 passed 2026-04-22 13:36:58,417 - INFO - Deleting interface with subnet_id c151c3aa-3e83-447f-a6b9-50e86960359d, port_id None from router 2b7caf5a-4cfb-4ce6-9305-0727672c1c08 2026-04-22 13:36:58,593 - INFO - Deleting VM ctest-TestRoutersBasic-84930821-19074530 2026-04-22 13:36:58,658 - INFO - Deleting VM ctest-TestRoutersBasic-84930821-60004261 2026-04-22 13:36:58,738 - INFO - Deleting VN ctest-ext_vn-18076471 2026-04-22 13:36:58,808 - DEBUG - VN d1f0fcc6-6767-4ff7-98bf-de126e157d53 still in use: Unable to complete operation on network d1f0fcc6-6767-4ff7-98bf-de126e157d53. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-be5a4f14-e052-42bd-8e63-eadd9890a051'] 2026-04-22 13:36:58,808 - WARNING - Deleting VN ctest-ext_vn-18076471 failed..Will retry 2026-04-22 13:37:00,907 - DEBUG - Response for deleting network () 2026-04-22 13:37:00,907 - INFO - Deleting VN ctest-vn-50503017 2026-04-22 13:37:01,009 - DEBUG - Response for deleting network () 2026-04-22 13:37:01,261 - DEBUG - No XMPP flaps were noticed during the test 2026-04-22 13:37:01,261 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2026-04-22 13:37:01,261 - INFO - -------------------------------------------------------------------------------- 2026-04-22 13:37:01,922 - INFO - Deleted project: ctest-TestRoutersBasic-84930821, ID : 4cdefdb0-f34a-459a-940e-a8b3625829ba