2025-11-06 06:31:17,362 - INFO - Domain Default found not creating 2025-11-06 06:31:17,513 - INFO - Project ctest-TestRoutersBasic-22213851 not found, creating it 2025-11-06 06:31:17,954 - INFO - Created Project:ctest-TestRoutersBasic-22213851, ID : b33cf132-ad9b-4c9a-8ace-17b111832348 2025-11-06 06:31:19,428 - INFO - ================================================================================ 2025-11-06 06:31:19,428 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-06 06:31:19,428 - 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-11-06 06:31:19,683 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-06 06:31:19,683 - INFO - Initial checks done. Running the testcase now 2025-11-06 06:31:19,683 - INFO - 2025-11-06 06:31:20,382 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22213851 2025-11-06 06:31:20,479 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22213851 2025-11-06 06:31:20,806 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22213851', 'default']} 2025-11-06 06:31:21,097 - DEBUG - Response for create_network : {'network': {'id': '91f809d9-a2dd-40e1-9c02-2a7e2eb2801e', 'name': 'ctest-vn-56344573', 'tenant_id': 'b33cf132ad9b4c9a8ace17b111832348', 'project_id': 'b33cf132ad9b4c9a8ace17b111832348', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22213851', 'ctest-vn-56344573'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:31:21,247 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da62186c-ca62-49b3-b539-091d027cb686', 'name': '', 'tenant_id': 'b33cf132ad9b4c9a8ace17b111832348', 'network_id': '91f809d9-a2dd-40e1-9c02-2a7e2eb2801e', 'ip_version': 4, 'cidr': '105.227.123.64/26', 'allocation_pools': [{'start': '105.227.123.66', 'end': '105.227.123.126'}], 'gateway_ip': '105.227.123.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.227.123.66', 'tags': [], 'project_id': 'b33cf132ad9b4c9a8ace17b111832348'}} 2025-11-06 06:31:21,264 - INFO - Created VN ctest-vn-56344573 2025-11-06 06:31:21,314 - DEBUG - VN ctest-vn-56344573 UUID is 91f809d9-a2dd-40e1-9c02-2a7e2eb2801e 2025-11-06 06:31:21,646 - DEBUG - Response for create_network : {'network': {'id': '1160ea8d-8222-40b9-bcc5-ad2ed531e3c3', 'name': 'ctest-ext_vn-95954513', 'tenant_id': 'b33cf132ad9b4c9a8ace17b111832348', 'project_id': 'b33cf132ad9b4c9a8ace17b111832348', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22213851', 'ctest-ext_vn-95954513'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:31:21,837 - DEBUG - Response for create_subnet : {'subnet': {'id': '230ba1c3-e1d3-4ce0-916c-229d04542a88', 'name': '', 'tenant_id': 'b33cf132ad9b4c9a8ace17b111832348', 'network_id': '1160ea8d-8222-40b9-bcc5-ad2ed531e3c3', 'ip_version': 4, 'cidr': '3.76.28.64/26', 'allocation_pools': [{'start': '3.76.28.66', 'end': '3.76.28.126'}], 'gateway_ip': '3.76.28.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.76.28.66', 'tags': [], 'project_id': 'b33cf132ad9b4c9a8ace17b111832348'}} 2025-11-06 06:31:21,853 - INFO - Created VN ctest-ext_vn-95954513 2025-11-06 06:31:21,902 - DEBUG - VN ctest-ext_vn-95954513 UUID is 1160ea8d-8222-40b9-bcc5-ad2ed531e3c3 2025-11-06 06:31:22,093 - DEBUG - Services list from nova: [, , ] 2025-11-06 06:31:23,111 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4664-1) 2025-11-06 06:31:24,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4664-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4664-1) 2025-11-06 06:31:24,331 - INFO - Setting gateway for router d5454344-305e-4a5c-9618-ea04436bd0f8 to network 1160ea8d-8222-40b9-bcc5-ad2ed531e3c3 2025-11-06 06:31:24,395 - INFO - Adding interface with subnet_id da62186c-ca62-49b3-b539-091d027cb686, port_id None to router d5454344-305e-4a5c-9618-ea04436bd0f8 2025-11-06 06:31:24,720 - INFO - Waiting for VM ctest-TestRoutersBasic-22213851-21509625 to be up.. 2025-11-06 06:31:24,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 06:31:29,959 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:31:29,959 - INFO - VM name : ctest-TestRoutersBasic-22213851-21509625 2025-11-06 06:31:30,028 - DEBUG - VM ctest-TestRoutersBasic-22213851-21509625 ID is e4254372-8754-43d2-9183-b9f1a8b8ba58 2025-11-06 06:31:30,051 - DEBUG - VM ctest-TestRoutersBasic-22213851-21509625 launched on Node cn-jenkins-deploy-platform-ansible-os-4664-1 2025-11-06 06:31:30,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e4254372-8754-43d2-9183-b9f1a8b8ba58 2025-11-06 06:31:30,412 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e4254372-8754-43d2-9183-b9f1a8b8ba58 2025-11-06 06:31:30,441 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/91d36f35-5cc6-49d8-a283-c9f7cd5fb5f4 2025-11-06 06:31:33,714 - 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 1026ms') 2025-11-06 06:31:33,714 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22213851-21509625 failed! 2025-11-06 06:31:33,766 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22213851:ctest-vn-56344573 is 105.227.123.65 and allocation pool is NOT set 2025-11-06 06:31:35,831 - 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.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.532 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.532/1.894/3.256/1.362 ms') 2025-11-06 06:31:35,831 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-22213851-21509625 passed 2025-11-06 06:31:35,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:31:35,979 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22213851-21509625, IP 105.227.123.67, Port 22 2025-11-06 06:31:36,142 - DEBUG - VM ctest-TestRoutersBasic-22213851-21509625 is ready for SSH connections 2025-11-06 06:31:36,143 - INFO - Waiting for VM ctest-TestRoutersBasic-22213851-00994899 to be up.. 2025-11-06 06:31:36,226 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:31:36,226 - INFO - VM name : ctest-TestRoutersBasic-22213851-00994899 2025-11-06 06:31:36,298 - DEBUG - VM ctest-TestRoutersBasic-22213851-00994899 ID is f3634eab-23f0-4311-b87a-6e27df314737 2025-11-06 06:31:36,298 - DEBUG - VM ctest-TestRoutersBasic-22213851-00994899 launched on Node cn-jenkins-deploy-platform-ansible-os-4664-1 2025-11-06 06:31:36,368 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f3634eab-23f0-4311-b87a-6e27df314737 2025-11-06 06:31:36,375 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bdea7fd1-af9b-4d9b-a663-84392014019c 2025-11-06 06:31:37,609 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.58 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 = 1.583/2.780/3.977/1.197 ms') 2025-11-06 06:31:37,609 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-22213851-00994899 passed 2025-11-06 06:31:37,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:31:37,767 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22213851-00994899, IP 3.76.28.67, Port 22 2025-11-06 06:31:37,933 - DEBUG - VM ctest-TestRoutersBasic-22213851-00994899 is ready for SSH connections 2025-11-06 06:31:37,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:31:37,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.76.28.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-06 06:31:37,933 - DEBUG - ping -s 56 -c 3 -W 1 3.76.28.67 2025-11-06 06:31:41,621 - DEBUG - PING 3.76.28.67 (3.76.28.67): 56 data bytes 64 bytes from 3.76.28.67: seq=0 ttl=62 time=9.364 ms 64 bytes from 3.76.28.67: seq=1 ttl=62 time=1.176 ms 64 bytes from 3.76.28.67: seq=2 ttl=62 time=1.027 ms --- 3.76.28.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.027/3.855/9.364 ms 2025-11-06 06:31:41,621 - INFO - Ping to IP 3.76.28.67 from VM ctest-TestRoutersBasic-22213851-21509625 passed 2025-11-06 06:31:41,621 - INFO - Deleting interface with subnet_id da62186c-ca62-49b3-b539-091d027cb686, port_id None from router d5454344-305e-4a5c-9618-ea04436bd0f8 2025-11-06 06:31:41,792 - INFO - Deleting VM ctest-TestRoutersBasic-22213851-00994899 2025-11-06 06:31:41,863 - INFO - Deleting VM ctest-TestRoutersBasic-22213851-21509625 2025-11-06 06:31:41,922 - INFO - Deleting VN ctest-ext_vn-95954513 2025-11-06 06:31:41,986 - DEBUG - VN 1160ea8d-8222-40b9-bcc5-ad2ed531e3c3 still in use: Unable to complete operation on network 1160ea8d-8222-40b9-bcc5-ad2ed531e3c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f4f20f6-9cf9-4a30-ae46-c4f92cc9883c'] 2025-11-06 06:31:41,986 - WARNING - Deleting VN ctest-ext_vn-95954513 failed..Will retry 2025-11-06 06:31:44,078 - DEBUG - Response for deleting network () 2025-11-06 06:31:44,079 - INFO - Deleting VN ctest-vn-56344573 2025-11-06 06:31:44,176 - DEBUG - Response for deleting network () 2025-11-06 06:31:44,432 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 06:31:44,432 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-06 06:31:44,432 - INFO - -------------------------------------------------------------------------------- 2025-11-06 06:31:45,125 - INFO - Deleted project: ctest-TestRoutersBasic-22213851, ID : b33cf132-ad9b-4c9a-8ace-17b111832348