2025-01-08 09:17:55,001 - INFO - Domain Default found not creating 2025-01-08 09:17:55,170 - INFO - Project ctest-TestRoutersBasic-64465368 not found, creating it 2025-01-08 09:17:55,672 - INFO - Created Project:ctest-TestRoutersBasic-64465368, ID : 6ec6f3ce-f311-4fee-8793-14f687a6de28 2025-01-08 09:17:57,962 - INFO - ================================================================================ 2025-01-08 09:17:57,963 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-08 09:17:57,963 - 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-08 09:17:58,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.53': {'10.20.0.27': '0'}} with 2025-01-08 09:17:58,234 - INFO - Initial checks done. Running the testcase now 2025-01-08 09:17:58,234 - INFO - 2025-01-08 09:17:58,938 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-64465368 2025-01-08 09:17:59,044 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-64465368 2025-01-08 09:17:59,383 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64465368', 'default']} 2025-01-08 09:17:59,718 - DEBUG - Response for create_network : {'network': {'id': 'aa0b336e-837f-4d88-936e-7f7f849ec733', 'name': 'ctest-vn-46853345', 'tenant_id': '6ec6f3cef3114fee879314f687a6de28', 'project_id': '6ec6f3cef3114fee879314f687a6de28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64465368', 'ctest-vn-46853345'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 09:17:59,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '540d6717-f1f9-41bf-a551-34f1d91c6fa9', 'name': '', 'tenant_id': '6ec6f3cef3114fee879314f687a6de28', 'network_id': 'aa0b336e-837f-4d88-936e-7f7f849ec733', 'ip_version': 4, 'cidr': '193.254.1.64/26', 'allocation_pools': [{'start': '193.254.1.66', 'end': '193.254.1.126'}], 'gateway_ip': '193.254.1.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.254.1.66', 'tags': [], 'project_id': '6ec6f3cef3114fee879314f687a6de28'}} 2025-01-08 09:17:59,932 - INFO - Created VN ctest-vn-46853345 2025-01-08 09:17:59,992 - DEBUG - VN ctest-vn-46853345 UUID is aa0b336e-837f-4d88-936e-7f7f849ec733 2025-01-08 09:18:00,346 - DEBUG - Response for create_network : {'network': {'id': '02e5e09f-f1a2-4cf9-af64-10b4fc029dc6', 'name': 'ctest-ext_vn-75244964', 'tenant_id': '6ec6f3cef3114fee879314f687a6de28', 'project_id': '6ec6f3cef3114fee879314f687a6de28', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-64465368', 'ctest-ext_vn-75244964'], 'port_security_enabled': True, 'description': ''}} 2025-01-08 09:18:00,521 - DEBUG - Response for create_subnet : {'subnet': {'id': '31049861-dd8d-49c1-8f88-1597fa2dc4e2', 'name': '', 'tenant_id': '6ec6f3cef3114fee879314f687a6de28', 'network_id': '02e5e09f-f1a2-4cf9-af64-10b4fc029dc6', 'ip_version': 4, 'cidr': '46.126.79.0/26', 'allocation_pools': [{'start': '46.126.79.2', 'end': '46.126.79.62'}], 'gateway_ip': '46.126.79.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.126.79.2', 'tags': [], 'project_id': '6ec6f3cef3114fee879314f687a6de28'}} 2025-01-08 09:18:00,541 - INFO - Created VN ctest-ext_vn-75244964 2025-01-08 09:18:00,599 - DEBUG - VN ctest-ext_vn-75244964 UUID is 02e5e09f-f1a2-4cf9-af64-10b4fc029dc6 2025-01-08 09:18:00,799 - DEBUG - Services list from nova: [, , ] 2025-01-08 09:18:01,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2558-1) 2025-01-08 09:18:03,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2558-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2558-1) 2025-01-08 09:18:03,190 - INFO - Setting gateway for router fd1a7acf-c488-408d-bbd4-9e52a3396ae1 to network 02e5e09f-f1a2-4cf9-af64-10b4fc029dc6 2025-01-08 09:18:03,245 - INFO - Adding interface with subnet_id 540d6717-f1f9-41bf-a551-34f1d91c6fa9, port_id None to router fd1a7acf-c488-408d-bbd4-9e52a3396ae1 2025-01-08 09:18:03,741 - INFO - Waiting for VM ctest-TestRoutersBasic-64465368-26263430 to be up.. 2025-01-08 09:18:03,939 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-08 09:18:09,024 - DEBUG - VM is in ACTIVE state now 2025-01-08 09:18:09,024 - INFO - VM name : ctest-TestRoutersBasic-64465368-26263430 2025-01-08 09:18:09,117 - DEBUG - VM ctest-TestRoutersBasic-64465368-26263430 ID is 78ed31ff-b7b6-499b-9b83-a0c293c0b168 2025-01-08 09:18:09,140 - DEBUG - VM ctest-TestRoutersBasic-64465368-26263430 launched on Node cn-jenkins-deploy-platform-ansible-os-2558-1 2025-01-08 09:18:09,253 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/78ed31ff-b7b6-499b-9b83-a0c293c0b168 2025-01-08 09:18:09,561 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/78ed31ff-b7b6-499b-9b83-a0c293c0b168 2025-01-08 09:18:09,598 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/0e3a755e-eb55-4bea-8ea8-54a014b51420 2025-01-08 09:18:12,873 - 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 1027ms') 2025-01-08 09:18:12,874 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64465368-26263430 failed! 2025-01-08 09:18:12,931 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-64465368:ctest-vn-46853345 is 193.254.1.65 and allocation pool is NOT set 2025-01-08 09:18:14,993 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 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.457/1.566/2.676/1.109 ms') 2025-01-08 09:18:14,993 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-64465368-26263430 passed 2025-01-08 09:18:15,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 09:18:15,152 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64465368-26263430, IP 193.254.1.67, Port 22 2025-01-08 09:18:15,325 - DEBUG - VM ctest-TestRoutersBasic-64465368-26263430 is ready for SSH connections 2025-01-08 09:18:15,326 - INFO - Waiting for VM ctest-TestRoutersBasic-64465368-17751692 to be up.. 2025-01-08 09:18:15,420 - DEBUG - VM is in ACTIVE state now 2025-01-08 09:18:15,420 - INFO - VM name : ctest-TestRoutersBasic-64465368-17751692 2025-01-08 09:18:15,501 - DEBUG - VM ctest-TestRoutersBasic-64465368-17751692 ID is a238ef70-90c7-44fa-9162-9cc30f63de0a 2025-01-08 09:18:15,501 - DEBUG - VM ctest-TestRoutersBasic-64465368-17751692 launched on Node cn-jenkins-deploy-platform-ansible-os-2558-1 2025-01-08 09:18:15,585 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine/a238ef70-90c7-44fa-9162-9cc30f63de0a 2025-01-08 09:18:15,597 - DEBUG - Requesting: http://10.0.0.53:8082/virtual-machine-interface/a114d7eb-4bf0-4d0e-bd01-6bc9916be256 2025-01-08 09:18:16,848 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.824/3.208/1.383 ms') 2025-01-08 09:18:16,848 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-64465368-17751692 passed 2025-01-08 09:18:17,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 09:18:17,004 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-64465368-17751692, IP 46.126.79.3, Port 22 2025-01-08 09:18:17,171 - DEBUG - VM ctest-TestRoutersBasic-64465368-17751692 is ready for SSH connections 2025-01-08 09:18:17,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-08 09:18:17,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.126.79.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.53, gateway password: c0ntrail123 2025-01-08 09:18:17,171 - DEBUG - ping -s 56 -c 3 -W 1 46.126.79.3 2025-01-08 09:18:20,877 - DEBUG - PING 46.126.79.3 (46.126.79.3): 56 data bytes 64 bytes from 46.126.79.3: seq=0 ttl=62 time=10.092 ms 64 bytes from 46.126.79.3: seq=1 ttl=62 time=1.254 ms 64 bytes from 46.126.79.3: seq=2 ttl=62 time=1.056 ms --- 46.126.79.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.056/4.134/10.092 ms 2025-01-08 09:18:20,878 - INFO - Ping to IP 46.126.79.3 from VM ctest-TestRoutersBasic-64465368-26263430 passed 2025-01-08 09:18:20,878 - INFO - Deleting interface with subnet_id 540d6717-f1f9-41bf-a551-34f1d91c6fa9, port_id None from router fd1a7acf-c488-408d-bbd4-9e52a3396ae1 2025-01-08 09:18:21,149 - INFO - Deleting VM ctest-TestRoutersBasic-64465368-17751692 2025-01-08 09:18:21,224 - INFO - Deleting VM ctest-TestRoutersBasic-64465368-26263430 2025-01-08 09:18:21,311 - INFO - Deleting VN ctest-ext_vn-75244964 2025-01-08 09:18:21,379 - DEBUG - VN 02e5e09f-f1a2-4cf9-af64-10b4fc029dc6 still in use: Unable to complete operation on network 02e5e09f-f1a2-4cf9-af64-10b4fc029dc6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b1a725e-daf5-4943-93fb-5aab9e48a71f'] 2025-01-08 09:18:21,379 - WARNING - Deleting VN ctest-ext_vn-75244964 failed..Will retry 2025-01-08 09:18:23,507 - DEBUG - Response for deleting network () 2025-01-08 09:18:23,508 - INFO - Deleting VN ctest-vn-46853345 2025-01-08 09:18:23,619 - DEBUG - Response for deleting network () 2025-01-08 09:18:23,882 - DEBUG - No XMPP flaps were noticed during the test 2025-01-08 09:18:23,883 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-01-08 09:18:23,883 - INFO - -------------------------------------------------------------------------------- 2025-01-08 09:18:24,640 - INFO - Deleted project: ctest-TestRoutersBasic-64465368, ID : 6ec6f3ce-f311-4fee-8793-14f687a6de28