2026-06-04 06:34:34,206 - INFO - Domain Default found not creating 2026-06-04 06:34:34,407 - INFO - Project ctest-TestRoutersBasic-10668938 not found, creating it 2026-06-04 06:34:35,008 - INFO - Created Project:ctest-TestRoutersBasic-10668938, ID : 7135cd04-0db5-451c-abd3-90d558955a8e 2026-06-04 06:34:36,564 - INFO - ================================================================================ 2026-06-04 06:34:36,564 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-04 06:34:36,564 - 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-06-04 06:34:37,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0', '10.20.0.17': '0'}, '10.0.0.22': {'10.20.0.14': '0', '10.20.0.17': '0'}} with 2026-06-04 06:34:37,845 - INFO - Initial checks done. Running the testcase now 2026-06-04 06:34:37,845 - INFO - 2026-06-04 06:34:38,708 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-10668938 2026-06-04 06:34:38,768 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-10668938 2026-06-04 06:34:39,111 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10668938', 'default']} 2026-06-04 06:34:39,668 - DEBUG - Response for create_network : {'network': {'id': 'd812cb27-f30f-4ce4-af53-3dd3389c82eb', 'name': 'ctest-vn-30120625', 'tenant_id': '7135cd040db5451cabd390d558955a8e', 'project_id': '7135cd040db5451cabd390d558955a8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10668938', 'ctest-vn-30120625'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 06:34:40,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '2dfa569a-befd-4422-a9f5-7847ac4720fe', 'name': '', 'tenant_id': '7135cd040db5451cabd390d558955a8e', 'network_id': 'd812cb27-f30f-4ce4-af53-3dd3389c82eb', 'ip_version': 4, 'cidr': '178.195.159.0/26', 'allocation_pools': [{'start': '178.195.159.2', 'end': '178.195.159.62'}], 'gateway_ip': '178.195.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.195.159.2', 'tags': [], 'project_id': '7135cd040db5451cabd390d558955a8e'}} 2026-06-04 06:34:40,103 - INFO - Created VN ctest-vn-30120625 2026-06-04 06:34:40,120 - DEBUG - VN ctest-vn-30120625 UUID is d812cb27-f30f-4ce4-af53-3dd3389c82eb 2026-06-04 06:34:40,711 - DEBUG - Response for create_network : {'network': {'id': 'efc0debd-b657-4078-97f1-124ae7514400', 'name': 'ctest-ext_vn-00034964', 'tenant_id': '7135cd040db5451cabd390d558955a8e', 'project_id': '7135cd040db5451cabd390d558955a8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-10668938', 'ctest-ext_vn-00034964'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 06:34:40,976 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c55ca903-5536-4550-890a-095480198c9a', 'name': '', 'tenant_id': '7135cd040db5451cabd390d558955a8e', 'network_id': 'efc0debd-b657-4078-97f1-124ae7514400', 'ip_version': 4, 'cidr': '204.36.150.64/26', 'allocation_pools': [{'start': '204.36.150.66', 'end': '204.36.150.126'}], 'gateway_ip': '204.36.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.36.150.66', 'tags': [], 'project_id': '7135cd040db5451cabd390d558955a8e'}} 2026-06-04 06:34:41,017 - INFO - Created VN ctest-ext_vn-00034964 2026-06-04 06:34:41,033 - DEBUG - VN ctest-ext_vn-00034964 UUID is efc0debd-b657-4078-97f1-124ae7514400 2026-06-04 06:34:41,229 - DEBUG - Services list from nova: [, , , ] 2026-06-04 06:34:42,381 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5888-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5888-2) 2026-06-04 06:34:43,983 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5888-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5888-1) 2026-06-04 06:34:44,119 - INFO - Setting gateway for router 9c641e89-a99f-47f6-b0a4-9c12fce890cf to network efc0debd-b657-4078-97f1-124ae7514400 2026-06-04 06:34:44,206 - INFO - Adding interface with subnet_id 2dfa569a-befd-4422-a9f5-7847ac4720fe, port_id None to router 9c641e89-a99f-47f6-b0a4-9c12fce890cf 2026-06-04 06:34:44,817 - INFO - Waiting for VM ctest-TestRoutersBasic-10668938-13639998 to be up.. 2026-06-04 06:34:45,012 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 06:34:50,139 - DEBUG - VM is in ACTIVE state now 2026-06-04 06:34:50,139 - INFO - VM name : ctest-TestRoutersBasic-10668938-13639998 2026-06-04 06:34:50,243 - DEBUG - VM ctest-TestRoutersBasic-10668938-13639998 ID is 18e382dc-c251-4608-93af-afdd0de98d98 2026-06-04 06:34:50,269 - DEBUG - VM ctest-TestRoutersBasic-10668938-13639998 launched on Node an-jenkins-deploy-platform-ansible-os-5888-2 2026-06-04 06:34:50,367 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/18e382dc-c251-4608-93af-afdd0de98d98 2026-06-04 06:34:50,675 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/18e382dc-c251-4608-93af-afdd0de98d98 2026-06-04 06:34:50,716 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/faad0272-ef8b-45c3-a79f-1e75c235a828 2026-06-04 06:34:53,889 - 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 1002ms') 2026-06-04 06:34:53,889 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10668938-13639998 failed! 2026-06-04 06:34:53,910 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-10668938:ctest-vn-30120625 is 178.195.159.1 and allocation pool is NOT set 2026-06-04 06:34:55,972 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.509 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.509/2.771/5.034/2.262 ms') 2026-06-04 06:34:55,972 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10668938-13639998 passed 2026-06-04 06:34:56,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 06:34:56,051 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10668938-13639998, IP 178.195.159.3, Port 22 2026-06-04 06:34:56,224 - DEBUG - VM ctest-TestRoutersBasic-10668938-13639998 is ready for SSH connections 2026-06-04 06:34:56,224 - INFO - Waiting for VM ctest-TestRoutersBasic-10668938-99144593 to be up.. 2026-06-04 06:34:56,340 - DEBUG - VM is in ACTIVE state now 2026-06-04 06:34:56,341 - INFO - VM name : ctest-TestRoutersBasic-10668938-99144593 2026-06-04 06:34:56,451 - DEBUG - VM ctest-TestRoutersBasic-10668938-99144593 ID is a3f75e87-3724-4850-8cae-0088ca78c1bb 2026-06-04 06:34:56,451 - DEBUG - VM ctest-TestRoutersBasic-10668938-99144593 launched on Node an-jenkins-deploy-platform-ansible-os-5888-1 2026-06-04 06:34:56,576 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a3f75e87-3724-4850-8cae-0088ca78c1bb 2026-06-04 06:34:56,588 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/c93e1424-f383-4a2e-b35a-7fa8cabf72b3 2026-06-04 06:34:57,775 - 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=4.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.02 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 = 2.020/3.270/4.521/1.250 ms') 2026-06-04 06:34:57,775 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-10668938-99144593 passed 2026-06-04 06:34:57,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 06:34:57,851 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10668938-99144593, IP 204.36.150.67, Port 22 2026-06-04 06:34:57,911 - 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-06-04 06:34:58,013 - DEBUG - VM ctest-TestRoutersBasic-10668938-99144593 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 06:35:03,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 06:35:03,014 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-10668938-99144593, IP 204.36.150.67, Port 22 2026-06-04 06:35:03,171 - DEBUG - VM ctest-TestRoutersBasic-10668938-99144593 is ready for SSH connections 2026-06-04 06:35:03,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 06:35:03,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 204.36.150.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-06-04 06:35:03,171 - DEBUG - ping -s 56 -c 3 -W 1 204.36.150.67 2026-06-04 06:35:06,891 - DEBUG - PING 204.36.150.67 (204.36.150.67): 56 data bytes 64 bytes from 204.36.150.67: seq=0 ttl=62 time=8.527 ms 64 bytes from 204.36.150.67: seq=1 ttl=62 time=1.549 ms 64 bytes from 204.36.150.67: seq=2 ttl=62 time=1.659 ms --- 204.36.150.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.549/3.911/8.527 ms 2026-06-04 06:35:06,891 - INFO - Ping to IP 204.36.150.67 from VM ctest-TestRoutersBasic-10668938-13639998 passed 2026-06-04 06:35:06,891 - INFO - Deleting interface with subnet_id 2dfa569a-befd-4422-a9f5-7847ac4720fe, port_id None from router 9c641e89-a99f-47f6-b0a4-9c12fce890cf 2026-06-04 06:35:07,413 - INFO - Deleting VM ctest-TestRoutersBasic-10668938-99144593 2026-06-04 06:35:07,494 - INFO - Deleting VM ctest-TestRoutersBasic-10668938-13639998 2026-06-04 06:35:07,652 - INFO - Deleting VN ctest-ext_vn-00034964 2026-06-04 06:35:07,837 - DEBUG - VN efc0debd-b657-4078-97f1-124ae7514400 still in use: Unable to complete operation on network efc0debd-b657-4078-97f1-124ae7514400. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d4d78f0-d1de-43aa-b5dd-c590531b27b0'] 2026-06-04 06:35:07,837 - WARNING - Deleting VN ctest-ext_vn-00034964 failed..Will retry 2026-06-04 06:35:10,053 - DEBUG - Response for deleting network () 2026-06-04 06:35:10,054 - INFO - Deleting VN ctest-vn-30120625 2026-06-04 06:35:10,318 - DEBUG - Response for deleting network () 2026-06-04 06:35:11,639 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 06:35:11,639 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:35]
2026-06-04 06:35:11,639 - INFO - -------------------------------------------------------------------------------- 2026-06-04 06:35:12,510 - INFO - Deleted project: ctest-TestRoutersBasic-10668938, ID : 7135cd04-0db5-451c-abd3-90d558955a8e