2025-02-11 11:56:54,474 - INFO - Domain Default found not creating 2025-02-11 11:56:54,624 - INFO - Project ctest-TestRoutersBasic-65752247 not found, creating it 2025-02-11 11:56:55,107 - INFO - Created Project:ctest-TestRoutersBasic-65752247, ID : 508d320f-e670-4f48-aacd-d2699d6be7f8 2025-02-11 11:56:56,671 - INFO - ================================================================================ 2025-02-11 11:56:56,671 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-11 11:56:56,671 - 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-02-11 11:56:56,929 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.6': '0'}} with 2025-02-11 11:56:56,929 - INFO - Initial checks done. Running the testcase now 2025-02-11 11:56:56,929 - INFO - 2025-02-11 11:56:57,732 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65752247 2025-02-11 11:56:57,830 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65752247 2025-02-11 11:56:58,166 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65752247', 'default']} 2025-02-11 11:56:58,476 - DEBUG - Response for create_network : {'network': {'id': 'af327bbe-cc38-44d3-8108-ccd1d4cb6b70', 'name': 'ctest-vn-98095293', 'tenant_id': '508d320fe6704f48aacdd2699d6be7f8', 'project_id': '508d320fe6704f48aacdd2699d6be7f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65752247', 'ctest-vn-98095293'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 11:56:58,643 - DEBUG - Response for create_subnet : {'subnet': {'id': '29fc4b37-1ba2-4b20-9e6c-9f2451337a06', 'name': '', 'tenant_id': '508d320fe6704f48aacdd2699d6be7f8', 'network_id': 'af327bbe-cc38-44d3-8108-ccd1d4cb6b70', 'ip_version': 4, 'cidr': '194.33.158.192/26', 'allocation_pools': [{'start': '194.33.158.194', 'end': '194.33.158.254'}], 'gateway_ip': '194.33.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.33.158.194', 'tags': [], 'project_id': '508d320fe6704f48aacdd2699d6be7f8'}} 2025-02-11 11:56:58,665 - INFO - Created VN ctest-vn-98095293 2025-02-11 11:56:58,718 - DEBUG - VN ctest-vn-98095293 UUID is af327bbe-cc38-44d3-8108-ccd1d4cb6b70 2025-02-11 11:56:59,086 - DEBUG - Response for create_network : {'network': {'id': '92b3dbb1-2270-4c43-a610-f9bb0276af50', 'name': 'ctest-ext_vn-38285819', 'tenant_id': '508d320fe6704f48aacdd2699d6be7f8', 'project_id': '508d320fe6704f48aacdd2699d6be7f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65752247', 'ctest-ext_vn-38285819'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 11:56:59,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '7999a19a-ced2-4007-a4de-4d13be1f6481', 'name': '', 'tenant_id': '508d320fe6704f48aacdd2699d6be7f8', 'network_id': '92b3dbb1-2270-4c43-a610-f9bb0276af50', 'ip_version': 4, 'cidr': '65.252.7.0/26', 'allocation_pools': [{'start': '65.252.7.2', 'end': '65.252.7.62'}], 'gateway_ip': '65.252.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.252.7.2', 'tags': [], 'project_id': '508d320fe6704f48aacdd2699d6be7f8'}} 2025-02-11 11:56:59,314 - INFO - Created VN ctest-ext_vn-38285819 2025-02-11 11:56:59,370 - DEBUG - VN ctest-ext_vn-38285819 UUID is 92b3dbb1-2270-4c43-a610-f9bb0276af50 2025-02-11 11:56:59,551 - DEBUG - Services list from nova: [, , ] 2025-02-11 11:57:00,665 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2719-1) 2025-02-11 11:57:01,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2719-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2719-1) 2025-02-11 11:57:02,067 - INFO - Setting gateway for router bc8e7c6f-8b64-4236-9246-2e08f7deb8b6 to network 92b3dbb1-2270-4c43-a610-f9bb0276af50 2025-02-11 11:57:02,139 - INFO - Adding interface with subnet_id 29fc4b37-1ba2-4b20-9e6c-9f2451337a06, port_id None to router bc8e7c6f-8b64-4236-9246-2e08f7deb8b6 2025-02-11 11:57:02,589 - INFO - Waiting for VM ctest-TestRoutersBasic-65752247-54987102 to be up.. 2025-02-11 11:57:02,759 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 11:57:07,849 - DEBUG - VM is in ACTIVE state now 2025-02-11 11:57:07,849 - INFO - VM name : ctest-TestRoutersBasic-65752247-54987102 2025-02-11 11:57:07,946 - DEBUG - VM ctest-TestRoutersBasic-65752247-54987102 ID is 31a0aa0a-e975-4e6c-99f5-86e06d8e627a 2025-02-11 11:57:07,971 - DEBUG - VM ctest-TestRoutersBasic-65752247-54987102 launched on Node cn-jenkins-deploy-platform-ansible-os-2719-1 2025-02-11 11:57:08,068 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/31a0aa0a-e975-4e6c-99f5-86e06d8e627a 2025-02-11 11:57:08,403 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/31a0aa0a-e975-4e6c-99f5-86e06d8e627a 2025-02-11 11:57:08,436 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/9c87afa6-cf81-4d2a-b0d5-4fab5daf3f5b 2025-02-11 11:57:11,692 - 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 1002ms') 2025-02-11 11:57:11,692 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65752247-54987102 failed! 2025-02-11 11:57:11,750 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65752247:ctest-vn-98095293 is 194.33.158.193 and allocation pool is NOT set 2025-02-11 11:57:13,821 - 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=7.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.96 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 = 1.962/4.612/7.262/2.650 ms') 2025-02-11 11:57:13,821 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-65752247-54987102 passed 2025-02-11 11:57:13,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 11:57:13,974 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65752247-54987102, IP 194.33.158.195, Port 22 2025-02-11 11:57:14,130 - DEBUG - VM ctest-TestRoutersBasic-65752247-54987102 is ready for SSH connections 2025-02-11 11:57:14,130 - INFO - Waiting for VM ctest-TestRoutersBasic-65752247-50493548 to be up.. 2025-02-11 11:57:14,211 - DEBUG - VM is in ACTIVE state now 2025-02-11 11:57:14,211 - INFO - VM name : ctest-TestRoutersBasic-65752247-50493548 2025-02-11 11:57:14,287 - DEBUG - VM ctest-TestRoutersBasic-65752247-50493548 ID is 1e812f94-88c3-4999-8cda-fb58e0fac429 2025-02-11 11:57:14,287 - DEBUG - VM ctest-TestRoutersBasic-65752247-50493548 launched on Node cn-jenkins-deploy-platform-ansible-os-2719-1 2025-02-11 11:57:14,362 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/1e812f94-88c3-4999-8cda-fb58e0fac429 2025-02-11 11:57:14,371 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/7888a961-6e31-46ac-bcd5-8d772fa67624 2025-02-11 11:57:15,626 - 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.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.552 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.552/1.810/3.069/1.258 ms') 2025-02-11 11:57:15,626 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-65752247-50493548 passed 2025-02-11 11:57:15,786 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 11:57:15,786 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65752247-50493548, IP 65.252.7.3, Port 22 2025-02-11 11:57:15,942 - DEBUG - VM ctest-TestRoutersBasic-65752247-50493548 is ready for SSH connections 2025-02-11 11:57:15,942 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 11:57:15,942 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.252.7.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.36, gateway password: c0ntrail123 2025-02-11 11:57:15,942 - DEBUG - ping -s 56 -c 3 -W 1 65.252.7.3 2025-02-11 11:57:20,044 - DEBUG - PING 65.252.7.3 (65.252.7.3): 56 data bytes 64 bytes from 65.252.7.3: seq=0 ttl=62 time=8.869 ms 64 bytes from 65.252.7.3: seq=1 ttl=62 time=1.407 ms 64 bytes from 65.252.7.3: seq=2 ttl=62 time=0.970 ms --- 65.252.7.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/3.748/8.869 ms 2025-02-11 11:57:20,044 - INFO - Ping to IP 65.252.7.3 from VM ctest-TestRoutersBasic-65752247-54987102 passed 2025-02-11 11:57:20,044 - INFO - Deleting interface with subnet_id 29fc4b37-1ba2-4b20-9e6c-9f2451337a06, port_id None from router bc8e7c6f-8b64-4236-9246-2e08f7deb8b6 2025-02-11 11:57:20,266 - INFO - Deleting VM ctest-TestRoutersBasic-65752247-50493548 2025-02-11 11:57:20,378 - INFO - Deleting VM ctest-TestRoutersBasic-65752247-54987102 2025-02-11 11:57:20,514 - INFO - Deleting VN ctest-ext_vn-38285819 2025-02-11 11:57:20,622 - DEBUG - VN 92b3dbb1-2270-4c43-a610-f9bb0276af50 still in use: Unable to complete operation on network 92b3dbb1-2270-4c43-a610-f9bb0276af50. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f62fdc93-6c71-4c84-93b8-4286ec123e5d'] 2025-02-11 11:57:20,622 - WARNING - Deleting VN ctest-ext_vn-38285819 failed..Will retry 2025-02-11 11:57:22,751 - DEBUG - Response for deleting network () 2025-02-11 11:57:22,751 - INFO - Deleting VN ctest-vn-98095293 2025-02-11 11:57:22,862 - DEBUG - Response for deleting network () 2025-02-11 11:57:23,116 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 11:57:23,117 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-02-11 11:57:23,117 - INFO - -------------------------------------------------------------------------------- 2025-02-11 11:57:23,831 - INFO - Deleted project: ctest-TestRoutersBasic-65752247, ID : 508d320f-e670-4f48-aacd-d2699d6be7f8