2025-12-08 10:10:49,715 - INFO - Domain Default found not creating 2025-12-08 10:10:49,906 - INFO - Project ctest-TestRoutersBasic-14804563 not found, creating it 2025-12-08 10:10:50,399 - INFO - Created Project:ctest-TestRoutersBasic-14804563, ID : 62c06ab0-830a-42ba-adde-8c4d6b38b8ae 2025-12-08 10:10:51,977 - INFO - ================================================================================ 2025-12-08 10:10:51,977 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-08 10:10:51,977 - 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-12-08 10:10:52,236 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-12-08 10:10:52,236 - INFO - Initial checks done. Running the testcase now 2025-12-08 10:10:52,236 - INFO - 2025-12-08 10:10:52,942 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-14804563 2025-12-08 10:10:53,039 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-14804563 2025-12-08 10:10:53,359 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14804563', 'default']} 2025-12-08 10:10:53,649 - DEBUG - Response for create_network : {'network': {'id': 'c423a9b6-7382-4d29-8d7e-a3a34a3583ba', 'name': 'ctest-vn-27783641', 'tenant_id': '62c06ab0830a42baadde8c4d6b38b8ae', 'project_id': '62c06ab0830a42baadde8c4d6b38b8ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14804563', 'ctest-vn-27783641'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 10:10:53,825 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd73fcea-8332-4178-9f4e-b85776c1815f', 'name': '', 'tenant_id': '62c06ab0830a42baadde8c4d6b38b8ae', 'network_id': 'c423a9b6-7382-4d29-8d7e-a3a34a3583ba', 'ip_version': 4, 'cidr': '70.242.80.128/26', 'allocation_pools': [{'start': '70.242.80.130', 'end': '70.242.80.190'}], 'gateway_ip': '70.242.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.242.80.130', 'tags': [], 'project_id': '62c06ab0830a42baadde8c4d6b38b8ae'}} 2025-12-08 10:10:53,843 - INFO - Created VN ctest-vn-27783641 2025-12-08 10:10:53,895 - DEBUG - VN ctest-vn-27783641 UUID is c423a9b6-7382-4d29-8d7e-a3a34a3583ba 2025-12-08 10:10:54,231 - DEBUG - Response for create_network : {'network': {'id': 'ae5225b6-9e13-43d0-85db-5f8964fc3956', 'name': 'ctest-ext_vn-89642007', 'tenant_id': '62c06ab0830a42baadde8c4d6b38b8ae', 'project_id': '62c06ab0830a42baadde8c4d6b38b8ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-14804563', 'ctest-ext_vn-89642007'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 10:10:54,414 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac724ded-fb72-4202-b8b2-a071ccbb22bd', 'name': '', 'tenant_id': '62c06ab0830a42baadde8c4d6b38b8ae', 'network_id': 'ae5225b6-9e13-43d0-85db-5f8964fc3956', 'ip_version': 4, 'cidr': '14.219.74.0/26', 'allocation_pools': [{'start': '14.219.74.2', 'end': '14.219.74.62'}], 'gateway_ip': '14.219.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.219.74.2', 'tags': [], 'project_id': '62c06ab0830a42baadde8c4d6b38b8ae'}} 2025-12-08 10:10:54,430 - INFO - Created VN ctest-ext_vn-89642007 2025-12-08 10:10:54,483 - DEBUG - VN ctest-ext_vn-89642007 UUID is ae5225b6-9e13-43d0-85db-5f8964fc3956 2025-12-08 10:10:54,676 - DEBUG - Services list from nova: [, , ] 2025-12-08 10:10:55,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4856-1) 2025-12-08 10:10:56,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4856-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4856-1) 2025-12-08 10:10:56,843 - INFO - Setting gateway for router f01bb303-7cb0-488d-87ae-638cc7607aa5 to network ae5225b6-9e13-43d0-85db-5f8964fc3956 2025-12-08 10:10:56,893 - INFO - Adding interface with subnet_id bd73fcea-8332-4178-9f4e-b85776c1815f, port_id None to router f01bb303-7cb0-488d-87ae-638cc7607aa5 2025-12-08 10:10:57,234 - INFO - Waiting for VM ctest-TestRoutersBasic-14804563-12707931 to be up.. 2025-12-08 10:10:57,370 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 10:11:02,441 - DEBUG - VM is in ACTIVE state now 2025-12-08 10:11:02,441 - INFO - VM name : ctest-TestRoutersBasic-14804563-12707931 2025-12-08 10:11:02,515 - DEBUG - VM ctest-TestRoutersBasic-14804563-12707931 ID is 204998a4-7f94-4bea-ba72-6120c7463003 2025-12-08 10:11:02,534 - DEBUG - VM ctest-TestRoutersBasic-14804563-12707931 launched on Node cn-jenkins-deploy-platform-ansible-os-4856-1 2025-12-08 10:11:02,610 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/204998a4-7f94-4bea-ba72-6120c7463003 2025-12-08 10:11:02,905 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/204998a4-7f94-4bea-ba72-6120c7463003 2025-12-08 10:11:02,941 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a9e2d46e-089d-4924-8df1-0d98126747b2 2025-12-08 10:11:06,196 - 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 1021ms') 2025-12-08 10:11:06,196 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14804563-12707931 failed! 2025-12-08 10:11:06,255 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-14804563:ctest-vn-27783641 is 70.242.80.129 and allocation pool is NOT set 2025-12-08 10:11:08,314 - 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.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.500 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.500/1.723/2.947/1.223 ms') 2025-12-08 10:11:08,314 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-14804563-12707931 passed 2025-12-08 10:11:08,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:11:08,463 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14804563-12707931, IP 70.242.80.131, Port 22 2025-12-08 10:11:08,619 - DEBUG - VM ctest-TestRoutersBasic-14804563-12707931 is ready for SSH connections 2025-12-08 10:11:08,619 - INFO - Waiting for VM ctest-TestRoutersBasic-14804563-68498195 to be up.. 2025-12-08 10:11:08,694 - DEBUG - VM is in ACTIVE state now 2025-12-08 10:11:08,694 - INFO - VM name : ctest-TestRoutersBasic-14804563-68498195 2025-12-08 10:11:08,765 - DEBUG - VM ctest-TestRoutersBasic-14804563-68498195 ID is 9a2590ad-20d4-4e22-b7ce-db1e31d1bb22 2025-12-08 10:11:08,765 - DEBUG - VM ctest-TestRoutersBasic-14804563-68498195 launched on Node cn-jenkins-deploy-platform-ansible-os-4856-1 2025-12-08 10:11:08,835 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9a2590ad-20d4-4e22-b7ce-db1e31d1bb22 2025-12-08 10:11:08,850 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a26b5c2f-9f41-47ed-bd88-7300e0231707 2025-12-08 10:11:10,081 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.911 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 = 0.911/2.285/3.660/1.374 ms') 2025-12-08 10:11:10,081 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-14804563-68498195 passed 2025-12-08 10:11:10,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:11:10,231 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-14804563-68498195, IP 14.219.74.3, Port 22 2025-12-08 10:11:10,387 - DEBUG - VM ctest-TestRoutersBasic-14804563-68498195 is ready for SSH connections 2025-12-08 10:11:10,387 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 10:11:10,387 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.219.74.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-12-08 10:11:10,387 - DEBUG - ping -s 56 -c 3 -W 1 14.219.74.3 2025-12-08 10:11:14,409 - DEBUG - PING 14.219.74.3 (14.219.74.3): 56 data bytes 64 bytes from 14.219.74.3: seq=0 ttl=62 time=6.220 ms 64 bytes from 14.219.74.3: seq=1 ttl=62 time=1.125 ms 64 bytes from 14.219.74.3: seq=2 ttl=62 time=1.057 ms --- 14.219.74.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.057/2.800/6.220 ms 2025-12-08 10:11:14,409 - INFO - Ping to IP 14.219.74.3 from VM ctest-TestRoutersBasic-14804563-12707931 passed 2025-12-08 10:11:14,409 - INFO - Deleting interface with subnet_id bd73fcea-8332-4178-9f4e-b85776c1815f, port_id None from router f01bb303-7cb0-488d-87ae-638cc7607aa5 2025-12-08 10:11:14,581 - INFO - Deleting VM ctest-TestRoutersBasic-14804563-68498195 2025-12-08 10:11:14,653 - INFO - Deleting VM ctest-TestRoutersBasic-14804563-12707931 2025-12-08 10:11:14,742 - INFO - Deleting VN ctest-ext_vn-89642007 2025-12-08 10:11:14,824 - DEBUG - VN ae5225b6-9e13-43d0-85db-5f8964fc3956 still in use: Unable to complete operation on network ae5225b6-9e13-43d0-85db-5f8964fc3956. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46d10b1c-d46f-4f19-9173-a6b627e55469'] 2025-12-08 10:11:14,824 - WARNING - Deleting VN ctest-ext_vn-89642007 failed..Will retry 2025-12-08 10:11:16,923 - DEBUG - Response for deleting network () 2025-12-08 10:11:16,923 - INFO - Deleting VN ctest-vn-27783641 2025-12-08 10:11:17,023 - DEBUG - Response for deleting network () 2025-12-08 10:11:17,281 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 10:11:17,281 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-12-08 10:11:17,281 - INFO - -------------------------------------------------------------------------------- 2025-12-08 10:11:17,943 - INFO - Deleted project: ctest-TestRoutersBasic-14804563, ID : 62c06ab0-830a-42ba-adde-8c4d6b38b8ae