2025-08-15 08:15:12,435 - INFO - Domain Default found not creating 2025-08-15 08:15:12,577 - INFO - Project ctest-TestRoutersBasic-52153676 not found, creating it 2025-08-15 08:15:13,038 - INFO - Created Project:ctest-TestRoutersBasic-52153676, ID : e05465ae-571b-42cf-9b38-657112e088f8 2025-08-15 08:15:14,976 - INFO - ================================================================================ 2025-08-15 08:15:14,976 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-15 08:15:14,976 - 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-08-15 08:15:15,230 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-08-15 08:15:15,230 - INFO - Initial checks done. Running the testcase now 2025-08-15 08:15:15,230 - INFO - 2025-08-15 08:15:15,992 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-52153676 2025-08-15 08:15:16,092 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-52153676 2025-08-15 08:15:16,416 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52153676', 'default']} 2025-08-15 08:15:16,728 - DEBUG - Response for create_network : {'network': {'id': '157ccbc9-dc84-4013-8335-fc010e6af2eb', 'name': 'ctest-vn-41558695', 'tenant_id': 'e05465ae571b42cf9b38657112e088f8', 'project_id': 'e05465ae571b42cf9b38657112e088f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52153676', 'ctest-vn-41558695'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:15:16,895 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a657c355-e2e0-4d3b-b066-eb409554d1b5', 'name': '', 'tenant_id': 'e05465ae571b42cf9b38657112e088f8', 'network_id': '157ccbc9-dc84-4013-8335-fc010e6af2eb', 'ip_version': 4, 'cidr': '146.39.25.0/26', 'allocation_pools': [{'start': '146.39.25.2', 'end': '146.39.25.62'}], 'gateway_ip': '146.39.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.39.25.2', 'tags': [], 'project_id': 'e05465ae571b42cf9b38657112e088f8'}} 2025-08-15 08:15:16,912 - INFO - Created VN ctest-vn-41558695 2025-08-15 08:15:16,964 - DEBUG - VN ctest-vn-41558695 UUID is 157ccbc9-dc84-4013-8335-fc010e6af2eb 2025-08-15 08:15:17,290 - DEBUG - Response for create_network : {'network': {'id': '12414f72-454d-45d6-9f8f-de707dc111f3', 'name': 'ctest-ext_vn-89350712', 'tenant_id': 'e05465ae571b42cf9b38657112e088f8', 'project_id': 'e05465ae571b42cf9b38657112e088f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-52153676', 'ctest-ext_vn-89350712'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 08:15:17,466 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8858103-4a2d-462f-8feb-a099b2417f00', 'name': '', 'tenant_id': 'e05465ae571b42cf9b38657112e088f8', 'network_id': '12414f72-454d-45d6-9f8f-de707dc111f3', 'ip_version': 4, 'cidr': '177.93.197.192/26', 'allocation_pools': [{'start': '177.93.197.194', 'end': '177.93.197.254'}], 'gateway_ip': '177.93.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.93.197.194', 'tags': [], 'project_id': 'e05465ae571b42cf9b38657112e088f8'}} 2025-08-15 08:15:17,484 - INFO - Created VN ctest-ext_vn-89350712 2025-08-15 08:15:17,536 - DEBUG - VN ctest-ext_vn-89350712 UUID is 12414f72-454d-45d6-9f8f-de707dc111f3 2025-08-15 08:15:17,732 - DEBUG - Services list from nova: [, , ] 2025-08-15 08:15:18,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1) 2025-08-15 08:15:19,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3859-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3859-1) 2025-08-15 08:15:20,053 - INFO - Setting gateway for router 061b2da5-ef5c-47a7-af0e-252edf2b5f85 to network 12414f72-454d-45d6-9f8f-de707dc111f3 2025-08-15 08:15:20,108 - INFO - Adding interface with subnet_id a657c355-e2e0-4d3b-b066-eb409554d1b5, port_id None to router 061b2da5-ef5c-47a7-af0e-252edf2b5f85 2025-08-15 08:15:20,530 - INFO - Waiting for VM ctest-TestRoutersBasic-52153676-28940092 to be up.. 2025-08-15 08:15:20,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 08:15:25,729 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:15:25,729 - INFO - VM name : ctest-TestRoutersBasic-52153676-28940092 2025-08-15 08:15:25,807 - DEBUG - VM ctest-TestRoutersBasic-52153676-28940092 ID is 2ef32678-fa2f-48ce-92f8-4b1774436558 2025-08-15 08:15:25,826 - DEBUG - VM ctest-TestRoutersBasic-52153676-28940092 launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1 2025-08-15 08:15:25,903 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2ef32678-fa2f-48ce-92f8-4b1774436558 2025-08-15 08:15:26,239 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/2ef32678-fa2f-48ce-92f8-4b1774436558 2025-08-15 08:15:26,272 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ade2a7b1-9df0-40aa-8b1e-8713f40422e9 2025-08-15 08:15:29,557 - 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 1030ms') 2025-08-15 08:15:29,557 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52153676-28940092 failed! 2025-08-15 08:15:29,612 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-52153676:ctest-vn-41558695 is 146.39.25.1 and allocation pool is NOT set 2025-08-15 08:15:31,675 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.481 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.481/1.887/3.294/1.406 ms') 2025-08-15 08:15:31,675 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-52153676-28940092 passed 2025-08-15 08:15:31,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:15:31,828 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52153676-28940092, IP 146.39.25.3, Port 22 2025-08-15 08:15:31,998 - DEBUG - VM ctest-TestRoutersBasic-52153676-28940092 is ready for SSH connections 2025-08-15 08:15:31,998 - INFO - Waiting for VM ctest-TestRoutersBasic-52153676-17026605 to be up.. 2025-08-15 08:15:32,079 - DEBUG - VM is in ACTIVE state now 2025-08-15 08:15:32,079 - INFO - VM name : ctest-TestRoutersBasic-52153676-17026605 2025-08-15 08:15:32,154 - DEBUG - VM ctest-TestRoutersBasic-52153676-17026605 ID is 9622e7ef-35a7-48f0-af73-11c800c91d07 2025-08-15 08:15:32,154 - DEBUG - VM ctest-TestRoutersBasic-52153676-17026605 launched on Node cn-jenkins-deploy-platform-ansible-os-3859-1 2025-08-15 08:15:32,228 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9622e7ef-35a7-48f0-af73-11c800c91d07 2025-08-15 08:15:32,236 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/57e080bf-bfb4-4fc4-91c9-23f544473ca3 2025-08-15 08:15:33,470 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.871/3.353/1.482 ms') 2025-08-15 08:15:33,470 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-52153676-17026605 passed 2025-08-15 08:15:33,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:15:33,624 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-52153676-17026605, IP 177.93.197.195, Port 22 2025-08-15 08:15:33,780 - DEBUG - VM ctest-TestRoutersBasic-52153676-17026605 is ready for SSH connections 2025-08-15 08:15:33,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 08:15:33,780 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.93.197.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-08-15 08:15:33,780 - DEBUG - ping -s 56 -c 3 -W 1 177.93.197.195 2025-08-15 08:15:37,849 - DEBUG - PING 177.93.197.195 (177.93.197.195): 56 data bytes 64 bytes from 177.93.197.195: seq=0 ttl=62 time=7.330 ms 64 bytes from 177.93.197.195: seq=1 ttl=62 time=0.823 ms 64 bytes from 177.93.197.195: seq=2 ttl=62 time=0.884 ms --- 177.93.197.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/3.012/7.330 ms 2025-08-15 08:15:37,849 - INFO - Ping to IP 177.93.197.195 from VM ctest-TestRoutersBasic-52153676-28940092 passed 2025-08-15 08:15:37,849 - INFO - Deleting interface with subnet_id a657c355-e2e0-4d3b-b066-eb409554d1b5, port_id None from router 061b2da5-ef5c-47a7-af0e-252edf2b5f85 2025-08-15 08:15:38,027 - INFO - Deleting VM ctest-TestRoutersBasic-52153676-17026605 2025-08-15 08:15:38,094 - INFO - Deleting VM ctest-TestRoutersBasic-52153676-28940092 2025-08-15 08:15:38,175 - INFO - Deleting VN ctest-ext_vn-89350712 2025-08-15 08:15:38,238 - DEBUG - VN 12414f72-454d-45d6-9f8f-de707dc111f3 still in use: Unable to complete operation on network 12414f72-454d-45d6-9f8f-de707dc111f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1e7ac850-eb60-4fee-b2f4-6bfa22b33ae1'] 2025-08-15 08:15:38,239 - WARNING - Deleting VN ctest-ext_vn-89350712 failed..Will retry 2025-08-15 08:15:40,350 - DEBUG - Response for deleting network () 2025-08-15 08:15:40,350 - INFO - Deleting VN ctest-vn-41558695 2025-08-15 08:15:40,457 - DEBUG - Response for deleting network () 2025-08-15 08:15:40,714 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 08:15:40,714 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-08-15 08:15:40,714 - INFO - -------------------------------------------------------------------------------- 2025-08-15 08:15:41,414 - INFO - Deleted project: ctest-TestRoutersBasic-52153676, ID : e05465ae-571b-42cf-9b38-657112e088f8