2026-01-28 21:07:10,276 - INFO - Domain Default found not creating 2026-01-28 21:07:10,429 - INFO - Project ctest-TestRoutersBasic-83796641 not found, creating it 2026-01-28 21:07:10,877 - INFO - Created Project:ctest-TestRoutersBasic-83796641, ID : a86630e5-e8fc-4b3b-adc2-8de2ed37ac40 2026-01-28 21:07:12,358 - INFO - ================================================================================ 2026-01-28 21:07:12,359 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-01-28 21:07:12,359 - 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-01-28 21:07:12,616 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.14': '0'}} with 2026-01-28 21:07:12,616 - INFO - Initial checks done. Running the testcase now 2026-01-28 21:07:12,616 - INFO - 2026-01-28 21:07:13,311 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-83796641 2026-01-28 21:07:13,407 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-83796641 2026-01-28 21:07:13,719 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83796641', 'default']} 2026-01-28 21:07:13,998 - DEBUG - Response for create_network : {'network': {'id': '9d152438-ea72-4b0c-b441-8064cbaa10af', 'name': 'ctest-vn-85447007', 'tenant_id': 'a86630e5e8fc4b3badc28de2ed37ac40', 'project_id': 'a86630e5e8fc4b3badc28de2ed37ac40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83796641', 'ctest-vn-85447007'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:07:14,208 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a25771bf-cbad-4190-8922-85ddd3a0da60', 'name': '', 'tenant_id': 'a86630e5e8fc4b3badc28de2ed37ac40', 'network_id': '9d152438-ea72-4b0c-b441-8064cbaa10af', 'ip_version': 4, 'cidr': '78.133.116.128/26', 'allocation_pools': [{'start': '78.133.116.130', 'end': '78.133.116.190'}], 'gateway_ip': '78.133.116.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.133.116.130', 'tags': [], 'project_id': 'a86630e5e8fc4b3badc28de2ed37ac40'}} 2026-01-28 21:07:14,222 - INFO - Created VN ctest-vn-85447007 2026-01-28 21:07:14,275 - DEBUG - VN ctest-vn-85447007 UUID is 9d152438-ea72-4b0c-b441-8064cbaa10af 2026-01-28 21:07:14,584 - DEBUG - Response for create_network : {'network': {'id': '85f95d95-3bba-4d0a-9651-a45988a91492', 'name': 'ctest-ext_vn-33315267', 'tenant_id': 'a86630e5e8fc4b3badc28de2ed37ac40', 'project_id': 'a86630e5e8fc4b3badc28de2ed37ac40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-83796641', 'ctest-ext_vn-33315267'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:07:14,729 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a46c6f1-5203-4235-ad46-7999eb4f3696', 'name': '', 'tenant_id': 'a86630e5e8fc4b3badc28de2ed37ac40', 'network_id': '85f95d95-3bba-4d0a-9651-a45988a91492', 'ip_version': 4, 'cidr': '184.2.112.192/26', 'allocation_pools': [{'start': '184.2.112.194', 'end': '184.2.112.254'}], 'gateway_ip': '184.2.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.2.112.194', 'tags': [], 'project_id': 'a86630e5e8fc4b3badc28de2ed37ac40'}} 2026-01-28 21:07:14,744 - INFO - Created VN ctest-ext_vn-33315267 2026-01-28 21:07:14,795 - DEBUG - VN ctest-ext_vn-33315267 UUID is 85f95d95-3bba-4d0a-9651-a45988a91492 2026-01-28 21:07:14,981 - DEBUG - Services list from nova: [, , ] 2026-01-28 21:07:15,954 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5104-1) 2026-01-28 21:07:17,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5104-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5104-1) 2026-01-28 21:07:17,153 - INFO - Setting gateway for router fad2fa12-643e-40ef-96ab-30a082e78c2e to network 85f95d95-3bba-4d0a-9651-a45988a91492 2026-01-28 21:07:17,209 - INFO - Adding interface with subnet_id a25771bf-cbad-4190-8922-85ddd3a0da60, port_id None to router fad2fa12-643e-40ef-96ab-30a082e78c2e 2026-01-28 21:07:17,462 - INFO - Waiting for VM ctest-TestRoutersBasic-83796641-57105687 to be up.. 2026-01-28 21:07:17,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 21:07:22,713 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:07:22,713 - INFO - VM name : ctest-TestRoutersBasic-83796641-57105687 2026-01-28 21:07:22,787 - DEBUG - VM ctest-TestRoutersBasic-83796641-57105687 ID is 8a1252e3-c688-483e-a03b-fca0432dd48c 2026-01-28 21:07:22,808 - DEBUG - VM ctest-TestRoutersBasic-83796641-57105687 launched on Node cn-jenkins-deploy-platform-ansible-os-5104-1 2026-01-28 21:07:22,877 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/8a1252e3-c688-483e-a03b-fca0432dd48c 2026-01-28 21:07:23,168 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/8a1252e3-c688-483e-a03b-fca0432dd48c 2026-01-28 21:07:23,204 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/3b40d050-b3d4-4b0a-9ce1-23c71675cdec 2026-01-28 21:07:26,461 - 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 1019ms') 2026-01-28 21:07:26,461 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83796641-57105687 failed! 2026-01-28 21:07:26,519 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-83796641:ctest-vn-85447007 is 78.133.116.129 and allocation pool is NOT set 2026-01-28 21:07:28,577 - 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=5.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.77 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.769/3.391/5.013/1.622 ms') 2026-01-28 21:07:28,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-83796641-57105687 passed 2026-01-28 21:07:28,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:07:28,724 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83796641-57105687, IP 78.133.116.131, Port 22 2026-01-28 21:07:28,790 - 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-01-28 21:07:28,865 - DEBUG - VM ctest-TestRoutersBasic-83796641-57105687 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-28 21:07:33,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:07:33,866 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83796641-57105687, IP 78.133.116.131, Port 22 2026-01-28 21:07:34,023 - DEBUG - VM ctest-TestRoutersBasic-83796641-57105687 is ready for SSH connections 2026-01-28 21:07:34,023 - INFO - Waiting for VM ctest-TestRoutersBasic-83796641-61498637 to be up.. 2026-01-28 21:07:34,089 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:07:34,090 - INFO - VM name : ctest-TestRoutersBasic-83796641-61498637 2026-01-28 21:07:34,155 - DEBUG - VM ctest-TestRoutersBasic-83796641-61498637 ID is e62ee49a-bba3-4993-b959-bd23c1f6f665 2026-01-28 21:07:34,155 - DEBUG - VM ctest-TestRoutersBasic-83796641-61498637 launched on Node cn-jenkins-deploy-platform-ansible-os-5104-1 2026-01-28 21:07:34,225 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/e62ee49a-bba3-4993-b959-bd23c1f6f665 2026-01-28 21:07:34,232 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/be49d15e-5194-4708-b1f6-4a5b935dc555 2026-01-28 21:07:35,460 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.317 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.317/1.719/3.121/1.402 ms') 2026-01-28 21:07:35,460 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-83796641-61498637 passed 2026-01-28 21:07:35,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:07:35,607 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-83796641-61498637, IP 184.2.112.195, Port 22 2026-01-28 21:07:35,763 - DEBUG - VM ctest-TestRoutersBasic-83796641-61498637 is ready for SSH connections 2026-01-28 21:07:35,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:07:35,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.2.112.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-01-28 21:07:35,763 - DEBUG - ping -s 56 -c 3 -W 1 184.2.112.195 2026-01-28 21:07:39,439 - DEBUG - PING 184.2.112.195 (184.2.112.195): 56 data bytes 64 bytes from 184.2.112.195: seq=0 ttl=62 time=7.410 ms 64 bytes from 184.2.112.195: seq=1 ttl=62 time=0.901 ms 64 bytes from 184.2.112.195: seq=2 ttl=62 time=0.809 ms --- 184.2.112.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/3.040/7.410 ms 2026-01-28 21:07:39,439 - INFO - Ping to IP 184.2.112.195 from VM ctest-TestRoutersBasic-83796641-57105687 passed 2026-01-28 21:07:39,440 - INFO - Deleting interface with subnet_id a25771bf-cbad-4190-8922-85ddd3a0da60, port_id None from router fad2fa12-643e-40ef-96ab-30a082e78c2e 2026-01-28 21:07:39,614 - INFO - Deleting VM ctest-TestRoutersBasic-83796641-61498637 2026-01-28 21:07:39,681 - INFO - Deleting VM ctest-TestRoutersBasic-83796641-57105687 2026-01-28 21:07:39,777 - INFO - Deleting VN ctest-ext_vn-33315267 2026-01-28 21:07:39,846 - DEBUG - VN 85f95d95-3bba-4d0a-9651-a45988a91492 still in use: Unable to complete operation on network 85f95d95-3bba-4d0a-9651-a45988a91492. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ef6a0fe3-5d53-4c48-800d-c6ed9f647633'] 2026-01-28 21:07:39,846 - WARNING - Deleting VN ctest-ext_vn-33315267 failed..Will retry 2026-01-28 21:07:41,931 - DEBUG - Response for deleting network () 2026-01-28 21:07:41,931 - INFO - Deleting VN ctest-vn-85447007 2026-01-28 21:07:42,016 - DEBUG - Response for deleting network () 2026-01-28 21:07:42,268 - DEBUG - No XMPP flaps were noticed during the test 2026-01-28 21:07:42,268 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-01-28 21:07:42,268 - INFO - -------------------------------------------------------------------------------- 2026-01-28 21:07:42,932 - INFO - Deleted project: ctest-TestRoutersBasic-83796641, ID : a86630e5-e8fc-4b3b-adc2-8de2ed37ac40