2025-04-09 14:16:07,481 - INFO - Domain Default found not creating 2025-04-09 14:16:07,650 - INFO - Project ctest-TestRoutersBasic-37682962 not found, creating it 2025-04-09 14:16:08,122 - INFO - Created Project:ctest-TestRoutersBasic-37682962, ID : b3b8f057-9f95-429e-a2bb-77a24756cd93 2025-04-09 14:16:09,578 - INFO - ================================================================================ 2025-04-09 14:16:09,578 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-09 14:16:09,578 - 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-04-09 14:16:09,837 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with 2025-04-09 14:16:09,837 - INFO - Initial checks done. Running the testcase now 2025-04-09 14:16:09,837 - INFO - 2025-04-09 14:16:10,564 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-37682962 2025-04-09 14:16:10,661 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-37682962 2025-04-09 14:16:10,994 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37682962', 'default']} 2025-04-09 14:16:11,312 - DEBUG - Response for create_network : {'network': {'id': '1530d4f9-8985-405a-8a08-fa3e0c9589cc', 'name': 'ctest-vn-69582044', 'tenant_id': 'b3b8f0579f95429ea2bb77a24756cd93', 'project_id': 'b3b8f0579f95429ea2bb77a24756cd93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37682962', 'ctest-vn-69582044'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 14:16:11,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '106f4c4e-6546-46fa-9e60-16b779e5b746', 'name': '', 'tenant_id': 'b3b8f0579f95429ea2bb77a24756cd93', 'network_id': '1530d4f9-8985-405a-8a08-fa3e0c9589cc', 'ip_version': 4, 'cidr': '173.23.172.0/26', 'allocation_pools': [{'start': '173.23.172.2', 'end': '173.23.172.62'}], 'gateway_ip': '173.23.172.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.23.172.2', 'tags': [], 'project_id': 'b3b8f0579f95429ea2bb77a24756cd93'}} 2025-04-09 14:16:11,530 - INFO - Created VN ctest-vn-69582044 2025-04-09 14:16:11,584 - DEBUG - VN ctest-vn-69582044 UUID is 1530d4f9-8985-405a-8a08-fa3e0c9589cc 2025-04-09 14:16:11,934 - DEBUG - Response for create_network : {'network': {'id': 'b67a3c0e-0152-468a-8696-58758357eb1d', 'name': 'ctest-ext_vn-55729569', 'tenant_id': 'b3b8f0579f95429ea2bb77a24756cd93', 'project_id': 'b3b8f0579f95429ea2bb77a24756cd93', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-37682962', 'ctest-ext_vn-55729569'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 14:16:12,125 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e6a1728-ec1d-4909-b2c6-e4e9dd0af8db', 'name': '', 'tenant_id': 'b3b8f0579f95429ea2bb77a24756cd93', 'network_id': 'b67a3c0e-0152-468a-8696-58758357eb1d', 'ip_version': 4, 'cidr': '182.36.221.0/26', 'allocation_pools': [{'start': '182.36.221.2', 'end': '182.36.221.62'}], 'gateway_ip': '182.36.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.36.221.2', 'tags': [], 'project_id': 'b3b8f0579f95429ea2bb77a24756cd93'}} 2025-04-09 14:16:12,147 - INFO - Created VN ctest-ext_vn-55729569 2025-04-09 14:16:12,200 - DEBUG - VN ctest-ext_vn-55729569 UUID is b67a3c0e-0152-468a-8696-58758357eb1d 2025-04-09 14:16:12,392 - DEBUG - Services list from nova: [, , ] 2025-04-09 14:16:13,434 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3068-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3068-1) 2025-04-09 14:16:14,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3068-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3068-1) 2025-04-09 14:16:14,689 - INFO - Setting gateway for router b8317991-804e-4fef-8ced-f62ea77cfe28 to network b67a3c0e-0152-468a-8696-58758357eb1d 2025-04-09 14:16:14,775 - INFO - Adding interface with subnet_id 106f4c4e-6546-46fa-9e60-16b779e5b746, port_id None to router b8317991-804e-4fef-8ced-f62ea77cfe28 2025-04-09 14:16:15,181 - INFO - Waiting for VM ctest-TestRoutersBasic-37682962-53966448 to be up.. 2025-04-09 14:16:15,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 14:16:20,498 - DEBUG - VM is in ACTIVE state now 2025-04-09 14:16:20,498 - INFO - VM name : ctest-TestRoutersBasic-37682962-53966448 2025-04-09 14:16:20,582 - DEBUG - VM ctest-TestRoutersBasic-37682962-53966448 ID is d4107a83-4807-48a2-857b-a69b8ca1d654 2025-04-09 14:16:20,601 - DEBUG - VM ctest-TestRoutersBasic-37682962-53966448 launched on Node cn-jenkins-deploy-platform-ansible-os-3068-1 2025-04-09 14:16:20,680 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d4107a83-4807-48a2-857b-a69b8ca1d654 2025-04-09 14:16:20,998 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d4107a83-4807-48a2-857b-a69b8ca1d654 2025-04-09 14:16:21,043 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e1bd28af-64d6-40f5-aab9-00c0019eccb1 2025-04-09 14:16:24,321 - 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 1026ms') 2025-04-09 14:16:24,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37682962-53966448 failed! 2025-04-09 14:16:24,376 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-37682962:ctest-vn-69582044 is 173.23.172.1 and allocation pool is NOT set 2025-04-09 14:16:26,438 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.764 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.764/1.955/3.146/1.191 ms') 2025-04-09 14:16:26,438 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-37682962-53966448 passed 2025-04-09 14:16:26,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 14:16:26,609 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37682962-53966448, IP 173.23.172.3, Port 22 2025-04-09 14:16:26,764 - DEBUG - VM ctest-TestRoutersBasic-37682962-53966448 is ready for SSH connections 2025-04-09 14:16:26,764 - INFO - Waiting for VM ctest-TestRoutersBasic-37682962-98801186 to be up.. 2025-04-09 14:16:26,842 - DEBUG - VM is in ACTIVE state now 2025-04-09 14:16:26,842 - INFO - VM name : ctest-TestRoutersBasic-37682962-98801186 2025-04-09 14:16:26,920 - DEBUG - VM ctest-TestRoutersBasic-37682962-98801186 ID is 1b4d0a15-2143-4173-ac9d-07d595cc6708 2025-04-09 14:16:26,921 - DEBUG - VM ctest-TestRoutersBasic-37682962-98801186 launched on Node cn-jenkins-deploy-platform-ansible-os-3068-1 2025-04-09 14:16:26,997 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1b4d0a15-2143-4173-ac9d-07d595cc6708 2025-04-09 14:16:27,006 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/eeff9465-32e8-4971-b218-204cefad5e0b 2025-04-09 14:16:28,250 - 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=4.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 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.476/2.325/4.175/1.849 ms') 2025-04-09 14:16:28,250 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-37682962-98801186 passed 2025-04-09 14:16:28,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 14:16:28,401 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-37682962-98801186, IP 182.36.221.3, Port 22 2025-04-09 14:16:28,556 - DEBUG - VM ctest-TestRoutersBasic-37682962-98801186 is ready for SSH connections 2025-04-09 14:16:28,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 14:16:28,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.36.221.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-04-09 14:16:28,557 - DEBUG - ping -s 56 -c 3 -W 1 182.36.221.3 2025-04-09 14:16:32,267 - DEBUG - PING 182.36.221.3 (182.36.221.3): 56 data bytes 64 bytes from 182.36.221.3: seq=0 ttl=62 time=6.263 ms 64 bytes from 182.36.221.3: seq=1 ttl=62 time=0.809 ms 64 bytes from 182.36.221.3: seq=2 ttl=62 time=1.456 ms --- 182.36.221.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/2.842/6.263 ms 2025-04-09 14:16:32,267 - INFO - Ping to IP 182.36.221.3 from VM ctest-TestRoutersBasic-37682962-53966448 passed 2025-04-09 14:16:32,267 - INFO - Deleting interface with subnet_id 106f4c4e-6546-46fa-9e60-16b779e5b746, port_id None from router b8317991-804e-4fef-8ced-f62ea77cfe28 2025-04-09 14:16:32,598 - INFO - Deleting VM ctest-TestRoutersBasic-37682962-98801186 2025-04-09 14:16:32,670 - INFO - Deleting VM ctest-TestRoutersBasic-37682962-53966448 2025-04-09 14:16:32,751 - INFO - Deleting VN ctest-ext_vn-55729569 2025-04-09 14:16:32,821 - DEBUG - VN b67a3c0e-0152-468a-8696-58758357eb1d still in use: Unable to complete operation on network b67a3c0e-0152-468a-8696-58758357eb1d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3db554b7-4322-413d-844a-a3aaf9f7515c'] 2025-04-09 14:16:32,821 - WARNING - Deleting VN ctest-ext_vn-55729569 failed..Will retry 2025-04-09 14:16:34,930 - DEBUG - Response for deleting network () 2025-04-09 14:16:34,931 - INFO - Deleting VN ctest-vn-69582044 2025-04-09 14:16:35,042 - DEBUG - Response for deleting network () 2025-04-09 14:16:35,298 - DEBUG - No XMPP flaps were noticed during the test
2025-04-09 14:16:35,298 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-04-09 14:16:35,298 - INFO - -------------------------------------------------------------------------------- 2025-04-09 14:16:35,976 - INFO - Deleted project: ctest-TestRoutersBasic-37682962, ID : b3b8f057-9f95-429e-a2bb-77a24756cd93