2026-02-02 20:46:36,028 - INFO - Domain Default found not creating 2026-02-02 20:46:36,189 - INFO - Project ctest-TestRoutersBasic-01862224 not found, creating it 2026-02-02 20:46:36,652 - INFO - Created Project:ctest-TestRoutersBasic-01862224, ID : fa7c3af0-5c24-4060-bf80-75518ac79872 2026-02-02 20:46:38,468 - INFO - ================================================================================ 2026-02-02 20:46:38,468 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-02 20:46:38,468 - 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 20:46:38,724 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-02-02 20:46:38,724 - INFO - Initial checks done. Running the testcase now 2026-02-02 20:46:38,724 - INFO - 2026-02-02 20:46:39,464 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01862224 2026-02-02 20:46:39,558 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01862224 2026-02-02 20:46:39,882 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01862224', 'default']} 2026-02-02 20:46:40,163 - DEBUG - Response for create_network : {'network': {'id': 'af6d4bb1-9ccd-4df1-b8d9-dca8b1a4d3e6', 'name': 'ctest-vn-52635780', 'tenant_id': 'fa7c3af05c244060bf8075518ac79872', 'project_id': 'fa7c3af05c244060bf8075518ac79872', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01862224', 'ctest-vn-52635780'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 20:46:40,347 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb13c70e-220e-41fc-b5b2-9fa20b9ee3d7', 'name': '', 'tenant_id': 'fa7c3af05c244060bf8075518ac79872', 'network_id': 'af6d4bb1-9ccd-4df1-b8d9-dca8b1a4d3e6', 'ip_version': 4, 'cidr': '37.124.96.128/26', 'allocation_pools': [{'start': '37.124.96.130', 'end': '37.124.96.190'}], 'gateway_ip': '37.124.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.124.96.130', 'tags': [], 'project_id': 'fa7c3af05c244060bf8075518ac79872'}} 2026-02-02 20:46:40,364 - INFO - Created VN ctest-vn-52635780 2026-02-02 20:46:40,414 - DEBUG - VN ctest-vn-52635780 UUID is af6d4bb1-9ccd-4df1-b8d9-dca8b1a4d3e6 2026-02-02 20:46:40,776 - DEBUG - Response for create_network : {'network': {'id': '1caa58c5-7acb-45e4-9391-73e39ca71b3b', 'name': 'ctest-ext_vn-92680518', 'tenant_id': 'fa7c3af05c244060bf8075518ac79872', 'project_id': 'fa7c3af05c244060bf8075518ac79872', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01862224', 'ctest-ext_vn-92680518'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 20:46:40,988 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2a916a1-1f6e-4e18-88a9-8de0d7896fb8', 'name': '', 'tenant_id': 'fa7c3af05c244060bf8075518ac79872', 'network_id': '1caa58c5-7acb-45e4-9391-73e39ca71b3b', 'ip_version': 4, 'cidr': '180.244.45.192/26', 'allocation_pools': [{'start': '180.244.45.194', 'end': '180.244.45.254'}], 'gateway_ip': '180.244.45.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.244.45.194', 'tags': [], 'project_id': 'fa7c3af05c244060bf8075518ac79872'}} 2026-02-02 20:46:41,010 - INFO - Created VN ctest-ext_vn-92680518 2026-02-02 20:46:41,062 - DEBUG - VN ctest-ext_vn-92680518 UUID is 1caa58c5-7acb-45e4-9391-73e39ca71b3b 2026-02-02 20:46:41,265 - DEBUG - Services list from nova: [, , ] 2026-02-02 20:46:42,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5178-1) 2026-02-02 20:46:43,392 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5178-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5178-1) 2026-02-02 20:46:43,454 - INFO - Setting gateway for router 8c5da9c0-99fd-4c3e-bb59-c54802adf941 to network 1caa58c5-7acb-45e4-9391-73e39ca71b3b 2026-02-02 20:46:43,523 - INFO - Adding interface with subnet_id bb13c70e-220e-41fc-b5b2-9fa20b9ee3d7, port_id None to router 8c5da9c0-99fd-4c3e-bb59-c54802adf941 2026-02-02 20:46:43,829 - INFO - Waiting for VM ctest-TestRoutersBasic-01862224-69132812 to be up.. 2026-02-02 20:46:43,998 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 20:46:49,077 - DEBUG - VM is in ACTIVE state now 2026-02-02 20:46:49,078 - INFO - VM name : ctest-TestRoutersBasic-01862224-69132812 2026-02-02 20:46:49,150 - DEBUG - VM ctest-TestRoutersBasic-01862224-69132812 ID is ac2ad6ec-c6ca-45e2-a34e-848c7459226e 2026-02-02 20:46:49,172 - DEBUG - VM ctest-TestRoutersBasic-01862224-69132812 launched on Node cn-jenkins-deploy-platform-ansible-os-5178-1 2026-02-02 20:46:49,263 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ac2ad6ec-c6ca-45e2-a34e-848c7459226e 2026-02-02 20:46:49,568 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/ac2ad6ec-c6ca-45e2-a34e-848c7459226e 2026-02-02 20:46:49,601 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d0556ebe-d7f4-4d86-a86e-233cfdf9f982 2026-02-02 20:46:52,859 - 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 1023ms') 2026-02-02 20:46:52,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01862224-69132812 failed! 2026-02-02 20:46:52,910 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01862224:ctest-vn-52635780 is 37.124.96.129 and allocation pool is NOT set 2026-02-02 20:46:54,966 - 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.04 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.515 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.515/1.778/3.041/1.263 ms') 2026-02-02 20:46:54,966 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01862224-69132812 passed 2026-02-02 20:46:55,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 20:46:55,114 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01862224-69132812, IP 37.124.96.131, Port 22 2026-02-02 20:46:55,276 - DEBUG - VM ctest-TestRoutersBasic-01862224-69132812 is ready for SSH connections 2026-02-02 20:46:55,276 - INFO - Waiting for VM ctest-TestRoutersBasic-01862224-01726870 to be up.. 2026-02-02 20:46:55,343 - DEBUG - VM is in ACTIVE state now 2026-02-02 20:46:55,343 - INFO - VM name : ctest-TestRoutersBasic-01862224-01726870 2026-02-02 20:46:55,409 - DEBUG - VM ctest-TestRoutersBasic-01862224-01726870 ID is 90e36122-a69e-4a7b-96c0-f3c301c0e05c 2026-02-02 20:46:55,409 - DEBUG - VM ctest-TestRoutersBasic-01862224-01726870 launched on Node cn-jenkins-deploy-platform-ansible-os-5178-1 2026-02-02 20:46:55,474 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/90e36122-a69e-4a7b-96c0-f3c301c0e05c 2026-02-02 20:46:55,481 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/fe4bb640-8989-4615-aaff-22ce22c1e0c8 2026-02-02 20:46:56,710 - 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.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.466 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.466/1.693/2.921/1.227 ms') 2026-02-02 20:46:56,710 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01862224-01726870 passed 2026-02-02 20:46:56,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 20:46:56,858 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01862224-01726870, IP 180.244.45.195, Port 22 2026-02-02 20:46:57,013 - DEBUG - VM ctest-TestRoutersBasic-01862224-01726870 is ready for SSH connections 2026-02-02 20:46:57,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 20:46:57,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.244.45.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-02-02 20:46:57,014 - DEBUG - ping -s 56 -c 3 -W 1 180.244.45.195 2026-02-02 20:47:00,706 - DEBUG - PING 180.244.45.195 (180.244.45.195): 56 data bytes 64 bytes from 180.244.45.195: seq=0 ttl=62 time=7.493 ms 64 bytes from 180.244.45.195: seq=1 ttl=62 time=0.777 ms 64 bytes from 180.244.45.195: seq=2 ttl=62 time=0.840 ms --- 180.244.45.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/3.036/7.493 ms 2026-02-02 20:47:00,706 - INFO - Ping to IP 180.244.45.195 from VM ctest-TestRoutersBasic-01862224-69132812 passed 2026-02-02 20:47:00,707 - INFO - Deleting interface with subnet_id bb13c70e-220e-41fc-b5b2-9fa20b9ee3d7, port_id None from router 8c5da9c0-99fd-4c3e-bb59-c54802adf941 2026-02-02 20:47:00,886 - INFO - Deleting VM ctest-TestRoutersBasic-01862224-01726870 2026-02-02 20:47:00,969 - INFO - Deleting VM ctest-TestRoutersBasic-01862224-69132812 2026-02-02 20:47:01,059 - INFO - Deleting VN ctest-ext_vn-92680518 2026-02-02 20:47:01,138 - DEBUG - VN 1caa58c5-7acb-45e4-9391-73e39ca71b3b still in use: Unable to complete operation on network 1caa58c5-7acb-45e4-9391-73e39ca71b3b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c914df27-250b-4ae9-80f5-34ad9678896c'] 2026-02-02 20:47:01,138 - WARNING - Deleting VN ctest-ext_vn-92680518 failed..Will retry 2026-02-02 20:47:03,238 - DEBUG - Response for deleting network () 2026-02-02 20:47:03,238 - INFO - Deleting VN ctest-vn-52635780 2026-02-02 20:47:03,333 - DEBUG - Response for deleting network () 2026-02-02 20:47:03,587 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 20:47:03,587 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-02 20:47:03,587 - INFO - -------------------------------------------------------------------------------- 2026-02-02 20:47:04,273 - INFO - Deleted project: ctest-TestRoutersBasic-01862224, ID : fa7c3af0-5c24-4060-bf80-75518ac79872