2025-11-06 06:32:30,608 - INFO - Domain Default found not creating 2025-11-06 06:32:30,752 - INFO - Project ctest-TestRoutersBasic-01032799 not found, creating it 2025-11-06 06:32:31,197 - INFO - Created Project:ctest-TestRoutersBasic-01032799, ID : ccacd3bd-bc16-49a4-b00d-738fb371ff0e 2025-11-06 06:32:32,579 - INFO - ================================================================================ 2025-11-06 06:32:32,579 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-11-06 06:32:32,579 - 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-11-06 06:32:32,833 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-06 06:32:32,833 - INFO - Initial checks done. Running the testcase now 2025-11-06 06:32:32,833 - INFO - 2025-11-06 06:32:33,529 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-01032799 2025-11-06 06:32:33,624 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-01032799 2025-11-06 06:32:33,940 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01032799', 'default']} 2025-11-06 06:32:34,218 - DEBUG - Response for create_network : {'network': {'id': '4081891a-006a-4742-aaa0-fb0da7c30917', 'name': 'ctest-vn-24389847', 'tenant_id': 'ccacd3bdbc1649a4b00d738fb371ff0e', 'project_id': 'ccacd3bdbc1649a4b00d738fb371ff0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01032799', 'ctest-vn-24389847'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:32:34,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '6491c723-3f1a-420f-a6a9-65a4f45ec3a7', 'name': '', 'tenant_id': 'ccacd3bdbc1649a4b00d738fb371ff0e', 'network_id': '4081891a-006a-4742-aaa0-fb0da7c30917', 'ip_version': 4, 'cidr': '113.86.171.0/26', 'allocation_pools': [{'start': '113.86.171.2', 'end': '113.86.171.62'}], 'gateway_ip': '113.86.171.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.86.171.2', 'tags': [], 'project_id': 'ccacd3bdbc1649a4b00d738fb371ff0e'}} 2025-11-06 06:32:34,377 - INFO - Created VN ctest-vn-24389847 2025-11-06 06:32:34,428 - DEBUG - VN ctest-vn-24389847 UUID is 4081891a-006a-4742-aaa0-fb0da7c30917 2025-11-06 06:32:34,758 - DEBUG - Response for create_network : {'network': {'id': 'c1d506bf-8982-44c3-b650-83070b4f77fe', 'name': 'ctest-ext_vn-74512856', 'tenant_id': 'ccacd3bdbc1649a4b00d738fb371ff0e', 'project_id': 'ccacd3bdbc1649a4b00d738fb371ff0e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-01032799', 'ctest-ext_vn-74512856'], 'port_security_enabled': True, 'description': ''}} 2025-11-06 06:32:34,941 - DEBUG - Response for create_subnet : {'subnet': {'id': '27ff33cf-2d87-4a86-9550-965a107eb112', 'name': '', 'tenant_id': 'ccacd3bdbc1649a4b00d738fb371ff0e', 'network_id': 'c1d506bf-8982-44c3-b650-83070b4f77fe', 'ip_version': 4, 'cidr': '110.16.187.0/26', 'allocation_pools': [{'start': '110.16.187.2', 'end': '110.16.187.62'}], 'gateway_ip': '110.16.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.16.187.2', 'tags': [], 'project_id': 'ccacd3bdbc1649a4b00d738fb371ff0e'}} 2025-11-06 06:32:34,957 - INFO - Created VN ctest-ext_vn-74512856 2025-11-06 06:32:35,008 - DEBUG - VN ctest-ext_vn-74512856 UUID is c1d506bf-8982-44c3-b650-83070b4f77fe 2025-11-06 06:32:35,204 - DEBUG - Services list from nova: [, , ] 2025-11-06 06:32:36,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4665-1) 2025-11-06 06:32:37,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4665-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4665-1) 2025-11-06 06:32:37,404 - INFO - Setting gateway for router b3a722f9-13ac-4ff8-9ba3-35b600cc438f to network c1d506bf-8982-44c3-b650-83070b4f77fe 2025-11-06 06:32:37,453 - INFO - Adding interface with subnet_id 6491c723-3f1a-420f-a6a9-65a4f45ec3a7, port_id None to router b3a722f9-13ac-4ff8-9ba3-35b600cc438f 2025-11-06 06:32:37,754 - INFO - Waiting for VM ctest-TestRoutersBasic-01032799-78558159 to be up.. 2025-11-06 06:32:37,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-06 06:32:42,982 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:32:42,982 - INFO - VM name : ctest-TestRoutersBasic-01032799-78558159 2025-11-06 06:32:43,062 - DEBUG - VM ctest-TestRoutersBasic-01032799-78558159 ID is f6475e2d-ad27-4691-b525-9655336446fc 2025-11-06 06:32:43,080 - DEBUG - VM ctest-TestRoutersBasic-01032799-78558159 launched on Node cn-jenkins-deploy-platform-ansible-os-4665-1 2025-11-06 06:32:43,145 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f6475e2d-ad27-4691-b525-9655336446fc 2025-11-06 06:32:43,448 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f6475e2d-ad27-4691-b525-9655336446fc 2025-11-06 06:32:43,484 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/03d46eff-d05b-46d2-8613-5853e227c877 2025-11-06 06:32:46,742 - 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-11-06 06:32:46,742 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01032799-78558159 failed! 2025-11-06 06:32:46,796 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-01032799:ctest-vn-24389847 is 113.86.171.1 and allocation pool is NOT set 2025-11-06 06:32:48,863 - 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.75 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/1.609/2.748/1.139 ms') 2025-11-06 06:32:48,864 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-01032799-78558159 passed 2025-11-06 06:32:49,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:32:49,012 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01032799-78558159, IP 113.86.171.3, Port 22 2025-11-06 06:32:49,171 - DEBUG - VM ctest-TestRoutersBasic-01032799-78558159 is ready for SSH connections 2025-11-06 06:32:49,172 - INFO - Waiting for VM ctest-TestRoutersBasic-01032799-79330373 to be up.. 2025-11-06 06:32:49,245 - DEBUG - VM is in ACTIVE state now 2025-11-06 06:32:49,245 - INFO - VM name : ctest-TestRoutersBasic-01032799-79330373 2025-11-06 06:32:49,312 - DEBUG - VM ctest-TestRoutersBasic-01032799-79330373 ID is 87a6086a-bfc3-43e3-ba52-9f62342a826c 2025-11-06 06:32:49,312 - DEBUG - VM ctest-TestRoutersBasic-01032799-79330373 launched on Node cn-jenkins-deploy-platform-ansible-os-4665-1 2025-11-06 06:32:49,378 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/87a6086a-bfc3-43e3-ba52-9f62342a826c 2025-11-06 06:32:49,386 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/1a529b19-57c7-4346-9162-ca3b23cfad61 2025-11-06 06:32:50,618 - 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.523 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.523/1.904/3.286/1.381 ms') 2025-11-06 06:32:50,618 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-01032799-79330373 passed 2025-11-06 06:32:50,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:32:50,764 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-01032799-79330373, IP 110.16.187.3, Port 22 2025-11-06 06:32:50,919 - DEBUG - VM ctest-TestRoutersBasic-01032799-79330373 is ready for SSH connections 2025-11-06 06:32:50,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-06 06:32:50,919 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.16.187.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-06 06:32:50,919 - DEBUG - ping -s 56 -c 3 -W 1 110.16.187.3 2025-11-06 06:32:54,621 - DEBUG - PING 110.16.187.3 (110.16.187.3): 56 data bytes 64 bytes from 110.16.187.3: seq=0 ttl=62 time=5.249 ms 64 bytes from 110.16.187.3: seq=1 ttl=62 time=1.061 ms 64 bytes from 110.16.187.3: seq=2 ttl=62 time=0.942 ms --- 110.16.187.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/2.417/5.249 ms 2025-11-06 06:32:54,621 - INFO - Ping to IP 110.16.187.3 from VM ctest-TestRoutersBasic-01032799-78558159 passed 2025-11-06 06:32:54,621 - INFO - Deleting interface with subnet_id 6491c723-3f1a-420f-a6a9-65a4f45ec3a7, port_id None from router b3a722f9-13ac-4ff8-9ba3-35b600cc438f 2025-11-06 06:32:54,808 - INFO - Deleting VM ctest-TestRoutersBasic-01032799-79330373 2025-11-06 06:32:54,875 - INFO - Deleting VM ctest-TestRoutersBasic-01032799-78558159 2025-11-06 06:32:54,946 - INFO - Deleting VN ctest-ext_vn-74512856 2025-11-06 06:32:55,009 - DEBUG - VN c1d506bf-8982-44c3-b650-83070b4f77fe still in use: Unable to complete operation on network c1d506bf-8982-44c3-b650-83070b4f77fe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6fa7e86-27b4-4c7f-b356-630b4198f655'] 2025-11-06 06:32:55,009 - WARNING - Deleting VN ctest-ext_vn-74512856 failed..Will retry 2025-11-06 06:32:57,106 - DEBUG - Response for deleting network () 2025-11-06 06:32:57,106 - INFO - Deleting VN ctest-vn-24389847 2025-11-06 06:32:57,192 - DEBUG - Response for deleting network () 2025-11-06 06:32:57,447 - DEBUG - No XMPP flaps were noticed during the test
2025-11-06 06:32:57,447 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-11-06 06:32:57,447 - INFO - -------------------------------------------------------------------------------- 2025-11-06 06:32:58,110 - INFO - Deleted project: ctest-TestRoutersBasic-01032799, ID : ccacd3bd-bc16-49a4-b00d-738fb371ff0e