2025-08-03 07:11:12,934 - INFO - Domain Default found not creating 2025-08-03 07:11:13,094 - INFO - Project ctest-TestRoutersBasic-19102154 not found, creating it 2025-08-03 07:11:13,575 - INFO - Created Project:ctest-TestRoutersBasic-19102154, ID : c1a1401f-40f1-474e-8862-d74daec6c080 2025-08-03 07:11:15,055 - INFO - ================================================================================ 2025-08-03 07:11:15,055 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-03 07:11:15,055 - 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-03 07:11:15,310 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-08-03 07:11:15,310 - INFO - Initial checks done. Running the testcase now 2025-08-03 07:11:15,310 - INFO - 2025-08-03 07:11:16,011 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19102154 2025-08-03 07:11:16,112 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19102154 2025-08-03 07:11:16,444 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19102154', 'default']} 2025-08-03 07:11:16,741 - DEBUG - Response for create_network : {'network': {'id': '0241a1e5-833e-4b69-9225-2efd899e1471', 'name': 'ctest-vn-35816536', 'tenant_id': 'c1a1401f40f1474e8862d74daec6c080', 'project_id': 'c1a1401f40f1474e8862d74daec6c080', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19102154', 'ctest-vn-35816536'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:11:16,966 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e47223c-e67d-40f1-b2f3-bef64928d586', 'name': '', 'tenant_id': 'c1a1401f40f1474e8862d74daec6c080', 'network_id': '0241a1e5-833e-4b69-9225-2efd899e1471', 'ip_version': 4, 'cidr': '187.11.115.192/26', 'allocation_pools': [{'start': '187.11.115.194', 'end': '187.11.115.254'}], 'gateway_ip': '187.11.115.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.11.115.194', 'tags': [], 'project_id': 'c1a1401f40f1474e8862d74daec6c080'}} 2025-08-03 07:11:16,990 - INFO - Created VN ctest-vn-35816536 2025-08-03 07:11:17,044 - DEBUG - VN ctest-vn-35816536 UUID is 0241a1e5-833e-4b69-9225-2efd899e1471 2025-08-03 07:11:17,372 - DEBUG - Response for create_network : {'network': {'id': '4521f08e-c9e2-4ad3-8b56-dbd9389a7632', 'name': 'ctest-ext_vn-78776713', 'tenant_id': 'c1a1401f40f1474e8862d74daec6c080', 'project_id': 'c1a1401f40f1474e8862d74daec6c080', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19102154', 'ctest-ext_vn-78776713'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 07:11:17,599 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c030848-d83b-4c2b-8259-c769d4422224', 'name': '', 'tenant_id': 'c1a1401f40f1474e8862d74daec6c080', 'network_id': '4521f08e-c9e2-4ad3-8b56-dbd9389a7632', 'ip_version': 4, 'cidr': '216.152.236.192/26', 'allocation_pools': [{'start': '216.152.236.194', 'end': '216.152.236.254'}], 'gateway_ip': '216.152.236.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.152.236.194', 'tags': [], 'project_id': 'c1a1401f40f1474e8862d74daec6c080'}} 2025-08-03 07:11:17,618 - INFO - Created VN ctest-ext_vn-78776713 2025-08-03 07:11:17,672 - DEBUG - VN ctest-ext_vn-78776713 UUID is 4521f08e-c9e2-4ad3-8b56-dbd9389a7632 2025-08-03 07:11:17,848 - DEBUG - Services list from nova: [, , ] 2025-08-03 07:11:18,870 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3744-1) 2025-08-03 07:11:20,091 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3744-1) 2025-08-03 07:11:20,190 - INFO - Setting gateway for router 61e76f85-2000-40d5-9b68-b0667372a33e to network 4521f08e-c9e2-4ad3-8b56-dbd9389a7632 2025-08-03 07:11:20,279 - INFO - Adding interface with subnet_id 3e47223c-e67d-40f1-b2f3-bef64928d586, port_id None to router 61e76f85-2000-40d5-9b68-b0667372a33e 2025-08-03 07:11:20,643 - INFO - Waiting for VM ctest-TestRoutersBasic-19102154-09196428 to be up.. 2025-08-03 07:11:20,812 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-03 07:11:25,890 - DEBUG - VM is in ACTIVE state now 2025-08-03 07:11:25,890 - INFO - VM name : ctest-TestRoutersBasic-19102154-09196428 2025-08-03 07:11:25,960 - DEBUG - VM ctest-TestRoutersBasic-19102154-09196428 ID is 54ab108e-de47-4dc0-962a-6879c8855a7a 2025-08-03 07:11:25,978 - DEBUG - VM ctest-TestRoutersBasic-19102154-09196428 launched on Node cn-jenkins-deploy-platform-ansible-os-3744-1 2025-08-03 07:11:26,060 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/54ab108e-de47-4dc0-962a-6879c8855a7a 2025-08-03 07:11:26,353 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/54ab108e-de47-4dc0-962a-6879c8855a7a 2025-08-03 07:11:26,385 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0c8d070d-a7cf-4769-af9a-1cff31bfaab4 2025-08-03 07:11:29,642 - 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 1019ms') 2025-08-03 07:11:29,642 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19102154-09196428 failed! 2025-08-03 07:11:29,700 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19102154:ctest-vn-35816536 is 187.11.115.193 and allocation pool is NOT set 2025-08-03 07:11:31,763 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.437 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.437/1.428/2.419/0.991 ms') 2025-08-03 07:11:31,763 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-19102154-09196428 passed 2025-08-03 07:11:31,916 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:11:31,916 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19102154-09196428, IP 187.11.115.195, Port 22 2025-08-03 07:11:32,071 - DEBUG - VM ctest-TestRoutersBasic-19102154-09196428 is ready for SSH connections 2025-08-03 07:11:32,071 - INFO - Waiting for VM ctest-TestRoutersBasic-19102154-43722119 to be up.. 2025-08-03 07:11:32,146 - DEBUG - VM is in ACTIVE state now 2025-08-03 07:11:32,146 - INFO - VM name : ctest-TestRoutersBasic-19102154-43722119 2025-08-03 07:11:32,218 - DEBUG - VM ctest-TestRoutersBasic-19102154-43722119 ID is 88fc65df-fbc1-4b64-ad29-d682de0ffc50 2025-08-03 07:11:32,219 - DEBUG - VM ctest-TestRoutersBasic-19102154-43722119 launched on Node cn-jenkins-deploy-platform-ansible-os-3744-1 2025-08-03 07:11:32,299 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/88fc65df-fbc1-4b64-ad29-d682de0ffc50 2025-08-03 07:11:32,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/777389c9-00d2-4a7a-947a-26bbca6d4184 2025-08-03 07:11:33,555 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.697 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.697/1.763/2.830/1.066 ms') 2025-08-03 07:11:33,555 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-19102154-43722119 passed 2025-08-03 07:11:33,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:11:33,712 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19102154-43722119, IP 216.152.236.195, Port 22 2025-08-03 07:11:33,871 - DEBUG - VM ctest-TestRoutersBasic-19102154-43722119 is ready for SSH connections 2025-08-03 07:11:33,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-03 07:11:33,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.152.236.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-03 07:11:33,872 - DEBUG - ping -s 56 -c 3 -W 1 216.152.236.195 2025-08-03 07:11:37,553 - DEBUG - PING 216.152.236.195 (216.152.236.195): 56 data bytes 64 bytes from 216.152.236.195: seq=0 ttl=62 time=5.253 ms 64 bytes from 216.152.236.195: seq=1 ttl=62 time=0.871 ms 64 bytes from 216.152.236.195: seq=2 ttl=62 time=0.836 ms --- 216.152.236.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.836/2.320/5.253 ms 2025-08-03 07:11:37,554 - INFO - Ping to IP 216.152.236.195 from VM ctest-TestRoutersBasic-19102154-09196428 passed 2025-08-03 07:11:37,554 - INFO - Deleting interface with subnet_id 3e47223c-e67d-40f1-b2f3-bef64928d586, port_id None from router 61e76f85-2000-40d5-9b68-b0667372a33e 2025-08-03 07:11:37,740 - INFO - Deleting VM ctest-TestRoutersBasic-19102154-43722119 2025-08-03 07:11:37,809 - INFO - Deleting VM ctest-TestRoutersBasic-19102154-09196428 2025-08-03 07:11:37,894 - INFO - Deleting VN ctest-ext_vn-78776713 2025-08-03 07:11:37,958 - DEBUG - VN 4521f08e-c9e2-4ad3-8b56-dbd9389a7632 still in use: Unable to complete operation on network 4521f08e-c9e2-4ad3-8b56-dbd9389a7632. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3267a283-c17d-4373-9a88-3a84fca22ce0'] 2025-08-03 07:11:37,958 - WARNING - Deleting VN ctest-ext_vn-78776713 failed..Will retry 2025-08-03 07:11:40,065 - DEBUG - Response for deleting network () 2025-08-03 07:11:40,065 - INFO - Deleting VN ctest-vn-35816536 2025-08-03 07:11:40,178 - DEBUG - Response for deleting network () 2025-08-03 07:11:40,434 - DEBUG - No XMPP flaps were noticed during the test 2025-08-03 07:11:40,434 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-08-03 07:11:40,434 - INFO - -------------------------------------------------------------------------------- 2025-08-03 07:11:41,116 - INFO - Deleted project: ctest-TestRoutersBasic-19102154, ID : c1a1401f-40f1-474e-8862-d74daec6c080