2025-04-25 15:06:09,028 - INFO - Domain Default found not creating 2025-04-25 15:06:09,176 - INFO - Project ctest-TestRoutersBasic-08956947 not found, creating it 2025-04-25 15:06:09,630 - INFO - Created Project:ctest-TestRoutersBasic-08956947, ID : 765dd17b-67c0-4384-9169-4e482dde758e 2025-04-25 15:06:10,996 - INFO - ================================================================================ 2025-04-25 15:06:10,996 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-25 15:06:10,996 - 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-25 15:06:11,259 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with 2025-04-25 15:06:11,259 - INFO - Initial checks done. Running the testcase now 2025-04-25 15:06:11,259 - INFO - 2025-04-25 15:06:11,950 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-08956947 2025-04-25 15:06:12,048 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-08956947 2025-04-25 15:06:12,380 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08956947', 'default']} 2025-04-25 15:06:12,671 - DEBUG - Response for create_network : {'network': {'id': 'd0ad735e-56fc-4887-a61b-d921c783b03b', 'name': 'ctest-vn-37493500', 'tenant_id': '765dd17b67c0438491694e482dde758e', 'project_id': '765dd17b67c0438491694e482dde758e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08956947', 'ctest-vn-37493500'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 15:06:12,842 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a14b1424-86c8-4b84-89e6-67cdf79c47d2', 'name': '', 'tenant_id': '765dd17b67c0438491694e482dde758e', 'network_id': 'd0ad735e-56fc-4887-a61b-d921c783b03b', 'ip_version': 4, 'cidr': '31.144.254.64/26', 'allocation_pools': [{'start': '31.144.254.66', 'end': '31.144.254.126'}], 'gateway_ip': '31.144.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.144.254.66', 'tags': [], 'project_id': '765dd17b67c0438491694e482dde758e'}} 2025-04-25 15:06:12,858 - INFO - Created VN ctest-vn-37493500 2025-04-25 15:06:12,912 - DEBUG - VN ctest-vn-37493500 UUID is d0ad735e-56fc-4887-a61b-d921c783b03b 2025-04-25 15:06:13,303 - DEBUG - Response for create_network : {'network': {'id': '3b764d6a-c783-4233-bf18-f5e07cbb6672', 'name': 'ctest-ext_vn-33503287', 'tenant_id': '765dd17b67c0438491694e482dde758e', 'project_id': '765dd17b67c0438491694e482dde758e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-08956947', 'ctest-ext_vn-33503287'], 'port_security_enabled': True, 'description': ''}} 2025-04-25 15:06:13,547 - DEBUG - Response for create_subnet : {'subnet': {'id': '3553ef4e-389d-4988-aa9e-a82f5091115d', 'name': '', 'tenant_id': '765dd17b67c0438491694e482dde758e', 'network_id': '3b764d6a-c783-4233-bf18-f5e07cbb6672', 'ip_version': 4, 'cidr': '40.114.252.192/26', 'allocation_pools': [{'start': '40.114.252.194', 'end': '40.114.252.254'}], 'gateway_ip': '40.114.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.114.252.194', 'tags': [], 'project_id': '765dd17b67c0438491694e482dde758e'}} 2025-04-25 15:06:13,565 - INFO - Created VN ctest-ext_vn-33503287 2025-04-25 15:06:13,620 - DEBUG - VN ctest-ext_vn-33503287 UUID is 3b764d6a-c783-4233-bf18-f5e07cbb6672 2025-04-25 15:06:13,828 - DEBUG - Services list from nova: [, , ] 2025-04-25 15:06:14,798 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3217-1) 2025-04-25 15:06:15,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3217-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3217-1) 2025-04-25 15:06:15,965 - INFO - Setting gateway for router cf52c0c0-feae-4cf4-8fea-e5f45ab061da to network 3b764d6a-c783-4233-bf18-f5e07cbb6672 2025-04-25 15:06:16,015 - INFO - Adding interface with subnet_id a14b1424-86c8-4b84-89e6-67cdf79c47d2, port_id None to router cf52c0c0-feae-4cf4-8fea-e5f45ab061da 2025-04-25 15:06:16,411 - INFO - Waiting for VM ctest-TestRoutersBasic-08956947-13979546 to be up.. 2025-04-25 15:06:16,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-25 15:06:21,618 - DEBUG - VM is in ACTIVE state now 2025-04-25 15:06:21,618 - INFO - VM name : ctest-TestRoutersBasic-08956947-13979546 2025-04-25 15:06:21,682 - DEBUG - VM ctest-TestRoutersBasic-08956947-13979546 ID is fb5f7d0d-e15c-4fa7-9239-c1d7503d3db9 2025-04-25 15:06:21,698 - DEBUG - VM ctest-TestRoutersBasic-08956947-13979546 launched on Node cn-jenkins-deploy-platform-ansible-os-3217-1 2025-04-25 15:06:21,765 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fb5f7d0d-e15c-4fa7-9239-c1d7503d3db9 2025-04-25 15:06:22,052 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/fb5f7d0d-e15c-4fa7-9239-c1d7503d3db9 2025-04-25 15:06:22,081 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/9eb9cb40-29fa-4e50-91a3-988c3d19b3a0 2025-04-25 15:06:25,337 - 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 1020ms') 2025-04-25 15:06:25,337 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08956947-13979546 failed! 2025-04-25 15:06:25,396 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-08956947:ctest-vn-37493500 is 31.144.254.65 and allocation pool is NOT set 2025-04-25 15:06:27,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=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.347 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.347/1.594/2.842/1.247 ms') 2025-04-25 15:06:27,453 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-08956947-13979546 passed 2025-04-25 15:06:27,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 15:06:27,605 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08956947-13979546, IP 31.144.254.67, Port 22 2025-04-25 15:06:27,760 - DEBUG - VM ctest-TestRoutersBasic-08956947-13979546 is ready for SSH connections 2025-04-25 15:06:27,760 - INFO - Waiting for VM ctest-TestRoutersBasic-08956947-03584994 to be up.. 2025-04-25 15:06:27,836 - DEBUG - VM is in ACTIVE state now 2025-04-25 15:06:27,836 - INFO - VM name : ctest-TestRoutersBasic-08956947-03584994 2025-04-25 15:06:27,908 - DEBUG - VM ctest-TestRoutersBasic-08956947-03584994 ID is 86e437fc-7220-4e3d-93d5-bb700b2dd407 2025-04-25 15:06:27,909 - DEBUG - VM ctest-TestRoutersBasic-08956947-03584994 launched on Node cn-jenkins-deploy-platform-ansible-os-3217-1 2025-04-25 15:06:27,980 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/86e437fc-7220-4e3d-93d5-bb700b2dd407 2025-04-25 15:06:27,988 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ffeb7685-f113-4975-a5e0-2a86cacb19a5 2025-04-25 15:06:29,231 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.413 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.413/1.627/2.841/1.214 ms') 2025-04-25 15:06:29,231 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-08956947-03584994 passed 2025-04-25 15:06:29,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 15:06:29,384 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-08956947-03584994, IP 40.114.252.195, Port 22 2025-04-25 15:06:29,544 - DEBUG - VM ctest-TestRoutersBasic-08956947-03584994 is ready for SSH connections 2025-04-25 15:06:29,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-25 15:06:29,544 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.114.252.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-25 15:06:29,544 - DEBUG - ping -s 56 -c 3 -W 1 40.114.252.195 2025-04-25 15:06:33,528 - DEBUG - PING 40.114.252.195 (40.114.252.195): 56 data bytes 64 bytes from 40.114.252.195: seq=0 ttl=62 time=5.464 ms 64 bytes from 40.114.252.195: seq=1 ttl=62 time=0.887 ms 64 bytes from 40.114.252.195: seq=2 ttl=62 time=0.822 ms --- 40.114.252.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.822/2.391/5.464 ms 2025-04-25 15:06:33,528 - INFO - Ping to IP 40.114.252.195 from VM ctest-TestRoutersBasic-08956947-13979546 passed 2025-04-25 15:06:33,528 - INFO - Deleting interface with subnet_id a14b1424-86c8-4b84-89e6-67cdf79c47d2, port_id None from router cf52c0c0-feae-4cf4-8fea-e5f45ab061da 2025-04-25 15:06:33,717 - INFO - Deleting VM ctest-TestRoutersBasic-08956947-03584994 2025-04-25 15:06:33,779 - INFO - Deleting VM ctest-TestRoutersBasic-08956947-13979546 2025-04-25 15:06:33,862 - INFO - Deleting VN ctest-ext_vn-33503287 2025-04-25 15:06:33,931 - DEBUG - VN 3b764d6a-c783-4233-bf18-f5e07cbb6672 still in use: Unable to complete operation on network 3b764d6a-c783-4233-bf18-f5e07cbb6672. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-906552a0-95d8-44da-8b5f-cc98cf1fc687'] 2025-04-25 15:06:33,931 - WARNING - Deleting VN ctest-ext_vn-33503287 failed..Will retry 2025-04-25 15:06:36,032 - DEBUG - Response for deleting network () 2025-04-25 15:06:36,033 - INFO - Deleting VN ctest-vn-37493500 2025-04-25 15:06:36,123 - DEBUG - Response for deleting network () 2025-04-25 15:06:36,386 - DEBUG - No XMPP flaps were noticed during the test 2025-04-25 15:06:36,386 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-04-25 15:06:36,386 - INFO - -------------------------------------------------------------------------------- 2025-04-25 15:06:37,048 - INFO - Deleted project: ctest-TestRoutersBasic-08956947, ID : 765dd17b-67c0-4384-9169-4e482dde758e