2025-01-09 16:36:40,680 - INFO - Domain Default found not creating 2025-01-09 16:36:40,837 - INFO - Project ctest-TestRoutersBasic-60155563 not found, creating it 2025-01-09 16:36:41,353 - INFO - Created Project:ctest-TestRoutersBasic-60155563, ID : 4e1666c3-7709-4eba-be28-296960d18125 2025-01-09 16:36:42,824 - INFO - ================================================================================ 2025-01-09 16:36:42,824 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-09 16:36:42,824 - 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-01-09 16:36:43,085 - DEBUG - Nothing to compare xmpp stats {'10.0.0.55': {'10.20.0.22': '0'}} with 2025-01-09 16:36:43,086 - INFO - Initial checks done. Running the testcase now 2025-01-09 16:36:43,086 - INFO - 2025-01-09 16:36:43,814 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60155563 2025-01-09 16:36:43,915 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60155563 2025-01-09 16:36:44,254 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60155563', 'default']} 2025-01-09 16:36:44,606 - DEBUG - Response for create_network : {'network': {'id': '20025782-5c1a-4964-bb40-b511165e405f', 'name': 'ctest-vn-39410842', 'tenant_id': '4e1666c377094ebabe28296960d18125', 'project_id': '4e1666c377094ebabe28296960d18125', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60155563', 'ctest-vn-39410842'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 16:36:44,795 - DEBUG - Response for create_subnet : {'subnet': {'id': '8790e400-8b8d-4c2b-a418-e1e413bae703', 'name': '', 'tenant_id': '4e1666c377094ebabe28296960d18125', 'network_id': '20025782-5c1a-4964-bb40-b511165e405f', 'ip_version': 4, 'cidr': '141.207.43.128/26', 'allocation_pools': [{'start': '141.207.43.130', 'end': '141.207.43.190'}], 'gateway_ip': '141.207.43.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.207.43.130', 'tags': [], 'project_id': '4e1666c377094ebabe28296960d18125'}} 2025-01-09 16:36:44,818 - INFO - Created VN ctest-vn-39410842 2025-01-09 16:36:44,875 - DEBUG - VN ctest-vn-39410842 UUID is 20025782-5c1a-4964-bb40-b511165e405f 2025-01-09 16:36:45,227 - DEBUG - Response for create_network : {'network': {'id': 'fdd9459e-49b8-427d-bb22-9c6f59c08de4', 'name': 'ctest-ext_vn-20681733', 'tenant_id': '4e1666c377094ebabe28296960d18125', 'project_id': '4e1666c377094ebabe28296960d18125', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60155563', 'ctest-ext_vn-20681733'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 16:36:45,570 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0ef720d-480f-41a4-b1cc-123532456f89', 'name': '', 'tenant_id': '4e1666c377094ebabe28296960d18125', 'network_id': 'fdd9459e-49b8-427d-bb22-9c6f59c08de4', 'ip_version': 4, 'cidr': '193.81.31.0/26', 'allocation_pools': [{'start': '193.81.31.2', 'end': '193.81.31.62'}], 'gateway_ip': '193.81.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.81.31.2', 'tags': [], 'project_id': '4e1666c377094ebabe28296960d18125'}} 2025-01-09 16:36:45,591 - INFO - Created VN ctest-ext_vn-20681733 2025-01-09 16:36:45,647 - DEBUG - VN ctest-ext_vn-20681733 UUID is fdd9459e-49b8-427d-bb22-9c6f59c08de4 2025-01-09 16:36:45,834 - DEBUG - Services list from nova: [, , ] 2025-01-09 16:36:46,903 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2590-1) 2025-01-09 16:36:48,136 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2590-1) 2025-01-09 16:36:48,217 - INFO - Setting gateway for router 0ee6de78-bb83-490e-8cf9-0e85adc0625e to network fdd9459e-49b8-427d-bb22-9c6f59c08de4 2025-01-09 16:36:48,274 - INFO - Adding interface with subnet_id 8790e400-8b8d-4c2b-a418-e1e413bae703, port_id None to router 0ee6de78-bb83-490e-8cf9-0e85adc0625e 2025-01-09 16:36:48,915 - INFO - Waiting for VM ctest-TestRoutersBasic-60155563-25238600 to be up.. 2025-01-09 16:36:49,112 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 16:36:54,213 - DEBUG - VM is in ACTIVE state now 2025-01-09 16:36:54,213 - INFO - VM name : ctest-TestRoutersBasic-60155563-25238600 2025-01-09 16:36:54,303 - DEBUG - VM ctest-TestRoutersBasic-60155563-25238600 ID is 05a80f5f-715a-40a2-b063-7c402dc2d353 2025-01-09 16:36:54,327 - DEBUG - VM ctest-TestRoutersBasic-60155563-25238600 launched on Node cn-jenkins-deploy-platform-ansible-os-2590-1 2025-01-09 16:36:54,421 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/05a80f5f-715a-40a2-b063-7c402dc2d353 2025-01-09 16:36:54,735 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/05a80f5f-715a-40a2-b063-7c402dc2d353 2025-01-09 16:36:54,780 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/4d92c249-eef0-4849-8925-f9491b29ea14 2025-01-09 16:36:58,051 - 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 1019ms') 2025-01-09 16:36:58,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60155563-25238600 failed! 2025-01-09 16:36:58,111 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60155563:ctest-vn-39410842 is 141.207.43.129 and allocation pool is NOT set 2025-01-09 16:37:00,174 - 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.06 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.591 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.591/2.323/4.055/1.732 ms') 2025-01-09 16:37:00,175 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-60155563-25238600 passed 2025-01-09 16:37:00,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 16:37:00,295 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60155563-25238600, IP 141.207.43.131, Port 22 2025-01-09 16:37:00,454 - DEBUG - VM ctest-TestRoutersBasic-60155563-25238600 is ready for SSH connections 2025-01-09 16:37:00,454 - INFO - Waiting for VM ctest-TestRoutersBasic-60155563-14690495 to be up.. 2025-01-09 16:37:00,546 - DEBUG - VM is in ACTIVE state now 2025-01-09 16:37:00,546 - INFO - VM name : ctest-TestRoutersBasic-60155563-14690495 2025-01-09 16:37:00,636 - DEBUG - VM ctest-TestRoutersBasic-60155563-14690495 ID is 2b522b04-570e-4b2e-997e-769096e2afa3 2025-01-09 16:37:00,636 - DEBUG - VM ctest-TestRoutersBasic-60155563-14690495 launched on Node cn-jenkins-deploy-platform-ansible-os-2590-1 2025-01-09 16:37:00,724 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine/2b522b04-570e-4b2e-997e-769096e2afa3 2025-01-09 16:37:00,735 - DEBUG - Requesting: http://10.0.0.55:8082/virtual-machine-interface/46f18c8f-dc71-447a-b02e-de451b9f9eb0 2025-01-09 16:37:01,993 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.456/2.110/3.764/1.654 ms') 2025-01-09 16:37:01,994 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-60155563-14690495 passed 2025-01-09 16:37:02,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 16:37:02,155 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60155563-14690495, IP 193.81.31.3, Port 22 2025-01-09 16:37:02,312 - DEBUG - VM ctest-TestRoutersBasic-60155563-14690495 is ready for SSH connections 2025-01-09 16:37:02,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 16:37:02,312 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 193.81.31.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.55, gateway password: c0ntrail123 2025-01-09 16:37:02,312 - DEBUG - ping -s 56 -c 3 -W 1 193.81.31.3 2025-01-09 16:37:06,329 - DEBUG - PING 193.81.31.3 (193.81.31.3): 56 data bytes 64 bytes from 193.81.31.3: seq=0 ttl=62 time=6.017 ms 64 bytes from 193.81.31.3: seq=1 ttl=62 time=1.085 ms 64 bytes from 193.81.31.3: seq=2 ttl=62 time=0.818 ms --- 193.81.31.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.818/2.640/6.017 ms 2025-01-09 16:37:06,329 - INFO - Ping to IP 193.81.31.3 from VM ctest-TestRoutersBasic-60155563-25238600 passed 2025-01-09 16:37:06,329 - INFO - Deleting interface with subnet_id 8790e400-8b8d-4c2b-a418-e1e413bae703, port_id None from router 0ee6de78-bb83-490e-8cf9-0e85adc0625e 2025-01-09 16:37:06,574 - INFO - Deleting VM ctest-TestRoutersBasic-60155563-14690495 2025-01-09 16:37:06,646 - INFO - Deleting VM ctest-TestRoutersBasic-60155563-25238600 2025-01-09 16:37:06,740 - INFO - Deleting VN ctest-ext_vn-20681733 2025-01-09 16:37:06,861 - DEBUG - VN fdd9459e-49b8-427d-bb22-9c6f59c08de4 still in use: Unable to complete operation on network fdd9459e-49b8-427d-bb22-9c6f59c08de4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4a9046d-2772-4854-827d-83183eb3e889'] 2025-01-09 16:37:06,861 - WARNING - Deleting VN ctest-ext_vn-20681733 failed..Will retry 2025-01-09 16:37:09,010 - DEBUG - Response for deleting network () 2025-01-09 16:37:09,010 - INFO - Deleting VN ctest-vn-39410842 2025-01-09 16:37:09,148 - DEBUG - Response for deleting network () 2025-01-09 16:37:09,409 - DEBUG - No XMPP flaps were noticed during the test 2025-01-09 16:37:09,409 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-01-09 16:37:09,410 - INFO - -------------------------------------------------------------------------------- 2025-01-09 16:37:10,121 - INFO - Deleted project: ctest-TestRoutersBasic-60155563, ID : 4e1666c3-7709-4eba-be28-296960d18125