2025-09-19 01:56:41,486 - INFO - Domain Default found not creating 2025-09-19 01:56:41,644 - INFO - Project ctest-TestRoutersBasic-40474010 not found, creating it 2025-09-19 01:56:42,089 - INFO - Created Project:ctest-TestRoutersBasic-40474010, ID : 257692ef-e2a8-43d1-96ea-30aaced528fc 2025-09-19 01:56:43,460 - INFO - ================================================================================ 2025-09-19 01:56:43,460 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-19 01:56:43,460 - 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-09-19 01:56:43,714 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-09-19 01:56:43,714 - INFO - Initial checks done. Running the testcase now 2025-09-19 01:56:43,714 - INFO - 2025-09-19 01:56:44,424 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40474010 2025-09-19 01:56:44,517 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40474010 2025-09-19 01:56:44,837 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40474010', 'default']} 2025-09-19 01:56:45,136 - DEBUG - Response for create_network : {'network': {'id': 'dff7cb10-8f6c-4d76-9c4b-8744be49156d', 'name': 'ctest-vn-16411066', 'tenant_id': '257692efe2a843d196ea30aaced528fc', 'project_id': '257692efe2a843d196ea30aaced528fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40474010', 'ctest-vn-16411066'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:56:45,308 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b829b668-9174-4191-8c93-b5bfb99c9ef2', 'name': '', 'tenant_id': '257692efe2a843d196ea30aaced528fc', 'network_id': 'dff7cb10-8f6c-4d76-9c4b-8744be49156d', 'ip_version': 4, 'cidr': '73.157.130.64/26', 'allocation_pools': [{'start': '73.157.130.66', 'end': '73.157.130.126'}], 'gateway_ip': '73.157.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.157.130.66', 'tags': [], 'project_id': '257692efe2a843d196ea30aaced528fc'}} 2025-09-19 01:56:45,326 - INFO - Created VN ctest-vn-16411066 2025-09-19 01:56:45,377 - DEBUG - VN ctest-vn-16411066 UUID is dff7cb10-8f6c-4d76-9c4b-8744be49156d 2025-09-19 01:56:45,700 - DEBUG - Response for create_network : {'network': {'id': 'ca4232e5-48be-46d0-8580-3979e6fb22c7', 'name': 'ctest-ext_vn-31884511', 'tenant_id': '257692efe2a843d196ea30aaced528fc', 'project_id': '257692efe2a843d196ea30aaced528fc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40474010', 'ctest-ext_vn-31884511'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 01:56:45,865 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b0c0e69-f169-4ef3-8194-2ff97068ec98', 'name': '', 'tenant_id': '257692efe2a843d196ea30aaced528fc', 'network_id': 'ca4232e5-48be-46d0-8580-3979e6fb22c7', 'ip_version': 4, 'cidr': '169.60.104.128/26', 'allocation_pools': [{'start': '169.60.104.130', 'end': '169.60.104.190'}], 'gateway_ip': '169.60.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.60.104.130', 'tags': [], 'project_id': '257692efe2a843d196ea30aaced528fc'}} 2025-09-19 01:56:45,880 - INFO - Created VN ctest-ext_vn-31884511 2025-09-19 01:56:45,929 - DEBUG - VN ctest-ext_vn-31884511 UUID is ca4232e5-48be-46d0-8580-3979e6fb22c7 2025-09-19 01:56:46,129 - DEBUG - Services list from nova: [, , ] 2025-09-19 01:56:47,118 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4144-1) 2025-09-19 01:56:48,200 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4144-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4144-1) 2025-09-19 01:56:48,260 - INFO - Setting gateway for router 225dd4cb-5c9f-4c17-8e95-3c9f2ffdf9cd to network ca4232e5-48be-46d0-8580-3979e6fb22c7 2025-09-19 01:56:48,304 - INFO - Adding interface with subnet_id b829b668-9174-4191-8c93-b5bfb99c9ef2, port_id None to router 225dd4cb-5c9f-4c17-8e95-3c9f2ffdf9cd 2025-09-19 01:56:48,564 - INFO - Waiting for VM ctest-TestRoutersBasic-40474010-00338716 to be up.. 2025-09-19 01:56:48,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 01:56:53,797 - DEBUG - VM is in ACTIVE state now 2025-09-19 01:56:53,797 - INFO - VM name : ctest-TestRoutersBasic-40474010-00338716 2025-09-19 01:56:53,887 - DEBUG - VM ctest-TestRoutersBasic-40474010-00338716 ID is e9bd8f1b-f008-4783-8d34-2b10703a7d5a 2025-09-19 01:56:53,909 - DEBUG - VM ctest-TestRoutersBasic-40474010-00338716 launched on Node cn-jenkins-deploy-platform-ansible-os-4144-1 2025-09-19 01:56:53,988 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e9bd8f1b-f008-4783-8d34-2b10703a7d5a 2025-09-19 01:56:54,290 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/e9bd8f1b-f008-4783-8d34-2b10703a7d5a 2025-09-19 01:56:54,324 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/d78474c0-f6a6-435a-badd-6208a2f942de 2025-09-19 01:56:57,599 - 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') 2025-09-19 01:56:57,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40474010-00338716 failed! 2025-09-19 01:56:57,653 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40474010:ctest-vn-16411066 is 73.157.130.65 and allocation pool is NOT set 2025-09-19 01:56:59,709 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.416 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.416/1.504/2.593/1.088 ms') 2025-09-19 01:56:59,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40474010-00338716 passed 2025-09-19 01:56:59,861 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:56:59,861 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40474010-00338716, IP 73.157.130.67, Port 22 2025-09-19 01:57:00,016 - DEBUG - VM ctest-TestRoutersBasic-40474010-00338716 is ready for SSH connections 2025-09-19 01:57:00,016 - INFO - Waiting for VM ctest-TestRoutersBasic-40474010-51375100 to be up.. 2025-09-19 01:57:00,089 - DEBUG - VM is in ACTIVE state now 2025-09-19 01:57:00,089 - INFO - VM name : ctest-TestRoutersBasic-40474010-51375100 2025-09-19 01:57:00,159 - DEBUG - VM ctest-TestRoutersBasic-40474010-51375100 ID is 482c7bc1-c075-40cb-8551-01fc543c1a75 2025-09-19 01:57:00,159 - DEBUG - VM ctest-TestRoutersBasic-40474010-51375100 launched on Node cn-jenkins-deploy-platform-ansible-os-4144-1 2025-09-19 01:57:00,226 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/482c7bc1-c075-40cb-8551-01fc543c1a75 2025-09-19 01:57:00,233 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/8536010b-0cfa-4dce-aaf7-42460170a292 2025-09-19 01:57:01,461 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 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 = 0.440/1.739/3.038/1.299 ms') 2025-09-19 01:57:01,462 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40474010-51375100 passed 2025-09-19 01:57:01,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:57:01,609 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40474010-51375100, IP 169.60.104.131, Port 22 2025-09-19 01:57:01,765 - DEBUG - VM ctest-TestRoutersBasic-40474010-51375100 is ready for SSH connections 2025-09-19 01:57:01,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 01:57:01,765 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 169.60.104.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-09-19 01:57:01,765 - DEBUG - ping -s 56 -c 3 -W 1 169.60.104.131 2025-09-19 01:57:05,432 - DEBUG - PING 169.60.104.131 (169.60.104.131): 56 data bytes 64 bytes from 169.60.104.131: seq=0 ttl=62 time=4.379 ms 64 bytes from 169.60.104.131: seq=1 ttl=62 time=0.827 ms 64 bytes from 169.60.104.131: seq=2 ttl=62 time=0.873 ms --- 169.60.104.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/2.026/4.379 ms 2025-09-19 01:57:05,432 - INFO - Ping to IP 169.60.104.131 from VM ctest-TestRoutersBasic-40474010-00338716 passed 2025-09-19 01:57:05,433 - INFO - Deleting interface with subnet_id b829b668-9174-4191-8c93-b5bfb99c9ef2, port_id None from router 225dd4cb-5c9f-4c17-8e95-3c9f2ffdf9cd 2025-09-19 01:57:05,596 - INFO - Deleting VM ctest-TestRoutersBasic-40474010-51375100 2025-09-19 01:57:05,663 - INFO - Deleting VM ctest-TestRoutersBasic-40474010-00338716 2025-09-19 01:57:05,764 - INFO - Deleting VN ctest-ext_vn-31884511 2025-09-19 01:57:05,821 - DEBUG - VN ca4232e5-48be-46d0-8580-3979e6fb22c7 still in use: Unable to complete operation on network ca4232e5-48be-46d0-8580-3979e6fb22c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-176397f6-6d8b-4671-bc88-191ba071bbfb'] 2025-09-19 01:57:05,821 - WARNING - Deleting VN ctest-ext_vn-31884511 failed..Will retry 2025-09-19 01:57:07,917 - DEBUG - Response for deleting network () 2025-09-19 01:57:07,917 - INFO - Deleting VN ctest-vn-16411066 2025-09-19 01:57:08,017 - DEBUG - Response for deleting network () 2025-09-19 01:57:08,269 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 01:57:08,269 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-09-19 01:57:08,269 - INFO - -------------------------------------------------------------------------------- 2025-09-19 01:57:08,916 - INFO - Deleted project: ctest-TestRoutersBasic-40474010, ID : 257692ef-e2a8-43d1-96ea-30aaced528fc