2025-05-29 15:27:36,528 - INFO - Domain Default found not creating 2025-05-29 15:27:36,720 - INFO - Project ctest-TestRoutersBasic-56590759 not found, creating it 2025-05-29 15:27:37,234 - INFO - Created Project:ctest-TestRoutersBasic-56590759, ID : 7a23cc1a-94fb-4195-abe5-5a9cd72de799 2025-05-29 15:27:38,959 - INFO - ================================================================================ 2025-05-29 15:27:38,959 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-29 15:27:38,959 - 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-05-29 15:27:39,240 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-05-29 15:27:39,240 - INFO - Initial checks done. Running the testcase now 2025-05-29 15:27:39,240 - INFO - 2025-05-29 15:27:40,081 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-56590759 2025-05-29 15:27:40,183 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-56590759 2025-05-29 15:27:40,531 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56590759', 'default']} 2025-05-29 15:27:40,900 - DEBUG - Response for create_network : {'network': {'id': 'bb562bc5-a135-4f4a-8428-9e8ff2e79ac5', 'name': 'ctest-vn-14519662', 'tenant_id': '7a23cc1a94fb4195abe55a9cd72de799', 'project_id': '7a23cc1a94fb4195abe55a9cd72de799', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56590759', 'ctest-vn-14519662'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 15:27:41,107 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbcd3255-84e7-42e8-8f65-9db54a6bde4f', 'name': '', 'tenant_id': '7a23cc1a94fb4195abe55a9cd72de799', 'network_id': 'bb562bc5-a135-4f4a-8428-9e8ff2e79ac5', 'ip_version': 4, 'cidr': '72.190.248.0/26', 'allocation_pools': [{'start': '72.190.248.2', 'end': '72.190.248.62'}], 'gateway_ip': '72.190.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.190.248.2', 'tags': [], 'project_id': '7a23cc1a94fb4195abe55a9cd72de799'}} 2025-05-29 15:27:41,131 - INFO - Created VN ctest-vn-14519662 2025-05-29 15:27:41,187 - DEBUG - VN ctest-vn-14519662 UUID is bb562bc5-a135-4f4a-8428-9e8ff2e79ac5 2025-05-29 15:27:41,587 - DEBUG - Response for create_network : {'network': {'id': '79f00f9d-fc47-4b8a-adc7-73111848a87b', 'name': 'ctest-ext_vn-73054064', 'tenant_id': '7a23cc1a94fb4195abe55a9cd72de799', 'project_id': '7a23cc1a94fb4195abe55a9cd72de799', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-56590759', 'ctest-ext_vn-73054064'], 'port_security_enabled': True, 'description': ''}} 2025-05-29 15:27:41,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ff073b3-4e90-44c4-bae9-2e8009e90299', 'name': '', 'tenant_id': '7a23cc1a94fb4195abe55a9cd72de799', 'network_id': '79f00f9d-fc47-4b8a-adc7-73111848a87b', 'ip_version': 4, 'cidr': '36.241.37.64/26', 'allocation_pools': [{'start': '36.241.37.66', 'end': '36.241.37.126'}], 'gateway_ip': '36.241.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.241.37.66', 'tags': [], 'project_id': '7a23cc1a94fb4195abe55a9cd72de799'}} 2025-05-29 15:27:41,836 - INFO - Created VN ctest-ext_vn-73054064 2025-05-29 15:27:41,891 - DEBUG - VN ctest-ext_vn-73054064 UUID is 79f00f9d-fc47-4b8a-adc7-73111848a87b 2025-05-29 15:27:42,103 - DEBUG - Services list from nova: [, , ] 2025-05-29 15:27:43,306 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3368-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3368-1) 2025-05-29 15:27:44,615 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3368-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3368-1) 2025-05-29 15:27:44,719 - INFO - Setting gateway for router f8f86f78-90da-4310-b326-26e5c14ead84 to network 79f00f9d-fc47-4b8a-adc7-73111848a87b 2025-05-29 15:27:44,817 - INFO - Adding interface with subnet_id fbcd3255-84e7-42e8-8f65-9db54a6bde4f, port_id None to router f8f86f78-90da-4310-b326-26e5c14ead84 2025-05-29 15:27:45,179 - INFO - Waiting for VM ctest-TestRoutersBasic-56590759-75041719 to be up.. 2025-05-29 15:27:45,407 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-29 15:27:50,504 - DEBUG - VM is in ACTIVE state now 2025-05-29 15:27:50,504 - INFO - VM name : ctest-TestRoutersBasic-56590759-75041719 2025-05-29 15:27:50,612 - DEBUG - VM ctest-TestRoutersBasic-56590759-75041719 ID is 93e1f99e-2b1d-4ae7-a288-b360bff2deca 2025-05-29 15:27:50,637 - DEBUG - VM ctest-TestRoutersBasic-56590759-75041719 launched on Node cn-jenkins-deploy-platform-ansible-os-3368-1 2025-05-29 15:27:50,734 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/93e1f99e-2b1d-4ae7-a288-b360bff2deca 2025-05-29 15:27:51,082 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/93e1f99e-2b1d-4ae7-a288-b360bff2deca 2025-05-29 15:27:51,122 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/66d32ad3-d8bd-4063-b868-3ee6aa048d9f 2025-05-29 15:27:54,392 - 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 1012ms') 2025-05-29 15:27:54,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56590759-75041719 failed! 2025-05-29 15:27:54,451 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-56590759:ctest-vn-14519662 is 72.190.248.1 and allocation pool is NOT set 2025-05-29 15:27:56,519 - 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=6.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.16 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 = 2.157/4.232/6.307/2.075 ms') 2025-05-29 15:27:56,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-56590759-75041719 passed 2025-05-29 15:27:56,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 15:27:56,687 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56590759-75041719, IP 72.190.248.3, Port 22 2025-05-29 15:27:56,857 - DEBUG - VM ctest-TestRoutersBasic-56590759-75041719 is ready for SSH connections 2025-05-29 15:27:56,857 - INFO - Waiting for VM ctest-TestRoutersBasic-56590759-66803614 to be up.. 2025-05-29 15:27:56,957 - DEBUG - VM is in ACTIVE state now 2025-05-29 15:27:56,957 - INFO - VM name : ctest-TestRoutersBasic-56590759-66803614 2025-05-29 15:27:57,061 - DEBUG - VM ctest-TestRoutersBasic-56590759-66803614 ID is 78edf597-8b62-450c-aa8e-eacba4d54eac 2025-05-29 15:27:57,061 - DEBUG - VM ctest-TestRoutersBasic-56590759-66803614 launched on Node cn-jenkins-deploy-platform-ansible-os-3368-1 2025-05-29 15:27:57,156 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/78edf597-8b62-450c-aa8e-eacba4d54eac 2025-05-29 15:27:57,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/099d5108-2983-4edc-b8c6-4b45dd526a39 2025-05-29 15:27:58,437 - 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=6.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.60 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 = 2.599/4.331/6.063/1.732 ms') 2025-05-29 15:27:58,437 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-56590759-66803614 passed 2025-05-29 15:27:58,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 15:27:58,603 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-56590759-66803614, IP 36.241.37.67, Port 22 2025-05-29 15:27:58,766 - DEBUG - VM ctest-TestRoutersBasic-56590759-66803614 is ready for SSH connections 2025-05-29 15:27:58,766 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-29 15:27:58,767 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.241.37.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-05-29 15:27:58,767 - DEBUG - ping -s 56 -c 3 -W 1 36.241.37.67 2025-05-29 15:28:02,578 - DEBUG - PING 36.241.37.67 (36.241.37.67): 56 data bytes 64 bytes from 36.241.37.67: seq=0 ttl=62 time=7.038 ms 64 bytes from 36.241.37.67: seq=1 ttl=62 time=1.085 ms 64 bytes from 36.241.37.67: seq=2 ttl=62 time=1.661 ms --- 36.241.37.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.085/3.261/7.038 ms 2025-05-29 15:28:02,579 - INFO - Ping to IP 36.241.37.67 from VM ctest-TestRoutersBasic-56590759-75041719 passed 2025-05-29 15:28:02,579 - INFO - Deleting interface with subnet_id fbcd3255-84e7-42e8-8f65-9db54a6bde4f, port_id None from router f8f86f78-90da-4310-b326-26e5c14ead84 2025-05-29 15:28:02,952 - INFO - Deleting VM ctest-TestRoutersBasic-56590759-66803614 2025-05-29 15:28:03,034 - INFO - Deleting VM ctest-TestRoutersBasic-56590759-75041719 2025-05-29 15:28:03,137 - INFO - Deleting VN ctest-ext_vn-73054064 2025-05-29 15:28:03,301 - DEBUG - VN 79f00f9d-fc47-4b8a-adc7-73111848a87b still in use: Unable to complete operation on network 79f00f9d-fc47-4b8a-adc7-73111848a87b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4cdd925-9396-441b-b181-32a55b792b7e'] 2025-05-29 15:28:03,302 - WARNING - Deleting VN ctest-ext_vn-73054064 failed..Will retry 2025-05-29 15:28:05,443 - DEBUG - Response for deleting network () 2025-05-29 15:28:05,443 - INFO - Deleting VN ctest-vn-14519662 2025-05-29 15:28:05,588 - DEBUG - Response for deleting network () 2025-05-29 15:28:05,863 - DEBUG - No XMPP flaps were noticed during the test
2025-05-29 15:28:05,863 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27]
2025-05-29 15:28:05,863 - INFO - -------------------------------------------------------------------------------- 2025-05-29 15:28:06,663 - INFO - Deleted project: ctest-TestRoutersBasic-56590759, ID : 7a23cc1a-94fb-4195-abe5-5a9cd72de799