2025-07-23 00:13:23,862 - INFO - Domain Default found not creating 2025-07-23 00:13:24,040 - INFO - Project ctest-TestRoutersBasic-62357182 not found, creating it 2025-07-23 00:13:24,540 - INFO - Created Project:ctest-TestRoutersBasic-62357182, ID : 47345b3b-ee91-4de0-b93d-8747eef32606 2025-07-23 00:13:26,140 - INFO - ================================================================================ 2025-07-23 00:13:26,141 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-23 00:13:26,141 - 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-07-23 00:13:26,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-07-23 00:13:26,412 - INFO - Initial checks done. Running the testcase now 2025-07-23 00:13:26,412 - INFO - 2025-07-23 00:13:27,139 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-62357182 2025-07-23 00:13:27,238 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-62357182 2025-07-23 00:13:27,566 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62357182', 'default']} 2025-07-23 00:13:27,882 - DEBUG - Response for create_network : {'network': {'id': 'ce6fe0ec-a4fc-4fc1-9914-10c94abfec98', 'name': 'ctest-vn-25899953', 'tenant_id': '47345b3bee914de0b93d8747eef32606', 'project_id': '47345b3bee914de0b93d8747eef32606', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62357182', 'ctest-vn-25899953'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 00:13:28,094 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f56e2f34-71ce-45ca-891c-98d7b01506ec', 'name': '', 'tenant_id': '47345b3bee914de0b93d8747eef32606', 'network_id': 'ce6fe0ec-a4fc-4fc1-9914-10c94abfec98', 'ip_version': 4, 'cidr': '61.28.115.0/26', 'allocation_pools': [{'start': '61.28.115.2', 'end': '61.28.115.62'}], 'gateway_ip': '61.28.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.28.115.2', 'tags': [], 'project_id': '47345b3bee914de0b93d8747eef32606'}} 2025-07-23 00:13:28,117 - INFO - Created VN ctest-vn-25899953 2025-07-23 00:13:28,174 - DEBUG - VN ctest-vn-25899953 UUID is ce6fe0ec-a4fc-4fc1-9914-10c94abfec98 2025-07-23 00:13:28,560 - DEBUG - Response for create_network : {'network': {'id': '6aa00a27-97ea-47cd-99d3-d66497df8bc6', 'name': 'ctest-ext_vn-41501925', 'tenant_id': '47345b3bee914de0b93d8747eef32606', 'project_id': '47345b3bee914de0b93d8747eef32606', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-62357182', 'ctest-ext_vn-41501925'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 00:13:28,743 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9388218-08c7-4300-955e-d8dc03ddacc2', 'name': '', 'tenant_id': '47345b3bee914de0b93d8747eef32606', 'network_id': '6aa00a27-97ea-47cd-99d3-d66497df8bc6', 'ip_version': 4, 'cidr': '31.242.196.64/26', 'allocation_pools': [{'start': '31.242.196.66', 'end': '31.242.196.126'}], 'gateway_ip': '31.242.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.242.196.66', 'tags': [], 'project_id': '47345b3bee914de0b93d8747eef32606'}} 2025-07-23 00:13:28,765 - INFO - Created VN ctest-ext_vn-41501925 2025-07-23 00:13:28,822 - DEBUG - VN ctest-ext_vn-41501925 UUID is 6aa00a27-97ea-47cd-99d3-d66497df8bc6 2025-07-23 00:13:29,006 - DEBUG - Services list from nova: [, , ] 2025-07-23 00:13:30,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3697-1) 2025-07-23 00:13:31,303 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3697-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3697-1) 2025-07-23 00:13:31,393 - INFO - Setting gateway for router 67b10b0d-bae6-4d57-b7eb-5937691aaaf6 to network 6aa00a27-97ea-47cd-99d3-d66497df8bc6 2025-07-23 00:13:31,462 - INFO - Adding interface with subnet_id f56e2f34-71ce-45ca-891c-98d7b01506ec, port_id None to router 67b10b0d-bae6-4d57-b7eb-5937691aaaf6 2025-07-23 00:13:31,888 - INFO - Waiting for VM ctest-TestRoutersBasic-62357182-34572493 to be up.. 2025-07-23 00:13:32,011 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 00:13:37,107 - DEBUG - VM is in ACTIVE state now 2025-07-23 00:13:37,107 - INFO - VM name : ctest-TestRoutersBasic-62357182-34572493 2025-07-23 00:13:37,201 - DEBUG - VM ctest-TestRoutersBasic-62357182-34572493 ID is ed9a37cf-309b-4392-873e-30a55798403c 2025-07-23 00:13:37,227 - DEBUG - VM ctest-TestRoutersBasic-62357182-34572493 launched on Node cn-jenkins-deploy-platform-ansible-os-3697-1 2025-07-23 00:13:37,322 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ed9a37cf-309b-4392-873e-30a55798403c 2025-07-23 00:13:37,620 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ed9a37cf-309b-4392-873e-30a55798403c 2025-07-23 00:13:37,660 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/24224c67-3ed6-4c3a-8316-a95308c9fcd1 2025-07-23 00:13:40,950 - 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 1029ms') 2025-07-23 00:13:40,950 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62357182-34572493 failed! 2025-07-23 00:13:41,005 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-62357182:ctest-vn-25899953 is 61.28.115.1 and allocation pool is NOT set 2025-07-23 00:13:43,071 - 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=5.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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 = 1.467/3.466/5.465/1.999 ms') 2025-07-23 00:13:43,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-62357182-34572493 passed 2025-07-23 00:13:43,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:13:43,226 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62357182-34572493, IP 61.28.115.3, Port 22 2025-07-23 00:13:43,381 - DEBUG - VM ctest-TestRoutersBasic-62357182-34572493 is ready for SSH connections 2025-07-23 00:13:43,382 - INFO - Waiting for VM ctest-TestRoutersBasic-62357182-61481377 to be up.. 2025-07-23 00:13:43,482 - DEBUG - VM is in ACTIVE state now 2025-07-23 00:13:43,482 - INFO - VM name : ctest-TestRoutersBasic-62357182-61481377 2025-07-23 00:13:43,563 - DEBUG - VM ctest-TestRoutersBasic-62357182-61481377 ID is 5856c119-f919-44e9-9ca6-36407098415b 2025-07-23 00:13:43,563 - DEBUG - VM ctest-TestRoutersBasic-62357182-61481377 launched on Node cn-jenkins-deploy-platform-ansible-os-3697-1 2025-07-23 00:13:43,639 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5856c119-f919-44e9-9ca6-36407098415b 2025-07-23 00:13:43,650 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5adf3571-8ea7-49b5-89bd-90c6b4cbb644 2025-07-23 00:13:44,903 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.494/1.895/3.296/1.401 ms') 2025-07-23 00:13:44,903 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-62357182-61481377 passed 2025-07-23 00:13:45,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:13:45,062 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-62357182-61481377, IP 31.242.196.67, Port 22 2025-07-23 00:13:45,228 - DEBUG - VM ctest-TestRoutersBasic-62357182-61481377 is ready for SSH connections 2025-07-23 00:13:45,228 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 00:13:45,228 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.242.196.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-07-23 00:13:45,228 - DEBUG - ping -s 56 -c 3 -W 1 31.242.196.67 2025-07-23 00:13:48,922 - DEBUG - PING 31.242.196.67 (31.242.196.67): 56 data bytes 64 bytes from 31.242.196.67: seq=0 ttl=62 time=5.119 ms 64 bytes from 31.242.196.67: seq=1 ttl=62 time=0.996 ms 64 bytes from 31.242.196.67: seq=2 ttl=62 time=1.260 ms --- 31.242.196.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.996/2.458/5.119 ms 2025-07-23 00:13:48,922 - INFO - Ping to IP 31.242.196.67 from VM ctest-TestRoutersBasic-62357182-34572493 passed 2025-07-23 00:13:48,922 - INFO - Deleting interface with subnet_id f56e2f34-71ce-45ca-891c-98d7b01506ec, port_id None from router 67b10b0d-bae6-4d57-b7eb-5937691aaaf6 2025-07-23 00:13:49,133 - INFO - Deleting VM ctest-TestRoutersBasic-62357182-61481377 2025-07-23 00:13:49,203 - INFO - Deleting VM ctest-TestRoutersBasic-62357182-34572493 2025-07-23 00:13:49,288 - INFO - Deleting VN ctest-ext_vn-41501925 2025-07-23 00:13:49,366 - DEBUG - VN 6aa00a27-97ea-47cd-99d3-d66497df8bc6 still in use: Unable to complete operation on network 6aa00a27-97ea-47cd-99d3-d66497df8bc6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4295111c-831c-421e-b3d5-7ec36f7e8f56'] 2025-07-23 00:13:49,366 - WARNING - Deleting VN ctest-ext_vn-41501925 failed..Will retry 2025-07-23 00:13:51,490 - DEBUG - Response for deleting network () 2025-07-23 00:13:51,491 - INFO - Deleting VN ctest-vn-25899953 2025-07-23 00:13:51,626 - DEBUG - Response for deleting network () 2025-07-23 00:13:51,899 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 00:13:51,900 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-23 00:13:51,900 - INFO - -------------------------------------------------------------------------------- 2025-07-23 00:13:52,634 - INFO - Deleted project: ctest-TestRoutersBasic-62357182, ID : 47345b3b-ee91-4de0-b93d-8747eef32606