2025-07-08 15:41:29,425 - INFO - Domain Default found not creating 2025-07-08 15:41:29,657 - INFO - Project ctest-TestRoutersBasic-81692973 not found, creating it 2025-07-08 15:41:30,259 - INFO - Created Project:ctest-TestRoutersBasic-81692973, ID : 1ef54f14-289a-4c32-be9d-80bac0554e7f 2025-07-08 15:41:32,034 - INFO - ================================================================================ 2025-07-08 15:41:32,035 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-07-08 15:41:32,035 - 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-07-08 15:41:32,337 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-08 15:41:32,338 - INFO - Initial checks done. Running the testcase now 2025-07-08 15:41:32,338 - INFO - 2025-07-08 15:41:33,171 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-81692973 2025-07-08 15:41:33,272 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-81692973 2025-07-08 15:41:33,640 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81692973', 'default']} 2025-07-08 15:41:34,018 - DEBUG - Response for create_network : {'network': {'id': 'b9d920f4-044a-4048-bfb6-5bd47ece24fa', 'name': 'ctest-vn-71057604', 'tenant_id': '1ef54f14289a4c32be9d80bac0554e7f', 'project_id': '1ef54f14289a4c32be9d80bac0554e7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81692973', 'ctest-vn-71057604'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 15:41:34,243 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eb9d226f-5d30-44e4-8a58-2cc284bf9ec7', 'name': '', 'tenant_id': '1ef54f14289a4c32be9d80bac0554e7f', 'network_id': 'b9d920f4-044a-4048-bfb6-5bd47ece24fa', 'ip_version': 4, 'cidr': '73.224.233.128/26', 'allocation_pools': [{'start': '73.224.233.130', 'end': '73.224.233.190'}], 'gateway_ip': '73.224.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.224.233.130', 'tags': [], 'project_id': '1ef54f14289a4c32be9d80bac0554e7f'}} 2025-07-08 15:41:34,265 - INFO - Created VN ctest-vn-71057604 2025-07-08 15:41:34,320 - DEBUG - VN ctest-vn-71057604 UUID is b9d920f4-044a-4048-bfb6-5bd47ece24fa 2025-07-08 15:41:34,843 - DEBUG - Response for create_network : {'network': {'id': 'f5551246-4b8c-464f-8d28-36e657d513ff', 'name': 'ctest-ext_vn-28039487', 'tenant_id': '1ef54f14289a4c32be9d80bac0554e7f', 'project_id': '1ef54f14289a4c32be9d80bac0554e7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-81692973', 'ctest-ext_vn-28039487'], 'port_security_enabled': True, 'description': ''}} 2025-07-08 15:41:35,038 - DEBUG - Response for create_subnet : {'subnet': {'id': '47b132cb-f863-424b-909e-ec931c7987e0', 'name': '', 'tenant_id': '1ef54f14289a4c32be9d80bac0554e7f', 'network_id': 'f5551246-4b8c-464f-8d28-36e657d513ff', 'ip_version': 4, 'cidr': '165.24.17.0/26', 'allocation_pools': [{'start': '165.24.17.2', 'end': '165.24.17.62'}], 'gateway_ip': '165.24.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.24.17.2', 'tags': [], 'project_id': '1ef54f14289a4c32be9d80bac0554e7f'}} 2025-07-08 15:41:35,067 - INFO - Created VN ctest-ext_vn-28039487 2025-07-08 15:41:35,120 - DEBUG - VN ctest-ext_vn-28039487 UUID is f5551246-4b8c-464f-8d28-36e657d513ff 2025-07-08 15:41:35,342 - DEBUG - Services list from nova: [, , ] 2025-07-08 15:41:36,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3613-1) 2025-07-08 15:41:38,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3613-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3613-1) 2025-07-08 15:41:38,127 - INFO - Setting gateway for router 04bc032d-78f8-45df-9695-d4e0b2d2e1bc to network f5551246-4b8c-464f-8d28-36e657d513ff 2025-07-08 15:41:38,237 - INFO - Adding interface with subnet_id eb9d226f-5d30-44e4-8a58-2cc284bf9ec7, port_id None to router 04bc032d-78f8-45df-9695-d4e0b2d2e1bc 2025-07-08 15:41:38,700 - INFO - Waiting for VM ctest-TestRoutersBasic-81692973-04363076 to be up.. 2025-07-08 15:41:38,887 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-08 15:41:43,995 - DEBUG - VM is in ACTIVE state now 2025-07-08 15:41:43,995 - INFO - VM name : ctest-TestRoutersBasic-81692973-04363076 2025-07-08 15:41:44,081 - DEBUG - VM ctest-TestRoutersBasic-81692973-04363076 ID is 5a0c0612-ef7d-4a16-b16f-8451cf89077c 2025-07-08 15:41:44,106 - DEBUG - VM ctest-TestRoutersBasic-81692973-04363076 launched on Node cn-jenkins-deploy-platform-ansible-os-3613-1 2025-07-08 15:41:44,197 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5a0c0612-ef7d-4a16-b16f-8451cf89077c 2025-07-08 15:41:44,613 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5a0c0612-ef7d-4a16-b16f-8451cf89077c 2025-07-08 15:41:44,670 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4b592a1e-78c0-4d4e-94ca-65938c6e46f7 2025-07-08 15:41:47,976 - 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 1029ms') 2025-07-08 15:41:47,976 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81692973-04363076 failed! 2025-07-08 15:41:48,040 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-81692973:ctest-vn-71057604 is 73.224.233.129 and allocation pool is NOT set 2025-07-08 15:41:50,120 - 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=5.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.18 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 = 1.178/3.444/5.710/2.266 ms') 2025-07-08 15:41:50,120 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-81692973-04363076 passed 2025-07-08 15:41:50,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 15:41:50,304 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81692973-04363076, IP 73.224.233.131, Port 22 2025-07-08 15:41:50,483 - DEBUG - VM ctest-TestRoutersBasic-81692973-04363076 is ready for SSH connections 2025-07-08 15:41:50,484 - INFO - Waiting for VM ctest-TestRoutersBasic-81692973-27354904 to be up.. 2025-07-08 15:41:50,577 - DEBUG - VM is in ACTIVE state now 2025-07-08 15:41:50,577 - INFO - VM name : ctest-TestRoutersBasic-81692973-27354904 2025-07-08 15:41:50,673 - DEBUG - VM ctest-TestRoutersBasic-81692973-27354904 ID is d47ca045-6ec4-4cf3-bce8-8b165ac49b04 2025-07-08 15:41:50,673 - DEBUG - VM ctest-TestRoutersBasic-81692973-27354904 launched on Node cn-jenkins-deploy-platform-ansible-os-3613-1 2025-07-08 15:41:50,763 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d47ca045-6ec4-4cf3-bce8-8b165ac49b04 2025-07-08 15:41:50,774 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/57f091e7-0d5a-4c3a-89da-fde833ff4347 2025-07-08 15:41:52,044 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.996 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 = 0.996/2.749/4.502/1.753 ms') 2025-07-08 15:41:52,044 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-81692973-27354904 passed 2025-07-08 15:41:52,216 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 15:41:52,216 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-81692973-27354904, IP 165.24.17.3, Port 22 2025-07-08 15:41:52,402 - DEBUG - VM ctest-TestRoutersBasic-81692973-27354904 is ready for SSH connections 2025-07-08 15:41:52,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-08 15:41:52,403 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.24.17.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-08 15:41:52,404 - DEBUG - ping -s 56 -c 3 -W 1 165.24.17.3 2025-07-08 15:41:56,453 - DEBUG - PING 165.24.17.3 (165.24.17.3): 56 data bytes 64 bytes from 165.24.17.3: seq=0 ttl=62 time=7.579 ms 64 bytes from 165.24.17.3: seq=1 ttl=62 time=0.851 ms 64 bytes from 165.24.17.3: seq=2 ttl=62 time=2.210 ms --- 165.24.17.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/3.546/7.579 ms 2025-07-08 15:41:56,454 - INFO - Ping to IP 165.24.17.3 from VM ctest-TestRoutersBasic-81692973-04363076 passed 2025-07-08 15:41:56,454 - INFO - Deleting interface with subnet_id eb9d226f-5d30-44e4-8a58-2cc284bf9ec7, port_id None from router 04bc032d-78f8-45df-9695-d4e0b2d2e1bc 2025-07-08 15:41:56,771 - INFO - Deleting VM ctest-TestRoutersBasic-81692973-27354904 2025-07-08 15:41:56,842 - INFO - Deleting VM ctest-TestRoutersBasic-81692973-04363076 2025-07-08 15:41:56,980 - INFO - Deleting VN ctest-ext_vn-28039487 2025-07-08 15:41:57,097 - DEBUG - VN f5551246-4b8c-464f-8d28-36e657d513ff still in use: Unable to complete operation on network f5551246-4b8c-464f-8d28-36e657d513ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee18e592-df2e-48b9-adf3-ad69855324f2'] 2025-07-08 15:41:57,097 - WARNING - Deleting VN ctest-ext_vn-28039487 failed..Will retry 2025-07-08 15:41:59,279 - DEBUG - Response for deleting network () 2025-07-08 15:41:59,280 - INFO - Deleting VN ctest-vn-71057604 2025-07-08 15:41:59,430 - DEBUG - Response for deleting network () 2025-07-08 15:41:59,716 - DEBUG - No XMPP flaps were noticed during the test 2025-07-08 15:41:59,717 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:27] 2025-07-08 15:41:59,717 - INFO - -------------------------------------------------------------------------------- 2025-07-08 15:42:00,916 - INFO - Deleted project: ctest-TestRoutersBasic-81692973, ID : 1ef54f14-289a-4c32-be9d-80bac0554e7f