2025-10-30 02:16:24,900 - INFO - Domain Default found not creating 2025-10-30 02:16:25,036 - INFO - Project ctest-TestRoutersBasic-55437528 not found, creating it 2025-10-30 02:16:25,484 - INFO - Created Project:ctest-TestRoutersBasic-55437528, ID : a947999b-8bf3-4dc1-a4eb-85bed48c6d1b 2025-10-30 02:16:26,856 - INFO - ================================================================================ 2025-10-30 02:16:26,856 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-30 02:16:26,856 - 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-10-30 02:16:27,119 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.249': '0'}} with 2025-10-30 02:16:27,119 - INFO - Initial checks done. Running the testcase now 2025-10-30 02:16:27,119 - INFO - 2025-10-30 02:16:27,795 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55437528 2025-10-30 02:16:27,895 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55437528 2025-10-30 02:16:28,211 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55437528', 'default']} 2025-10-30 02:16:28,500 - DEBUG - Response for create_network : {'network': {'id': 'e0e8ff50-bee1-42e6-ae27-12f832689ff5', 'name': 'ctest-vn-06181300', 'tenant_id': 'a947999b8bf34dc1a4eb85bed48c6d1b', 'project_id': 'a947999b8bf34dc1a4eb85bed48c6d1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55437528', 'ctest-vn-06181300'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:16:28,715 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0e57157-3efe-4290-8d48-7973e2f3d6c7', 'name': '', 'tenant_id': 'a947999b8bf34dc1a4eb85bed48c6d1b', 'network_id': 'e0e8ff50-bee1-42e6-ae27-12f832689ff5', 'ip_version': 4, 'cidr': '164.92.135.192/26', 'allocation_pools': [{'start': '164.92.135.194', 'end': '164.92.135.254'}], 'gateway_ip': '164.92.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.92.135.194', 'tags': [], 'project_id': 'a947999b8bf34dc1a4eb85bed48c6d1b'}} 2025-10-30 02:16:28,731 - INFO - Created VN ctest-vn-06181300 2025-10-30 02:16:28,783 - DEBUG - VN ctest-vn-06181300 UUID is e0e8ff50-bee1-42e6-ae27-12f832689ff5 2025-10-30 02:16:29,083 - DEBUG - Response for create_network : {'network': {'id': 'bd470a9b-832a-44e9-b6dd-6f63381e292b', 'name': 'ctest-ext_vn-95580628', 'tenant_id': 'a947999b8bf34dc1a4eb85bed48c6d1b', 'project_id': 'a947999b8bf34dc1a4eb85bed48c6d1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55437528', 'ctest-ext_vn-95580628'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 02:16:29,242 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3c0afc3-6c7a-40f4-8d5a-ebc8e5fa9668', 'name': '', 'tenant_id': 'a947999b8bf34dc1a4eb85bed48c6d1b', 'network_id': 'bd470a9b-832a-44e9-b6dd-6f63381e292b', 'ip_version': 4, 'cidr': '222.167.91.0/26', 'allocation_pools': [{'start': '222.167.91.2', 'end': '222.167.91.62'}], 'gateway_ip': '222.167.91.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.167.91.2', 'tags': [], 'project_id': 'a947999b8bf34dc1a4eb85bed48c6d1b'}} 2025-10-30 02:16:29,258 - INFO - Created VN ctest-ext_vn-95580628 2025-10-30 02:16:29,311 - DEBUG - VN ctest-ext_vn-95580628 UUID is bd470a9b-832a-44e9-b6dd-6f63381e292b 2025-10-30 02:16:29,510 - DEBUG - Services list from nova: [, , ] 2025-10-30 02:16:30,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4534-1) 2025-10-30 02:16:31,589 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4534-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4534-1) 2025-10-30 02:16:31,655 - INFO - Setting gateway for router ed5655e5-316c-4c01-b920-c403f90ea369 to network bd470a9b-832a-44e9-b6dd-6f63381e292b 2025-10-30 02:16:31,706 - INFO - Adding interface with subnet_id d0e57157-3efe-4290-8d48-7973e2f3d6c7, port_id None to router ed5655e5-316c-4c01-b920-c403f90ea369 2025-10-30 02:16:32,069 - INFO - Waiting for VM ctest-TestRoutersBasic-55437528-27306395 to be up.. 2025-10-30 02:16:32,238 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 02:16:37,308 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:16:37,309 - INFO - VM name : ctest-TestRoutersBasic-55437528-27306395 2025-10-30 02:16:37,372 - DEBUG - VM ctest-TestRoutersBasic-55437528-27306395 ID is a05992c0-4092-4a97-ace5-d1926ce2e3e3 2025-10-30 02:16:37,390 - DEBUG - VM ctest-TestRoutersBasic-55437528-27306395 launched on Node cn-jenkins-deploy-platform-ansible-os-4534-1 2025-10-30 02:16:37,472 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a05992c0-4092-4a97-ace5-d1926ce2e3e3 2025-10-30 02:16:37,762 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a05992c0-4092-4a97-ace5-d1926ce2e3e3 2025-10-30 02:16:37,790 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/096af487-86ef-448c-b5bf-3fb92072f577 2025-10-30 02:16:41,048 - 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 1024ms') 2025-10-30 02:16:41,048 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55437528-27306395 failed! 2025-10-30 02:16:41,103 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55437528:ctest-vn-06181300 is 164.92.135.193 and allocation pool is NOT set 2025-10-30 02:16:43,159 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 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.449/1.601/2.754/1.152 ms') 2025-10-30 02:16:43,159 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55437528-27306395 passed 2025-10-30 02:16:43,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:43,263 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55437528-27306395, IP 164.92.135.195, Port 22 2025-10-30 02:16:43,422 - DEBUG - VM ctest-TestRoutersBasic-55437528-27306395 is ready for SSH connections 2025-10-30 02:16:43,422 - INFO - Waiting for VM ctest-TestRoutersBasic-55437528-92709622 to be up.. 2025-10-30 02:16:43,502 - DEBUG - VM is in ACTIVE state now 2025-10-30 02:16:43,502 - INFO - VM name : ctest-TestRoutersBasic-55437528-92709622 2025-10-30 02:16:43,568 - DEBUG - VM ctest-TestRoutersBasic-55437528-92709622 ID is 99d18424-3331-4872-96c5-52f030a9cff1 2025-10-30 02:16:43,568 - DEBUG - VM ctest-TestRoutersBasic-55437528-92709622 launched on Node cn-jenkins-deploy-platform-ansible-os-4534-1 2025-10-30 02:16:43,635 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/99d18424-3331-4872-96c5-52f030a9cff1 2025-10-30 02:16:43,641 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/18f999c5-1e5a-4cc4-ab8c-7f11c7bb68fa 2025-10-30 02:16:44,867 - 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=2.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.401/1.673/2.945/1.272 ms') 2025-10-30 02:16:44,867 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55437528-92709622 passed 2025-10-30 02:16:45,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:45,015 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55437528-92709622, IP 222.167.91.3, Port 22 2025-10-30 02:16:45,170 - DEBUG - VM ctest-TestRoutersBasic-55437528-92709622 is ready for SSH connections 2025-10-30 02:16:45,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 02:16:45,170 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.167.91.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-30 02:16:45,170 - DEBUG - ping -s 56 -c 3 -W 1 222.167.91.3 2025-10-30 02:16:48,840 - DEBUG - PING 222.167.91.3 (222.167.91.3): 56 data bytes 64 bytes from 222.167.91.3: seq=0 ttl=62 time=5.218 ms 64 bytes from 222.167.91.3: seq=1 ttl=62 time=0.998 ms 64 bytes from 222.167.91.3: seq=2 ttl=62 time=0.984 ms --- 222.167.91.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.984/2.400/5.218 ms 2025-10-30 02:16:48,840 - INFO - Ping to IP 222.167.91.3 from VM ctest-TestRoutersBasic-55437528-27306395 passed 2025-10-30 02:16:48,840 - INFO - Deleting interface with subnet_id d0e57157-3efe-4290-8d48-7973e2f3d6c7, port_id None from router ed5655e5-316c-4c01-b920-c403f90ea369 2025-10-30 02:16:49,015 - INFO - Deleting VM ctest-TestRoutersBasic-55437528-92709622 2025-10-30 02:16:49,094 - INFO - Deleting VM ctest-TestRoutersBasic-55437528-27306395 2025-10-30 02:16:49,163 - INFO - Deleting VN ctest-ext_vn-95580628 2025-10-30 02:16:49,214 - DEBUG - VN bd470a9b-832a-44e9-b6dd-6f63381e292b still in use: Unable to complete operation on network bd470a9b-832a-44e9-b6dd-6f63381e292b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4118cfcd-e55b-40f2-9c95-42eb0fbf0872'] 2025-10-30 02:16:49,214 - WARNING - Deleting VN ctest-ext_vn-95580628 failed..Will retry 2025-10-30 02:16:51,301 - DEBUG - Response for deleting network () 2025-10-30 02:16:51,301 - INFO - Deleting VN ctest-vn-06181300 2025-10-30 02:16:51,390 - DEBUG - Response for deleting network () 2025-10-30 02:16:51,643 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 02:16:51,643 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-30 02:16:51,643 - INFO - -------------------------------------------------------------------------------- 2025-10-30 02:16:52,305 - INFO - Deleted project: ctest-TestRoutersBasic-55437528, ID : a947999b-8bf3-4dc1-a4eb-85bed48c6d1b