2025-02-05 18:13:11,924 - INFO - Domain Default found not creating 2025-02-05 18:13:12,147 - INFO - Project ctest-TestRoutersBasic-17986947 not found, creating it 2025-02-05 18:13:12,771 - INFO - Created Project:ctest-TestRoutersBasic-17986947, ID : 8e41efd1-c24b-41b4-9786-f83da177f87f 2025-02-05 18:13:15,278 - INFO - ================================================================================ 2025-02-05 18:13:15,279 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-05 18:13:15,279 - 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-05 18:13:15,602 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.13': '0'}} with 2025-02-05 18:13:15,602 - INFO - Initial checks done. Running the testcase now 2025-02-05 18:13:15,602 - INFO - 2025-02-05 18:13:16,444 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-17986947 2025-02-05 18:13:16,546 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-17986947 2025-02-05 18:13:17,005 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17986947', 'default']} 2025-02-05 18:13:17,479 - DEBUG - Response for create_network : {'network': {'id': '8fabe6fb-caed-4785-987d-e37e655ff817', 'name': 'ctest-vn-60221456', 'tenant_id': '8e41efd1c24b41b49786f83da177f87f', 'project_id': '8e41efd1c24b41b49786f83da177f87f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17986947', 'ctest-vn-60221456'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 18:13:17,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ebf01f4-47c6-4e3f-bf47-912e872b057c', 'name': '', 'tenant_id': '8e41efd1c24b41b49786f83da177f87f', 'network_id': '8fabe6fb-caed-4785-987d-e37e655ff817', 'ip_version': 4, 'cidr': '132.12.83.0/26', 'allocation_pools': [{'start': '132.12.83.2', 'end': '132.12.83.62'}], 'gateway_ip': '132.12.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.12.83.2', 'tags': [], 'project_id': '8e41efd1c24b41b49786f83da177f87f'}} 2025-02-05 18:13:17,762 - INFO - Created VN ctest-vn-60221456 2025-02-05 18:13:17,822 - DEBUG - VN ctest-vn-60221456 UUID is 8fabe6fb-caed-4785-987d-e37e655ff817 2025-02-05 18:13:18,308 - DEBUG - Response for create_network : {'network': {'id': '2c3e682f-5d00-4a5f-814b-bb80e4d3d84d', 'name': 'ctest-ext_vn-32394736', 'tenant_id': '8e41efd1c24b41b49786f83da177f87f', 'project_id': '8e41efd1c24b41b49786f83da177f87f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-17986947', 'ctest-ext_vn-32394736'], 'port_security_enabled': True, 'description': ''}} 2025-02-05 18:13:18,509 - DEBUG - Response for create_subnet : {'subnet': {'id': '092cc01a-af3d-43c9-a0f7-eff01d68ef84', 'name': '', 'tenant_id': '8e41efd1c24b41b49786f83da177f87f', 'network_id': '2c3e682f-5d00-4a5f-814b-bb80e4d3d84d', 'ip_version': 4, 'cidr': '89.224.69.64/26', 'allocation_pools': [{'start': '89.224.69.66', 'end': '89.224.69.126'}], 'gateway_ip': '89.224.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.224.69.66', 'tags': [], 'project_id': '8e41efd1c24b41b49786f83da177f87f'}} 2025-02-05 18:13:18,531 - INFO - Created VN ctest-ext_vn-32394736 2025-02-05 18:13:18,585 - DEBUG - VN ctest-ext_vn-32394736 UUID is 2c3e682f-5d00-4a5f-814b-bb80e4d3d84d 2025-02-05 18:13:18,945 - DEBUG - Services list from nova: [, , ] 2025-02-05 18:13:20,405 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2695-1) 2025-02-05 18:13:21,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2695-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2695-1) 2025-02-05 18:13:21,984 - INFO - Setting gateway for router acde03b8-3fb0-43c2-b479-1b5373923f9b to network 2c3e682f-5d00-4a5f-814b-bb80e4d3d84d 2025-02-05 18:13:22,082 - INFO - Adding interface with subnet_id 9ebf01f4-47c6-4e3f-bf47-912e872b057c, port_id None to router acde03b8-3fb0-43c2-b479-1b5373923f9b 2025-02-05 18:13:22,739 - INFO - Waiting for VM ctest-TestRoutersBasic-17986947-88591255 to be up.. 2025-02-05 18:13:23,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-05 18:13:28,215 - DEBUG - VM is in ACTIVE state now 2025-02-05 18:13:28,215 - INFO - VM name : ctest-TestRoutersBasic-17986947-88591255 2025-02-05 18:13:28,350 - DEBUG - VM ctest-TestRoutersBasic-17986947-88591255 ID is 61d0af4d-8a88-446c-bc6f-ef8e4bd12573 2025-02-05 18:13:28,386 - DEBUG - VM ctest-TestRoutersBasic-17986947-88591255 launched on Node cn-jenkins-deploy-platform-ansible-os-2695-1 2025-02-05 18:13:28,508 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/61d0af4d-8a88-446c-bc6f-ef8e4bd12573 2025-02-05 18:13:28,851 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/61d0af4d-8a88-446c-bc6f-ef8e4bd12573 2025-02-05 18:13:28,930 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/3e7c7187-154f-4dcd-83bc-1cd4e20bd510 2025-02-05 18:13:32,283 - 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 1016ms') 2025-02-05 18:13:32,283 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17986947-88591255 failed! 2025-02-05 18:13:32,341 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-17986947:ctest-vn-60221456 is 132.12.83.1 and allocation pool is NOT set 2025-02-05 18:13:34,413 - 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=12.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.32 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.323/7.573/12.824/5.250 ms') 2025-02-05 18:13:34,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-17986947-88591255 passed 2025-02-05 18:13:34,619 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 18:13:34,619 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17986947-88591255, IP 132.12.83.3, Port 22 2025-02-05 18:13:34,795 - DEBUG - VM ctest-TestRoutersBasic-17986947-88591255 is ready for SSH connections 2025-02-05 18:13:34,795 - INFO - Waiting for VM ctest-TestRoutersBasic-17986947-01050094 to be up.. 2025-02-05 18:13:34,902 - DEBUG - VM is in ACTIVE state now 2025-02-05 18:13:34,902 - INFO - VM name : ctest-TestRoutersBasic-17986947-01050094 2025-02-05 18:13:35,020 - DEBUG - VM ctest-TestRoutersBasic-17986947-01050094 ID is a1c69cbc-71b7-440c-8ae6-ec22b04fc497 2025-02-05 18:13:35,020 - DEBUG - VM ctest-TestRoutersBasic-17986947-01050094 launched on Node cn-jenkins-deploy-platform-ansible-os-2695-1 2025-02-05 18:13:35,130 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/a1c69cbc-71b7-440c-8ae6-ec22b04fc497 2025-02-05 18:13:35,140 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/b800ba6d-ecb1-47e3-8fbb-d29a16df52c9 2025-02-05 18:13:36,425 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.28 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.277/4.890/6.504/1.613 ms') 2025-02-05 18:13:36,425 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-17986947-01050094 passed 2025-02-05 18:13:36,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 18:13:36,606 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-17986947-01050094, IP 89.224.69.67, Port 22 2025-02-05 18:13:36,800 - DEBUG - VM ctest-TestRoutersBasic-17986947-01050094 is ready for SSH connections 2025-02-05 18:13:36,800 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-05 18:13:36,801 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.224.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.12, gateway password: c0ntrail123 2025-02-05 18:13:36,801 - DEBUG - ping -s 56 -c 3 -W 1 89.224.69.67 2025-02-05 18:13:40,708 - DEBUG - PING 89.224.69.67 (89.224.69.67): 56 data bytes 64 bytes from 89.224.69.67: seq=0 ttl=62 time=10.035 ms 64 bytes from 89.224.69.67: seq=1 ttl=62 time=2.151 ms 64 bytes from 89.224.69.67: seq=2 ttl=62 time=1.529 ms --- 89.224.69.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.529/4.571/10.035 ms 2025-02-05 18:13:40,708 - INFO - Ping to IP 89.224.69.67 from VM ctest-TestRoutersBasic-17986947-88591255 passed 2025-02-05 18:13:40,709 - INFO - Deleting interface with subnet_id 9ebf01f4-47c6-4e3f-bf47-912e872b057c, port_id None from router acde03b8-3fb0-43c2-b479-1b5373923f9b 2025-02-05 18:13:41,065 - INFO - Deleting VM ctest-TestRoutersBasic-17986947-01050094 2025-02-05 18:13:41,152 - INFO - Deleting VM ctest-TestRoutersBasic-17986947-88591255 2025-02-05 18:13:41,249 - INFO - Deleting VN ctest-ext_vn-32394736 2025-02-05 18:13:41,353 - DEBUG - VN 2c3e682f-5d00-4a5f-814b-bb80e4d3d84d still in use: Unable to complete operation on network 2c3e682f-5d00-4a5f-814b-bb80e4d3d84d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01db63f6-8bcc-40c8-a8ff-e2454d7a6f00'] 2025-02-05 18:13:41,353 - WARNING - Deleting VN ctest-ext_vn-32394736 failed..Will retry 2025-02-05 18:13:43,614 - DEBUG - Response for deleting network () 2025-02-05 18:13:43,614 - INFO - Deleting VN ctest-vn-60221456 2025-02-05 18:13:43,786 - DEBUG - Response for deleting network () 2025-02-05 18:13:44,093 - DEBUG - No XMPP flaps were noticed during the test
2025-02-05 18:13:44,093 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:29]
2025-02-05 18:13:44,093 - INFO - -------------------------------------------------------------------------------- 2025-02-05 18:13:44,948 - INFO - Deleted project: ctest-TestRoutersBasic-17986947, ID : 8e41efd1-c24b-41b4-9786-f83da177f87f