2025-07-09 18:00:27,677 - INFO - Domain Default found not creating 2025-07-09 18:00:27,821 - INFO - Project ctest-TestRoutersBasic-78202023 not found, creating it 2025-07-09 18:00:28,301 - INFO - Created Project:ctest-TestRoutersBasic-78202023, ID : 4c364f27-9cdd-4964-a49f-c8fd46106a66 2025-07-09 18:00:29,702 - INFO - ================================================================================ 2025-07-09 18:00:29,702 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-09 18:00:29,702 - 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-09 18:00:29,958 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.14': '0'}} with 2025-07-09 18:00:29,958 - INFO - Initial checks done. Running the testcase now 2025-07-09 18:00:29,958 - INFO - 2025-07-09 18:00:30,654 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78202023 2025-07-09 18:00:30,749 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78202023 2025-07-09 18:00:31,081 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78202023', 'default']} 2025-07-09 18:00:31,375 - DEBUG - Response for create_network : {'network': {'id': '9582acc5-a19a-4722-8d73-2f23fff0bdf5', 'name': 'ctest-vn-74162388', 'tenant_id': '4c364f279cdd4964a49fc8fd46106a66', 'project_id': '4c364f279cdd4964a49fc8fd46106a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78202023', 'ctest-vn-74162388'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 18:00:31,564 - DEBUG - Response for create_subnet : {'subnet': {'id': '02604a79-64bf-4c01-a5eb-cb7984a92144', 'name': '', 'tenant_id': '4c364f279cdd4964a49fc8fd46106a66', 'network_id': '9582acc5-a19a-4722-8d73-2f23fff0bdf5', 'ip_version': 4, 'cidr': '56.239.204.0/26', 'allocation_pools': [{'start': '56.239.204.2', 'end': '56.239.204.62'}], 'gateway_ip': '56.239.204.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.239.204.2', 'tags': [], 'project_id': '4c364f279cdd4964a49fc8fd46106a66'}} 2025-07-09 18:00:31,583 - INFO - Created VN ctest-vn-74162388 2025-07-09 18:00:31,637 - DEBUG - VN ctest-vn-74162388 UUID is 9582acc5-a19a-4722-8d73-2f23fff0bdf5 2025-07-09 18:00:31,964 - DEBUG - Response for create_network : {'network': {'id': '05e2ff6a-4728-45d3-a6c2-8744882ac2d5', 'name': 'ctest-ext_vn-54502036', 'tenant_id': '4c364f279cdd4964a49fc8fd46106a66', 'project_id': '4c364f279cdd4964a49fc8fd46106a66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78202023', 'ctest-ext_vn-54502036'], 'port_security_enabled': True, 'description': ''}} 2025-07-09 18:00:32,115 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e338c5ba-898e-43f1-9986-22015b7f7622', 'name': '', 'tenant_id': '4c364f279cdd4964a49fc8fd46106a66', 'network_id': '05e2ff6a-4728-45d3-a6c2-8744882ac2d5', 'ip_version': 4, 'cidr': '92.221.168.192/26', 'allocation_pools': [{'start': '92.221.168.194', 'end': '92.221.168.254'}], 'gateway_ip': '92.221.168.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.221.168.194', 'tags': [], 'project_id': '4c364f279cdd4964a49fc8fd46106a66'}} 2025-07-09 18:00:32,134 - INFO - Created VN ctest-ext_vn-54502036 2025-07-09 18:00:32,189 - DEBUG - VN ctest-ext_vn-54502036 UUID is 05e2ff6a-4728-45d3-a6c2-8744882ac2d5 2025-07-09 18:00:32,352 - DEBUG - Services list from nova: [, , ] 2025-07-09 18:00:33,362 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3620-1) 2025-07-09 18:00:34,596 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3620-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3620-1) 2025-07-09 18:00:34,668 - INFO - Setting gateway for router bd1d74ea-9554-4cd0-adb4-dd7c5cc005ca to network 05e2ff6a-4728-45d3-a6c2-8744882ac2d5 2025-07-09 18:00:34,739 - INFO - Adding interface with subnet_id 02604a79-64bf-4c01-a5eb-cb7984a92144, port_id None to router bd1d74ea-9554-4cd0-adb4-dd7c5cc005ca 2025-07-09 18:00:35,199 - INFO - Waiting for VM ctest-TestRoutersBasic-78202023-41641608 to be up.. 2025-07-09 18:00:35,365 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-09 18:00:40,439 - DEBUG - VM is in ACTIVE state now 2025-07-09 18:00:40,439 - INFO - VM name : ctest-TestRoutersBasic-78202023-41641608 2025-07-09 18:00:40,515 - DEBUG - VM ctest-TestRoutersBasic-78202023-41641608 ID is 48b91222-2606-4d8a-8a7b-494e04a2dd1e 2025-07-09 18:00:40,532 - DEBUG - VM ctest-TestRoutersBasic-78202023-41641608 launched on Node cn-jenkins-deploy-platform-ansible-os-3620-1 2025-07-09 18:00:40,601 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/48b91222-2606-4d8a-8a7b-494e04a2dd1e 2025-07-09 18:00:40,893 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/48b91222-2606-4d8a-8a7b-494e04a2dd1e 2025-07-09 18:00:40,924 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/54d7c9b0-b1a1-4f1a-bcaa-11337e9f2569 2025-07-09 18:00:44,184 - 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-09 18:00:44,184 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78202023-41641608 failed! 2025-07-09 18:00:44,245 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78202023:ctest-vn-74162388 is 56.239.204.1 and allocation pool is NOT set 2025-07-09 18:00:46,304 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.388 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.388/1.588/2.789/1.200 ms') 2025-07-09 18:00:46,304 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78202023-41641608 passed 2025-07-09 18:00:46,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 18:00:46,457 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78202023-41641608, IP 56.239.204.3, Port 22 2025-07-09 18:00:46,632 - DEBUG - VM ctest-TestRoutersBasic-78202023-41641608 is ready for SSH connections 2025-07-09 18:00:46,633 - INFO - Waiting for VM ctest-TestRoutersBasic-78202023-35743167 to be up.. 2025-07-09 18:00:46,718 - DEBUG - VM is in ACTIVE state now 2025-07-09 18:00:46,718 - INFO - VM name : ctest-TestRoutersBasic-78202023-35743167 2025-07-09 18:00:46,810 - DEBUG - VM ctest-TestRoutersBasic-78202023-35743167 ID is cfc8561f-1512-4c47-811e-205cf49d3d12 2025-07-09 18:00:46,810 - DEBUG - VM ctest-TestRoutersBasic-78202023-35743167 launched on Node cn-jenkins-deploy-platform-ansible-os-3620-1 2025-07-09 18:00:46,888 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/cfc8561f-1512-4c47-811e-205cf49d3d12 2025-07-09 18:00:46,897 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/45cc9155-e3cd-4bba-99d0-f0b8f7c9579e 2025-07-09 18:00:48,132 - 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.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.530 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.530/1.784/3.039/1.254 ms') 2025-07-09 18:00:48,132 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78202023-35743167 passed 2025-07-09 18:00:48,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 18:00:48,285 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78202023-35743167, IP 92.221.168.195, Port 22 2025-07-09 18:00:48,440 - DEBUG - VM ctest-TestRoutersBasic-78202023-35743167 is ready for SSH connections 2025-07-09 18:00:48,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-09 18:00:48,441 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 92.221.168.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-07-09 18:00:48,441 - DEBUG - ping -s 56 -c 3 -W 1 92.221.168.195 2025-07-09 18:00:52,096 - DEBUG - PING 92.221.168.195 (92.221.168.195): 56 data bytes 64 bytes from 92.221.168.195: seq=0 ttl=62 time=6.011 ms 64 bytes from 92.221.168.195: seq=1 ttl=62 time=0.797 ms 64 bytes from 92.221.168.195: seq=2 ttl=62 time=0.845 ms --- 92.221.168.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.797/2.551/6.011 ms 2025-07-09 18:00:52,096 - INFO - Ping to IP 92.221.168.195 from VM ctest-TestRoutersBasic-78202023-41641608 passed 2025-07-09 18:00:52,096 - INFO - Deleting interface with subnet_id 02604a79-64bf-4c01-a5eb-cb7984a92144, port_id None from router bd1d74ea-9554-4cd0-adb4-dd7c5cc005ca 2025-07-09 18:00:52,281 - INFO - Deleting VM ctest-TestRoutersBasic-78202023-35743167 2025-07-09 18:00:52,342 - INFO - Deleting VM ctest-TestRoutersBasic-78202023-41641608 2025-07-09 18:00:52,413 - INFO - Deleting VN ctest-ext_vn-54502036 2025-07-09 18:00:52,478 - DEBUG - VN 05e2ff6a-4728-45d3-a6c2-8744882ac2d5 still in use: Unable to complete operation on network 05e2ff6a-4728-45d3-a6c2-8744882ac2d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e9a1a8c6-b654-4330-95fe-7c61d4705cbe'] 2025-07-09 18:00:52,478 - WARNING - Deleting VN ctest-ext_vn-54502036 failed..Will retry 2025-07-09 18:00:54,584 - DEBUG - Response for deleting network () 2025-07-09 18:00:54,584 - INFO - Deleting VN ctest-vn-74162388 2025-07-09 18:00:54,683 - DEBUG - Response for deleting network () 2025-07-09 18:00:54,938 - DEBUG - No XMPP flaps were noticed during the test
2025-07-09 18:00:54,938 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-07-09 18:00:54,939 - INFO - -------------------------------------------------------------------------------- 2025-07-09 18:00:55,599 - INFO - Deleted project: ctest-TestRoutersBasic-78202023, ID : 4c364f27-9cdd-4964-a49f-c8fd46106a66