2025-04-08 21:15:24,948 - INFO - Domain Default found not creating 2025-04-08 21:15:25,133 - INFO - Project ctest-TestRoutersBasic-61026732 not found, creating it 2025-04-08 21:15:25,711 - INFO - Created Project:ctest-TestRoutersBasic-61026732, ID : f62ddd12-08aa-44c4-af71-24adaecc2d7d 2025-04-08 21:15:27,847 - INFO - ================================================================================ 2025-04-08 21:15:27,847 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-08 21:15:27,847 - 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-04-08 21:15:28,178 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.35': '0'}} with 2025-04-08 21:15:28,178 - INFO - Initial checks done. Running the testcase now 2025-04-08 21:15:28,179 - INFO - 2025-04-08 21:15:29,107 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61026732 2025-04-08 21:15:29,225 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61026732 2025-04-08 21:15:29,688 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61026732', 'default']} 2025-04-08 21:15:30,234 - DEBUG - Response for create_network : {'network': {'id': 'edf84b1c-8576-4e81-a004-9ac60abebd68', 'name': 'ctest-vn-19371688', 'tenant_id': 'f62ddd1208aa44c4af7124adaecc2d7d', 'project_id': 'f62ddd1208aa44c4af7124adaecc2d7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61026732', 'ctest-vn-19371688'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 21:15:30,539 - DEBUG - Response for create_subnet : {'subnet': {'id': 'faa4aa52-fb78-4432-af63-bb806280a380', 'name': '', 'tenant_id': 'f62ddd1208aa44c4af7124adaecc2d7d', 'network_id': 'edf84b1c-8576-4e81-a004-9ac60abebd68', 'ip_version': 4, 'cidr': '35.213.207.192/26', 'allocation_pools': [{'start': '35.213.207.194', 'end': '35.213.207.254'}], 'gateway_ip': '35.213.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.213.207.194', 'tags': [], 'project_id': 'f62ddd1208aa44c4af7124adaecc2d7d'}} 2025-04-08 21:15:30,577 - INFO - Created VN ctest-vn-19371688 2025-04-08 21:15:30,652 - DEBUG - VN ctest-vn-19371688 UUID is edf84b1c-8576-4e81-a004-9ac60abebd68 2025-04-08 21:15:31,171 - DEBUG - Response for create_network : {'network': {'id': '824aaa1d-ce8b-4e79-a805-daa5854e09a0', 'name': 'ctest-ext_vn-14045024', 'tenant_id': 'f62ddd1208aa44c4af7124adaecc2d7d', 'project_id': 'f62ddd1208aa44c4af7124adaecc2d7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61026732', 'ctest-ext_vn-14045024'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 21:15:31,420 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a04f74e2-e832-4112-907b-df3cabba7544', 'name': '', 'tenant_id': 'f62ddd1208aa44c4af7124adaecc2d7d', 'network_id': '824aaa1d-ce8b-4e79-a805-daa5854e09a0', 'ip_version': 4, 'cidr': '130.2.198.0/26', 'allocation_pools': [{'start': '130.2.198.2', 'end': '130.2.198.62'}], 'gateway_ip': '130.2.198.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.2.198.2', 'tags': [], 'project_id': 'f62ddd1208aa44c4af7124adaecc2d7d'}} 2025-04-08 21:15:31,443 - INFO - Created VN ctest-ext_vn-14045024 2025-04-08 21:15:31,500 - DEBUG - VN ctest-ext_vn-14045024 UUID is 824aaa1d-ce8b-4e79-a805-daa5854e09a0 2025-04-08 21:15:31,798 - DEBUG - Services list from nova: [, , ] 2025-04-08 21:15:33,315 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3059-1) 2025-04-08 21:15:34,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3059-1) 2025-04-08 21:15:34,931 - INFO - Setting gateway for router 071c8e69-4c7f-4039-a83a-7ceea7d8b126 to network 824aaa1d-ce8b-4e79-a805-daa5854e09a0 2025-04-08 21:15:35,017 - INFO - Adding interface with subnet_id faa4aa52-fb78-4432-af63-bb806280a380, port_id None to router 071c8e69-4c7f-4039-a83a-7ceea7d8b126 2025-04-08 21:15:35,514 - INFO - Waiting for VM ctest-TestRoutersBasic-61026732-07162046 to be up.. 2025-04-08 21:15:35,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 21:15:40,859 - DEBUG - VM is in ACTIVE state now 2025-04-08 21:15:40,860 - INFO - VM name : ctest-TestRoutersBasic-61026732-07162046 2025-04-08 21:15:40,992 - DEBUG - VM ctest-TestRoutersBasic-61026732-07162046 ID is f90c31b4-363f-4b81-bd39-45aff4c153fb 2025-04-08 21:15:41,014 - DEBUG - VM ctest-TestRoutersBasic-61026732-07162046 launched on Node cn-jenkins-deploy-platform-ansible-os-3059-1 2025-04-08 21:15:41,109 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/f90c31b4-363f-4b81-bd39-45aff4c153fb 2025-04-08 21:15:41,409 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/f90c31b4-363f-4b81-bd39-45aff4c153fb 2025-04-08 21:15:41,463 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/92e6a37d-01d6-43c7-b2f9-5cbfda634b38 2025-04-08 21:15:44,801 - 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 1025ms') 2025-04-08 21:15:44,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61026732-07162046 failed! 2025-04-08 21:15:44,868 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61026732:ctest-vn-19371688 is 35.213.207.193 and allocation pool is NOT set 2025-04-08 21:15:46,948 - 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=4.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.618 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.618/2.530/4.443/1.912 ms') 2025-04-08 21:15:46,948 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-61026732-07162046 passed 2025-04-08 21:15:47,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 21:15:47,148 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61026732-07162046, IP 35.213.207.195, Port 22 2025-04-08 21:15:47,340 - DEBUG - VM ctest-TestRoutersBasic-61026732-07162046 is ready for SSH connections 2025-04-08 21:15:47,340 - INFO - Waiting for VM ctest-TestRoutersBasic-61026732-56040803 to be up.. 2025-04-08 21:15:47,520 - DEBUG - VM is in ACTIVE state now 2025-04-08 21:15:47,521 - INFO - VM name : ctest-TestRoutersBasic-61026732-56040803 2025-04-08 21:15:47,738 - DEBUG - VM ctest-TestRoutersBasic-61026732-56040803 ID is 36245585-a41a-48ad-94cf-98dc913a8bd9 2025-04-08 21:15:47,738 - DEBUG - VM ctest-TestRoutersBasic-61026732-56040803 launched on Node cn-jenkins-deploy-platform-ansible-os-3059-1 2025-04-08 21:15:47,890 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/36245585-a41a-48ad-94cf-98dc913a8bd9 2025-04-08 21:15:47,913 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/739f05f0-0429-4e72-a9cf-55cd0343e8d3 2025-04-08 21:15:49,254 - 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=10.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.38 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 = 2.375/6.526/10.677/4.151 ms') 2025-04-08 21:15:49,254 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-61026732-56040803 passed 2025-04-08 21:15:49,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 21:15:49,440 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61026732-56040803, IP 130.2.198.3, Port 22 2025-04-08 21:15:49,634 - DEBUG - VM ctest-TestRoutersBasic-61026732-56040803 is ready for SSH connections 2025-04-08 21:15:49,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 21:15:49,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 130.2.198.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-04-08 21:15:49,635 - DEBUG - ping -s 56 -c 3 -W 1 130.2.198.3 2025-04-08 21:15:53,632 - DEBUG - PING 130.2.198.3 (130.2.198.3): 56 data bytes 64 bytes from 130.2.198.3: seq=0 ttl=62 time=13.440 ms 64 bytes from 130.2.198.3: seq=1 ttl=62 time=2.289 ms 64 bytes from 130.2.198.3: seq=2 ttl=62 time=1.579 ms --- 130.2.198.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.579/5.769/13.440 ms 2025-04-08 21:15:53,632 - INFO - Ping to IP 130.2.198.3 from VM ctest-TestRoutersBasic-61026732-07162046 passed 2025-04-08 21:15:53,633 - INFO - Deleting interface with subnet_id faa4aa52-fb78-4432-af63-bb806280a380, port_id None from router 071c8e69-4c7f-4039-a83a-7ceea7d8b126 2025-04-08 21:15:53,947 - INFO - Deleting VM ctest-TestRoutersBasic-61026732-56040803 2025-04-08 21:15:54,021 - INFO - Deleting VM ctest-TestRoutersBasic-61026732-07162046 2025-04-08 21:15:54,107 - INFO - Deleting VN ctest-ext_vn-14045024 2025-04-08 21:15:54,174 - DEBUG - VN 824aaa1d-ce8b-4e79-a805-daa5854e09a0 still in use: Unable to complete operation on network 824aaa1d-ce8b-4e79-a805-daa5854e09a0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f5e25305-6d39-47cc-807c-946e94ee4999'] 2025-04-08 21:15:54,175 - WARNING - Deleting VN ctest-ext_vn-14045024 failed..Will retry 2025-04-08 21:15:56,404 - DEBUG - Response for deleting network () 2025-04-08 21:15:56,405 - INFO - Deleting VN ctest-vn-19371688 2025-04-08 21:15:56,521 - DEBUG - Response for deleting network () 2025-04-08 21:15:56,829 - DEBUG - No XMPP flaps were noticed during the test 2025-04-08 21:15:56,830 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29] 2025-04-08 21:15:56,830 - INFO - -------------------------------------------------------------------------------- 2025-04-08 21:15:57,887 - INFO - Deleted project: ctest-TestRoutersBasic-61026732, ID : f62ddd12-08aa-44c4-af71-24adaecc2d7d