2026-03-30 04:16:40,864 - INFO - Domain Default found not creating 2026-03-30 04:16:41,081 - INFO - Project ctest-TestRoutersBasic-49480782 not found, creating it 2026-03-30 04:16:41,742 - INFO - Created Project:ctest-TestRoutersBasic-49480782, ID : a854b17e-16d5-4f27-8c70-67aa0e7e1872 2026-03-30 04:16:43,566 - INFO - ================================================================================ 2026-03-30 04:16:43,566 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-03-30 04:16:43,566 - 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-30 04:16:44,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.27': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2026-03-30 04:16:44,900 - INFO - Initial checks done. Running the testcase now 2026-03-30 04:16:44,901 - INFO - 2026-03-30 04:16:45,761 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-49480782 2026-03-30 04:16:45,825 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-49480782 2026-03-30 04:16:46,197 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49480782', 'default']} 2026-03-30 04:16:46,694 - DEBUG - Response for create_network : {'network': {'id': 'c2c9769f-1652-45a3-a864-49f3a8b5e1a6', 'name': 'ctest-vn-62605392', 'tenant_id': 'a854b17e16d54f278c7067aa0e7e1872', 'project_id': 'a854b17e16d54f278c7067aa0e7e1872', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49480782', 'ctest-vn-62605392'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 04:16:47,029 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e2c4881-416b-43ad-833c-105657969b9b', 'name': '', 'tenant_id': 'a854b17e16d54f278c7067aa0e7e1872', 'network_id': 'c2c9769f-1652-45a3-a864-49f3a8b5e1a6', 'ip_version': 4, 'cidr': '57.99.100.0/26', 'allocation_pools': [{'start': '57.99.100.2', 'end': '57.99.100.62'}], 'gateway_ip': '57.99.100.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.99.100.2', 'tags': [], 'project_id': 'a854b17e16d54f278c7067aa0e7e1872'}} 2026-03-30 04:16:47,061 - INFO - Created VN ctest-vn-62605392 2026-03-30 04:16:47,076 - DEBUG - VN ctest-vn-62605392 UUID is c2c9769f-1652-45a3-a864-49f3a8b5e1a6 2026-03-30 04:16:47,606 - DEBUG - Response for create_network : {'network': {'id': 'ba54666c-aac8-468b-b48c-bba95156b088', 'name': 'ctest-ext_vn-22774012', 'tenant_id': 'a854b17e16d54f278c7067aa0e7e1872', 'project_id': 'a854b17e16d54f278c7067aa0e7e1872', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-49480782', 'ctest-ext_vn-22774012'], 'port_security_enabled': True, 'description': ''}} 2026-03-30 04:16:47,864 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e206bfd6-9c0e-4226-88de-125d741197c0', 'name': '', 'tenant_id': 'a854b17e16d54f278c7067aa0e7e1872', 'network_id': 'ba54666c-aac8-468b-b48c-bba95156b088', 'ip_version': 4, 'cidr': '15.39.0.128/26', 'allocation_pools': [{'start': '15.39.0.130', 'end': '15.39.0.190'}], 'gateway_ip': '15.39.0.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.39.0.130', 'tags': [], 'project_id': 'a854b17e16d54f278c7067aa0e7e1872'}} 2026-03-30 04:16:47,904 - INFO - Created VN ctest-ext_vn-22774012 2026-03-30 04:16:47,922 - DEBUG - VN ctest-ext_vn-22774012 UUID is ba54666c-aac8-468b-b48c-bba95156b088 2026-03-30 04:16:48,092 - DEBUG - Services list from nova: [, , , ] 2026-03-30 04:16:49,246 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5563-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5563-1) 2026-03-30 04:16:50,742 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5563-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5563-2) 2026-03-30 04:16:50,897 - INFO - Setting gateway for router d335b19f-c918-4f5e-a853-713f7742b7d0 to network ba54666c-aac8-468b-b48c-bba95156b088 2026-03-30 04:16:50,983 - INFO - Adding interface with subnet_id 9e2c4881-416b-43ad-833c-105657969b9b, port_id None to router d335b19f-c918-4f5e-a853-713f7742b7d0 2026-03-30 04:16:51,511 - INFO - Waiting for VM ctest-TestRoutersBasic-49480782-57358243 to be up.. 2026-03-30 04:16:51,752 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-30 04:16:56,883 - DEBUG - VM is in ACTIVE state now 2026-03-30 04:16:56,883 - INFO - VM name : ctest-TestRoutersBasic-49480782-57358243 2026-03-30 04:16:56,997 - DEBUG - VM ctest-TestRoutersBasic-49480782-57358243 ID is 36387a6f-90b5-4bea-8eb6-f08d3d0b4732 2026-03-30 04:16:57,028 - DEBUG - VM ctest-TestRoutersBasic-49480782-57358243 launched on Node an-jenkins-deploy-platform-ansible-os-5563-1 2026-03-30 04:16:57,128 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/36387a6f-90b5-4bea-8eb6-f08d3d0b4732 2026-03-30 04:16:57,479 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/36387a6f-90b5-4bea-8eb6-f08d3d0b4732 2026-03-30 04:16:57,533 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/fb25899b-9fe1-4292-b29b-5edbc040ca62 2026-03-30 04:17:00,757 - 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=2 ttl=63 time=11.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 11.831/11.831/11.831/0.000 ms') 2026-03-30 04:17:00,757 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49480782-57358243 passed 2026-03-30 04:17:00,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 04:17:00,875 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49480782-57358243, IP 57.99.100.3, Port 22 2026-03-30 04:17:01,046 - DEBUG - VM ctest-TestRoutersBasic-49480782-57358243 is ready for SSH connections 2026-03-30 04:17:01,046 - INFO - Waiting for VM ctest-TestRoutersBasic-49480782-94723787 to be up.. 2026-03-30 04:17:01,179 - DEBUG - VM is in ACTIVE state now 2026-03-30 04:17:01,179 - INFO - VM name : ctest-TestRoutersBasic-49480782-94723787 2026-03-30 04:17:01,296 - DEBUG - VM ctest-TestRoutersBasic-49480782-94723787 ID is 9a488fba-41b6-488c-b79e-ce44cfd29026 2026-03-30 04:17:01,296 - DEBUG - VM ctest-TestRoutersBasic-49480782-94723787 launched on Node an-jenkins-deploy-platform-ansible-os-5563-2 2026-03-30 04:17:01,392 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/9a488fba-41b6-488c-b79e-ce44cfd29026 2026-03-30 04:17:01,404 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/270c006a-3f80-4b38-88db-862bb2fdb2b5 2026-03-30 04:17:02,627 - 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=10.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.55 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 = 3.550/7.061/10.572/3.511 ms') 2026-03-30 04:17:02,627 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-49480782-94723787 passed 2026-03-30 04:17:02,751 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 04:17:02,751 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49480782-94723787, IP 15.39.0.131, Port 22 2026-03-30 04:17:02,822 - 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-30 04:17:02,938 - DEBUG - VM ctest-TestRoutersBasic-49480782-94723787 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-30 04:17:07,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 04:17:07,939 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-49480782-94723787, IP 15.39.0.131, Port 22 2026-03-30 04:17:08,106 - DEBUG - VM ctest-TestRoutersBasic-49480782-94723787 is ready for SSH connections 2026-03-30 04:17:08,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-30 04:17:08,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.39.0.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-03-30 04:17:08,107 - DEBUG - ping -s 56 -c 3 -W 1 15.39.0.131 2026-03-30 04:17:11,877 - DEBUG - PING 15.39.0.131 (15.39.0.131): 56 data bytes 64 bytes from 15.39.0.131: seq=0 ttl=62 time=6.105 ms 64 bytes from 15.39.0.131: seq=1 ttl=62 time=1.312 ms 64 bytes from 15.39.0.131: seq=2 ttl=62 time=1.819 ms --- 15.39.0.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.312/3.078/6.105 ms 2026-03-30 04:17:11,877 - INFO - Ping to IP 15.39.0.131 from VM ctest-TestRoutersBasic-49480782-57358243 passed 2026-03-30 04:17:11,878 - INFO - Deleting interface with subnet_id 9e2c4881-416b-43ad-833c-105657969b9b, port_id None from router d335b19f-c918-4f5e-a853-713f7742b7d0 2026-03-30 04:17:12,364 - INFO - Deleting VM ctest-TestRoutersBasic-49480782-94723787 2026-03-30 04:17:12,560 - INFO - Deleting VM ctest-TestRoutersBasic-49480782-57358243 2026-03-30 04:17:12,782 - INFO - Deleting VN ctest-ext_vn-22774012 2026-03-30 04:17:12,922 - DEBUG - VN ba54666c-aac8-468b-b48c-bba95156b088 still in use: Unable to complete operation on network ba54666c-aac8-468b-b48c-bba95156b088. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b48a4543-6931-4cc9-b13f-a79ab7ff0043'] 2026-03-30 04:17:12,922 - WARNING - Deleting VN ctest-ext_vn-22774012 failed..Will retry 2026-03-30 04:17:15,123 - DEBUG - Response for deleting network () 2026-03-30 04:17:15,123 - INFO - Deleting VN ctest-vn-62605392 2026-03-30 04:17:15,387 - DEBUG - Response for deleting network () 2026-03-30 04:17:16,686 - DEBUG - No XMPP flaps were noticed during the test 2026-03-30 04:17:16,686 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33] 2026-03-30 04:17:16,687 - INFO - -------------------------------------------------------------------------------- 2026-03-30 04:17:17,516 - INFO - Deleted project: ctest-TestRoutersBasic-49480782, ID : a854b17e-16d5-4f27-8c70-67aa0e7e1872