2025-02-03 02:23:47,860 - INFO - Domain Default found not creating 2025-02-03 02:23:47,994 - INFO - Project ctest-TestRoutersBasic-55125886 not found, creating it 2025-02-03 02:23:48,460 - INFO - Created Project:ctest-TestRoutersBasic-55125886, ID : eb93107e-c9f2-41ad-91fc-0c4616ce6563 2025-02-03 02:23:50,122 - INFO - ================================================================================ 2025-02-03 02:23:50,122 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-03 02:23:50,122 - 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-02-03 02:23:50,389 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.20': '0'}} with 2025-02-03 02:23:50,389 - INFO - Initial checks done. Running the testcase now 2025-02-03 02:23:50,389 - INFO - 2025-02-03 02:23:51,083 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-55125886 2025-02-03 02:23:51,182 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-55125886 2025-02-03 02:23:51,506 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55125886', 'default']} 2025-02-03 02:23:51,800 - DEBUG - Response for create_network : {'network': {'id': '62e0727a-c6d4-495b-9534-cf278d9fe5f5', 'name': 'ctest-vn-17959649', 'tenant_id': 'eb93107ec9f241ad91fc0c4616ce6563', 'project_id': 'eb93107ec9f241ad91fc0c4616ce6563', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55125886', 'ctest-vn-17959649'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 02:23:51,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cd33efc-2e35-4123-be8d-fd001d9a15a9', 'name': '', 'tenant_id': 'eb93107ec9f241ad91fc0c4616ce6563', 'network_id': '62e0727a-c6d4-495b-9534-cf278d9fe5f5', 'ip_version': 4, 'cidr': '93.217.53.64/26', 'allocation_pools': [{'start': '93.217.53.66', 'end': '93.217.53.126'}], 'gateway_ip': '93.217.53.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.217.53.66', 'tags': [], 'project_id': 'eb93107ec9f241ad91fc0c4616ce6563'}} 2025-02-03 02:23:52,008 - INFO - Created VN ctest-vn-17959649 2025-02-03 02:23:52,063 - DEBUG - VN ctest-vn-17959649 UUID is 62e0727a-c6d4-495b-9534-cf278d9fe5f5 2025-02-03 02:23:52,416 - DEBUG - Response for create_network : {'network': {'id': 'fdad13d1-2bdb-4911-957f-8f60bb65d73a', 'name': 'ctest-ext_vn-10418799', 'tenant_id': 'eb93107ec9f241ad91fc0c4616ce6563', 'project_id': 'eb93107ec9f241ad91fc0c4616ce6563', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-55125886', 'ctest-ext_vn-10418799'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 02:23:52,629 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5ce0cab-747a-4043-a91c-606d4dc68abc', 'name': '', 'tenant_id': 'eb93107ec9f241ad91fc0c4616ce6563', 'network_id': 'fdad13d1-2bdb-4911-957f-8f60bb65d73a', 'ip_version': 4, 'cidr': '128.41.199.192/26', 'allocation_pools': [{'start': '128.41.199.194', 'end': '128.41.199.254'}], 'gateway_ip': '128.41.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.41.199.194', 'tags': [], 'project_id': 'eb93107ec9f241ad91fc0c4616ce6563'}} 2025-02-03 02:23:52,648 - INFO - Created VN ctest-ext_vn-10418799 2025-02-03 02:23:52,702 - DEBUG - VN ctest-ext_vn-10418799 UUID is fdad13d1-2bdb-4911-957f-8f60bb65d73a 2025-02-03 02:23:52,869 - DEBUG - Services list from nova: [, , ] 2025-02-03 02:23:54,003 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2675-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2675-1) 2025-02-03 02:23:55,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2675-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2675-1) 2025-02-03 02:23:55,187 - INFO - Setting gateway for router 9cb94d3b-5b0a-43be-93c0-d5de6ff883d5 to network fdad13d1-2bdb-4911-957f-8f60bb65d73a 2025-02-03 02:23:55,243 - INFO - Adding interface with subnet_id 3cd33efc-2e35-4123-be8d-fd001d9a15a9, port_id None to router 9cb94d3b-5b0a-43be-93c0-d5de6ff883d5 2025-02-03 02:23:55,806 - INFO - Waiting for VM ctest-TestRoutersBasic-55125886-38166208 to be up.. 2025-02-03 02:23:55,955 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 02:24:01,044 - DEBUG - VM is in ACTIVE state now 2025-02-03 02:24:01,044 - INFO - VM name : ctest-TestRoutersBasic-55125886-38166208 2025-02-03 02:24:01,123 - DEBUG - VM ctest-TestRoutersBasic-55125886-38166208 ID is 01f8cd4b-b0c4-46ae-b674-644ae6dabc7e 2025-02-03 02:24:01,143 - DEBUG - VM ctest-TestRoutersBasic-55125886-38166208 launched on Node cn-jenkins-deploy-platform-ansible-os-2675-1 2025-02-03 02:24:01,226 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/01f8cd4b-b0c4-46ae-b674-644ae6dabc7e 2025-02-03 02:24:01,531 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/01f8cd4b-b0c4-46ae-b674-644ae6dabc7e 2025-02-03 02:24:01,563 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/80787a33-4608-446b-b48f-adf8caa05705 2025-02-03 02:24:04,838 - 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-02-03 02:24:04,838 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55125886-38166208 failed! 2025-02-03 02:24:04,898 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-55125886:ctest-vn-17959649 is 93.217.53.65 and allocation pool is NOT set 2025-02-03 02:24:06,962 - 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=2.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.467 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.467/1.700/2.934/1.233 ms') 2025-02-03 02:24:06,962 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-55125886-38166208 passed 2025-02-03 02:24:07,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 02:24:07,126 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55125886-38166208, IP 93.217.53.67, Port 22 2025-02-03 02:24:07,286 - DEBUG - VM ctest-TestRoutersBasic-55125886-38166208 is ready for SSH connections 2025-02-03 02:24:07,286 - INFO - Waiting for VM ctest-TestRoutersBasic-55125886-95783617 to be up.. 2025-02-03 02:24:07,376 - DEBUG - VM is in ACTIVE state now 2025-02-03 02:24:07,377 - INFO - VM name : ctest-TestRoutersBasic-55125886-95783617 2025-02-03 02:24:07,453 - DEBUG - VM ctest-TestRoutersBasic-55125886-95783617 ID is a17d1366-7255-40a7-8e7f-da6cc9b0c599 2025-02-03 02:24:07,454 - DEBUG - VM ctest-TestRoutersBasic-55125886-95783617 launched on Node cn-jenkins-deploy-platform-ansible-os-2675-1 2025-02-03 02:24:07,529 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/a17d1366-7255-40a7-8e7f-da6cc9b0c599 2025-02-03 02:24:07,540 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f1d76346-6a1e-405f-a58e-08f6e4d13746 2025-02-03 02:24:08,789 - 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=2.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.543/2.656/1.112 ms') 2025-02-03 02:24:08,789 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-55125886-95783617 passed 2025-02-03 02:24:08,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 02:24:08,942 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-55125886-95783617, IP 128.41.199.195, Port 22 2025-02-03 02:24:09,098 - DEBUG - VM ctest-TestRoutersBasic-55125886-95783617 is ready for SSH connections 2025-02-03 02:24:09,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 02:24:09,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.41.199.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-02-03 02:24:09,098 - DEBUG - ping -s 56 -c 3 -W 1 128.41.199.195 2025-02-03 02:24:13,090 - DEBUG - PING 128.41.199.195 (128.41.199.195): 56 data bytes 64 bytes from 128.41.199.195: seq=0 ttl=62 time=7.004 ms 64 bytes from 128.41.199.195: seq=1 ttl=62 time=0.974 ms 64 bytes from 128.41.199.195: seq=2 ttl=62 time=0.822 ms --- 128.41.199.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/2.933/7.004 ms 2025-02-03 02:24:13,090 - INFO - Ping to IP 128.41.199.195 from VM ctest-TestRoutersBasic-55125886-38166208 passed 2025-02-03 02:24:13,090 - INFO - Deleting interface with subnet_id 3cd33efc-2e35-4123-be8d-fd001d9a15a9, port_id None from router 9cb94d3b-5b0a-43be-93c0-d5de6ff883d5 2025-02-03 02:24:13,309 - INFO - Deleting VM ctest-TestRoutersBasic-55125886-95783617 2025-02-03 02:24:13,377 - INFO - Deleting VM ctest-TestRoutersBasic-55125886-38166208 2025-02-03 02:24:13,465 - INFO - Deleting VN ctest-ext_vn-10418799 2025-02-03 02:24:13,580 - DEBUG - VN fdad13d1-2bdb-4911-957f-8f60bb65d73a still in use: Unable to complete operation on network fdad13d1-2bdb-4911-957f-8f60bb65d73a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-521f988e-3de5-44a9-b234-cea990fdef30'] 2025-02-03 02:24:13,580 - WARNING - Deleting VN ctest-ext_vn-10418799 failed..Will retry 2025-02-03 02:24:15,694 - DEBUG - Response for deleting network () 2025-02-03 02:24:15,694 - INFO - Deleting VN ctest-vn-17959649 2025-02-03 02:24:15,827 - DEBUG - Response for deleting network () 2025-02-03 02:24:16,080 - DEBUG - No XMPP flaps were noticed during the test
2025-02-03 02:24:16,080 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-02-03 02:24:16,080 - INFO - -------------------------------------------------------------------------------- 2025-02-03 02:24:16,737 - INFO - Deleted project: ctest-TestRoutersBasic-55125886, ID : eb93107e-c9f2-41ad-91fc-0c4616ce6563