2026-02-02 12:55:51,915 - INFO - Domain Default found not creating 2026-02-02 12:55:52,096 - INFO - Project ctest-TestRoutersBasic-01895905 not found, creating it 2026-02-02 12:55:52,582 - INFO - Created Project:ctest-TestRoutersBasic-01895905, ID : 21066b92-a892-416e-b8e5-bbc95d78a8f0 2026-02-02 12:55:54,183 - INFO - ================================================================================ 2026-02-02 12:55:54,184 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-02 12:55:54,184 - 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-02-02 12:55:54,452 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2026-02-02 12:55:54,452 - INFO - Initial checks done. Running the testcase now 2026-02-02 12:55:54,452 - INFO - 2026-02-02 12:55:55,298 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01895905 2026-02-02 12:55:55,399 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01895905 2026-02-02 12:55:55,739 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01895905', 'default']} 2026-02-02 12:55:56,065 - DEBUG - Response for create_network : {'network': {'id': 'c7d85f19-661c-4264-9703-fbe1ee6f2eb6', 'name': 'ctest-vn-43451134', 'tenant_id': '21066b92a892416eb8e5bbc95d78a8f0', 'project_id': '21066b92a892416eb8e5bbc95d78a8f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01895905', 'ctest-vn-43451134'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 12:55:56,255 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3e071ed-7168-4c95-97fa-dcaa8736db58', 'name': '', 'tenant_id': '21066b92a892416eb8e5bbc95d78a8f0', 'network_id': 'c7d85f19-661c-4264-9703-fbe1ee6f2eb6', 'ip_version': 4, 'cidr': '156.110.74.64/26', 'allocation_pools': [{'start': '156.110.74.66', 'end': '156.110.74.126'}], 'gateway_ip': '156.110.74.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.110.74.66', 'tags': [], 'project_id': '21066b92a892416eb8e5bbc95d78a8f0'}} 2026-02-02 12:55:56,272 - INFO - Created VN ctest-vn-43451134 2026-02-02 12:55:56,323 - DEBUG - VN ctest-vn-43451134 UUID is c7d85f19-661c-4264-9703-fbe1ee6f2eb6 2026-02-02 12:55:56,643 - DEBUG - Response for create_network : {'network': {'id': 'c9f87f15-91df-4221-a664-6ad38f54c022', 'name': 'ctest-ext_vn-69382128', 'tenant_id': '21066b92a892416eb8e5bbc95d78a8f0', 'project_id': '21066b92a892416eb8e5bbc95d78a8f0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01895905', 'ctest-ext_vn-69382128'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 12:55:56,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe76bcff-226a-40a5-a16a-e3e45e29a04a', 'name': '', 'tenant_id': '21066b92a892416eb8e5bbc95d78a8f0', 'network_id': 'c9f87f15-91df-4221-a664-6ad38f54c022', 'ip_version': 4, 'cidr': '133.114.102.0/26', 'allocation_pools': [{'start': '133.114.102.2', 'end': '133.114.102.62'}], 'gateway_ip': '133.114.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.114.102.2', 'tags': [], 'project_id': '21066b92a892416eb8e5bbc95d78a8f0'}} 2026-02-02 12:55:56,870 - INFO - Created VN ctest-ext_vn-69382128 2026-02-02 12:55:56,923 - DEBUG - VN ctest-ext_vn-69382128 UUID is c9f87f15-91df-4221-a664-6ad38f54c022 2026-02-02 12:55:57,106 - DEBUG - Services list from nova: [, , ] 2026-02-02 12:55:58,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5172-1) 2026-02-02 12:55:59,428 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5172-1) 2026-02-02 12:55:59,508 - INFO - Setting gateway for router c515b899-aed3-46a3-9833-111fd2a5c945 to network c9f87f15-91df-4221-a664-6ad38f54c022 2026-02-02 12:55:59,585 - INFO - Adding interface with subnet_id f3e071ed-7168-4c95-97fa-dcaa8736db58, port_id None to router c515b899-aed3-46a3-9833-111fd2a5c945 2026-02-02 12:55:59,981 - INFO - Waiting for VM ctest-TestRoutersBasic-01895905-71611135 to be up.. 2026-02-02 12:56:00,154 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 12:56:05,250 - DEBUG - VM is in ACTIVE state now 2026-02-02 12:56:05,250 - INFO - VM name : ctest-TestRoutersBasic-01895905-71611135 2026-02-02 12:56:05,391 - DEBUG - VM ctest-TestRoutersBasic-01895905-71611135 ID is 9ece1119-de4c-4370-8d9c-0b675b849f34 2026-02-02 12:56:05,413 - DEBUG - VM ctest-TestRoutersBasic-01895905-71611135 launched on Node cn-jenkins-deploy-platform-ansible-os-5172-1 2026-02-02 12:56:05,522 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/9ece1119-de4c-4370-8d9c-0b675b849f34 2026-02-02 12:56:05,868 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/9ece1119-de4c-4370-8d9c-0b675b849f34 2026-02-02 12:56:05,906 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/8a413ee8-b18c-4738-bd4a-82afd658ac62 2026-02-02 12:56:09,176 - 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 1030ms') 2026-02-02 12:56:09,176 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01895905-71611135 failed! 2026-02-02 12:56:09,232 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01895905:ctest-vn-43451134 is 156.110.74.65 and allocation pool is NOT set 2026-02-02 12:56:11,301 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.621 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.621/2.059/3.497/1.438 ms') 2026-02-02 12:56:11,301 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01895905-71611135 passed 2026-02-02 12:56:11,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 12:56:11,460 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01895905-71611135, IP 156.110.74.67, Port 22 2026-02-02 12:56:11,615 - DEBUG - VM ctest-TestRoutersBasic-01895905-71611135 is ready for SSH connections 2026-02-02 12:56:11,615 - INFO - Waiting for VM ctest-TestRoutersBasic-01895905-00961286 to be up.. 2026-02-02 12:56:11,701 - DEBUG - VM is in ACTIVE state now 2026-02-02 12:56:11,701 - INFO - VM name : ctest-TestRoutersBasic-01895905-00961286 2026-02-02 12:56:11,783 - DEBUG - VM ctest-TestRoutersBasic-01895905-00961286 ID is d2559807-1aa9-4d12-8c43-430c132019e8 2026-02-02 12:56:11,783 - DEBUG - VM ctest-TestRoutersBasic-01895905-00961286 launched on Node cn-jenkins-deploy-platform-ansible-os-5172-1 2026-02-02 12:56:11,868 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/d2559807-1aa9-4d12-8c43-430c132019e8 2026-02-02 12:56:11,879 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/2b66553f-dad6-42ff-8434-a576a920afef 2026-02-02 12:56:13,120 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.20 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.202/2.442/3.682/1.240 ms') 2026-02-02 12:56:13,121 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01895905-00961286 passed 2026-02-02 12:56:13,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 12:56:13,275 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01895905-00961286, IP 133.114.102.3, Port 22 2026-02-02 12:56:13,431 - DEBUG - VM ctest-TestRoutersBasic-01895905-00961286 is ready for SSH connections 2026-02-02 12:56:13,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 12:56:13,432 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.114.102.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-02 12:56:13,432 - DEBUG - ping -s 56 -c 3 -W 1 133.114.102.3 2026-02-02 12:56:17,188 - DEBUG - PING 133.114.102.3 (133.114.102.3): 56 data bytes 64 bytes from 133.114.102.3: seq=0 ttl=62 time=8.143 ms 64 bytes from 133.114.102.3: seq=1 ttl=62 time=0.985 ms 64 bytes from 133.114.102.3: seq=2 ttl=62 time=0.935 ms --- 133.114.102.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/3.354/8.143 ms 2026-02-02 12:56:17,188 - INFO - Ping to IP 133.114.102.3 from VM ctest-TestRoutersBasic-01895905-71611135 passed 2026-02-02 12:56:17,189 - INFO - Deleting interface with subnet_id f3e071ed-7168-4c95-97fa-dcaa8736db58, port_id None from router c515b899-aed3-46a3-9833-111fd2a5c945 2026-02-02 12:56:17,384 - INFO - Deleting VM ctest-TestRoutersBasic-01895905-00961286 2026-02-02 12:56:17,464 - INFO - Deleting VM ctest-TestRoutersBasic-01895905-71611135 2026-02-02 12:56:17,571 - INFO - Deleting VN ctest-ext_vn-69382128 2026-02-02 12:56:17,661 - DEBUG - VN c9f87f15-91df-4221-a664-6ad38f54c022 still in use: Unable to complete operation on network c9f87f15-91df-4221-a664-6ad38f54c022. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc3867ce-6922-48be-9148-647d938b3cd5'] 2026-02-02 12:56:17,661 - WARNING - Deleting VN ctest-ext_vn-69382128 failed..Will retry 2026-02-02 12:56:19,776 - DEBUG - Response for deleting network () 2026-02-02 12:56:19,776 - INFO - Deleting VN ctest-vn-43451134 2026-02-02 12:56:19,887 - DEBUG - Response for deleting network () 2026-02-02 12:56:20,157 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 12:56:20,157 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2026-02-02 12:56:20,157 - INFO - -------------------------------------------------------------------------------- 2026-02-02 12:56:20,904 - INFO - Deleted project: ctest-TestRoutersBasic-01895905, ID : 21066b92-a892-416e-b8e5-bbc95d78a8f0