2025-10-27 04:08:13,147 - INFO - Domain Default found not creating 2025-10-27 04:08:13,329 - INFO - Project ctest-TestRoutersBasic-56756477 not found, creating it 2025-10-27 04:08:13,796 - INFO - Created Project:ctest-TestRoutersBasic-56756477, ID : d580c4a7-f293-45ae-8588-c77614494bc3 2025-10-27 04:08:15,213 - INFO - ================================================================================ 2025-10-27 04:08:15,213 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-27 04:08:15,213 - 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-10-27 04:08:15,466 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with 2025-10-27 04:08:15,466 - INFO - Initial checks done. Running the testcase now 2025-10-27 04:08:15,466 - INFO - 2025-10-27 04:08:16,162 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56756477 2025-10-27 04:08:16,256 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56756477 2025-10-27 04:08:16,573 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56756477', 'default']} 2025-10-27 04:08:16,855 - DEBUG - Response for create_network : {'network': {'id': 'd80ad4f9-fac7-4b6d-8927-0c12028a6df8', 'name': 'ctest-vn-00803416', 'tenant_id': 'd580c4a7f29345ae8588c77614494bc3', 'project_id': 'd580c4a7f29345ae8588c77614494bc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56756477', 'ctest-vn-00803416'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:08:17,050 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f852e3a6-a760-43e7-a84b-dcac841d9c39', 'name': '', 'tenant_id': 'd580c4a7f29345ae8588c77614494bc3', 'network_id': 'd80ad4f9-fac7-4b6d-8927-0c12028a6df8', 'ip_version': 4, 'cidr': '162.86.57.64/26', 'allocation_pools': [{'start': '162.86.57.66', 'end': '162.86.57.126'}], 'gateway_ip': '162.86.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.86.57.66', 'tags': [], 'project_id': 'd580c4a7f29345ae8588c77614494bc3'}} 2025-10-27 04:08:17,072 - INFO - Created VN ctest-vn-00803416 2025-10-27 04:08:17,124 - DEBUG - VN ctest-vn-00803416 UUID is d80ad4f9-fac7-4b6d-8927-0c12028a6df8 2025-10-27 04:08:17,455 - DEBUG - Response for create_network : {'network': {'id': '8bfaf17b-58b5-4e83-9556-476a1101da13', 'name': 'ctest-ext_vn-04976959', 'tenant_id': 'd580c4a7f29345ae8588c77614494bc3', 'project_id': 'd580c4a7f29345ae8588c77614494bc3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56756477', 'ctest-ext_vn-04976959'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 04:08:17,655 - DEBUG - Response for create_subnet : {'subnet': {'id': '383f2563-724f-4df7-ae7f-c065ee8c2258', 'name': '', 'tenant_id': 'd580c4a7f29345ae8588c77614494bc3', 'network_id': '8bfaf17b-58b5-4e83-9556-476a1101da13', 'ip_version': 4, 'cidr': '206.70.170.0/26', 'allocation_pools': [{'start': '206.70.170.2', 'end': '206.70.170.62'}], 'gateway_ip': '206.70.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.70.170.2', 'tags': [], 'project_id': 'd580c4a7f29345ae8588c77614494bc3'}} 2025-10-27 04:08:17,673 - INFO - Created VN ctest-ext_vn-04976959 2025-10-27 04:08:17,724 - DEBUG - VN ctest-ext_vn-04976959 UUID is 8bfaf17b-58b5-4e83-9556-476a1101da13 2025-10-27 04:08:17,896 - DEBUG - Services list from nova: [, , ] 2025-10-27 04:08:18,945 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4491-1) 2025-10-27 04:08:20,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4491-1) 2025-10-27 04:08:20,149 - INFO - Setting gateway for router c243c74e-4422-4d19-b3d2-772887758096 to network 8bfaf17b-58b5-4e83-9556-476a1101da13 2025-10-27 04:08:20,214 - INFO - Adding interface with subnet_id f852e3a6-a760-43e7-a84b-dcac841d9c39, port_id None to router c243c74e-4422-4d19-b3d2-772887758096 2025-10-27 04:08:20,726 - INFO - Waiting for VM ctest-TestRoutersBasic-56756477-19239044 to be up.. 2025-10-27 04:08:20,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 04:08:25,998 - DEBUG - VM is in ACTIVE state now 2025-10-27 04:08:25,998 - INFO - VM name : ctest-TestRoutersBasic-56756477-19239044 2025-10-27 04:08:26,080 - DEBUG - VM ctest-TestRoutersBasic-56756477-19239044 ID is a9d8b0fb-4f73-4bd4-86e5-9f610b043e60 2025-10-27 04:08:26,101 - DEBUG - VM ctest-TestRoutersBasic-56756477-19239044 launched on Node cn-jenkins-deploy-platform-ansible-os-4491-1 2025-10-27 04:08:26,182 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a9d8b0fb-4f73-4bd4-86e5-9f610b043e60 2025-10-27 04:08:26,479 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a9d8b0fb-4f73-4bd4-86e5-9f610b043e60 2025-10-27 04:08:26,509 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/bc01bbfc-48d0-46a6-a530-bbc691651cf9 2025-10-27 04:08:29,767 - 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-10-27 04:08:29,767 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56756477-19239044 failed! 2025-10-27 04:08:29,820 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56756477:ctest-vn-00803416 is 162.86.57.65 and allocation pool is NOT set 2025-10-27 04:08:31,882 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/2.477/4.485/2.007 ms') 2025-10-27 04:08:31,882 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56756477-19239044 passed 2025-10-27 04:08:32,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:08:32,032 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56756477-19239044, IP 162.86.57.67, Port 22 2025-10-27 04:08:32,196 - DEBUG - VM ctest-TestRoutersBasic-56756477-19239044 is ready for SSH connections 2025-10-27 04:08:32,196 - INFO - Waiting for VM ctest-TestRoutersBasic-56756477-97916370 to be up.. 2025-10-27 04:08:32,272 - DEBUG - VM is in ACTIVE state now 2025-10-27 04:08:32,273 - INFO - VM name : ctest-TestRoutersBasic-56756477-97916370 2025-10-27 04:08:32,345 - DEBUG - VM ctest-TestRoutersBasic-56756477-97916370 ID is 30b720e8-fa44-43cd-8dae-ff2547df55c3 2025-10-27 04:08:32,345 - DEBUG - VM ctest-TestRoutersBasic-56756477-97916370 launched on Node cn-jenkins-deploy-platform-ansible-os-4491-1 2025-10-27 04:08:32,413 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/30b720e8-fa44-43cd-8dae-ff2547df55c3 2025-10-27 04:08:32,421 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1f38a505-89b4-4357-8003-f5cfd4c6d451 2025-10-27 04:08:33,667 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/1.915/3.287/1.372 ms') 2025-10-27 04:08:33,667 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56756477-97916370 passed 2025-10-27 04:08:33,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:08:33,821 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56756477-97916370, IP 206.70.170.3, Port 22 2025-10-27 04:08:33,977 - DEBUG - VM ctest-TestRoutersBasic-56756477-97916370 is ready for SSH connections 2025-10-27 04:08:33,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 04:08:33,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 206.70.170.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-27 04:08:33,977 - DEBUG - ping -s 56 -c 3 -W 1 206.70.170.3 2025-10-27 04:08:37,674 - DEBUG - PING 206.70.170.3 (206.70.170.3): 56 data bytes 64 bytes from 206.70.170.3: seq=0 ttl=62 time=7.929 ms 64 bytes from 206.70.170.3: seq=1 ttl=62 time=1.116 ms 64 bytes from 206.70.170.3: seq=2 ttl=62 time=1.084 ms --- 206.70.170.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.084/3.376/7.929 ms 2025-10-27 04:08:37,674 - INFO - Ping to IP 206.70.170.3 from VM ctest-TestRoutersBasic-56756477-19239044 passed 2025-10-27 04:08:37,674 - INFO - Deleting interface with subnet_id f852e3a6-a760-43e7-a84b-dcac841d9c39, port_id None from router c243c74e-4422-4d19-b3d2-772887758096 2025-10-27 04:08:37,865 - INFO - Deleting VM ctest-TestRoutersBasic-56756477-97916370 2025-10-27 04:08:37,947 - INFO - Deleting VM ctest-TestRoutersBasic-56756477-19239044 2025-10-27 04:08:38,039 - INFO - Deleting VN ctest-ext_vn-04976959 2025-10-27 04:08:38,123 - DEBUG - VN 8bfaf17b-58b5-4e83-9556-476a1101da13 still in use: Unable to complete operation on network 8bfaf17b-58b5-4e83-9556-476a1101da13. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91ab2074-87e2-40ae-83a4-bf3d5d6accd4'] 2025-10-27 04:08:38,124 - WARNING - Deleting VN ctest-ext_vn-04976959 failed..Will retry 2025-10-27 04:08:40,229 - DEBUG - Response for deleting network () 2025-10-27 04:08:40,229 - INFO - Deleting VN ctest-vn-00803416 2025-10-27 04:08:40,341 - DEBUG - Response for deleting network () 2025-10-27 04:08:40,592 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 04:08:40,593 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-27 04:08:40,593 - INFO - -------------------------------------------------------------------------------- 2025-10-27 04:08:41,304 - INFO - Deleted project: ctest-TestRoutersBasic-56756477, ID : d580c4a7-f293-45ae-8588-c77614494bc3