2025-12-18 02:26:07,854 - INFO - Domain Default found not creating 2025-12-18 02:26:08,069 - INFO - Project ctest-TestRoutersBasic-03172097 not found, creating it 2025-12-18 02:26:08,649 - INFO - Created Project:ctest-TestRoutersBasic-03172097, ID : 03221714-2d68-4175-9830-6e294d9c6b5f 2025-12-18 02:26:10,416 - INFO - ================================================================================ 2025-12-18 02:26:10,416 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-18 02:26:10,417 - 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 2025-12-18 02:26:11,710 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.129': '0', '10.20.0.252': '0'}, '10.0.0.129': {'10.20.0.129': '0', '10.20.0.252': '0'}} with 2025-12-18 02:26:11,711 - INFO - Initial checks done. Running the testcase now 2025-12-18 02:26:11,711 - INFO - 2025-12-18 02:26:12,482 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-03172097 2025-12-18 02:26:12,540 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-03172097 2025-12-18 02:26:12,885 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03172097', 'default']} 2025-12-18 02:26:13,341 - DEBUG - Response for create_network : {'network': {'id': '2775ba84-a24e-4106-9853-b14520f56b14', 'name': 'ctest-vn-51929629', 'tenant_id': '032217142d68417598306e294d9c6b5f', 'project_id': '032217142d68417598306e294d9c6b5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03172097', 'ctest-vn-51929629'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:26:13,727 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e86b97b5-5a48-434a-bc18-e5b40826fb20', 'name': '', 'tenant_id': '032217142d68417598306e294d9c6b5f', 'network_id': '2775ba84-a24e-4106-9853-b14520f56b14', 'ip_version': 4, 'cidr': '107.251.65.192/26', 'allocation_pools': [{'start': '107.251.65.194', 'end': '107.251.65.254'}], 'gateway_ip': '107.251.65.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.251.65.194', 'tags': [], 'project_id': '032217142d68417598306e294d9c6b5f'}} 2025-12-18 02:26:13,755 - INFO - Created VN ctest-vn-51929629 2025-12-18 02:26:13,770 - DEBUG - VN ctest-vn-51929629 UUID is 2775ba84-a24e-4106-9853-b14520f56b14 2025-12-18 02:26:14,211 - DEBUG - Response for create_network : {'network': {'id': 'c62f2cea-c633-45aa-9f1b-86e9b00dd878', 'name': 'ctest-ext_vn-93684760', 'tenant_id': '032217142d68417598306e294d9c6b5f', 'project_id': '032217142d68417598306e294d9c6b5f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-03172097', 'ctest-ext_vn-93684760'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:26:14,442 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b26676a1-c0a5-4c81-9165-15e18049c2ca', 'name': '', 'tenant_id': '032217142d68417598306e294d9c6b5f', 'network_id': 'c62f2cea-c633-45aa-9f1b-86e9b00dd878', 'ip_version': 4, 'cidr': '177.178.180.0/26', 'allocation_pools': [{'start': '177.178.180.2', 'end': '177.178.180.62'}], 'gateway_ip': '177.178.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.178.180.2', 'tags': [], 'project_id': '032217142d68417598306e294d9c6b5f'}} 2025-12-18 02:26:14,467 - INFO - Created VN ctest-ext_vn-93684760 2025-12-18 02:26:14,480 - DEBUG - VN ctest-ext_vn-93684760 UUID is c62f2cea-c633-45aa-9f1b-86e9b00dd878 2025-12-18 02:26:14,629 - DEBUG - Services list from nova: [, , , ] 2025-12-18 02:26:15,785 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4903-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4903-1) 2025-12-18 02:26:17,194 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4903-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4903-2) 2025-12-18 02:26:17,306 - INFO - Setting gateway for router db459583-a72c-4bce-b6e3-e4e09e9a4e8f to network c62f2cea-c633-45aa-9f1b-86e9b00dd878 2025-12-18 02:26:17,448 - INFO - Adding interface with subnet_id e86b97b5-5a48-434a-bc18-e5b40826fb20, port_id None to router db459583-a72c-4bce-b6e3-e4e09e9a4e8f 2025-12-18 02:26:17,984 - INFO - Waiting for VM ctest-TestRoutersBasic-03172097-87112271 to be up.. 2025-12-18 02:26:18,169 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 02:26:23,264 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:26:23,264 - INFO - VM name : ctest-TestRoutersBasic-03172097-87112271 2025-12-18 02:26:23,356 - DEBUG - VM ctest-TestRoutersBasic-03172097-87112271 ID is 776ea43c-5885-4494-8f83-899c48642e26 2025-12-18 02:26:23,388 - DEBUG - VM ctest-TestRoutersBasic-03172097-87112271 launched on Node an-jenkins-deploy-platform-ansible-os-4903-1 2025-12-18 02:26:23,475 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/776ea43c-5885-4494-8f83-899c48642e26 2025-12-18 02:26:23,779 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/776ea43c-5885-4494-8f83-899c48642e26 2025-12-18 02:26:23,816 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/40fb234a-5b20-4b6d-98d3-0ee30675bdc8 2025-12-18 02:26:27,004 - 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 1022ms') 2025-12-18 02:26:27,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03172097-87112271 failed! 2025-12-18 02:26:27,022 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-03172097:ctest-vn-51929629 is 107.251.65.193 and allocation pool is NOT set 2025-12-18 02:26:29,089 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.580 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 = 0.580/2.097/3.614/1.517 ms') 2025-12-18 02:26:29,089 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03172097-87112271 passed 2025-12-18 02:26:29,159 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:26:29,159 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03172097-87112271, IP 107.251.65.195, Port 22 2025-12-18 02:26:29,318 - DEBUG - VM ctest-TestRoutersBasic-03172097-87112271 is ready for SSH connections 2025-12-18 02:26:29,318 - INFO - Waiting for VM ctest-TestRoutersBasic-03172097-57482440 to be up.. 2025-12-18 02:26:29,403 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:26:29,403 - INFO - VM name : ctest-TestRoutersBasic-03172097-57482440 2025-12-18 02:26:29,487 - DEBUG - VM ctest-TestRoutersBasic-03172097-57482440 ID is 1a66ddab-2a69-47a1-99c9-78dd9851bfb3 2025-12-18 02:26:29,488 - DEBUG - VM ctest-TestRoutersBasic-03172097-57482440 launched on Node an-jenkins-deploy-platform-ansible-os-4903-2 2025-12-18 02:26:29,576 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1a66ddab-2a69-47a1-99c9-78dd9851bfb3 2025-12-18 02:26:29,588 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/02a072c6-bdac-4e08-a33b-ef3f704cf84c 2025-12-18 02:26:32,788 - 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.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1025ms\r\nrtt min/avg/max/mdev = 11.336/11.336/11.336/0.000 ms') 2025-12-18 02:26:32,788 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-03172097-57482440 passed 2025-12-18 02:26:32,858 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:26:32,858 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03172097-57482440, IP 177.178.180.3, Port 22 2025-12-18 02:26:32,925 - 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': ''} 2025-12-18 02:26:33,015 - DEBUG - VM ctest-TestRoutersBasic-03172097-57482440 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 02:26:38,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:26:38,016 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-03172097-57482440, IP 177.178.180.3, Port 22 2025-12-18 02:26:38,190 - DEBUG - VM ctest-TestRoutersBasic-03172097-57482440 is ready for SSH connections 2025-12-18 02:26:38,190 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:26:38,190 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.178.180.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-12-18 02:26:38,191 - DEBUG - ping -s 56 -c 3 -W 1 177.178.180.3 2025-12-18 02:26:41,892 - DEBUG - PING 177.178.180.3 (177.178.180.3): 56 data bytes 64 bytes from 177.178.180.3: seq=0 ttl=62 time=8.883 ms 64 bytes from 177.178.180.3: seq=1 ttl=62 time=1.425 ms 64 bytes from 177.178.180.3: seq=2 ttl=62 time=1.756 ms --- 177.178.180.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.425/4.021/8.883 ms 2025-12-18 02:26:41,892 - INFO - Ping to IP 177.178.180.3 from VM ctest-TestRoutersBasic-03172097-87112271 passed 2025-12-18 02:26:41,892 - INFO - Deleting interface with subnet_id e86b97b5-5a48-434a-bc18-e5b40826fb20, port_id None from router db459583-a72c-4bce-b6e3-e4e09e9a4e8f 2025-12-18 02:26:42,281 - INFO - Deleting VM ctest-TestRoutersBasic-03172097-57482440 2025-12-18 02:26:42,445 - INFO - Deleting VM ctest-TestRoutersBasic-03172097-87112271 2025-12-18 02:26:42,617 - INFO - Deleting VN ctest-ext_vn-93684760 2025-12-18 02:26:42,838 - DEBUG - VN c62f2cea-c633-45aa-9f1b-86e9b00dd878 still in use: Unable to complete operation on network c62f2cea-c633-45aa-9f1b-86e9b00dd878. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a9de498-74fd-40cb-810f-2f3c0f407041'] 2025-12-18 02:26:42,838 - WARNING - Deleting VN ctest-ext_vn-93684760 failed..Will retry 2025-12-18 02:26:45,014 - DEBUG - Response for deleting network () 2025-12-18 02:26:45,014 - INFO - Deleting VN ctest-vn-51929629 2025-12-18 02:26:45,187 - DEBUG - Response for deleting network () 2025-12-18 02:26:46,504 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 02:26:46,504 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:36] 2025-12-18 02:26:46,504 - INFO - -------------------------------------------------------------------------------- 2025-12-18 02:26:47,267 - INFO - Deleted project: ctest-TestRoutersBasic-03172097, ID : 03221714-2d68-4175-9830-6e294d9c6b5f