2025-08-14 02:17:47,999 - INFO - Domain Default found not creating 2025-08-14 02:17:48,129 - INFO - Project ctest-TestRoutersBasic-52888186 not found, creating it 2025-08-14 02:17:48,665 - INFO - Created Project:ctest-TestRoutersBasic-52888186, ID : 9221a9e5-53c9-4ed7-aab5-b5a881579867 2025-08-14 02:17:49,992 - INFO - ================================================================================ 2025-08-14 02:17:49,992 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-14 02:17:49,992 - 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-08-14 02:17:51,263 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.193': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.25': '0'}} with 2025-08-14 02:17:51,263 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:17:51,263 - INFO - 2025-08-14 02:17:51,979 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52888186 2025-08-14 02:17:52,036 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52888186 2025-08-14 02:17:52,344 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52888186', 'default']} 2025-08-14 02:17:52,743 - DEBUG - Response for create_network : {'network': {'id': '0295d551-fbf2-4f2a-9065-c19f77f13f64', 'name': 'ctest-vn-86854156', 'tenant_id': '9221a9e553c94ed7aab5b5a881579867', 'project_id': '9221a9e553c94ed7aab5b5a881579867', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52888186', 'ctest-vn-86854156'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:17:53,001 - DEBUG - Response for create_subnet : {'subnet': {'id': '64ed601d-c019-495b-8125-e248f1c0894c', 'name': '', 'tenant_id': '9221a9e553c94ed7aab5b5a881579867', 'network_id': '0295d551-fbf2-4f2a-9065-c19f77f13f64', 'ip_version': 4, 'cidr': '62.135.188.64/26', 'allocation_pools': [{'start': '62.135.188.66', 'end': '62.135.188.126'}], 'gateway_ip': '62.135.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.135.188.66', 'tags': [], 'project_id': '9221a9e553c94ed7aab5b5a881579867'}} 2025-08-14 02:17:53,020 - INFO - Created VN ctest-vn-86854156 2025-08-14 02:17:53,036 - DEBUG - VN ctest-vn-86854156 UUID is 0295d551-fbf2-4f2a-9065-c19f77f13f64 2025-08-14 02:17:53,421 - DEBUG - Response for create_network : {'network': {'id': '53b6c20b-643b-41de-bb1f-38232fbba522', 'name': 'ctest-ext_vn-44886608', 'tenant_id': '9221a9e553c94ed7aab5b5a881579867', 'project_id': '9221a9e553c94ed7aab5b5a881579867', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52888186', 'ctest-ext_vn-44886608'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:17:53,679 - DEBUG - Response for create_subnet : {'subnet': {'id': '71f800a8-cb39-4115-9639-18ef2fec1375', 'name': '', 'tenant_id': '9221a9e553c94ed7aab5b5a881579867', 'network_id': '53b6c20b-643b-41de-bb1f-38232fbba522', 'ip_version': 4, 'cidr': '12.245.163.192/26', 'allocation_pools': [{'start': '12.245.163.194', 'end': '12.245.163.254'}], 'gateway_ip': '12.245.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.245.163.194', 'tags': [], 'project_id': '9221a9e553c94ed7aab5b5a881579867'}} 2025-08-14 02:17:53,699 - INFO - Created VN ctest-ext_vn-44886608 2025-08-14 02:17:53,710 - DEBUG - VN ctest-ext_vn-44886608 UUID is 53b6c20b-643b-41de-bb1f-38232fbba522 2025-08-14 02:17:53,867 - DEBUG - Services list from nova: [, , , ] 2025-08-14 02:17:54,814 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-2) 2025-08-14 02:17:56,133 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3851-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3851-1) 2025-08-14 02:17:56,256 - INFO - Setting gateway for router 61badd43-222c-447a-a1d8-cc5d26d67832 to network 53b6c20b-643b-41de-bb1f-38232fbba522 2025-08-14 02:17:56,359 - INFO - Adding interface with subnet_id 64ed601d-c019-495b-8125-e248f1c0894c, port_id None to router 61badd43-222c-447a-a1d8-cc5d26d67832 2025-08-14 02:17:57,113 - INFO - Waiting for VM ctest-TestRoutersBasic-52888186-92422980 to be up.. 2025-08-14 02:17:57,289 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:17:57,289 - INFO - VM name : ctest-TestRoutersBasic-52888186-92422980 2025-08-14 02:17:57,482 - DEBUG - VM ctest-TestRoutersBasic-52888186-92422980 ID is 519f5395-bfa8-4d68-84a0-cbd622096b16 2025-08-14 02:17:57,515 - DEBUG - VM ctest-TestRoutersBasic-52888186-92422980 launched on Node an-jenkins-deploy-platform-ansible-os-3851-2 2025-08-14 02:17:57,651 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/519f5395-bfa8-4d68-84a0-cbd622096b16 2025-08-14 02:17:58,304 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/519f5395-bfa8-4d68-84a0-cbd622096b16 2025-08-14 02:17:58,388 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ed84af5a-a7a5-43ba-81e6-1729ce66e39f 2025-08-14 02:18:01,611 - 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 1028ms') 2025-08-14 02:18:01,611 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52888186-92422980 failed! 2025-08-14 02:18:01,630 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52888186:ctest-vn-86854156 is 62.135.188.65 and allocation pool is NOT set 2025-08-14 02:18:05,709 - 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=4.30 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 = 4.302/4.302/4.302/0.000 ms') 2025-08-14 02:18:05,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52888186-92422980 passed 2025-08-14 02:18:05,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:18:05,776 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52888186-92422980, IP 62.135.188.67, Port 22 2025-08-14 02:18:05,830 - 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-08-14 02:18:05,903 - DEBUG - VM ctest-TestRoutersBasic-52888186-92422980 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-14 02:18:10,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:18:10,904 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52888186-92422980, IP 62.135.188.67, Port 22 2025-08-14 02:18:11,062 - DEBUG - VM ctest-TestRoutersBasic-52888186-92422980 is ready for SSH connections 2025-08-14 02:18:11,062 - INFO - Waiting for VM ctest-TestRoutersBasic-52888186-35423174 to be up.. 2025-08-14 02:18:11,140 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:18:11,140 - INFO - VM name : ctest-TestRoutersBasic-52888186-35423174 2025-08-14 02:18:11,210 - DEBUG - VM ctest-TestRoutersBasic-52888186-35423174 ID is a2c2344a-33b2-4b9a-bfa1-254ed4d06619 2025-08-14 02:18:11,210 - DEBUG - VM ctest-TestRoutersBasic-52888186-35423174 launched on Node an-jenkins-deploy-platform-ansible-os-3851-1 2025-08-14 02:18:11,281 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a2c2344a-33b2-4b9a-bfa1-254ed4d06619 2025-08-14 02:18:11,292 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/7ce010fd-5871-4a4f-a285-3a805aefbea4 2025-08-14 02:18:12,448 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.313 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.313/1.499/2.686/1.186 ms') 2025-08-14 02:18:12,448 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52888186-35423174 passed 2025-08-14 02:18:12,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:18:12,516 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52888186-35423174, IP 12.245.163.195, Port 22 2025-08-14 02:18:12,666 - DEBUG - VM ctest-TestRoutersBasic-52888186-35423174 is ready for SSH connections 2025-08-14 02:18:12,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:18:12,667 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 12.245.163.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-08-14 02:18:12,667 - DEBUG - ping -s 56 -c 3 -W 1 12.245.163.195 2025-08-14 02:18:16,274 - DEBUG - PING 12.245.163.195 (12.245.163.195): 56 data bytes 64 bytes from 12.245.163.195: seq=0 ttl=62 time=9.267 ms 64 bytes from 12.245.163.195: seq=1 ttl=62 time=1.075 ms 64 bytes from 12.245.163.195: seq=2 ttl=62 time=1.266 ms --- 12.245.163.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.075/3.869/9.267 ms 2025-08-14 02:18:16,275 - INFO - Ping to IP 12.245.163.195 from VM ctest-TestRoutersBasic-52888186-92422980 passed 2025-08-14 02:18:16,275 - INFO - Deleting interface with subnet_id 64ed601d-c019-495b-8125-e248f1c0894c, port_id None from router 61badd43-222c-447a-a1d8-cc5d26d67832 2025-08-14 02:18:16,585 - INFO - Deleting VM ctest-TestRoutersBasic-52888186-35423174 2025-08-14 02:18:16,679 - INFO - Deleting VM ctest-TestRoutersBasic-52888186-92422980 2025-08-14 02:18:16,756 - INFO - Deleting VN ctest-ext_vn-44886608 2025-08-14 02:18:16,903 - DEBUG - VN 53b6c20b-643b-41de-bb1f-38232fbba522 still in use: Unable to complete operation on network 53b6c20b-643b-41de-bb1f-38232fbba522. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-360ab196-78e7-4e82-933b-dbe64e9f1903'] 2025-08-14 02:18:16,903 - WARNING - Deleting VN ctest-ext_vn-44886608 failed..Will retry 2025-08-14 02:18:19,049 - DEBUG - Response for deleting network () 2025-08-14 02:18:19,049 - INFO - Deleting VN ctest-vn-86854156 2025-08-14 02:18:19,191 - DEBUG - Response for deleting network () 2025-08-14 02:18:20,434 - DEBUG - No XMPP flaps were noticed during the test
2025-08-14 02:18:20,435 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-08-14 02:18:20,435 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:18:21,123 - INFO - Deleted project: ctest-TestRoutersBasic-52888186, ID : 9221a9e5-53c9-4ed7-aab5-b5a881579867