2025-04-07 02:17:18,678 - INFO - Domain Default found not creating 2025-04-07 02:17:18,838 - INFO - Project ctest-TestRoutersBasic-93169902 not found, creating it 2025-04-07 02:17:19,339 - INFO - Created Project:ctest-TestRoutersBasic-93169902, ID : e1536478-6e55-4622-ba7b-b905baf80756 2025-04-07 02:17:20,797 - INFO - ================================================================================ 2025-04-07 02:17:20,797 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-04-07 02:17:20,797 - 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-07 02:17:21,052 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.6': '0'}} with 2025-04-07 02:17:21,052 - INFO - Initial checks done. Running the testcase now 2025-04-07 02:17:21,052 - INFO - 2025-04-07 02:17:21,760 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-93169902 2025-04-07 02:17:21,866 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-93169902 2025-04-07 02:17:22,205 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93169902', 'default']} 2025-04-07 02:17:22,545 - DEBUG - Response for create_network : {'network': {'id': '5187087a-9977-4132-ba1b-b2c4af2bd6e5', 'name': 'ctest-vn-68755082', 'tenant_id': 'e15364786e554622ba7bb905baf80756', 'project_id': 'e15364786e554622ba7bb905baf80756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93169902', 'ctest-vn-68755082'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:17:22,735 - DEBUG - Response for create_subnet : {'subnet': {'id': '85d29259-c4cf-4468-975d-24aa00cf4d0d', 'name': '', 'tenant_id': 'e15364786e554622ba7bb905baf80756', 'network_id': '5187087a-9977-4132-ba1b-b2c4af2bd6e5', 'ip_version': 4, 'cidr': '166.197.155.64/26', 'allocation_pools': [{'start': '166.197.155.66', 'end': '166.197.155.126'}], 'gateway_ip': '166.197.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.197.155.66', 'tags': [], 'project_id': 'e15364786e554622ba7bb905baf80756'}} 2025-04-07 02:17:22,756 - INFO - Created VN ctest-vn-68755082 2025-04-07 02:17:22,813 - DEBUG - VN ctest-vn-68755082 UUID is 5187087a-9977-4132-ba1b-b2c4af2bd6e5 2025-04-07 02:17:23,151 - DEBUG - Response for create_network : {'network': {'id': '1d47c722-95f7-46bf-b6b2-e96eec40587e', 'name': 'ctest-ext_vn-97066388', 'tenant_id': 'e15364786e554622ba7bb905baf80756', 'project_id': 'e15364786e554622ba7bb905baf80756', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-93169902', 'ctest-ext_vn-97066388'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 02:17:23,364 - DEBUG - Response for create_subnet : {'subnet': {'id': '49470400-15e6-49f2-8aff-25d10050c349', 'name': '', 'tenant_id': 'e15364786e554622ba7bb905baf80756', 'network_id': '1d47c722-95f7-46bf-b6b2-e96eec40587e', 'ip_version': 4, 'cidr': '86.29.23.0/26', 'allocation_pools': [{'start': '86.29.23.2', 'end': '86.29.23.62'}], 'gateway_ip': '86.29.23.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.29.23.2', 'tags': [], 'project_id': 'e15364786e554622ba7bb905baf80756'}} 2025-04-07 02:17:23,383 - INFO - Created VN ctest-ext_vn-97066388 2025-04-07 02:17:23,437 - DEBUG - VN ctest-ext_vn-97066388 UUID is 1d47c722-95f7-46bf-b6b2-e96eec40587e 2025-04-07 02:17:23,615 - DEBUG - Services list from nova: [, , ] 2025-04-07 02:17:24,649 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3040-1) 2025-04-07 02:17:25,778 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3040-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3040-1) 2025-04-07 02:17:25,875 - INFO - Setting gateway for router f7c4f642-624b-4f2f-9f42-dfd5e2e2503d to network 1d47c722-95f7-46bf-b6b2-e96eec40587e 2025-04-07 02:17:25,960 - INFO - Adding interface with subnet_id 85d29259-c4cf-4468-975d-24aa00cf4d0d, port_id None to router f7c4f642-624b-4f2f-9f42-dfd5e2e2503d 2025-04-07 02:17:26,512 - INFO - Waiting for VM ctest-TestRoutersBasic-93169902-15148341 to be up.. 2025-04-07 02:17:26,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 02:17:31,798 - DEBUG - VM is in ACTIVE state now 2025-04-07 02:17:31,798 - INFO - VM name : ctest-TestRoutersBasic-93169902-15148341 2025-04-07 02:17:31,887 - DEBUG - VM ctest-TestRoutersBasic-93169902-15148341 ID is e1fa9dc3-3cef-4274-b3d6-12067a452e48 2025-04-07 02:17:31,907 - DEBUG - VM ctest-TestRoutersBasic-93169902-15148341 launched on Node cn-jenkins-deploy-platform-ansible-os-3040-1 2025-04-07 02:17:31,997 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/e1fa9dc3-3cef-4274-b3d6-12067a452e48 2025-04-07 02:17:32,299 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/e1fa9dc3-3cef-4274-b3d6-12067a452e48 2025-04-07 02:17:32,336 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/f5b2ecfd-b9c3-41af-9fcf-91c6cb9d3f88 2025-04-07 02:17:35,604 - 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 1018ms') 2025-04-07 02:17:35,604 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93169902-15148341 failed! 2025-04-07 02:17:35,657 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-93169902:ctest-vn-68755082 is 166.197.155.65 and allocation pool is NOT set 2025-04-07 02:17:37,721 - 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=2.73 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.534 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 = 0.534/1.630/2.727/1.096 ms') 2025-04-07 02:17:37,721 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-93169902-15148341 passed 2025-04-07 02:17:37,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:17:37,877 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93169902-15148341, IP 166.197.155.67, Port 22 2025-04-07 02:17:38,033 - DEBUG - VM ctest-TestRoutersBasic-93169902-15148341 is ready for SSH connections 2025-04-07 02:17:38,033 - INFO - Waiting for VM ctest-TestRoutersBasic-93169902-37228112 to be up.. 2025-04-07 02:17:38,111 - DEBUG - VM is in ACTIVE state now 2025-04-07 02:17:38,111 - INFO - VM name : ctest-TestRoutersBasic-93169902-37228112 2025-04-07 02:17:38,206 - DEBUG - VM ctest-TestRoutersBasic-93169902-37228112 ID is 40ed5bc5-0b39-46ab-b899-086df80b5771 2025-04-07 02:17:38,206 - DEBUG - VM ctest-TestRoutersBasic-93169902-37228112 launched on Node cn-jenkins-deploy-platform-ansible-os-3040-1 2025-04-07 02:17:38,287 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/40ed5bc5-0b39-46ab-b899-086df80b5771 2025-04-07 02:17:38,297 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/05cd4c7d-89e0-4da0-b0a8-43fd0a6fb611 2025-04-07 02:17:39,541 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.16 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 = 2.164/3.494/4.825/1.330 ms') 2025-04-07 02:17:39,542 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-93169902-37228112 passed 2025-04-07 02:17:39,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:17:39,694 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-93169902-37228112, IP 86.29.23.3, Port 22 2025-04-07 02:17:39,850 - DEBUG - VM ctest-TestRoutersBasic-93169902-37228112 is ready for SSH connections 2025-04-07 02:17:39,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 02:17:39,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 86.29.23.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2025-04-07 02:17:39,850 - DEBUG - ping -s 56 -c 3 -W 1 86.29.23.3 2025-04-07 02:17:43,886 - DEBUG - PING 86.29.23.3 (86.29.23.3): 56 data bytes 64 bytes from 86.29.23.3: seq=0 ttl=62 time=8.260 ms 64 bytes from 86.29.23.3: seq=1 ttl=62 time=0.990 ms 64 bytes from 86.29.23.3: seq=2 ttl=62 time=0.844 ms --- 86.29.23.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/3.364/8.260 ms 2025-04-07 02:17:43,886 - INFO - Ping to IP 86.29.23.3 from VM ctest-TestRoutersBasic-93169902-15148341 passed 2025-04-07 02:17:43,886 - INFO - Deleting interface with subnet_id 85d29259-c4cf-4468-975d-24aa00cf4d0d, port_id None from router f7c4f642-624b-4f2f-9f42-dfd5e2e2503d 2025-04-07 02:17:44,105 - INFO - Deleting VM ctest-TestRoutersBasic-93169902-37228112 2025-04-07 02:17:44,181 - INFO - Deleting VM ctest-TestRoutersBasic-93169902-15148341 2025-04-07 02:17:44,266 - INFO - Deleting VN ctest-ext_vn-97066388 2025-04-07 02:17:44,363 - DEBUG - VN 1d47c722-95f7-46bf-b6b2-e96eec40587e still in use: Unable to complete operation on network 1d47c722-95f7-46bf-b6b2-e96eec40587e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8ac60ff7-502b-4785-9cc6-5c32c3047d2b'] 2025-04-07 02:17:44,363 - WARNING - Deleting VN ctest-ext_vn-97066388 failed..Will retry 2025-04-07 02:17:46,478 - DEBUG - Response for deleting network () 2025-04-07 02:17:46,478 - INFO - Deleting VN ctest-vn-68755082 2025-04-07 02:17:46,581 - DEBUG - Response for deleting network () 2025-04-07 02:17:46,839 - DEBUG - No XMPP flaps were noticed during the test 2025-04-07 02:17:46,839 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-04-07 02:17:46,839 - INFO - -------------------------------------------------------------------------------- 2025-04-07 02:17:47,532 - INFO - Deleted project: ctest-TestRoutersBasic-93169902, ID : e1536478-6e55-4622-ba7b-b905baf80756