2025-10-15 10:46:07,582 - INFO - Domain Default found not creating 2025-10-15 10:46:07,728 - INFO - Project ctest-TestRoutersBasic-96630157 not found, creating it 2025-10-15 10:46:08,178 - INFO - Created Project:ctest-TestRoutersBasic-96630157, ID : e8cc4d35-dc11-43fd-b4a3-1f12d86c7748 2025-10-15 10:46:09,634 - INFO - ================================================================================ 2025-10-15 10:46:09,634 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-10-15 10:46:09,634 - 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-15 10:46:09,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.145': '0'}} with 2025-10-15 10:46:09,890 - INFO - Initial checks done. Running the testcase now 2025-10-15 10:46:09,890 - INFO - 2025-10-15 10:46:10,587 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-96630157 2025-10-15 10:46:10,684 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-96630157 2025-10-15 10:46:11,004 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96630157', 'default']} 2025-10-15 10:46:11,296 - DEBUG - Response for create_network : {'network': {'id': '388b8162-9fb2-4060-be3d-a466e349168a', 'name': 'ctest-vn-97139144', 'tenant_id': 'e8cc4d35dc1143fdb4a31f12d86c7748', 'project_id': 'e8cc4d35dc1143fdb4a31f12d86c7748', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96630157', 'ctest-vn-97139144'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 10:46:11,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c145db0-219a-4bde-8a3a-64ec9c294255', 'name': '', 'tenant_id': 'e8cc4d35dc1143fdb4a31f12d86c7748', 'network_id': '388b8162-9fb2-4060-be3d-a466e349168a', 'ip_version': 4, 'cidr': '31.147.168.128/26', 'allocation_pools': [{'start': '31.147.168.130', 'end': '31.147.168.190'}], 'gateway_ip': '31.147.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.147.168.130', 'tags': [], 'project_id': 'e8cc4d35dc1143fdb4a31f12d86c7748'}} 2025-10-15 10:46:11,522 - INFO - Created VN ctest-vn-97139144 2025-10-15 10:46:11,572 - DEBUG - VN ctest-vn-97139144 UUID is 388b8162-9fb2-4060-be3d-a466e349168a 2025-10-15 10:46:11,880 - DEBUG - Response for create_network : {'network': {'id': 'fdffe344-8ade-4bf7-b35b-1bc0b80aeafd', 'name': 'ctest-ext_vn-77059455', 'tenant_id': 'e8cc4d35dc1143fdb4a31f12d86c7748', 'project_id': 'e8cc4d35dc1143fdb4a31f12d86c7748', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-96630157', 'ctest-ext_vn-77059455'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 10:46:12,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '911fd614-51a3-4770-8f80-565a46c352a1', 'name': '', 'tenant_id': 'e8cc4d35dc1143fdb4a31f12d86c7748', 'network_id': 'fdffe344-8ade-4bf7-b35b-1bc0b80aeafd', 'ip_version': 4, 'cidr': '48.189.236.64/26', 'allocation_pools': [{'start': '48.189.236.66', 'end': '48.189.236.126'}], 'gateway_ip': '48.189.236.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.189.236.66', 'tags': [], 'project_id': 'e8cc4d35dc1143fdb4a31f12d86c7748'}} 2025-10-15 10:46:12,118 - INFO - Created VN ctest-ext_vn-77059455 2025-10-15 10:46:12,172 - DEBUG - VN ctest-ext_vn-77059455 UUID is fdffe344-8ade-4bf7-b35b-1bc0b80aeafd 2025-10-15 10:46:12,349 - DEBUG - Services list from nova: [, , ] 2025-10-15 10:46:13,374 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4323-1) 2025-10-15 10:46:14,460 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4323-1) 2025-10-15 10:46:14,537 - INFO - Setting gateway for router 81ea99b1-f042-4270-b35b-0eb02ec4d6ad to network fdffe344-8ade-4bf7-b35b-1bc0b80aeafd 2025-10-15 10:46:14,608 - INFO - Adding interface with subnet_id 0c145db0-219a-4bde-8a3a-64ec9c294255, port_id None to router 81ea99b1-f042-4270-b35b-0eb02ec4d6ad 2025-10-15 10:46:15,026 - INFO - Waiting for VM ctest-TestRoutersBasic-96630157-00025120 to be up.. 2025-10-15 10:46:15,220 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 10:46:20,300 - DEBUG - VM is in ACTIVE state now 2025-10-15 10:46:20,300 - INFO - VM name : ctest-TestRoutersBasic-96630157-00025120 2025-10-15 10:46:20,377 - DEBUG - VM ctest-TestRoutersBasic-96630157-00025120 ID is ec97b111-d0ac-4a98-9135-c6174ece7bce 2025-10-15 10:46:20,400 - DEBUG - VM ctest-TestRoutersBasic-96630157-00025120 launched on Node cn-jenkins-deploy-platform-ansible-os-4323-1 2025-10-15 10:46:20,474 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ec97b111-d0ac-4a98-9135-c6174ece7bce 2025-10-15 10:46:20,766 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/ec97b111-d0ac-4a98-9135-c6174ece7bce 2025-10-15 10:46:20,798 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/0d8521e9-d05c-4b8a-9403-84994ff0f19b 2025-10-15 10:46:24,091 - 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-10-15 10:46:24,091 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96630157-00025120 failed! 2025-10-15 10:46:24,148 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-96630157:ctest-vn-97139144 is 31.147.168.129 and allocation pool is NOT set 2025-10-15 10:46:26,209 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.496 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.496/1.762/3.028/1.266 ms') 2025-10-15 10:46:26,209 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-96630157-00025120 passed 2025-10-15 10:46:26,360 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:46:26,361 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96630157-00025120, IP 31.147.168.131, Port 22 2025-10-15 10:46:26,534 - DEBUG - VM ctest-TestRoutersBasic-96630157-00025120 is ready for SSH connections 2025-10-15 10:46:26,534 - INFO - Waiting for VM ctest-TestRoutersBasic-96630157-11435515 to be up.. 2025-10-15 10:46:26,614 - DEBUG - VM is in ACTIVE state now 2025-10-15 10:46:26,614 - INFO - VM name : ctest-TestRoutersBasic-96630157-11435515 2025-10-15 10:46:26,687 - DEBUG - VM ctest-TestRoutersBasic-96630157-11435515 ID is 1bf2a49d-f193-45d1-aa6d-3b29eb285689 2025-10-15 10:46:26,687 - DEBUG - VM ctest-TestRoutersBasic-96630157-11435515 launched on Node cn-jenkins-deploy-platform-ansible-os-4323-1 2025-10-15 10:46:26,763 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/1bf2a49d-f193-45d1-aa6d-3b29eb285689 2025-10-15 10:46:26,771 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/0079824e-ba20-420e-8760-8c3700216bb3 2025-10-15 10:46:28,010 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.03 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 = 2.034/2.901/3.768/0.867 ms') 2025-10-15 10:46:28,010 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-96630157-11435515 passed 2025-10-15 10:46:28,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:46:28,160 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-96630157-11435515, IP 48.189.236.67, Port 22 2025-10-15 10:46:28,327 - DEBUG - VM ctest-TestRoutersBasic-96630157-11435515 is ready for SSH connections 2025-10-15 10:46:28,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 10:46:28,328 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.189.236.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-10-15 10:46:28,328 - DEBUG - ping -s 56 -c 3 -W 1 48.189.236.67 2025-10-15 10:46:31,993 - DEBUG - PING 48.189.236.67 (48.189.236.67): 56 data bytes 64 bytes from 48.189.236.67: seq=0 ttl=62 time=5.583 ms 64 bytes from 48.189.236.67: seq=1 ttl=62 time=0.830 ms 64 bytes from 48.189.236.67: seq=2 ttl=62 time=0.923 ms --- 48.189.236.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/2.445/5.583 ms 2025-10-15 10:46:31,993 - INFO - Ping to IP 48.189.236.67 from VM ctest-TestRoutersBasic-96630157-00025120 passed 2025-10-15 10:46:31,993 - INFO - Deleting interface with subnet_id 0c145db0-219a-4bde-8a3a-64ec9c294255, port_id None from router 81ea99b1-f042-4270-b35b-0eb02ec4d6ad 2025-10-15 10:46:32,222 - INFO - Deleting VM ctest-TestRoutersBasic-96630157-11435515 2025-10-15 10:46:32,325 - INFO - Deleting VM ctest-TestRoutersBasic-96630157-00025120 2025-10-15 10:46:32,434 - INFO - Deleting VN ctest-ext_vn-77059455 2025-10-15 10:46:32,588 - DEBUG - VN fdffe344-8ade-4bf7-b35b-1bc0b80aeafd still in use: Unable to complete operation on network fdffe344-8ade-4bf7-b35b-1bc0b80aeafd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3dfe932b-f586-4f26-9501-ebad937ef960'] 2025-10-15 10:46:32,588 - WARNING - Deleting VN ctest-ext_vn-77059455 failed..Will retry 2025-10-15 10:46:34,700 - DEBUG - Response for deleting network () 2025-10-15 10:46:34,701 - INFO - Deleting VN ctest-vn-97139144 2025-10-15 10:46:34,803 - DEBUG - Response for deleting network () 2025-10-15 10:46:35,067 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 10:46:35,068 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-10-15 10:46:35,068 - INFO - -------------------------------------------------------------------------------- 2025-10-15 10:46:35,750 - INFO - Deleted project: ctest-TestRoutersBasic-96630157, ID : e8cc4d35-dc11-43fd-b4a3-1f12d86c7748