2025-06-18 16:24:08,977 - INFO - Domain Default found not creating 2025-06-18 16:24:09,137 - INFO - Project ctest-TestRoutersBasic-79077144 not found, creating it 2025-06-18 16:24:09,608 - INFO - Created Project:ctest-TestRoutersBasic-79077144, ID : 1aa1ed53-259f-4141-ae6a-402a5ea4c8a6 2025-06-18 16:24:11,194 - INFO - ================================================================================ 2025-06-18 16:24:11,194 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-18 16:24:11,195 - 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-06-18 16:24:11,448 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-18 16:24:11,448 - INFO - Initial checks done. Running the testcase now 2025-06-18 16:24:11,449 - INFO - 2025-06-18 16:24:12,253 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-79077144 2025-06-18 16:24:12,354 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-79077144 2025-06-18 16:24:12,686 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79077144', 'default']} 2025-06-18 16:24:13,012 - DEBUG - Response for create_network : {'network': {'id': '9cbe60eb-e751-4b8b-b7e5-ab3999be1d2b', 'name': 'ctest-vn-50853755', 'tenant_id': '1aa1ed53259f4141ae6a402a5ea4c8a6', 'project_id': '1aa1ed53259f4141ae6a402a5ea4c8a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79077144', 'ctest-vn-50853755'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 16:24:13,199 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e71f7552-4da7-4dc5-afd5-debbd671784a', 'name': '', 'tenant_id': '1aa1ed53259f4141ae6a402a5ea4c8a6', 'network_id': '9cbe60eb-e751-4b8b-b7e5-ab3999be1d2b', 'ip_version': 4, 'cidr': '102.183.251.128/26', 'allocation_pools': [{'start': '102.183.251.130', 'end': '102.183.251.190'}], 'gateway_ip': '102.183.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.183.251.130', 'tags': [], 'project_id': '1aa1ed53259f4141ae6a402a5ea4c8a6'}} 2025-06-18 16:24:13,217 - INFO - Created VN ctest-vn-50853755 2025-06-18 16:24:13,270 - DEBUG - VN ctest-vn-50853755 UUID is 9cbe60eb-e751-4b8b-b7e5-ab3999be1d2b 2025-06-18 16:24:13,597 - DEBUG - Response for create_network : {'network': {'id': 'b0e1dcb7-2d2c-4d62-a242-c0a0d1c24b03', 'name': 'ctest-ext_vn-75029437', 'tenant_id': '1aa1ed53259f4141ae6a402a5ea4c8a6', 'project_id': '1aa1ed53259f4141ae6a402a5ea4c8a6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-79077144', 'ctest-ext_vn-75029437'], 'port_security_enabled': True, 'description': ''}} 2025-06-18 16:24:13,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d863e71-6850-458c-bfd9-b1bb31db3855', 'name': '', 'tenant_id': '1aa1ed53259f4141ae6a402a5ea4c8a6', 'network_id': 'b0e1dcb7-2d2c-4d62-a242-c0a0d1c24b03', 'ip_version': 4, 'cidr': '170.113.17.64/26', 'allocation_pools': [{'start': '170.113.17.66', 'end': '170.113.17.126'}], 'gateway_ip': '170.113.17.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.113.17.66', 'tags': [], 'project_id': '1aa1ed53259f4141ae6a402a5ea4c8a6'}} 2025-06-18 16:24:13,818 - INFO - Created VN ctest-ext_vn-75029437 2025-06-18 16:24:13,874 - DEBUG - VN ctest-ext_vn-75029437 UUID is b0e1dcb7-2d2c-4d62-a242-c0a0d1c24b03 2025-06-18 16:24:14,055 - DEBUG - Services list from nova: [, , ] 2025-06-18 16:24:15,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3476-1) 2025-06-18 16:24:16,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3476-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3476-1) 2025-06-18 16:24:16,584 - INFO - Setting gateway for router c6d5ac15-bec9-4051-9135-c9af2386cd47 to network b0e1dcb7-2d2c-4d62-a242-c0a0d1c24b03 2025-06-18 16:24:16,685 - INFO - Adding interface with subnet_id e71f7552-4da7-4dc5-afd5-debbd671784a, port_id None to router c6d5ac15-bec9-4051-9135-c9af2386cd47 2025-06-18 16:24:17,208 - INFO - Waiting for VM ctest-TestRoutersBasic-79077144-97361220 to be up.. 2025-06-18 16:24:17,424 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-18 16:24:22,516 - DEBUG - VM is in ACTIVE state now 2025-06-18 16:24:22,516 - INFO - VM name : ctest-TestRoutersBasic-79077144-97361220 2025-06-18 16:24:22,604 - DEBUG - VM ctest-TestRoutersBasic-79077144-97361220 ID is 4f09107c-c689-4534-800a-5dff13d14f47 2025-06-18 16:24:22,628 - DEBUG - VM ctest-TestRoutersBasic-79077144-97361220 launched on Node cn-jenkins-deploy-platform-ansible-os-3476-1 2025-06-18 16:24:22,733 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f09107c-c689-4534-800a-5dff13d14f47 2025-06-18 16:24:23,083 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4f09107c-c689-4534-800a-5dff13d14f47 2025-06-18 16:24:23,129 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/dc8e46b9-dcf2-4ab6-85c6-5177ccc6bf7a 2025-06-18 16:24:26,416 - 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 1023ms') 2025-06-18 16:24:26,417 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79077144-97361220 failed! 2025-06-18 16:24:26,474 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-79077144:ctest-vn-50853755 is 102.183.251.129 and allocation pool is NOT set 2025-06-18 16:24:28,538 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.522 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.522/2.472/4.423/1.950 ms') 2025-06-18 16:24:28,538 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-79077144-97361220 passed 2025-06-18 16:24:28,694 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 16:24:28,694 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79077144-97361220, IP 102.183.251.131, Port 22 2025-06-18 16:24:28,850 - DEBUG - VM ctest-TestRoutersBasic-79077144-97361220 is ready for SSH connections 2025-06-18 16:24:28,850 - INFO - Waiting for VM ctest-TestRoutersBasic-79077144-66027868 to be up.. 2025-06-18 16:24:28,943 - DEBUG - VM is in ACTIVE state now 2025-06-18 16:24:28,943 - INFO - VM name : ctest-TestRoutersBasic-79077144-66027868 2025-06-18 16:24:29,025 - DEBUG - VM ctest-TestRoutersBasic-79077144-66027868 ID is c0e334c5-f8e2-415a-af67-ab8c7cdb2583 2025-06-18 16:24:29,025 - DEBUG - VM ctest-TestRoutersBasic-79077144-66027868 launched on Node cn-jenkins-deploy-platform-ansible-os-3476-1 2025-06-18 16:24:29,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c0e334c5-f8e2-415a-af67-ab8c7cdb2583 2025-06-18 16:24:29,116 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e8a5e7a6-72dd-46fc-8c53-6d7b86fc45e4 2025-06-18 16:24:30,361 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.620 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.620/2.050/3.481/1.430 ms') 2025-06-18 16:24:30,361 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-79077144-66027868 passed 2025-06-18 16:24:30,518 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 16:24:30,518 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-79077144-66027868, IP 170.113.17.67, Port 22 2025-06-18 16:24:30,684 - DEBUG - VM ctest-TestRoutersBasic-79077144-66027868 is ready for SSH connections 2025-06-18 16:24:30,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-18 16:24:30,684 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 170.113.17.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-18 16:24:30,684 - DEBUG - ping -s 56 -c 3 -W 1 170.113.17.67 2025-06-18 16:24:34,387 - DEBUG - PING 170.113.17.67 (170.113.17.67): 56 data bytes 64 bytes from 170.113.17.67: seq=0 ttl=62 time=4.953 ms 64 bytes from 170.113.17.67: seq=1 ttl=62 time=0.848 ms 64 bytes from 170.113.17.67: seq=2 ttl=62 time=0.903 ms --- 170.113.17.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/2.234/4.953 ms 2025-06-18 16:24:34,387 - INFO - Ping to IP 170.113.17.67 from VM ctest-TestRoutersBasic-79077144-97361220 passed 2025-06-18 16:24:34,387 - INFO - Deleting interface with subnet_id e71f7552-4da7-4dc5-afd5-debbd671784a, port_id None from router c6d5ac15-bec9-4051-9135-c9af2386cd47 2025-06-18 16:24:34,632 - INFO - Deleting VM ctest-TestRoutersBasic-79077144-66027868 2025-06-18 16:24:34,707 - INFO - Deleting VM ctest-TestRoutersBasic-79077144-97361220 2025-06-18 16:24:34,808 - INFO - Deleting VN ctest-ext_vn-75029437 2025-06-18 16:24:34,925 - DEBUG - VN b0e1dcb7-2d2c-4d62-a242-c0a0d1c24b03 still in use: Unable to complete operation on network b0e1dcb7-2d2c-4d62-a242-c0a0d1c24b03. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-478a62e3-fb39-4a10-9e21-480cecedc7d1'] 2025-06-18 16:24:34,925 - WARNING - Deleting VN ctest-ext_vn-75029437 failed..Will retry 2025-06-18 16:24:37,034 - DEBUG - Response for deleting network () 2025-06-18 16:24:37,034 - INFO - Deleting VN ctest-vn-50853755 2025-06-18 16:24:37,151 - DEBUG - Response for deleting network () 2025-06-18 16:24:37,405 - DEBUG - No XMPP flaps were noticed during the test 2025-06-18 16:24:37,405 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-06-18 16:24:37,405 - INFO - -------------------------------------------------------------------------------- 2025-06-18 16:24:38,124 - INFO - Deleted project: ctest-TestRoutersBasic-79077144, ID : 1aa1ed53-259f-4141-ae6a-402a5ea4c8a6