2025-10-17 08:37:00,144 - INFO - Domain Default found not creating 2025-10-17 08:37:00,292 - INFO - Project ctest-TestRoutersBasic-86214543 not found, creating it 2025-10-17 08:37:00,740 - INFO - Created Project:ctest-TestRoutersBasic-86214543, ID : 830b0afa-b4b3-41bc-b2b6-9fc29e7d0ae9 2025-10-17 08:37:02,172 - INFO - ================================================================================ 2025-10-17 08:37:02,173 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-17 08:37:02,173 - 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-17 08:37:02,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-17 08:37:02,428 - INFO - Initial checks done. Running the testcase now 2025-10-17 08:37:02,428 - INFO - 2025-10-17 08:37:03,115 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-86214543 2025-10-17 08:37:03,210 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-86214543 2025-10-17 08:37:03,529 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86214543', 'default']} 2025-10-17 08:37:03,811 - DEBUG - Response for create_network : {'network': {'id': 'cb695500-5a14-4365-beb0-5c13d9159157', 'name': 'ctest-vn-65586050', 'tenant_id': '830b0afab4b341bcb2b69fc29e7d0ae9', 'project_id': '830b0afab4b341bcb2b69fc29e7d0ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86214543', 'ctest-vn-65586050'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 08:37:03,988 - DEBUG - Response for create_subnet : {'subnet': {'id': '208d8e07-3518-4706-a813-3e1558fc5e1f', 'name': '', 'tenant_id': '830b0afab4b341bcb2b69fc29e7d0ae9', 'network_id': 'cb695500-5a14-4365-beb0-5c13d9159157', 'ip_version': 4, 'cidr': '148.15.254.128/26', 'allocation_pools': [{'start': '148.15.254.130', 'end': '148.15.254.190'}], 'gateway_ip': '148.15.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.15.254.130', 'tags': [], 'project_id': '830b0afab4b341bcb2b69fc29e7d0ae9'}} 2025-10-17 08:37:04,008 - INFO - Created VN ctest-vn-65586050 2025-10-17 08:37:04,061 - DEBUG - VN ctest-vn-65586050 UUID is cb695500-5a14-4365-beb0-5c13d9159157 2025-10-17 08:37:04,416 - DEBUG - Response for create_network : {'network': {'id': 'e58adb84-ead6-4865-ac3b-05b61a5ade34', 'name': 'ctest-ext_vn-85121762', 'tenant_id': '830b0afab4b341bcb2b69fc29e7d0ae9', 'project_id': '830b0afab4b341bcb2b69fc29e7d0ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-86214543', 'ctest-ext_vn-85121762'], 'port_security_enabled': True, 'description': ''}} 2025-10-17 08:37:04,614 - DEBUG - Response for create_subnet : {'subnet': {'id': '2edae34a-a886-4a5e-9b7c-07c88ec4d8ab', 'name': '', 'tenant_id': '830b0afab4b341bcb2b69fc29e7d0ae9', 'network_id': 'e58adb84-ead6-4865-ac3b-05b61a5ade34', 'ip_version': 4, 'cidr': '154.10.29.64/26', 'allocation_pools': [{'start': '154.10.29.66', 'end': '154.10.29.126'}], 'gateway_ip': '154.10.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.10.29.66', 'tags': [], 'project_id': '830b0afab4b341bcb2b69fc29e7d0ae9'}} 2025-10-17 08:37:04,634 - INFO - Created VN ctest-ext_vn-85121762 2025-10-17 08:37:04,690 - DEBUG - VN ctest-ext_vn-85121762 UUID is e58adb84-ead6-4865-ac3b-05b61a5ade34 2025-10-17 08:37:04,904 - DEBUG - Services list from nova: [, , ] 2025-10-17 08:37:05,898 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4353-1) 2025-10-17 08:37:07,005 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4353-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4353-1) 2025-10-17 08:37:07,065 - INFO - Setting gateway for router 91e32886-1de7-46f0-a716-122a071ee387 to network e58adb84-ead6-4865-ac3b-05b61a5ade34 2025-10-17 08:37:07,132 - INFO - Adding interface with subnet_id 208d8e07-3518-4706-a813-3e1558fc5e1f, port_id None to router 91e32886-1de7-46f0-a716-122a071ee387 2025-10-17 08:37:07,419 - INFO - Waiting for VM ctest-TestRoutersBasic-86214543-48201757 to be up.. 2025-10-17 08:37:07,550 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-17 08:37:12,622 - DEBUG - VM is in ACTIVE state now 2025-10-17 08:37:12,622 - INFO - VM name : ctest-TestRoutersBasic-86214543-48201757 2025-10-17 08:37:12,690 - DEBUG - VM ctest-TestRoutersBasic-86214543-48201757 ID is ee2cb8d6-c9c9-4e17-b57c-712069354be0 2025-10-17 08:37:12,709 - DEBUG - VM ctest-TestRoutersBasic-86214543-48201757 launched on Node cn-jenkins-deploy-platform-ansible-os-4353-1 2025-10-17 08:37:12,787 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ee2cb8d6-c9c9-4e17-b57c-712069354be0 2025-10-17 08:37:13,077 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ee2cb8d6-c9c9-4e17-b57c-712069354be0 2025-10-17 08:37:13,105 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8477c11e-b7f8-47a9-a10c-d866e25da2e3 2025-10-17 08:37:16,364 - 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 1035ms') 2025-10-17 08:37:16,364 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86214543-48201757 failed! 2025-10-17 08:37:16,417 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-86214543:ctest-vn-65586050 is 148.15.254.129 and allocation pool is NOT set 2025-10-17 08:37:18,481 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.84 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.843/3.588/5.334/1.745 ms') 2025-10-17 08:37:18,481 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-86214543-48201757 passed 2025-10-17 08:37:18,630 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:37:18,630 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86214543-48201757, IP 148.15.254.131, Port 22 2025-10-17 08:37:18,785 - DEBUG - VM ctest-TestRoutersBasic-86214543-48201757 is ready for SSH connections 2025-10-17 08:37:18,786 - INFO - Waiting for VM ctest-TestRoutersBasic-86214543-81402440 to be up.. 2025-10-17 08:37:18,867 - DEBUG - VM is in ACTIVE state now 2025-10-17 08:37:18,867 - INFO - VM name : ctest-TestRoutersBasic-86214543-81402440 2025-10-17 08:37:18,948 - DEBUG - VM ctest-TestRoutersBasic-86214543-81402440 ID is 409a968b-9af6-4121-82bd-3595584c6a74 2025-10-17 08:37:18,948 - DEBUG - VM ctest-TestRoutersBasic-86214543-81402440 launched on Node cn-jenkins-deploy-platform-ansible-os-4353-1 2025-10-17 08:37:19,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/409a968b-9af6-4121-82bd-3595584c6a74 2025-10-17 08:37:19,040 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c77a3f01-328e-49a4-9179-b49b586215e2 2025-10-17 08:37:20,274 - 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.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.385 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.385/1.834/3.283/1.449 ms') 2025-10-17 08:37:20,275 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-86214543-81402440 passed 2025-10-17 08:37:20,421 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:37:20,422 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-86214543-81402440, IP 154.10.29.67, Port 22 2025-10-17 08:37:20,573 - DEBUG - VM ctest-TestRoutersBasic-86214543-81402440 is ready for SSH connections 2025-10-17 08:37:20,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-17 08:37:20,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 154.10.29.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-17 08:37:20,574 - DEBUG - ping -s 56 -c 3 -W 1 154.10.29.67 2025-10-17 08:37:24,257 - DEBUG - PING 154.10.29.67 (154.10.29.67): 56 data bytes 64 bytes from 154.10.29.67: seq=0 ttl=62 time=6.311 ms 64 bytes from 154.10.29.67: seq=1 ttl=62 time=0.797 ms 64 bytes from 154.10.29.67: seq=2 ttl=62 time=0.870 ms --- 154.10.29.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/2.659/6.311 ms 2025-10-17 08:37:24,257 - INFO - Ping to IP 154.10.29.67 from VM ctest-TestRoutersBasic-86214543-48201757 passed 2025-10-17 08:37:24,257 - INFO - Deleting interface with subnet_id 208d8e07-3518-4706-a813-3e1558fc5e1f, port_id None from router 91e32886-1de7-46f0-a716-122a071ee387 2025-10-17 08:37:24,415 - INFO - Deleting VM ctest-TestRoutersBasic-86214543-81402440 2025-10-17 08:37:24,480 - INFO - Deleting VM ctest-TestRoutersBasic-86214543-48201757 2025-10-17 08:37:24,554 - INFO - Deleting VN ctest-ext_vn-85121762 2025-10-17 08:37:24,607 - DEBUG - VN e58adb84-ead6-4865-ac3b-05b61a5ade34 still in use: Unable to complete operation on network e58adb84-ead6-4865-ac3b-05b61a5ade34. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0b77ef55-7944-441a-acc3-5390ca5f099c'] 2025-10-17 08:37:24,607 - WARNING - Deleting VN ctest-ext_vn-85121762 failed..Will retry 2025-10-17 08:37:26,700 - DEBUG - Response for deleting network () 2025-10-17 08:37:26,700 - INFO - Deleting VN ctest-vn-65586050 2025-10-17 08:37:26,788 - DEBUG - Response for deleting network () 2025-10-17 08:37:27,051 - DEBUG - No XMPP flaps were noticed during the test 2025-10-17 08:37:27,051 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-10-17 08:37:27,051 - INFO - -------------------------------------------------------------------------------- 2025-10-17 08:37:27,711 - INFO - Deleted project: ctest-TestRoutersBasic-86214543, ID : 830b0afa-b4b3-41bc-b2b6-9fc29e7d0ae9