2025-01-07 09:32:59,482 - INFO - Domain Default found not creating 2025-01-07 09:32:59,643 - INFO - Project ctest-TestRoutersBasic-12123461 not found, creating it 2025-01-07 09:33:00,110 - INFO - Created Project:ctest-TestRoutersBasic-12123461, ID : cc8a8939-78e8-45bb-b16e-b70178fe6e02 2025-01-07 09:33:01,718 - INFO - ================================================================================ 2025-01-07 09:33:01,719 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-07 09:33:01,719 - 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-07 09:33:01,976 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.7': '0'}} with 2025-01-07 09:33:01,977 - INFO - Initial checks done. Running the testcase now 2025-01-07 09:33:01,977 - INFO - 2025-01-07 09:33:02,713 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-12123461 2025-01-07 09:33:02,813 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-12123461 2025-01-07 09:33:03,169 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12123461', 'default']} 2025-01-07 09:33:03,490 - DEBUG - Response for create_network : {'network': {'id': '3a9ffb1a-9a6a-44ed-a763-3c2c6d8654c1', 'name': 'ctest-vn-99643963', 'tenant_id': 'cc8a893978e845bbb16eb70178fe6e02', 'project_id': 'cc8a893978e845bbb16eb70178fe6e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12123461', 'ctest-vn-99643963'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:33:03,658 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a83ed408-f438-4186-8eec-7846c9e071fe', 'name': '', 'tenant_id': 'cc8a893978e845bbb16eb70178fe6e02', 'network_id': '3a9ffb1a-9a6a-44ed-a763-3c2c6d8654c1', 'ip_version': 4, 'cidr': '110.3.51.64/26', 'allocation_pools': [{'start': '110.3.51.66', 'end': '110.3.51.126'}], 'gateway_ip': '110.3.51.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.3.51.66', 'tags': [], 'project_id': 'cc8a893978e845bbb16eb70178fe6e02'}} 2025-01-07 09:33:03,679 - INFO - Created VN ctest-vn-99643963 2025-01-07 09:33:03,737 - DEBUG - VN ctest-vn-99643963 UUID is 3a9ffb1a-9a6a-44ed-a763-3c2c6d8654c1 2025-01-07 09:33:04,092 - DEBUG - Response for create_network : {'network': {'id': 'daf704c7-0d0b-4d8f-baae-ef53c5e4ca72', 'name': 'ctest-ext_vn-58768740', 'tenant_id': 'cc8a893978e845bbb16eb70178fe6e02', 'project_id': 'cc8a893978e845bbb16eb70178fe6e02', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-12123461', 'ctest-ext_vn-58768740'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 09:33:04,280 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a05ca5c-5944-477b-bfcc-3fed16bfcbc3', 'name': '', 'tenant_id': 'cc8a893978e845bbb16eb70178fe6e02', 'network_id': 'daf704c7-0d0b-4d8f-baae-ef53c5e4ca72', 'ip_version': 4, 'cidr': '137.6.115.0/26', 'allocation_pools': [{'start': '137.6.115.2', 'end': '137.6.115.62'}], 'gateway_ip': '137.6.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.6.115.2', 'tags': [], 'project_id': 'cc8a893978e845bbb16eb70178fe6e02'}} 2025-01-07 09:33:04,301 - INFO - Created VN ctest-ext_vn-58768740 2025-01-07 09:33:04,357 - DEBUG - VN ctest-ext_vn-58768740 UUID is daf704c7-0d0b-4d8f-baae-ef53c5e4ca72 2025-01-07 09:33:04,535 - DEBUG - Services list from nova: [, , ] 2025-01-07 09:33:05,608 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2544-1) 2025-01-07 09:33:06,849 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2544-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2544-1) 2025-01-07 09:33:06,930 - INFO - Setting gateway for router 66350b1f-fda3-4e71-be51-4715575e17d6 to network daf704c7-0d0b-4d8f-baae-ef53c5e4ca72 2025-01-07 09:33:07,013 - INFO - Adding interface with subnet_id a83ed408-f438-4186-8eec-7846c9e071fe, port_id None to router 66350b1f-fda3-4e71-be51-4715575e17d6 2025-01-07 09:33:07,366 - INFO - Waiting for VM ctest-TestRoutersBasic-12123461-28068668 to be up.. 2025-01-07 09:33:07,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 09:33:12,649 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:33:12,649 - INFO - VM name : ctest-TestRoutersBasic-12123461-28068668 2025-01-07 09:33:12,745 - DEBUG - VM ctest-TestRoutersBasic-12123461-28068668 ID is 4995341d-6a69-4486-8f0f-0aa10a142788 2025-01-07 09:33:12,768 - DEBUG - VM ctest-TestRoutersBasic-12123461-28068668 launched on Node cn-jenkins-deploy-platform-ansible-os-2544-1 2025-01-07 09:33:12,858 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/4995341d-6a69-4486-8f0f-0aa10a142788 2025-01-07 09:33:13,159 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/4995341d-6a69-4486-8f0f-0aa10a142788 2025-01-07 09:33:13,198 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/0df48f02-06ed-4b4e-a22b-50828ca35b45 2025-01-07 09:33:16,485 - 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 1029ms') 2025-01-07 09:33:16,485 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12123461-28068668 failed! 2025-01-07 09:33:16,541 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-12123461:ctest-vn-99643963 is 110.3.51.65 and allocation pool is NOT set 2025-01-07 09:33:18,604 - 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=3.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/2.156/3.846/1.690 ms') 2025-01-07 09:33:18,604 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-12123461-28068668 passed 2025-01-07 09:33:18,765 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:33:18,765 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12123461-28068668, IP 110.3.51.67, Port 22 2025-01-07 09:33:18,931 - DEBUG - VM ctest-TestRoutersBasic-12123461-28068668 is ready for SSH connections 2025-01-07 09:33:18,931 - INFO - Waiting for VM ctest-TestRoutersBasic-12123461-54481833 to be up.. 2025-01-07 09:33:19,022 - DEBUG - VM is in ACTIVE state now 2025-01-07 09:33:19,022 - INFO - VM name : ctest-TestRoutersBasic-12123461-54481833 2025-01-07 09:33:19,106 - DEBUG - VM ctest-TestRoutersBasic-12123461-54481833 ID is 6d92c690-6853-4513-8d99-565e879771e0 2025-01-07 09:33:19,107 - DEBUG - VM ctest-TestRoutersBasic-12123461-54481833 launched on Node cn-jenkins-deploy-platform-ansible-os-2544-1 2025-01-07 09:33:19,193 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/6d92c690-6853-4513-8d99-565e879771e0 2025-01-07 09:33:19,204 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/daf939f6-92e8-41f1-acbf-4c22c63a89ba 2025-01-07 09:33:20,457 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.471 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.471/1.535/2.600/1.064 ms') 2025-01-07 09:33:20,457 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-12123461-54481833 passed 2025-01-07 09:33:20,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:33:20,609 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-12123461-54481833, IP 137.6.115.3, Port 22 2025-01-07 09:33:20,784 - DEBUG - VM ctest-TestRoutersBasic-12123461-54481833 is ready for SSH connections 2025-01-07 09:33:20,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 09:33:20,784 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 137.6.115.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-07 09:33:20,784 - DEBUG - ping -s 56 -c 3 -W 1 137.6.115.3 2025-01-07 09:33:24,512 - DEBUG - PING 137.6.115.3 (137.6.115.3): 56 data bytes 64 bytes from 137.6.115.3: seq=0 ttl=62 time=6.493 ms 64 bytes from 137.6.115.3: seq=1 ttl=62 time=1.064 ms 64 bytes from 137.6.115.3: seq=2 ttl=62 time=1.203 ms --- 137.6.115.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.064/2.920/6.493 ms 2025-01-07 09:33:24,512 - INFO - Ping to IP 137.6.115.3 from VM ctest-TestRoutersBasic-12123461-28068668 passed 2025-01-07 09:33:24,512 - INFO - Deleting interface with subnet_id a83ed408-f438-4186-8eec-7846c9e071fe, port_id None from router 66350b1f-fda3-4e71-be51-4715575e17d6 2025-01-07 09:33:24,734 - INFO - Deleting VM ctest-TestRoutersBasic-12123461-54481833 2025-01-07 09:33:24,811 - INFO - Deleting VM ctest-TestRoutersBasic-12123461-28068668 2025-01-07 09:33:24,893 - INFO - Deleting VN ctest-ext_vn-58768740 2025-01-07 09:33:24,962 - DEBUG - VN daf704c7-0d0b-4d8f-baae-ef53c5e4ca72 still in use: Unable to complete operation on network daf704c7-0d0b-4d8f-baae-ef53c5e4ca72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-913872b3-7d1e-46be-b1ac-1e23daa28d08'] 2025-01-07 09:33:24,963 - WARNING - Deleting VN ctest-ext_vn-58768740 failed..Will retry 2025-01-07 09:33:27,093 - DEBUG - Response for deleting network () 2025-01-07 09:33:27,093 - INFO - Deleting VN ctest-vn-99643963 2025-01-07 09:33:27,204 - DEBUG - Response for deleting network () 2025-01-07 09:33:27,463 - DEBUG - No XMPP flaps were noticed during the test 2025-01-07 09:33:27,463 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-01-07 09:33:27,463 - INFO - -------------------------------------------------------------------------------- 2025-01-07 09:33:28,268 - INFO - Deleted project: ctest-TestRoutersBasic-12123461, ID : cc8a8939-78e8-45bb-b16e-b70178fe6e02