2025-08-11 16:47:22,191 - INFO - Domain Default found not creating 2025-08-11 16:47:22,304 - INFO - Project ctest-TestRoutersBasic-48387076 not found, creating it 2025-08-11 16:47:22,771 - INFO - Created Project:ctest-TestRoutersBasic-48387076, ID : 598d4758-0df9-47ef-8ce9-7a57fdbfe8c4 2025-08-11 16:47:24,079 - INFO - ================================================================================ 2025-08-11 16:47:24,080 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-11 16:47:24,080 - 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-11 16:47:24,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-08-11 16:47:24,333 - INFO - Initial checks done. Running the testcase now 2025-08-11 16:47:24,333 - INFO - 2025-08-11 16:47:25,006 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-48387076 2025-08-11 16:47:25,103 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-48387076 2025-08-11 16:47:25,423 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48387076', 'default']} 2025-08-11 16:47:25,699 - DEBUG - Response for create_network : {'network': {'id': '40d70809-84c5-490a-9b25-45978d94da82', 'name': 'ctest-vn-39940105', 'tenant_id': '598d47580df947ef8ce97a57fdbfe8c4', 'project_id': '598d47580df947ef8ce97a57fdbfe8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48387076', 'ctest-vn-39940105'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:47:25,918 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a487a1e4-8feb-4cb7-8651-ca7f91e86668', 'name': '', 'tenant_id': '598d47580df947ef8ce97a57fdbfe8c4', 'network_id': '40d70809-84c5-490a-9b25-45978d94da82', 'ip_version': 4, 'cidr': '192.66.128.64/26', 'allocation_pools': [{'start': '192.66.128.66', 'end': '192.66.128.126'}], 'gateway_ip': '192.66.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.66.128.66', 'tags': [], 'project_id': '598d47580df947ef8ce97a57fdbfe8c4'}} 2025-08-11 16:47:25,933 - INFO - Created VN ctest-vn-39940105 2025-08-11 16:47:25,987 - DEBUG - VN ctest-vn-39940105 UUID is 40d70809-84c5-490a-9b25-45978d94da82 2025-08-11 16:47:26,310 - DEBUG - Response for create_network : {'network': {'id': '24c486df-47ae-48e0-a87e-22040796b307', 'name': 'ctest-ext_vn-27356314', 'tenant_id': '598d47580df947ef8ce97a57fdbfe8c4', 'project_id': '598d47580df947ef8ce97a57fdbfe8c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-48387076', 'ctest-ext_vn-27356314'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:47:26,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '71888713-f3c2-4c93-885b-304acd8d1f7a', 'name': '', 'tenant_id': '598d47580df947ef8ce97a57fdbfe8c4', 'network_id': '24c486df-47ae-48e0-a87e-22040796b307', 'ip_version': 4, 'cidr': '86.101.46.0/26', 'allocation_pools': [{'start': '86.101.46.2', 'end': '86.101.46.62'}], 'gateway_ip': '86.101.46.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.101.46.2', 'tags': [], 'project_id': '598d47580df947ef8ce97a57fdbfe8c4'}} 2025-08-11 16:47:26,491 - INFO - Created VN ctest-ext_vn-27356314 2025-08-11 16:47:26,543 - DEBUG - VN ctest-ext_vn-27356314 UUID is 24c486df-47ae-48e0-a87e-22040796b307 2025-08-11 16:47:26,731 - DEBUG - Services list from nova: [, , ] 2025-08-11 16:47:27,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3817-1) 2025-08-11 16:47:28,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3817-1) 2025-08-11 16:47:28,793 - INFO - Setting gateway for router 6e2b77be-4d35-4ea9-984a-f738698594f0 to network 24c486df-47ae-48e0-a87e-22040796b307 2025-08-11 16:47:28,853 - INFO - Adding interface with subnet_id a487a1e4-8feb-4cb7-8651-ca7f91e86668, port_id None to router 6e2b77be-4d35-4ea9-984a-f738698594f0 2025-08-11 16:47:29,149 - INFO - Waiting for VM ctest-TestRoutersBasic-48387076-14460852 to be up.. 2025-08-11 16:47:29,313 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 16:47:34,377 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:47:34,378 - INFO - VM name : ctest-TestRoutersBasic-48387076-14460852 2025-08-11 16:47:34,442 - DEBUG - VM ctest-TestRoutersBasic-48387076-14460852 ID is c56d2299-a904-4ba8-a9c2-e5faf1060262 2025-08-11 16:47:34,459 - DEBUG - VM ctest-TestRoutersBasic-48387076-14460852 launched on Node cn-jenkins-deploy-platform-ansible-os-3817-1 2025-08-11 16:47:34,520 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c56d2299-a904-4ba8-a9c2-e5faf1060262 2025-08-11 16:47:34,972 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/c56d2299-a904-4ba8-a9c2-e5faf1060262 2025-08-11 16:47:35,009 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ae93e848-7a94-4515-83b9-a033b5917d07 2025-08-11 16:47:38,278 - 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=10.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 10.637/10.637/10.637/0.000 ms') 2025-08-11 16:47:38,278 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-48387076-14460852 passed 2025-08-11 16:47:38,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:47:38,439 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48387076-14460852, IP 192.66.128.67, Port 22 2025-08-11 16:47:38,607 - DEBUG - VM ctest-TestRoutersBasic-48387076-14460852 is ready for SSH connections 2025-08-11 16:47:38,607 - INFO - Waiting for VM ctest-TestRoutersBasic-48387076-22064413 to be up.. 2025-08-11 16:47:38,675 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:47:38,675 - INFO - VM name : ctest-TestRoutersBasic-48387076-22064413 2025-08-11 16:47:38,746 - DEBUG - VM ctest-TestRoutersBasic-48387076-22064413 ID is 538b31a8-2426-4d39-a125-b91c669a8430 2025-08-11 16:47:38,746 - DEBUG - VM ctest-TestRoutersBasic-48387076-22064413 launched on Node cn-jenkins-deploy-platform-ansible-os-3817-1 2025-08-11 16:47:38,820 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/538b31a8-2426-4d39-a125-b91c669a8430 2025-08-11 16:47:38,828 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/c588f3ab-b8b4-4d0e-b601-90ca42a77991 2025-08-11 16:47:40,066 - 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=4.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.17 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 = 2.166/3.150/4.134/0.984 ms') 2025-08-11 16:47:40,066 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-48387076-22064413 passed 2025-08-11 16:47:40,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:47:40,219 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-48387076-22064413, IP 86.101.46.3, Port 22 2025-08-11 16:47:40,370 - DEBUG - VM ctest-TestRoutersBasic-48387076-22064413 is ready for SSH connections 2025-08-11 16:47:40,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:47:40,371 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.101.46.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:47:40,371 - DEBUG - ping -s 56 -c 3 -W 1 86.101.46.3 2025-08-11 16:47:44,302 - DEBUG - PING 86.101.46.3 (86.101.46.3): 56 data bytes 64 bytes from 86.101.46.3: seq=0 ttl=62 time=4.298 ms 64 bytes from 86.101.46.3: seq=1 ttl=62 time=0.666 ms 64 bytes from 86.101.46.3: seq=2 ttl=62 time=0.989 ms --- 86.101.46.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.666/1.984/4.298 ms 2025-08-11 16:47:44,302 - INFO - Ping to IP 86.101.46.3 from VM ctest-TestRoutersBasic-48387076-14460852 passed 2025-08-11 16:47:44,303 - INFO - Deleting interface with subnet_id a487a1e4-8feb-4cb7-8651-ca7f91e86668, port_id None from router 6e2b77be-4d35-4ea9-984a-f738698594f0 2025-08-11 16:47:44,474 - INFO - Deleting VM ctest-TestRoutersBasic-48387076-22064413 2025-08-11 16:47:44,536 - INFO - Deleting VM ctest-TestRoutersBasic-48387076-14460852 2025-08-11 16:47:44,612 - INFO - Deleting VN ctest-ext_vn-27356314 2025-08-11 16:47:44,667 - DEBUG - VN 24c486df-47ae-48e0-a87e-22040796b307 still in use: Unable to complete operation on network 24c486df-47ae-48e0-a87e-22040796b307. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a3cd7c13-6d3e-4690-bec6-2bf0261adc0b'] 2025-08-11 16:47:44,668 - WARNING - Deleting VN ctest-ext_vn-27356314 failed..Will retry 2025-08-11 16:47:46,762 - DEBUG - Response for deleting network () 2025-08-11 16:47:46,762 - INFO - Deleting VN ctest-vn-39940105 2025-08-11 16:47:46,851 - DEBUG - Response for deleting network () 2025-08-11 16:47:47,103 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 16:47:47,103 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:23]
2025-08-11 16:47:47,103 - INFO - -------------------------------------------------------------------------------- 2025-08-11 16:47:47,729 - INFO - Deleted project: ctest-TestRoutersBasic-48387076, ID : 598d4758-0df9-47ef-8ce9-7a57fdbfe8c4