2025-04-15 10:30:36,758 - INFO - Domain Default found not creating 2025-04-15 10:30:36,920 - INFO - Project ctest-TestRoutersBasic-46489335 not found, creating it 2025-04-15 10:30:37,422 - INFO - Created Project:ctest-TestRoutersBasic-46489335, ID : e4223bc2-39f2-440c-90e4-541c7fed0a09 2025-04-15 10:30:39,048 - INFO - ================================================================================ 2025-04-15 10:30:39,048 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-15 10:30:39,048 - 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-15 10:30:39,303 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-15 10:30:39,303 - INFO - Initial checks done. Running the testcase now 2025-04-15 10:30:39,303 - INFO - 2025-04-15 10:30:40,230 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-46489335 2025-04-15 10:30:40,332 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-46489335 2025-04-15 10:30:40,659 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46489335', 'default']} 2025-04-15 10:30:40,991 - DEBUG - Response for create_network : {'network': {'id': 'ee26b6c6-7022-4eac-9128-25d799cf54c7', 'name': 'ctest-vn-33150673', 'tenant_id': 'e4223bc239f2440c90e4541c7fed0a09', 'project_id': 'e4223bc239f2440c90e4541c7fed0a09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46489335', 'ctest-vn-33150673'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 10:30:41,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '12242244-0963-4fc6-b95d-085d15a6ed6e', 'name': '', 'tenant_id': 'e4223bc239f2440c90e4541c7fed0a09', 'network_id': 'ee26b6c6-7022-4eac-9128-25d799cf54c7', 'ip_version': 4, 'cidr': '109.249.253.64/26', 'allocation_pools': [{'start': '109.249.253.66', 'end': '109.249.253.126'}], 'gateway_ip': '109.249.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.249.253.66', 'tags': [], 'project_id': 'e4223bc239f2440c90e4541c7fed0a09'}} 2025-04-15 10:30:41,251 - INFO - Created VN ctest-vn-33150673 2025-04-15 10:30:41,303 - DEBUG - VN ctest-vn-33150673 UUID is ee26b6c6-7022-4eac-9128-25d799cf54c7 2025-04-15 10:30:41,671 - DEBUG - Response for create_network : {'network': {'id': '38c209a6-f58e-46ac-b44c-7ea279676305', 'name': 'ctest-ext_vn-18690525', 'tenant_id': 'e4223bc239f2440c90e4541c7fed0a09', 'project_id': 'e4223bc239f2440c90e4541c7fed0a09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-46489335', 'ctest-ext_vn-18690525'], 'port_security_enabled': True, 'description': ''}} 2025-04-15 10:30:41,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '69eff663-ef29-4181-8a56-b80b1a620451', 'name': '', 'tenant_id': 'e4223bc239f2440c90e4541c7fed0a09', 'network_id': '38c209a6-f58e-46ac-b44c-7ea279676305', 'ip_version': 4, 'cidr': '197.227.77.192/26', 'allocation_pools': [{'start': '197.227.77.194', 'end': '197.227.77.254'}], 'gateway_ip': '197.227.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.227.77.194', 'tags': [], 'project_id': 'e4223bc239f2440c90e4541c7fed0a09'}} 2025-04-15 10:30:41,968 - INFO - Created VN ctest-ext_vn-18690525 2025-04-15 10:30:42,023 - DEBUG - VN ctest-ext_vn-18690525 UUID is 38c209a6-f58e-46ac-b44c-7ea279676305 2025-04-15 10:30:42,216 - DEBUG - Services list from nova: [, , ] 2025-04-15 10:30:43,362 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3115-1) 2025-04-15 10:30:44,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3115-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3115-1) 2025-04-15 10:30:44,754 - INFO - Setting gateway for router 9d2babcc-69d2-4a75-aa48-e05722d9e475 to network 38c209a6-f58e-46ac-b44c-7ea279676305 2025-04-15 10:30:44,850 - INFO - Adding interface with subnet_id 12242244-0963-4fc6-b95d-085d15a6ed6e, port_id None to router 9d2babcc-69d2-4a75-aa48-e05722d9e475 2025-04-15 10:30:45,243 - INFO - Waiting for VM ctest-TestRoutersBasic-46489335-89245246 to be up.. 2025-04-15 10:30:45,394 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-15 10:30:50,487 - DEBUG - VM is in ACTIVE state now 2025-04-15 10:30:50,487 - INFO - VM name : ctest-TestRoutersBasic-46489335-89245246 2025-04-15 10:30:50,571 - DEBUG - VM ctest-TestRoutersBasic-46489335-89245246 ID is 265a55ac-bf67-4b19-bb50-c5b6003ad6d7 2025-04-15 10:30:50,591 - DEBUG - VM ctest-TestRoutersBasic-46489335-89245246 launched on Node cn-jenkins-deploy-platform-ansible-os-3115-1 2025-04-15 10:30:50,673 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/265a55ac-bf67-4b19-bb50-c5b6003ad6d7 2025-04-15 10:30:51,015 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/265a55ac-bf67-4b19-bb50-c5b6003ad6d7 2025-04-15 10:30:51,055 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2270efbc-2236-4b3b-b776-e89fa7cd7632 2025-04-15 10:30:54,333 - 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 1026ms') 2025-04-15 10:30:54,333 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46489335-89245246 failed! 2025-04-15 10:30:54,395 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-46489335:ctest-vn-33150673 is 109.249.253.65 and allocation pool is NOT set 2025-04-15 10:30:56,453 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.552 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.552/2.366/4.181/1.814 ms') 2025-04-15 10:30:56,453 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-46489335-89245246 passed 2025-04-15 10:30:56,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 10:30:56,608 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46489335-89245246, IP 109.249.253.67, Port 22 2025-04-15 10:30:56,767 - DEBUG - VM ctest-TestRoutersBasic-46489335-89245246 is ready for SSH connections 2025-04-15 10:30:56,767 - INFO - Waiting for VM ctest-TestRoutersBasic-46489335-81796531 to be up.. 2025-04-15 10:30:56,851 - DEBUG - VM is in ACTIVE state now 2025-04-15 10:30:56,851 - INFO - VM name : ctest-TestRoutersBasic-46489335-81796531 2025-04-15 10:30:56,931 - DEBUG - VM ctest-TestRoutersBasic-46489335-81796531 ID is 2406e189-43cf-4369-8991-af7bae66bee1 2025-04-15 10:30:56,931 - DEBUG - VM ctest-TestRoutersBasic-46489335-81796531 launched on Node cn-jenkins-deploy-platform-ansible-os-3115-1 2025-04-15 10:30:57,014 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2406e189-43cf-4369-8991-af7bae66bee1 2025-04-15 10:30:57,024 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4cbfc2aa-e47b-4206-878b-9cd4133646c0 2025-04-15 10:30:58,267 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.879 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.879/2.714/4.549/1.835 ms') 2025-04-15 10:30:58,268 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-46489335-81796531 passed 2025-04-15 10:30:58,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 10:30:58,423 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-46489335-81796531, IP 197.227.77.195, Port 22 2025-04-15 10:30:58,582 - DEBUG - VM ctest-TestRoutersBasic-46489335-81796531 is ready for SSH connections 2025-04-15 10:30:58,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-15 10:30:58,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 197.227.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-15 10:30:58,583 - DEBUG - ping -s 56 -c 3 -W 1 197.227.77.195 2025-04-15 10:31:02,774 - DEBUG - PING 197.227.77.195 (197.227.77.195): 56 data bytes 64 bytes from 197.227.77.195: seq=0 ttl=62 time=6.070 ms 64 bytes from 197.227.77.195: seq=1 ttl=62 time=0.907 ms 64 bytes from 197.227.77.195: seq=2 ttl=62 time=1.006 ms --- 197.227.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.907/2.661/6.070 ms 2025-04-15 10:31:02,774 - INFO - Ping to IP 197.227.77.195 from VM ctest-TestRoutersBasic-46489335-89245246 passed 2025-04-15 10:31:02,774 - INFO - Deleting interface with subnet_id 12242244-0963-4fc6-b95d-085d15a6ed6e, port_id None from router 9d2babcc-69d2-4a75-aa48-e05722d9e475 2025-04-15 10:31:03,008 - INFO - Deleting VM ctest-TestRoutersBasic-46489335-81796531 2025-04-15 10:31:03,095 - INFO - Deleting VM ctest-TestRoutersBasic-46489335-89245246 2025-04-15 10:31:03,186 - INFO - Deleting VN ctest-ext_vn-18690525 2025-04-15 10:31:03,290 - DEBUG - VN 38c209a6-f58e-46ac-b44c-7ea279676305 still in use: Unable to complete operation on network 38c209a6-f58e-46ac-b44c-7ea279676305. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4f0a3080-6b42-4dac-aa3d-eebc0eb5e49f'] 2025-04-15 10:31:03,290 - WARNING - Deleting VN ctest-ext_vn-18690525 failed..Will retry 2025-04-15 10:31:05,421 - DEBUG - Response for deleting network () 2025-04-15 10:31:05,421 - INFO - Deleting VN ctest-vn-33150673 2025-04-15 10:31:05,558 - DEBUG - Response for deleting network () 2025-04-15 10:31:05,814 - DEBUG - No XMPP flaps were noticed during the test
2025-04-15 10:31:05,814 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-15 10:31:05,814 - INFO - -------------------------------------------------------------------------------- 2025-04-15 10:31:06,550 - INFO - Deleted project: ctest-TestRoutersBasic-46489335, ID : e4223bc2-39f2-440c-90e4-541c7fed0a09