2025-09-11 12:04:42,270 - INFO - Domain Default found not creating 2025-09-11 12:04:42,423 - INFO - Project ctest-TestRoutersBasic-54323988 not found, creating it 2025-09-11 12:04:42,910 - INFO - Created Project:ctest-TestRoutersBasic-54323988, ID : b1502de4-8bda-46f5-b5d5-01c9de7e2775 2025-09-11 12:04:44,342 - INFO - ================================================================================ 2025-09-11 12:04:44,343 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-09-11 12:04:44,343 - 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-09-11 12:04:44,596 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-11 12:04:44,596 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:04:44,596 - INFO - 2025-09-11 12:04:45,325 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-54323988 2025-09-11 12:04:45,419 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-54323988 2025-09-11 12:04:45,735 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54323988', 'default']} 2025-09-11 12:04:46,009 - DEBUG - Response for create_network : {'network': {'id': '1c5a75e0-2ab3-4e0a-82dd-0dc3e4509b8f', 'name': 'ctest-vn-67934451', 'tenant_id': 'b1502de48bda46f5b5d501c9de7e2775', 'project_id': 'b1502de48bda46f5b5d501c9de7e2775', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54323988', 'ctest-vn-67934451'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:04:46,184 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4fb9346-aae4-4d74-923d-9147bd1c463a', 'name': '', 'tenant_id': 'b1502de48bda46f5b5d501c9de7e2775', 'network_id': '1c5a75e0-2ab3-4e0a-82dd-0dc3e4509b8f', 'ip_version': 4, 'cidr': '47.83.102.64/26', 'allocation_pools': [{'start': '47.83.102.66', 'end': '47.83.102.126'}], 'gateway_ip': '47.83.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.83.102.66', 'tags': [], 'project_id': 'b1502de48bda46f5b5d501c9de7e2775'}} 2025-09-11 12:04:46,205 - INFO - Created VN ctest-vn-67934451 2025-09-11 12:04:46,255 - DEBUG - VN ctest-vn-67934451 UUID is 1c5a75e0-2ab3-4e0a-82dd-0dc3e4509b8f 2025-09-11 12:04:46,589 - DEBUG - Response for create_network : {'network': {'id': '2906c81d-b03f-4b4c-af62-1dc369f1000a', 'name': 'ctest-ext_vn-59481131', 'tenant_id': 'b1502de48bda46f5b5d501c9de7e2775', 'project_id': 'b1502de48bda46f5b5d501c9de7e2775', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-54323988', 'ctest-ext_vn-59481131'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:04:46,786 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a285bb2-cae8-4615-aff3-a615b782a4b0', 'name': '', 'tenant_id': 'b1502de48bda46f5b5d501c9de7e2775', 'network_id': '2906c81d-b03f-4b4c-af62-1dc369f1000a', 'ip_version': 4, 'cidr': '175.208.59.64/26', 'allocation_pools': [{'start': '175.208.59.66', 'end': '175.208.59.126'}], 'gateway_ip': '175.208.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.208.59.66', 'tags': [], 'project_id': 'b1502de48bda46f5b5d501c9de7e2775'}} 2025-09-11 12:04:46,802 - INFO - Created VN ctest-ext_vn-59481131 2025-09-11 12:04:46,855 - DEBUG - VN ctest-ext_vn-59481131 UUID is 2906c81d-b03f-4b4c-af62-1dc369f1000a 2025-09-11 12:04:47,048 - DEBUG - Services list from nova: [, , ] 2025-09-11 12:04:48,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4091-1) 2025-09-11 12:04:49,207 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4091-1) 2025-09-11 12:04:49,282 - INFO - Setting gateway for router 835914aa-742d-43ad-bfc8-543c1a339171 to network 2906c81d-b03f-4b4c-af62-1dc369f1000a 2025-09-11 12:04:49,343 - INFO - Adding interface with subnet_id b4fb9346-aae4-4d74-923d-9147bd1c463a, port_id None to router 835914aa-742d-43ad-bfc8-543c1a339171 2025-09-11 12:04:49,631 - INFO - Waiting for VM ctest-TestRoutersBasic-54323988-99189420 to be up.. 2025-09-11 12:04:49,799 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 12:04:54,870 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:04:54,870 - INFO - VM name : ctest-TestRoutersBasic-54323988-99189420 2025-09-11 12:04:54,934 - DEBUG - VM ctest-TestRoutersBasic-54323988-99189420 ID is ab213992-104d-421a-ba1e-87a3596fe10e 2025-09-11 12:04:54,951 - DEBUG - VM ctest-TestRoutersBasic-54323988-99189420 launched on Node cn-jenkins-deploy-platform-ansible-os-4091-1 2025-09-11 12:04:55,019 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ab213992-104d-421a-ba1e-87a3596fe10e 2025-09-11 12:04:55,315 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ab213992-104d-421a-ba1e-87a3596fe10e 2025-09-11 12:04:55,347 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/69cf9a61-2eb2-4168-814c-7fe9a86e19e1 2025-09-11 12:04:58,614 - 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 1027ms') 2025-09-11 12:04:58,614 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54323988-99189420 failed! 2025-09-11 12:04:58,667 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-54323988:ctest-vn-67934451 is 47.83.102.65 and allocation pool is NOT set 2025-09-11 12:05:00,727 - 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=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.716/3.019/1.302 ms') 2025-09-11 12:05:00,728 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-54323988-99189420 passed 2025-09-11 12:05:00,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:05:00,880 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54323988-99189420, IP 47.83.102.67, Port 22 2025-09-11 12:05:01,035 - DEBUG - VM ctest-TestRoutersBasic-54323988-99189420 is ready for SSH connections 2025-09-11 12:05:01,035 - INFO - Waiting for VM ctest-TestRoutersBasic-54323988-87344827 to be up.. 2025-09-11 12:05:01,110 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:05:01,110 - INFO - VM name : ctest-TestRoutersBasic-54323988-87344827 2025-09-11 12:05:01,179 - DEBUG - VM ctest-TestRoutersBasic-54323988-87344827 ID is 32a2f151-ac2f-494d-bcb8-6ce07c914955 2025-09-11 12:05:01,180 - DEBUG - VM ctest-TestRoutersBasic-54323988-87344827 launched on Node cn-jenkins-deploy-platform-ansible-os-4091-1 2025-09-11 12:05:01,253 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/32a2f151-ac2f-494d-bcb8-6ce07c914955 2025-09-11 12:05:01,261 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6ad9d8d5-a222-4bbb-857a-05751f604c28 2025-09-11 12:05:02,502 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.593/2.777/1.183 ms') 2025-09-11 12:05:02,502 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-54323988-87344827 passed 2025-09-11 12:05:02,651 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:05:02,652 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-54323988-87344827, IP 175.208.59.67, Port 22 2025-09-11 12:05:02,811 - DEBUG - VM ctest-TestRoutersBasic-54323988-87344827 is ready for SSH connections 2025-09-11 12:05:02,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:05:02,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.208.59.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 12:05:02,811 - DEBUG - ping -s 56 -c 3 -W 1 175.208.59.67 2025-09-11 12:05:06,910 - DEBUG - PING 175.208.59.67 (175.208.59.67): 56 data bytes 64 bytes from 175.208.59.67: seq=0 ttl=62 time=5.736 ms 64 bytes from 175.208.59.67: seq=1 ttl=62 time=0.914 ms 64 bytes from 175.208.59.67: seq=2 ttl=62 time=0.888 ms --- 175.208.59.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/2.512/5.736 ms 2025-09-11 12:05:06,910 - INFO - Ping to IP 175.208.59.67 from VM ctest-TestRoutersBasic-54323988-99189420 passed 2025-09-11 12:05:06,910 - INFO - Deleting interface with subnet_id b4fb9346-aae4-4d74-923d-9147bd1c463a, port_id None from router 835914aa-742d-43ad-bfc8-543c1a339171 2025-09-11 12:05:07,077 - INFO - Deleting VM ctest-TestRoutersBasic-54323988-87344827 2025-09-11 12:05:07,141 - INFO - Deleting VM ctest-TestRoutersBasic-54323988-99189420 2025-09-11 12:05:07,222 - INFO - Deleting VN ctest-ext_vn-59481131 2025-09-11 12:05:07,282 - DEBUG - VN 2906c81d-b03f-4b4c-af62-1dc369f1000a still in use: Unable to complete operation on network 2906c81d-b03f-4b4c-af62-1dc369f1000a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fe28b993-6e33-4510-9c07-ba9fe1d6014c'] 2025-09-11 12:05:07,282 - WARNING - Deleting VN ctest-ext_vn-59481131 failed..Will retry 2025-09-11 12:05:09,391 - DEBUG - Response for deleting network () 2025-09-11 12:05:09,391 - INFO - Deleting VN ctest-vn-67934451 2025-09-11 12:05:09,488 - DEBUG - Response for deleting network () 2025-09-11 12:05:09,744 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 12:05:09,744 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-09-11 12:05:09,745 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:05:10,422 - INFO - Deleted project: ctest-TestRoutersBasic-54323988, ID : b1502de4-8bda-46f5-b5d5-01c9de7e2775