2026-03-19 06:15:18,759 - INFO - Domain Default found not creating 2026-03-19 06:15:18,949 - INFO - Project ctest-TestRoutersBasic-56051681 not found, creating it 2026-03-19 06:15:19,559 - INFO - Created Project:ctest-TestRoutersBasic-56051681, ID : 17d1c0d3-c740-4508-8cc7-c43d669ee3e0 2026-03-19 06:15:21,269 - INFO - ================================================================================ 2026-03-19 06:15:21,269 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-19 06:15:21,269 - 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-03-19 06:15:22,581 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.254': '0'}, '10.0.0.22': {'10.20.0.254': '0', '10.20.0.17': '0'}} with 2026-03-19 06:15:22,581 - INFO - Initial checks done. Running the testcase now 2026-03-19 06:15:22,581 - INFO - 2026-03-19 06:15:23,373 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56051681 2026-03-19 06:15:23,434 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56051681 2026-03-19 06:15:23,762 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56051681', 'default']} 2026-03-19 06:15:24,257 - DEBUG - Response for create_network : {'network': {'id': '215e9dde-65db-4a1a-8a49-bb2b0f47a056', 'name': 'ctest-vn-74628655', 'tenant_id': '17d1c0d3c74045088cc7c43d669ee3e0', 'project_id': '17d1c0d3c74045088cc7c43d669ee3e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56051681', 'ctest-vn-74628655'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 06:15:24,608 - DEBUG - Response for create_subnet : {'subnet': {'id': '35ab9c5d-3098-459b-be5a-34fe807e6e93', 'name': '', 'tenant_id': '17d1c0d3c74045088cc7c43d669ee3e0', 'network_id': '215e9dde-65db-4a1a-8a49-bb2b0f47a056', 'ip_version': 4, 'cidr': '167.58.216.64/26', 'allocation_pools': [{'start': '167.58.216.66', 'end': '167.58.216.126'}], 'gateway_ip': '167.58.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.58.216.66', 'tags': [], 'project_id': '17d1c0d3c74045088cc7c43d669ee3e0'}} 2026-03-19 06:15:24,650 - INFO - Created VN ctest-vn-74628655 2026-03-19 06:15:24,668 - DEBUG - VN ctest-vn-74628655 UUID is 215e9dde-65db-4a1a-8a49-bb2b0f47a056 2026-03-19 06:15:25,197 - DEBUG - Response for create_network : {'network': {'id': '29b378b7-5664-44e3-a173-d622c56c64d2', 'name': 'ctest-ext_vn-53736847', 'tenant_id': '17d1c0d3c74045088cc7c43d669ee3e0', 'project_id': '17d1c0d3c74045088cc7c43d669ee3e0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56051681', 'ctest-ext_vn-53736847'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 06:15:25,567 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cf4d27e-bec5-458f-b9c3-28c02e4f37a3', 'name': '', 'tenant_id': '17d1c0d3c74045088cc7c43d669ee3e0', 'network_id': '29b378b7-5664-44e3-a173-d622c56c64d2', 'ip_version': 4, 'cidr': '212.25.141.192/26', 'allocation_pools': [{'start': '212.25.141.194', 'end': '212.25.141.254'}], 'gateway_ip': '212.25.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.25.141.194', 'tags': [], 'project_id': '17d1c0d3c74045088cc7c43d669ee3e0'}} 2026-03-19 06:15:25,598 - INFO - Created VN ctest-ext_vn-53736847 2026-03-19 06:15:25,611 - DEBUG - VN ctest-ext_vn-53736847 UUID is 29b378b7-5664-44e3-a173-d622c56c64d2 2026-03-19 06:15:25,757 - DEBUG - Services list from nova: [, , , ] 2026-03-19 06:15:26,861 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5495-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5495-2) 2026-03-19 06:15:28,319 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5495-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5495-1) 2026-03-19 06:15:28,459 - INFO - Setting gateway for router b55127ac-7637-4e19-af19-29dfbcf7fad7 to network 29b378b7-5664-44e3-a173-d622c56c64d2 2026-03-19 06:15:28,579 - INFO - Adding interface with subnet_id 35ab9c5d-3098-459b-be5a-34fe807e6e93, port_id None to router b55127ac-7637-4e19-af19-29dfbcf7fad7 2026-03-19 06:15:29,266 - INFO - Waiting for VM ctest-TestRoutersBasic-56051681-86891293 to be up.. 2026-03-19 06:15:29,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 06:15:34,622 - DEBUG - VM is in ACTIVE state now 2026-03-19 06:15:34,623 - INFO - VM name : ctest-TestRoutersBasic-56051681-86891293 2026-03-19 06:15:34,742 - DEBUG - VM ctest-TestRoutersBasic-56051681-86891293 ID is 4348f4a6-8254-4d88-b39b-0b2323d095f5 2026-03-19 06:15:34,773 - DEBUG - VM ctest-TestRoutersBasic-56051681-86891293 launched on Node an-jenkins-deploy-platform-ansible-os-5495-2 2026-03-19 06:15:34,881 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4348f4a6-8254-4d88-b39b-0b2323d095f5 2026-03-19 06:15:35,199 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4348f4a6-8254-4d88-b39b-0b2323d095f5 2026-03-19 06:15:35,242 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/4f9359b4-6403-4cb9-8f70-f894c3dc87d6 2026-03-19 06:15:38,488 - 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 1005ms') 2026-03-19 06:15:38,488 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56051681-86891293 failed! 2026-03-19 06:15:38,507 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56051681:ctest-vn-74628655 is 167.58.216.65 and allocation pool is NOT set 2026-03-19 06:15:40,579 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.26 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 = 2.255/4.040/5.826/1.785 ms') 2026-03-19 06:15:40,579 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56051681-86891293 passed 2026-03-19 06:15:40,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 06:15:40,694 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56051681-86891293, IP 167.58.216.67, Port 22 2026-03-19 06:15:40,765 - 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-03-19 06:15:40,875 - DEBUG - VM ctest-TestRoutersBasic-56051681-86891293 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-19 06:15:45,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 06:15:45,876 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56051681-86891293, IP 167.58.216.67, Port 22 2026-03-19 06:15:46,050 - DEBUG - VM ctest-TestRoutersBasic-56051681-86891293 is ready for SSH connections 2026-03-19 06:15:46,051 - INFO - Waiting for VM ctest-TestRoutersBasic-56051681-51326999 to be up.. 2026-03-19 06:15:46,162 - DEBUG - VM is in ACTIVE state now 2026-03-19 06:15:46,162 - INFO - VM name : ctest-TestRoutersBasic-56051681-51326999 2026-03-19 06:15:46,269 - DEBUG - VM ctest-TestRoutersBasic-56051681-51326999 ID is c78345b1-5a77-4b31-a786-344c78c0d31b 2026-03-19 06:15:46,269 - DEBUG - VM ctest-TestRoutersBasic-56051681-51326999 launched on Node an-jenkins-deploy-platform-ansible-os-5495-1 2026-03-19 06:15:46,372 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c78345b1-5a77-4b31-a786-344c78c0d31b 2026-03-19 06:15:46,385 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d51737a3-ccd2-4a7c-b991-83709358b988 2026-03-19 06:15:47,595 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.508 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.508/1.816/3.124/1.308 ms') 2026-03-19 06:15:47,595 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56051681-51326999 passed 2026-03-19 06:15:47,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 06:15:47,717 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56051681-51326999, IP 212.25.141.195, Port 22 2026-03-19 06:15:47,883 - DEBUG - VM ctest-TestRoutersBasic-56051681-51326999 is ready for SSH connections 2026-03-19 06:15:47,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 06:15:47,883 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.25.141.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-03-19 06:15:47,883 - DEBUG - ping -s 56 -c 3 -W 1 212.25.141.195 2026-03-19 06:15:51,656 - DEBUG - PING 212.25.141.195 (212.25.141.195): 56 data bytes 64 bytes from 212.25.141.195: seq=0 ttl=62 time=10.078 ms 64 bytes from 212.25.141.195: seq=1 ttl=62 time=1.801 ms 64 bytes from 212.25.141.195: seq=2 ttl=62 time=2.595 ms --- 212.25.141.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.801/4.824/10.078 ms 2026-03-19 06:15:51,656 - INFO - Ping to IP 212.25.141.195 from VM ctest-TestRoutersBasic-56051681-86891293 passed 2026-03-19 06:15:51,656 - INFO - Deleting interface with subnet_id 35ab9c5d-3098-459b-be5a-34fe807e6e93, port_id None from router b55127ac-7637-4e19-af19-29dfbcf7fad7 2026-03-19 06:15:52,201 - INFO - Deleting VM ctest-TestRoutersBasic-56051681-51326999 2026-03-19 06:15:52,477 - INFO - Deleting VM ctest-TestRoutersBasic-56051681-86891293 2026-03-19 06:15:52,726 - INFO - Deleting VN ctest-ext_vn-53736847 2026-03-19 06:15:52,902 - DEBUG - VN 29b378b7-5664-44e3-a173-d622c56c64d2 still in use: Unable to complete operation on network 29b378b7-5664-44e3-a173-d622c56c64d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-982ed9de-8a75-4fb1-9261-e25077e13be2'] 2026-03-19 06:15:52,902 - WARNING - Deleting VN ctest-ext_vn-53736847 failed..Will retry 2026-03-19 06:15:55,136 - DEBUG - Response for deleting network () 2026-03-19 06:15:55,137 - INFO - Deleting VN ctest-vn-74628655 2026-03-19 06:15:55,366 - DEBUG - Response for deleting network () 2026-03-19 06:15:56,721 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 06:15:56,721 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35]
2026-03-19 06:15:56,722 - INFO - -------------------------------------------------------------------------------- 2026-03-19 06:15:57,522 - INFO - Deleted project: ctest-TestRoutersBasic-56051681, ID : 17d1c0d3-c740-4508-8cc7-c43d669ee3e0