2026-02-02 02:21:37,576 - INFO - Domain Default found not creating 2026-02-02 02:21:37,738 - INFO - Project ctest-TestRoutersBasic-84319086 not found, creating it 2026-02-02 02:21:38,262 - INFO - Created Project:ctest-TestRoutersBasic-84319086, ID : d2918e2e-22e5-42b1-ac56-409512ab90ac 2026-02-02 02:21:39,832 - INFO - ================================================================================ 2026-02-02 02:21:39,832 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-02 02:21:39,832 - 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 02:21:41,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0', '10.20.0.193': '0'}, '10.0.0.65': {'10.20.0.193': '0', '10.20.0.129': '0'}} with 2026-02-02 02:21:41,119 - INFO - Initial checks done. Running the testcase now 2026-02-02 02:21:41,119 - INFO - 2026-02-02 02:21:41,869 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-84319086 2026-02-02 02:21:41,926 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-84319086 2026-02-02 02:21:42,283 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84319086', 'default']} 2026-02-02 02:21:42,733 - DEBUG - Response for create_network : {'network': {'id': 'b752b238-4b50-47e6-addb-8351b439fa56', 'name': 'ctest-vn-26860869', 'tenant_id': 'd2918e2e22e542b1ac56409512ab90ac', 'project_id': 'd2918e2e22e542b1ac56409512ab90ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84319086', 'ctest-vn-26860869'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:21:43,111 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f8178b3-1d51-44ef-b669-a3958f705ef6', 'name': '', 'tenant_id': 'd2918e2e22e542b1ac56409512ab90ac', 'network_id': 'b752b238-4b50-47e6-addb-8351b439fa56', 'ip_version': 4, 'cidr': '142.21.237.64/26', 'allocation_pools': [{'start': '142.21.237.66', 'end': '142.21.237.126'}], 'gateway_ip': '142.21.237.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.21.237.66', 'tags': [], 'project_id': 'd2918e2e22e542b1ac56409512ab90ac'}} 2026-02-02 02:21:43,143 - INFO - Created VN ctest-vn-26860869 2026-02-02 02:21:43,155 - DEBUG - VN ctest-vn-26860869 UUID is b752b238-4b50-47e6-addb-8351b439fa56 2026-02-02 02:21:43,577 - DEBUG - Response for create_network : {'network': {'id': 'ba1a172d-e649-4ef2-87d2-4771528a3e57', 'name': 'ctest-ext_vn-75215609', 'tenant_id': 'd2918e2e22e542b1ac56409512ab90ac', 'project_id': 'd2918e2e22e542b1ac56409512ab90ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-84319086', 'ctest-ext_vn-75215609'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 02:21:43,864 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef36caa1-4aab-4c73-ae08-e5cad06b1f4f', 'name': '', 'tenant_id': 'd2918e2e22e542b1ac56409512ab90ac', 'network_id': 'ba1a172d-e649-4ef2-87d2-4771528a3e57', 'ip_version': 4, 'cidr': '50.250.19.64/26', 'allocation_pools': [{'start': '50.250.19.66', 'end': '50.250.19.126'}], 'gateway_ip': '50.250.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.250.19.66', 'tags': [], 'project_id': 'd2918e2e22e542b1ac56409512ab90ac'}} 2026-02-02 02:21:43,889 - INFO - Created VN ctest-ext_vn-75215609 2026-02-02 02:21:43,902 - DEBUG - VN ctest-ext_vn-75215609 UUID is ba1a172d-e649-4ef2-87d2-4771528a3e57 2026-02-02 02:21:44,035 - DEBUG - Services list from nova: [, , , ] 2026-02-02 02:21:45,105 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5167-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5167-1) 2026-02-02 02:21:46,447 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5167-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5167-2) 2026-02-02 02:21:46,581 - INFO - Setting gateway for router cfa38f9d-8489-437a-9d95-0ece4b96f65f to network ba1a172d-e649-4ef2-87d2-4771528a3e57 2026-02-02 02:21:46,659 - INFO - Adding interface with subnet_id 3f8178b3-1d51-44ef-b669-a3958f705ef6, port_id None to router cfa38f9d-8489-437a-9d95-0ece4b96f65f 2026-02-02 02:21:47,211 - INFO - Waiting for VM ctest-TestRoutersBasic-84319086-02773040 to be up.. 2026-02-02 02:21:47,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 02:21:52,501 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:21:52,501 - INFO - VM name : ctest-TestRoutersBasic-84319086-02773040 2026-02-02 02:21:52,588 - DEBUG - VM ctest-TestRoutersBasic-84319086-02773040 ID is 014da34a-3b6c-4683-bf9d-579408c29a47 2026-02-02 02:21:52,613 - DEBUG - VM ctest-TestRoutersBasic-84319086-02773040 launched on Node an-jenkins-deploy-platform-ansible-os-5167-1 2026-02-02 02:21:52,704 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/014da34a-3b6c-4683-bf9d-579408c29a47 2026-02-02 02:21:53,013 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/014da34a-3b6c-4683-bf9d-579408c29a47 2026-02-02 02:21:53,048 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7b526d6c-a731-43f6-8401-2f7bb81d1343 2026-02-02 02:21:56,218 - 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 1012ms') 2026-02-02 02:21:56,218 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84319086-02773040 failed! 2026-02-02 02:21:56,234 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-84319086:ctest-vn-26860869 is 142.21.237.65 and allocation pool is NOT set 2026-02-02 02:21:58,304 - 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=2.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/1.722/2.992/1.270 ms') 2026-02-02 02:21:58,304 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84319086-02773040 passed 2026-02-02 02:21:58,374 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:21:58,374 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84319086-02773040, IP 142.21.237.67, Port 22 2026-02-02 02:21:58,536 - DEBUG - VM ctest-TestRoutersBasic-84319086-02773040 is ready for SSH connections 2026-02-02 02:21:58,536 - INFO - Waiting for VM ctest-TestRoutersBasic-84319086-83379402 to be up.. 2026-02-02 02:21:58,676 - DEBUG - VM is in ACTIVE state now 2026-02-02 02:21:58,676 - INFO - VM name : ctest-TestRoutersBasic-84319086-83379402 2026-02-02 02:21:58,762 - DEBUG - VM ctest-TestRoutersBasic-84319086-83379402 ID is 71b40e92-cfd3-4c38-852e-8bfba6f7bace 2026-02-02 02:21:58,763 - DEBUG - VM ctest-TestRoutersBasic-84319086-83379402 launched on Node an-jenkins-deploy-platform-ansible-os-5167-2 2026-02-02 02:21:58,858 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/71b40e92-cfd3-4c38-852e-8bfba6f7bace 2026-02-02 02:21:58,871 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/5c823603-8c51-40fc-9b16-c9240c5fd642 2026-02-02 02:22:00,035 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.51 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 = 3.509/3.720/3.931/0.211 ms') 2026-02-02 02:22:00,036 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-84319086-83379402 passed 2026-02-02 02:22:00,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:22:00,109 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84319086-83379402, IP 50.250.19.67, Port 22 2026-02-02 02:22:00,177 - 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-02-02 02:22:00,259 - DEBUG - VM ctest-TestRoutersBasic-84319086-83379402 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 02:22:05,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:22:05,260 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-84319086-83379402, IP 50.250.19.67, Port 22 2026-02-02 02:22:05,435 - DEBUG - VM ctest-TestRoutersBasic-84319086-83379402 is ready for SSH connections 2026-02-02 02:22:05,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 02:22:05,436 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.250.19.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-02 02:22:05,436 - DEBUG - ping -s 56 -c 3 -W 1 50.250.19.67 2026-02-02 02:22:09,145 - DEBUG - PING 50.250.19.67 (50.250.19.67): 56 data bytes 64 bytes from 50.250.19.67: seq=0 ttl=62 time=10.805 ms 64 bytes from 50.250.19.67: seq=1 ttl=62 time=1.295 ms 64 bytes from 50.250.19.67: seq=2 ttl=62 time=1.363 ms --- 50.250.19.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.295/4.487/10.805 ms 2026-02-02 02:22:09,145 - INFO - Ping to IP 50.250.19.67 from VM ctest-TestRoutersBasic-84319086-02773040 passed 2026-02-02 02:22:09,146 - INFO - Deleting interface with subnet_id 3f8178b3-1d51-44ef-b669-a3958f705ef6, port_id None from router cfa38f9d-8489-437a-9d95-0ece4b96f65f 2026-02-02 02:22:09,503 - INFO - Deleting VM ctest-TestRoutersBasic-84319086-83379402 2026-02-02 02:22:09,629 - INFO - Deleting VM ctest-TestRoutersBasic-84319086-02773040 2026-02-02 02:22:09,739 - INFO - Deleting VN ctest-ext_vn-75215609 2026-02-02 02:22:09,942 - DEBUG - VN ba1a172d-e649-4ef2-87d2-4771528a3e57 still in use: Unable to complete operation on network ba1a172d-e649-4ef2-87d2-4771528a3e57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72983100-4d1c-43bb-a615-46397c697c4a'] 2026-02-02 02:22:09,942 - WARNING - Deleting VN ctest-ext_vn-75215609 failed..Will retry 2026-02-02 02:22:12,138 - DEBUG - Response for deleting network () 2026-02-02 02:22:12,138 - INFO - Deleting VN ctest-vn-26860869 2026-02-02 02:22:12,326 - DEBUG - Response for deleting network () 2026-02-02 02:22:13,605 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 02:22:13,605 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-02-02 02:22:13,605 - INFO - -------------------------------------------------------------------------------- 2026-02-02 02:22:14,555 - INFO - Deleted project: ctest-TestRoutersBasic-84319086, ID : d2918e2e-22e5-42b1-ac56-409512ab90ac