2025-07-22 10:35:24,411 - INFO - Domain Default found not creating 2025-07-22 10:35:24,555 - INFO - Project ctest-TestRoutersBasic-97312604 not found, creating it 2025-07-22 10:35:25,020 - INFO - Created Project:ctest-TestRoutersBasic-97312604, ID : dd8b5ffc-8714-4edc-aacd-0dd823bbf67a 2025-07-22 10:35:26,506 - INFO - ================================================================================ 2025-07-22 10:35:26,506 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-22 10:35:26,506 - 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-22 10:35:26,762 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-07-22 10:35:26,763 - INFO - Initial checks done. Running the testcase now 2025-07-22 10:35:26,763 - INFO - 2025-07-22 10:35:27,491 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97312604 2025-07-22 10:35:27,588 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97312604 2025-07-22 10:35:27,932 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97312604', 'default']} 2025-07-22 10:35:28,221 - DEBUG - Response for create_network : {'network': {'id': 'c353cea9-c0f1-453e-b72a-217963e8baca', 'name': 'ctest-vn-35958164', 'tenant_id': 'dd8b5ffc87144edcaacd0dd823bbf67a', 'project_id': 'dd8b5ffc87144edcaacd0dd823bbf67a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97312604', 'ctest-vn-35958164'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 10:35:28,438 - DEBUG - Response for create_subnet : {'subnet': {'id': '46e96880-f596-4091-b300-bc2ba289de90', 'name': '', 'tenant_id': 'dd8b5ffc87144edcaacd0dd823bbf67a', 'network_id': 'c353cea9-c0f1-453e-b72a-217963e8baca', 'ip_version': 4, 'cidr': '64.88.29.64/26', 'allocation_pools': [{'start': '64.88.29.66', 'end': '64.88.29.126'}], 'gateway_ip': '64.88.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.88.29.66', 'tags': [], 'project_id': 'dd8b5ffc87144edcaacd0dd823bbf67a'}} 2025-07-22 10:35:28,458 - INFO - Created VN ctest-vn-35958164 2025-07-22 10:35:28,512 - DEBUG - VN ctest-vn-35958164 UUID is c353cea9-c0f1-453e-b72a-217963e8baca 2025-07-22 10:35:28,855 - DEBUG - Response for create_network : {'network': {'id': '20f6f326-5713-4d1e-a5b5-07fea941445d', 'name': 'ctest-ext_vn-29037059', 'tenant_id': 'dd8b5ffc87144edcaacd0dd823bbf67a', 'project_id': 'dd8b5ffc87144edcaacd0dd823bbf67a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97312604', 'ctest-ext_vn-29037059'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 10:35:29,026 - DEBUG - Response for create_subnet : {'subnet': {'id': '623162c8-e335-468e-96b0-78095681cc04', 'name': '', 'tenant_id': 'dd8b5ffc87144edcaacd0dd823bbf67a', 'network_id': '20f6f326-5713-4d1e-a5b5-07fea941445d', 'ip_version': 4, 'cidr': '95.247.16.128/26', 'allocation_pools': [{'start': '95.247.16.130', 'end': '95.247.16.190'}], 'gateway_ip': '95.247.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.247.16.130', 'tags': [], 'project_id': 'dd8b5ffc87144edcaacd0dd823bbf67a'}} 2025-07-22 10:35:29,045 - INFO - Created VN ctest-ext_vn-29037059 2025-07-22 10:35:29,104 - DEBUG - VN ctest-ext_vn-29037059 UUID is 20f6f326-5713-4d1e-a5b5-07fea941445d 2025-07-22 10:35:29,272 - DEBUG - Services list from nova: [, , ] 2025-07-22 10:35:30,297 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3688-1) 2025-07-22 10:35:31,468 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3688-1) 2025-07-22 10:35:31,553 - INFO - Setting gateway for router 8667be01-b7b2-4d8f-92c1-857be251f175 to network 20f6f326-5713-4d1e-a5b5-07fea941445d 2025-07-22 10:35:31,645 - INFO - Adding interface with subnet_id 46e96880-f596-4091-b300-bc2ba289de90, port_id None to router 8667be01-b7b2-4d8f-92c1-857be251f175 2025-07-22 10:35:32,144 - INFO - Waiting for VM ctest-TestRoutersBasic-97312604-36213697 to be up.. 2025-07-22 10:35:32,359 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-22 10:35:37,525 - DEBUG - VM is in ACTIVE state now 2025-07-22 10:35:37,525 - INFO - VM name : ctest-TestRoutersBasic-97312604-36213697 2025-07-22 10:35:37,670 - DEBUG - VM ctest-TestRoutersBasic-97312604-36213697 ID is b83f9715-d08c-43bd-8d40-f7edd1b0bae3 2025-07-22 10:35:37,721 - DEBUG - VM ctest-TestRoutersBasic-97312604-36213697 launched on Node cn-jenkins-deploy-platform-ansible-os-3688-1 2025-07-22 10:35:37,857 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b83f9715-d08c-43bd-8d40-f7edd1b0bae3 2025-07-22 10:35:38,170 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b83f9715-d08c-43bd-8d40-f7edd1b0bae3 2025-07-22 10:35:38,205 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/fc4b3ed8-4eb7-4179-8776-25400fe2eb25 2025-07-22 10:35:41,465 - 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 1014ms') 2025-07-22 10:35:41,466 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97312604-36213697 failed! 2025-07-22 10:35:41,520 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97312604:ctest-vn-35958164 is 64.88.29.65 and allocation pool is NOT set 2025-07-22 10:35:43,583 - 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=2.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.489 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.489/1.633/2.777/1.144 ms') 2025-07-22 10:35:43,583 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-97312604-36213697 passed 2025-07-22 10:35:43,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 10:35:43,740 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97312604-36213697, IP 64.88.29.67, Port 22 2025-07-22 10:35:43,906 - DEBUG - VM ctest-TestRoutersBasic-97312604-36213697 is ready for SSH connections 2025-07-22 10:35:43,906 - INFO - Waiting for VM ctest-TestRoutersBasic-97312604-95536294 to be up.. 2025-07-22 10:35:43,981 - DEBUG - VM is in ACTIVE state now 2025-07-22 10:35:43,982 - INFO - VM name : ctest-TestRoutersBasic-97312604-95536294 2025-07-22 10:35:44,052 - DEBUG - VM ctest-TestRoutersBasic-97312604-95536294 ID is b16a7ddd-a193-4dae-ad55-6540bfb16448 2025-07-22 10:35:44,053 - DEBUG - VM ctest-TestRoutersBasic-97312604-95536294 launched on Node cn-jenkins-deploy-platform-ansible-os-3688-1 2025-07-22 10:35:44,124 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/b16a7ddd-a193-4dae-ad55-6540bfb16448 2025-07-22 10:35:44,133 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/3ad10079-4121-41d4-892e-da8ff8de9a74 2025-07-22 10:35:45,391 - 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=4.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.05 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.047/3.440/4.833/1.393 ms') 2025-07-22 10:35:45,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-97312604-95536294 passed 2025-07-22 10:35:45,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 10:35:45,544 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97312604-95536294, IP 95.247.16.131, Port 22 2025-07-22 10:35:45,706 - DEBUG - VM ctest-TestRoutersBasic-97312604-95536294 is ready for SSH connections 2025-07-22 10:35:45,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 10:35:45,707 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.247.16.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-07-22 10:35:45,707 - DEBUG - ping -s 56 -c 3 -W 1 95.247.16.131 2025-07-22 10:35:49,757 - DEBUG - PING 95.247.16.131 (95.247.16.131): 56 data bytes 64 bytes from 95.247.16.131: seq=0 ttl=62 time=7.703 ms 64 bytes from 95.247.16.131: seq=1 ttl=62 time=0.908 ms 64 bytes from 95.247.16.131: seq=2 ttl=62 time=0.950 ms --- 95.247.16.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/3.187/7.703 ms 2025-07-22 10:35:49,757 - INFO - Ping to IP 95.247.16.131 from VM ctest-TestRoutersBasic-97312604-36213697 passed 2025-07-22 10:35:49,758 - INFO - Deleting interface with subnet_id 46e96880-f596-4091-b300-bc2ba289de90, port_id None from router 8667be01-b7b2-4d8f-92c1-857be251f175 2025-07-22 10:35:49,963 - INFO - Deleting VM ctest-TestRoutersBasic-97312604-95536294 2025-07-22 10:35:50,039 - INFO - Deleting VM ctest-TestRoutersBasic-97312604-36213697 2025-07-22 10:35:50,133 - INFO - Deleting VN ctest-ext_vn-29037059 2025-07-22 10:35:50,214 - DEBUG - VN 20f6f326-5713-4d1e-a5b5-07fea941445d still in use: Unable to complete operation on network 20f6f326-5713-4d1e-a5b5-07fea941445d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1bb6602e-4ba4-41f1-9140-59f1a8d71b49'] 2025-07-22 10:35:50,215 - WARNING - Deleting VN ctest-ext_vn-29037059 failed..Will retry 2025-07-22 10:35:52,331 - DEBUG - Response for deleting network () 2025-07-22 10:35:52,331 - INFO - Deleting VN ctest-vn-35958164 2025-07-22 10:35:52,448 - DEBUG - Response for deleting network () 2025-07-22 10:35:52,707 - DEBUG - No XMPP flaps were noticed during the test 2025-07-22 10:35:52,707 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-07-22 10:35:52,707 - INFO - -------------------------------------------------------------------------------- 2025-07-22 10:35:53,420 - INFO - Deleted project: ctest-TestRoutersBasic-97312604, ID : dd8b5ffc-8714-4edc-aacd-0dd823bbf67a