2025-08-13 16:28:16,077 - INFO - Domain Default found not creating 2025-08-13 16:28:16,209 - INFO - Project ctest-TestRoutersBasic-63309762 not found, creating it 2025-08-13 16:28:16,649 - INFO - Created Project:ctest-TestRoutersBasic-63309762, ID : 7a681387-457a-42d1-9a2d-15ccf7584854 2025-08-13 16:28:18,028 - INFO - ================================================================================ 2025-08-13 16:28:18,028 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-13 16:28:18,028 - 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-13 16:28:18,285 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-13 16:28:18,285 - INFO - Initial checks done. Running the testcase now 2025-08-13 16:28:18,285 - INFO - 2025-08-13 16:28:18,989 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-63309762 2025-08-13 16:28:19,086 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-63309762 2025-08-13 16:28:19,418 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63309762', 'default']} 2025-08-13 16:28:19,691 - DEBUG - Response for create_network : {'network': {'id': 'cc7f4147-760f-45e3-99b6-717563dd3cb0', 'name': 'ctest-vn-30682194', 'tenant_id': '7a681387457a42d19a2d15ccf7584854', 'project_id': '7a681387457a42d19a2d15ccf7584854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63309762', 'ctest-vn-30682194'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:28:19,867 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f90f1f69-0352-49e6-99b0-9083412e0659', 'name': '', 'tenant_id': '7a681387457a42d19a2d15ccf7584854', 'network_id': 'cc7f4147-760f-45e3-99b6-717563dd3cb0', 'ip_version': 4, 'cidr': '98.1.245.128/26', 'allocation_pools': [{'start': '98.1.245.130', 'end': '98.1.245.190'}], 'gateway_ip': '98.1.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.1.245.130', 'tags': [], 'project_id': '7a681387457a42d19a2d15ccf7584854'}} 2025-08-13 16:28:19,881 - INFO - Created VN ctest-vn-30682194 2025-08-13 16:28:19,930 - DEBUG - VN ctest-vn-30682194 UUID is cc7f4147-760f-45e3-99b6-717563dd3cb0 2025-08-13 16:28:20,219 - DEBUG - Response for create_network : {'network': {'id': 'f3a0b5bd-8bab-4f72-8f58-b387d17c890d', 'name': 'ctest-ext_vn-92785078', 'tenant_id': '7a681387457a42d19a2d15ccf7584854', 'project_id': '7a681387457a42d19a2d15ccf7584854', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-63309762', 'ctest-ext_vn-92785078'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 16:28:20,406 - DEBUG - Response for create_subnet : {'subnet': {'id': '0691694f-5784-4338-acb6-cde075b3d0cc', 'name': '', 'tenant_id': '7a681387457a42d19a2d15ccf7584854', 'network_id': 'f3a0b5bd-8bab-4f72-8f58-b387d17c890d', 'ip_version': 4, 'cidr': '133.116.52.64/26', 'allocation_pools': [{'start': '133.116.52.66', 'end': '133.116.52.126'}], 'gateway_ip': '133.116.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.116.52.66', 'tags': [], 'project_id': '7a681387457a42d19a2d15ccf7584854'}} 2025-08-13 16:28:20,421 - INFO - Created VN ctest-ext_vn-92785078 2025-08-13 16:28:20,474 - DEBUG - VN ctest-ext_vn-92785078 UUID is f3a0b5bd-8bab-4f72-8f58-b387d17c890d 2025-08-13 16:28:20,637 - DEBUG - Services list from nova: [, , ] 2025-08-13 16:28:21,606 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3843-1) 2025-08-13 16:28:22,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3843-1) 2025-08-13 16:28:22,713 - INFO - Setting gateway for router 7118fa5c-79c1-4e80-97fc-1e85bec036ae to network f3a0b5bd-8bab-4f72-8f58-b387d17c890d 2025-08-13 16:28:22,775 - INFO - Adding interface with subnet_id f90f1f69-0352-49e6-99b0-9083412e0659, port_id None to router 7118fa5c-79c1-4e80-97fc-1e85bec036ae 2025-08-13 16:28:23,232 - INFO - Waiting for VM ctest-TestRoutersBasic-63309762-11292569 to be up.. 2025-08-13 16:28:23,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 16:28:28,479 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:28:28,479 - INFO - VM name : ctest-TestRoutersBasic-63309762-11292569 2025-08-13 16:28:28,542 - DEBUG - VM ctest-TestRoutersBasic-63309762-11292569 ID is 6b76c236-1fc1-4738-a8ad-93f35041255c 2025-08-13 16:28:28,558 - DEBUG - VM ctest-TestRoutersBasic-63309762-11292569 launched on Node cn-jenkins-deploy-platform-ansible-os-3843-1 2025-08-13 16:28:28,642 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6b76c236-1fc1-4738-a8ad-93f35041255c 2025-08-13 16:28:28,931 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6b76c236-1fc1-4738-a8ad-93f35041255c 2025-08-13 16:28:28,960 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8f91c52d-c9a5-4686-8cfb-5debfbd0014a 2025-08-13 16:28:32,224 - 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 1031ms') 2025-08-13 16:28:32,224 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63309762-11292569 failed! 2025-08-13 16:28:32,278 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-63309762:ctest-vn-30682194 is 98.1.245.129 and allocation pool is NOT set 2025-08-13 16:28:34,343 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.455 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.455/1.641/2.827/1.186 ms') 2025-08-13 16:28:34,343 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-63309762-11292569 passed 2025-08-13 16:28:34,498 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:28:34,498 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63309762-11292569, IP 98.1.245.131, Port 22 2025-08-13 16:28:34,658 - DEBUG - VM ctest-TestRoutersBasic-63309762-11292569 is ready for SSH connections 2025-08-13 16:28:34,658 - INFO - Waiting for VM ctest-TestRoutersBasic-63309762-00235059 to be up.. 2025-08-13 16:28:34,728 - DEBUG - VM is in ACTIVE state now 2025-08-13 16:28:34,728 - INFO - VM name : ctest-TestRoutersBasic-63309762-00235059 2025-08-13 16:28:34,794 - DEBUG - VM ctest-TestRoutersBasic-63309762-00235059 ID is ad11242a-02d8-49e5-89e0-8c53c613f4a3 2025-08-13 16:28:34,794 - DEBUG - VM ctest-TestRoutersBasic-63309762-00235059 launched on Node cn-jenkins-deploy-platform-ansible-os-3843-1 2025-08-13 16:28:34,861 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ad11242a-02d8-49e5-89e0-8c53c613f4a3 2025-08-13 16:28:34,869 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/111361d6-7834-4c16-a9e5-8738681e5001 2025-08-13 16:28:36,107 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.372 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.372/1.743/3.115/1.371 ms') 2025-08-13 16:28:36,107 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-63309762-00235059 passed 2025-08-13 16:28:36,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:28:36,254 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-63309762-00235059, IP 133.116.52.67, Port 22 2025-08-13 16:28:36,409 - DEBUG - VM ctest-TestRoutersBasic-63309762-00235059 is ready for SSH connections 2025-08-13 16:28:36,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 16:28:36,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.116.52.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-13 16:28:36,410 - DEBUG - ping -s 56 -c 3 -W 1 133.116.52.67 2025-08-13 16:28:40,071 - DEBUG - PING 133.116.52.67 (133.116.52.67): 56 data bytes 64 bytes from 133.116.52.67: seq=0 ttl=62 time=5.585 ms 64 bytes from 133.116.52.67: seq=1 ttl=62 time=1.038 ms 64 bytes from 133.116.52.67: seq=2 ttl=62 time=1.014 ms --- 133.116.52.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.014/2.545/5.585 ms 2025-08-13 16:28:40,071 - INFO - Ping to IP 133.116.52.67 from VM ctest-TestRoutersBasic-63309762-11292569 passed 2025-08-13 16:28:40,072 - INFO - Deleting interface with subnet_id f90f1f69-0352-49e6-99b0-9083412e0659, port_id None from router 7118fa5c-79c1-4e80-97fc-1e85bec036ae 2025-08-13 16:28:40,412 - INFO - Deleting VM ctest-TestRoutersBasic-63309762-00235059 2025-08-13 16:28:40,503 - INFO - Deleting VM ctest-TestRoutersBasic-63309762-11292569 2025-08-13 16:28:40,608 - INFO - Deleting VN ctest-ext_vn-92785078 2025-08-13 16:28:40,716 - DEBUG - VN f3a0b5bd-8bab-4f72-8f58-b387d17c890d still in use: Unable to complete operation on network f3a0b5bd-8bab-4f72-8f58-b387d17c890d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e148339a-b105-4531-aa11-c842199c6820'] 2025-08-13 16:28:40,716 - WARNING - Deleting VN ctest-ext_vn-92785078 failed..Will retry 2025-08-13 16:28:42,823 - DEBUG - Response for deleting network () 2025-08-13 16:28:42,823 - INFO - Deleting VN ctest-vn-30682194 2025-08-13 16:28:42,941 - DEBUG - Response for deleting network () 2025-08-13 16:28:43,200 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 16:28:43,200 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-13 16:28:43,200 - INFO - -------------------------------------------------------------------------------- 2025-08-13 16:28:43,863 - INFO - Deleted project: ctest-TestRoutersBasic-63309762, ID : 7a681387-457a-42d1-9a2d-15ccf7584854