2026-06-01 02:06:43,351 - INFO - Domain Default found not creating 2026-06-01 02:06:43,580 - INFO - Project ctest-TestRoutersBasic-58799281 not found, creating it 2026-06-01 02:06:44,099 - INFO - Created Project:ctest-TestRoutersBasic-58799281, ID : 18fe78ea-0689-4c9f-9cae-05e7df2f6abd 2026-06-01 02:06:45,853 - INFO - ================================================================================ 2026-06-01 02:06:45,853 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-01 02:06:45,853 - 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-06-01 02:06:46,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-01 02:06:46,127 - INFO - Initial checks done. Running the testcase now 2026-06-01 02:06:46,127 - INFO - 2026-06-01 02:06:46,940 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-58799281 2026-06-01 02:06:47,041 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-58799281 2026-06-01 02:06:47,369 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58799281', 'default']} 2026-06-01 02:06:47,706 - DEBUG - Response for create_network : {'network': {'id': 'b5546d30-37a0-4bfd-a962-96f160d32b79', 'name': 'ctest-vn-47302452', 'tenant_id': '18fe78ea06894c9f9cae05e7df2f6abd', 'project_id': '18fe78ea06894c9f9cae05e7df2f6abd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58799281', 'ctest-vn-47302452'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:06:47,920 - DEBUG - Response for create_subnet : {'subnet': {'id': '73a80990-bc8e-4ab4-b8ea-b121c76611dd', 'name': '', 'tenant_id': '18fe78ea06894c9f9cae05e7df2f6abd', 'network_id': 'b5546d30-37a0-4bfd-a962-96f160d32b79', 'ip_version': 4, 'cidr': '125.4.227.0/26', 'allocation_pools': [{'start': '125.4.227.2', 'end': '125.4.227.62'}], 'gateway_ip': '125.4.227.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.4.227.2', 'tags': [], 'project_id': '18fe78ea06894c9f9cae05e7df2f6abd'}} 2026-06-01 02:06:47,944 - INFO - Created VN ctest-vn-47302452 2026-06-01 02:06:48,001 - DEBUG - VN ctest-vn-47302452 UUID is b5546d30-37a0-4bfd-a962-96f160d32b79 2026-06-01 02:06:48,411 - DEBUG - Response for create_network : {'network': {'id': 'c7a1886f-a453-4d38-ba7e-8b7893e786eb', 'name': 'ctest-ext_vn-04334810', 'tenant_id': '18fe78ea06894c9f9cae05e7df2f6abd', 'project_id': '18fe78ea06894c9f9cae05e7df2f6abd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-58799281', 'ctest-ext_vn-04334810'], 'port_security_enabled': True, 'description': ''}} 2026-06-01 02:06:48,578 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6049d43-cda4-430b-9594-87490c3856cc', 'name': '', 'tenant_id': '18fe78ea06894c9f9cae05e7df2f6abd', 'network_id': 'c7a1886f-a453-4d38-ba7e-8b7893e786eb', 'ip_version': 4, 'cidr': '185.129.95.128/26', 'allocation_pools': [{'start': '185.129.95.130', 'end': '185.129.95.190'}], 'gateway_ip': '185.129.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.129.95.130', 'tags': [], 'project_id': '18fe78ea06894c9f9cae05e7df2f6abd'}} 2026-06-01 02:06:48,599 - INFO - Created VN ctest-ext_vn-04334810 2026-06-01 02:06:48,653 - DEBUG - VN ctest-ext_vn-04334810 UUID is c7a1886f-a453-4d38-ba7e-8b7893e786eb 2026-06-01 02:06:48,843 - DEBUG - Services list from nova: [, , ] 2026-06-01 02:06:49,975 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5857-1) 2026-06-01 02:06:51,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5857-1) 2026-06-01 02:06:51,375 - INFO - Setting gateway for router 63d9fb69-056d-4c89-8bfd-464fd71538e6 to network c7a1886f-a453-4d38-ba7e-8b7893e786eb 2026-06-01 02:06:51,455 - INFO - Adding interface with subnet_id 73a80990-bc8e-4ab4-b8ea-b121c76611dd, port_id None to router 63d9fb69-056d-4c89-8bfd-464fd71538e6 2026-06-01 02:06:51,925 - INFO - Waiting for VM ctest-TestRoutersBasic-58799281-93245602 to be up.. 2026-06-01 02:06:52,128 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-01 02:06:57,230 - DEBUG - VM is in ACTIVE state now 2026-06-01 02:06:57,230 - INFO - VM name : ctest-TestRoutersBasic-58799281-93245602 2026-06-01 02:06:57,324 - DEBUG - VM ctest-TestRoutersBasic-58799281-93245602 ID is 7b222ade-348e-4bcc-99e9-eb05466ca373 2026-06-01 02:06:57,355 - DEBUG - VM ctest-TestRoutersBasic-58799281-93245602 launched on Node cn-jenkins-deploy-platform-ansible-os-5857-1 2026-06-01 02:06:57,450 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7b222ade-348e-4bcc-99e9-eb05466ca373 2026-06-01 02:06:57,766 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7b222ade-348e-4bcc-99e9-eb05466ca373 2026-06-01 02:06:57,815 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0ce58165-3f2b-4f6e-927a-60975d6777e8 2026-06-01 02:07:01,076 - 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 1016ms') 2026-06-01 02:07:01,076 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58799281-93245602 failed! 2026-06-01 02:07:01,133 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-58799281:ctest-vn-47302452 is 125.4.227.1 and allocation pool is NOT set 2026-06-01 02:07:03,206 - 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=4.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.52 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 = 1.519/2.995/4.472/1.476 ms') 2026-06-01 02:07:03,206 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-58799281-93245602 passed 2026-06-01 02:07:03,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:07:03,362 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58799281-93245602, IP 125.4.227.3, Port 22 2026-06-01 02:07:03,427 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-01 02:07:03,532 - DEBUG - VM ctest-TestRoutersBasic-58799281-93245602 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-01 02:07:08,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:07:08,534 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58799281-93245602, IP 125.4.227.3, Port 22 2026-06-01 02:07:08,712 - DEBUG - VM ctest-TestRoutersBasic-58799281-93245602 is ready for SSH connections 2026-06-01 02:07:08,712 - INFO - Waiting for VM ctest-TestRoutersBasic-58799281-10004580 to be up.. 2026-06-01 02:07:08,804 - DEBUG - VM is in ACTIVE state now 2026-06-01 02:07:08,804 - INFO - VM name : ctest-TestRoutersBasic-58799281-10004580 2026-06-01 02:07:08,896 - DEBUG - VM ctest-TestRoutersBasic-58799281-10004580 ID is 9dc13ef2-f967-4cc4-9a6f-540b3c43570a 2026-06-01 02:07:08,897 - DEBUG - VM ctest-TestRoutersBasic-58799281-10004580 launched on Node cn-jenkins-deploy-platform-ansible-os-5857-1 2026-06-01 02:07:08,998 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9dc13ef2-f967-4cc4-9a6f-540b3c43570a 2026-06-01 02:07:09,008 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4feaefad-8114-4ca6-968d-eea71498ad86 2026-06-01 02:07:10,264 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.644 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.644/2.105/3.567/1.461 ms') 2026-06-01 02:07:10,264 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-58799281-10004580 passed 2026-06-01 02:07:10,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:07:10,422 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-58799281-10004580, IP 185.129.95.131, Port 22 2026-06-01 02:07:10,591 - DEBUG - VM ctest-TestRoutersBasic-58799281-10004580 is ready for SSH connections 2026-06-01 02:07:10,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-01 02:07:10,592 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.129.95.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-01 02:07:10,592 - DEBUG - ping -s 56 -c 3 -W 1 185.129.95.131 2026-06-01 02:07:14,385 - DEBUG - PING 185.129.95.131 (185.129.95.131): 56 data bytes 64 bytes from 185.129.95.131: seq=0 ttl=62 time=8.037 ms 64 bytes from 185.129.95.131: seq=1 ttl=62 time=0.997 ms 64 bytes from 185.129.95.131: seq=2 ttl=62 time=1.774 ms --- 185.129.95.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.997/3.602/8.037 ms 2026-06-01 02:07:14,385 - INFO - Ping to IP 185.129.95.131 from VM ctest-TestRoutersBasic-58799281-93245602 passed 2026-06-01 02:07:14,385 - INFO - Deleting interface with subnet_id 73a80990-bc8e-4ab4-b8ea-b121c76611dd, port_id None from router 63d9fb69-056d-4c89-8bfd-464fd71538e6 2026-06-01 02:07:14,619 - INFO - Deleting VM ctest-TestRoutersBasic-58799281-10004580 2026-06-01 02:07:14,715 - INFO - Deleting VM ctest-TestRoutersBasic-58799281-93245602 2026-06-01 02:07:14,808 - INFO - Deleting VN ctest-ext_vn-04334810 2026-06-01 02:07:14,894 - DEBUG - VN c7a1886f-a453-4d38-ba7e-8b7893e786eb still in use: Unable to complete operation on network c7a1886f-a453-4d38-ba7e-8b7893e786eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f198bf6d-09f5-425d-964a-98f7801e4c76'] 2026-06-01 02:07:14,894 - WARNING - Deleting VN ctest-ext_vn-04334810 failed..Will retry 2026-06-01 02:07:17,026 - DEBUG - Response for deleting network () 2026-06-01 02:07:17,026 - INFO - Deleting VN ctest-vn-47302452 2026-06-01 02:07:17,143 - DEBUG - Response for deleting network () 2026-06-01 02:07:17,414 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 02:07:17,415 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:32]
2026-06-01 02:07:17,415 - INFO - -------------------------------------------------------------------------------- 2026-06-01 02:07:18,198 - INFO - Deleted project: ctest-TestRoutersBasic-58799281, ID : 18fe78ea-0689-4c9f-9cae-05e7df2f6abd