2025-11-05 08:17:30,188 - INFO - Domain Default found not creating 2025-11-05 08:17:30,356 - INFO - Project ctest-TestRoutersBasic-38958230 not found, creating it 2025-11-05 08:17:30,846 - INFO - Created Project:ctest-TestRoutersBasic-38958230, ID : 14b2c9a7-023d-4bc1-bdca-cf132d440f19 2025-11-05 08:17:32,270 - INFO - ================================================================================ 2025-11-05 08:17:32,270 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-05 08:17:32,270 - 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-11-05 08:17:32,523 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-11-05 08:17:32,523 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:17:32,523 - INFO - 2025-11-05 08:17:33,223 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38958230 2025-11-05 08:17:33,318 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38958230 2025-11-05 08:17:33,638 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38958230', 'default']} 2025-11-05 08:17:33,957 - DEBUG - Response for create_network : {'network': {'id': 'a4db07df-d762-451c-af27-06abd968016e', 'name': 'ctest-vn-88876526', 'tenant_id': '14b2c9a7023d4bc1bdcacf132d440f19', 'project_id': '14b2c9a7023d4bc1bdcacf132d440f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38958230', 'ctest-vn-88876526'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:17:34,191 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e259833e-c33c-4152-bc88-3de2e6d5c082', 'name': '', 'tenant_id': '14b2c9a7023d4bc1bdcacf132d440f19', 'network_id': 'a4db07df-d762-451c-af27-06abd968016e', 'ip_version': 4, 'cidr': '72.204.95.0/26', 'allocation_pools': [{'start': '72.204.95.2', 'end': '72.204.95.62'}], 'gateway_ip': '72.204.95.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.204.95.2', 'tags': [], 'project_id': '14b2c9a7023d4bc1bdcacf132d440f19'}} 2025-11-05 08:17:34,208 - INFO - Created VN ctest-vn-88876526 2025-11-05 08:17:34,258 - DEBUG - VN ctest-vn-88876526 UUID is a4db07df-d762-451c-af27-06abd968016e 2025-11-05 08:17:34,629 - DEBUG - Response for create_network : {'network': {'id': '5c997188-a3fa-44b2-869d-d553c206583e', 'name': 'ctest-ext_vn-56155822', 'tenant_id': '14b2c9a7023d4bc1bdcacf132d440f19', 'project_id': '14b2c9a7023d4bc1bdcacf132d440f19', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38958230', 'ctest-ext_vn-56155822'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:17:34,819 - DEBUG - Response for create_subnet : {'subnet': {'id': '6aac8ca5-ba1f-4958-8597-5e7fbab085bd', 'name': '', 'tenant_id': '14b2c9a7023d4bc1bdcacf132d440f19', 'network_id': '5c997188-a3fa-44b2-869d-d553c206583e', 'ip_version': 4, 'cidr': '222.163.57.0/26', 'allocation_pools': [{'start': '222.163.57.2', 'end': '222.163.57.62'}], 'gateway_ip': '222.163.57.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.163.57.2', 'tags': [], 'project_id': '14b2c9a7023d4bc1bdcacf132d440f19'}} 2025-11-05 08:17:34,839 - INFO - Created VN ctest-ext_vn-56155822 2025-11-05 08:17:34,894 - DEBUG - VN ctest-ext_vn-56155822 UUID is 5c997188-a3fa-44b2-869d-d553c206583e 2025-11-05 08:17:35,058 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:17:36,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4632-1) 2025-11-05 08:17:37,266 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4632-1) 2025-11-05 08:17:37,338 - INFO - Setting gateway for router 6639ffa1-4107-4bee-ae2b-b2f5726057e8 to network 5c997188-a3fa-44b2-869d-d553c206583e 2025-11-05 08:17:37,422 - INFO - Adding interface with subnet_id e259833e-c33c-4152-bc88-3de2e6d5c082, port_id None to router 6639ffa1-4107-4bee-ae2b-b2f5726057e8 2025-11-05 08:17:37,770 - INFO - Waiting for VM ctest-TestRoutersBasic-38958230-76960865 to be up.. 2025-11-05 08:17:37,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:17:42,979 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:17:42,979 - INFO - VM name : ctest-TestRoutersBasic-38958230-76960865 2025-11-05 08:17:43,068 - DEBUG - VM ctest-TestRoutersBasic-38958230-76960865 ID is 5d329f5f-c586-426d-9063-2efcbe48afdc 2025-11-05 08:17:43,094 - DEBUG - VM ctest-TestRoutersBasic-38958230-76960865 launched on Node cn-jenkins-deploy-platform-ansible-os-4632-1 2025-11-05 08:17:43,182 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5d329f5f-c586-426d-9063-2efcbe48afdc 2025-11-05 08:17:43,511 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/5d329f5f-c586-426d-9063-2efcbe48afdc 2025-11-05 08:17:43,550 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/cd5821be-4f71-4404-a3dd-294576808aeb 2025-11-05 08:17:46,799 - 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') 2025-11-05 08:17:46,799 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38958230-76960865 failed! 2025-11-05 08:17:46,854 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38958230:ctest-vn-88876526 is 72.204.95.1 and allocation pool is NOT set 2025-11-05 08:17:48,920 - 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.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.543 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.543/2.837/5.131/2.294 ms') 2025-11-05 08:17:48,920 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-38958230-76960865 passed 2025-11-05 08:17:49,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:17:49,074 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38958230-76960865, IP 72.204.95.3, Port 22 2025-11-05 08:17:49,230 - DEBUG - VM ctest-TestRoutersBasic-38958230-76960865 is ready for SSH connections 2025-11-05 08:17:49,230 - INFO - Waiting for VM ctest-TestRoutersBasic-38958230-15879620 to be up.. 2025-11-05 08:17:49,305 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:17:49,305 - INFO - VM name : ctest-TestRoutersBasic-38958230-15879620 2025-11-05 08:17:49,382 - DEBUG - VM ctest-TestRoutersBasic-38958230-15879620 ID is 78a5a6ee-3b68-4577-86ee-c9e925fc8e49 2025-11-05 08:17:49,382 - DEBUG - VM ctest-TestRoutersBasic-38958230-15879620 launched on Node cn-jenkins-deploy-platform-ansible-os-4632-1 2025-11-05 08:17:49,455 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/78a5a6ee-3b68-4577-86ee-c9e925fc8e49 2025-11-05 08:17:49,464 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e22d4753-3c8c-46dd-8931-2a2156119fcf 2025-11-05 08:17:50,695 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.873 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.873/2.147/3.422/1.274 ms') 2025-11-05 08:17:50,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-38958230-15879620 passed 2025-11-05 08:17:50,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:17:50,842 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38958230-15879620, IP 222.163.57.3, Port 22 2025-11-05 08:17:51,009 - DEBUG - VM ctest-TestRoutersBasic-38958230-15879620 is ready for SSH connections 2025-11-05 08:17:51,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:17:51,009 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.163.57.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-05 08:17:51,009 - DEBUG - ping -s 56 -c 3 -W 1 222.163.57.3 2025-11-05 08:17:54,737 - DEBUG - PING 222.163.57.3 (222.163.57.3): 56 data bytes 64 bytes from 222.163.57.3: seq=0 ttl=62 time=6.133 ms 64 bytes from 222.163.57.3: seq=1 ttl=62 time=1.162 ms 64 bytes from 222.163.57.3: seq=2 ttl=62 time=0.909 ms --- 222.163.57.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/2.734/6.133 ms 2025-11-05 08:17:54,737 - INFO - Ping to IP 222.163.57.3 from VM ctest-TestRoutersBasic-38958230-76960865 passed 2025-11-05 08:17:54,737 - INFO - Deleting interface with subnet_id e259833e-c33c-4152-bc88-3de2e6d5c082, port_id None from router 6639ffa1-4107-4bee-ae2b-b2f5726057e8 2025-11-05 08:17:54,904 - INFO - Deleting VM ctest-TestRoutersBasic-38958230-15879620 2025-11-05 08:17:54,970 - INFO - Deleting VM ctest-TestRoutersBasic-38958230-76960865 2025-11-05 08:17:55,051 - INFO - Deleting VN ctest-ext_vn-56155822 2025-11-05 08:17:55,113 - DEBUG - VN 5c997188-a3fa-44b2-869d-d553c206583e still in use: Unable to complete operation on network 5c997188-a3fa-44b2-869d-d553c206583e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-342ecea7-9e42-4ee9-9805-40d1b959fbd4'] 2025-11-05 08:17:55,113 - WARNING - Deleting VN ctest-ext_vn-56155822 failed..Will retry 2025-11-05 08:17:57,206 - DEBUG - Response for deleting network () 2025-11-05 08:17:57,207 - INFO - Deleting VN ctest-vn-88876526 2025-11-05 08:17:57,308 - DEBUG - Response for deleting network () 2025-11-05 08:17:57,578 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:17:57,578 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-05 08:17:57,578 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:17:58,252 - INFO - Deleted project: ctest-TestRoutersBasic-38958230, ID : 14b2c9a7-023d-4bc1-bdca-cf132d440f19