2025-08-12 14:43:02,675 - INFO - Domain Default found not creating 2025-08-12 14:43:02,791 - INFO - Project ctest-TestRoutersBasic-33454247 not found, creating it 2025-08-12 14:43:03,242 - INFO - Created Project:ctest-TestRoutersBasic-33454247, ID : 8231496e-efb5-47cf-9a2b-5f22dcecb1ba 2025-08-12 14:43:04,522 - INFO - ================================================================================ 2025-08-12 14:43:04,522 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-08-12 14:43:04,522 - 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-08-12 14:43:04,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-08-12 14:43:04,787 - INFO - Initial checks done. Running the testcase now 2025-08-12 14:43:04,787 - INFO - 2025-08-12 14:43:05,447 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-33454247 2025-08-12 14:43:05,542 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-33454247 2025-08-12 14:43:05,858 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33454247', 'default']} 2025-08-12 14:43:06,127 - DEBUG - Response for create_network : {'network': {'id': '725bd3b7-4469-45ab-a041-92cae4c5404f', 'name': 'ctest-vn-11926266', 'tenant_id': '8231496eefb547cf9a2b5f22dcecb1ba', 'project_id': '8231496eefb547cf9a2b5f22dcecb1ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33454247', 'ctest-vn-11926266'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:43:06,301 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e21448c6-c383-4a3d-a99e-592653e840c7', 'name': '', 'tenant_id': '8231496eefb547cf9a2b5f22dcecb1ba', 'network_id': '725bd3b7-4469-45ab-a041-92cae4c5404f', 'ip_version': 4, 'cidr': '77.66.94.192/26', 'allocation_pools': [{'start': '77.66.94.194', 'end': '77.66.94.254'}], 'gateway_ip': '77.66.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.66.94.194', 'tags': [], 'project_id': '8231496eefb547cf9a2b5f22dcecb1ba'}} 2025-08-12 14:43:06,316 - INFO - Created VN ctest-vn-11926266 2025-08-12 14:43:06,366 - DEBUG - VN ctest-vn-11926266 UUID is 725bd3b7-4469-45ab-a041-92cae4c5404f 2025-08-12 14:43:06,688 - DEBUG - Response for create_network : {'network': {'id': 'b8c349ea-0462-48a6-bcbb-5ff11aa8edb6', 'name': 'ctest-ext_vn-69927467', 'tenant_id': '8231496eefb547cf9a2b5f22dcecb1ba', 'project_id': '8231496eefb547cf9a2b5f22dcecb1ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-33454247', 'ctest-ext_vn-69927467'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 14:43:06,864 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd68d5385-cc36-44dc-9c06-0fca7a0466cb', 'name': '', 'tenant_id': '8231496eefb547cf9a2b5f22dcecb1ba', 'network_id': 'b8c349ea-0462-48a6-bcbb-5ff11aa8edb6', 'ip_version': 4, 'cidr': '152.162.90.192/26', 'allocation_pools': [{'start': '152.162.90.194', 'end': '152.162.90.254'}], 'gateway_ip': '152.162.90.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.162.90.194', 'tags': [], 'project_id': '8231496eefb547cf9a2b5f22dcecb1ba'}} 2025-08-12 14:43:06,878 - INFO - Created VN ctest-ext_vn-69927467 2025-08-12 14:43:06,934 - DEBUG - VN ctest-ext_vn-69927467 UUID is b8c349ea-0462-48a6-bcbb-5ff11aa8edb6 2025-08-12 14:43:07,116 - DEBUG - Services list from nova: [, , ] 2025-08-12 14:43:08,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3832-1) 2025-08-12 14:43:09,045 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3832-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3832-1) 2025-08-12 14:43:09,110 - INFO - Setting gateway for router 4e83c416-c52f-4d49-8d5c-8976649a2dcc to network b8c349ea-0462-48a6-bcbb-5ff11aa8edb6 2025-08-12 14:43:09,168 - INFO - Adding interface with subnet_id e21448c6-c383-4a3d-a99e-592653e840c7, port_id None to router 4e83c416-c52f-4d49-8d5c-8976649a2dcc 2025-08-12 14:43:09,583 - INFO - Waiting for VM ctest-TestRoutersBasic-33454247-24346529 to be up.. 2025-08-12 14:43:09,693 - DEBUG - VM is in ACTIVE state now 2025-08-12 14:43:09,693 - INFO - VM name : ctest-TestRoutersBasic-33454247-24346529 2025-08-12 14:43:09,813 - DEBUG - VM ctest-TestRoutersBasic-33454247-24346529 ID is db663415-57b3-429d-b71c-2aca8076a95a 2025-08-12 14:43:09,837 - DEBUG - VM ctest-TestRoutersBasic-33454247-24346529 launched on Node cn-jenkins-deploy-platform-ansible-os-3832-1 2025-08-12 14:43:09,913 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db663415-57b3-429d-b71c-2aca8076a95a 2025-08-12 14:43:10,212 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db663415-57b3-429d-b71c-2aca8076a95a 2025-08-12 14:43:10,263 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/77b8185b-606f-4945-8a3c-8096ee53b800 2025-08-12 14:43:13,551 - 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 1028ms') 2025-08-12 14:43:13,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33454247-24346529 failed! 2025-08-12 14:43:13,606 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33454247:ctest-vn-11926266 is 77.66.94.193 and allocation pool is NOT set 2025-08-12 14:43:17,689 - 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 1024ms') 2025-08-12 14:43:17,690 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33454247-24346529 failed! 2025-08-12 14:43:17,747 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-33454247:ctest-vn-11926266 is 77.66.94.193 and allocation pool is NOT set 2025-08-12 14:43:19,804 - 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=4.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.925/2.998/4.072/1.073 ms') 2025-08-12 14:43:19,804 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-33454247-24346529 passed 2025-08-12 14:43:19,954 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:43:19,955 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33454247-24346529, IP 77.66.94.195, Port 22 2025-08-12 14:43:20,113 - DEBUG - VM ctest-TestRoutersBasic-33454247-24346529 is ready for SSH connections 2025-08-12 14:43:20,113 - INFO - Waiting for VM ctest-TestRoutersBasic-33454247-65023572 to be up.. 2025-08-12 14:43:20,173 - DEBUG - VM is in ACTIVE state now 2025-08-12 14:43:20,173 - INFO - VM name : ctest-TestRoutersBasic-33454247-65023572 2025-08-12 14:43:20,231 - DEBUG - VM ctest-TestRoutersBasic-33454247-65023572 ID is dcdc7be0-f1e7-454a-8ab2-032ba891a409 2025-08-12 14:43:20,231 - DEBUG - VM ctest-TestRoutersBasic-33454247-65023572 launched on Node cn-jenkins-deploy-platform-ansible-os-3832-1 2025-08-12 14:43:20,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dcdc7be0-f1e7-454a-8ab2-032ba891a409 2025-08-12 14:43:20,307 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b926024f-0535-46b2-a9e3-0714f3513850 2025-08-12 14:43:21,573 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.959 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.959/2.254/3.549/1.295 ms') 2025-08-12 14:43:21,573 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-33454247-65023572 passed 2025-08-12 14:43:21,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:43:21,727 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-33454247-65023572, IP 152.162.90.195, Port 22 2025-08-12 14:43:21,878 - DEBUG - VM ctest-TestRoutersBasic-33454247-65023572 is ready for SSH connections 2025-08-12 14:43:21,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 14:43:21,878 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.162.90.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-08-12 14:43:21,878 - DEBUG - ping -s 56 -c 3 -W 1 152.162.90.195 2025-08-12 14:43:25,787 - DEBUG - PING 152.162.90.195 (152.162.90.195): 56 data bytes 64 bytes from 152.162.90.195: seq=0 ttl=62 time=4.427 ms 64 bytes from 152.162.90.195: seq=1 ttl=62 time=0.745 ms 64 bytes from 152.162.90.195: seq=2 ttl=62 time=0.790 ms --- 152.162.90.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.987/4.427 ms 2025-08-12 14:43:25,787 - INFO - Ping to IP 152.162.90.195 from VM ctest-TestRoutersBasic-33454247-24346529 passed 2025-08-12 14:43:25,787 - INFO - Deleting interface with subnet_id e21448c6-c383-4a3d-a99e-592653e840c7, port_id None from router 4e83c416-c52f-4d49-8d5c-8976649a2dcc 2025-08-12 14:43:25,964 - INFO - Deleting VM ctest-TestRoutersBasic-33454247-65023572 2025-08-12 14:43:26,020 - INFO - Deleting VM ctest-TestRoutersBasic-33454247-24346529 2025-08-12 14:43:26,078 - INFO - Deleting VN ctest-ext_vn-69927467 2025-08-12 14:43:26,140 - DEBUG - VN b8c349ea-0462-48a6-bcbb-5ff11aa8edb6 still in use: Unable to complete operation on network b8c349ea-0462-48a6-bcbb-5ff11aa8edb6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f0f0f6a-1d9d-4d10-a86f-644cea1b1fa1'] 2025-08-12 14:43:26,140 - WARNING - Deleting VN ctest-ext_vn-69927467 failed..Will retry 2025-08-12 14:43:28,232 - DEBUG - Response for deleting network () 2025-08-12 14:43:28,232 - INFO - Deleting VN ctest-vn-11926266 2025-08-12 14:43:28,318 - DEBUG - Response for deleting network () 2025-08-12 14:43:28,583 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 14:43:28,583 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24]
2025-08-12 14:43:28,583 - INFO - -------------------------------------------------------------------------------- 2025-08-12 14:43:29,243 - INFO - Deleted project: ctest-TestRoutersBasic-33454247, ID : 8231496e-efb5-47cf-9a2b-5f22dcecb1ba