2025-01-15 19:26:44,035 - INFO - Domain Default found not creating 2025-01-15 19:26:44,199 - INFO - Project ctest-TestRoutersBasic-47173258 not found, creating it 2025-01-15 19:26:44,682 - INFO - Created Project:ctest-TestRoutersBasic-47173258, ID : aebbe4d2-4f6a-40d8-aea0-b57fae60bb2b 2025-01-15 19:26:46,133 - INFO - ================================================================================ 2025-01-15 19:26:46,133 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-15 19:26:46,133 - 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-01-15 19:26:46,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.13': '0'}} with 2025-01-15 19:26:46,403 - INFO - Initial checks done. Running the testcase now 2025-01-15 19:26:46,403 - INFO - 2025-01-15 19:26:47,107 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-47173258 2025-01-15 19:26:47,208 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-47173258 2025-01-15 19:26:47,544 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47173258', 'default']} 2025-01-15 19:26:47,881 - DEBUG - Response for create_network : {'network': {'id': 'f97ab506-b0c0-4cdd-a2f3-064c2479ec53', 'name': 'ctest-vn-74098131', 'tenant_id': 'aebbe4d24f6a40d8aea0b57fae60bb2b', 'project_id': 'aebbe4d24f6a40d8aea0b57fae60bb2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47173258', 'ctest-vn-74098131'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:26:48,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a86de58-5348-479b-8acf-6d086013d9e8', 'name': '', 'tenant_id': 'aebbe4d24f6a40d8aea0b57fae60bb2b', 'network_id': 'f97ab506-b0c0-4cdd-a2f3-064c2479ec53', 'ip_version': 4, 'cidr': '76.79.92.64/26', 'allocation_pools': [{'start': '76.79.92.66', 'end': '76.79.92.126'}], 'gateway_ip': '76.79.92.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.79.92.66', 'tags': [], 'project_id': 'aebbe4d24f6a40d8aea0b57fae60bb2b'}} 2025-01-15 19:26:48,069 - INFO - Created VN ctest-vn-74098131 2025-01-15 19:26:48,124 - DEBUG - VN ctest-vn-74098131 UUID is f97ab506-b0c0-4cdd-a2f3-064c2479ec53 2025-01-15 19:26:48,471 - DEBUG - Response for create_network : {'network': {'id': 'a9188a3a-ccf5-478d-ab8c-2083677cf67b', 'name': 'ctest-ext_vn-87104644', 'tenant_id': 'aebbe4d24f6a40d8aea0b57fae60bb2b', 'project_id': 'aebbe4d24f6a40d8aea0b57fae60bb2b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-47173258', 'ctest-ext_vn-87104644'], 'port_security_enabled': True, 'description': ''}} 2025-01-15 19:26:48,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '251a8825-e500-4d96-9628-34fad5b6ff13', 'name': '', 'tenant_id': 'aebbe4d24f6a40d8aea0b57fae60bb2b', 'network_id': 'a9188a3a-ccf5-478d-ab8c-2083677cf67b', 'ip_version': 4, 'cidr': '191.160.89.64/26', 'allocation_pools': [{'start': '191.160.89.66', 'end': '191.160.89.126'}], 'gateway_ip': '191.160.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.160.89.66', 'tags': [], 'project_id': 'aebbe4d24f6a40d8aea0b57fae60bb2b'}} 2025-01-15 19:26:48,715 - INFO - Created VN ctest-ext_vn-87104644 2025-01-15 19:26:48,772 - DEBUG - VN ctest-ext_vn-87104644 UUID is a9188a3a-ccf5-478d-ab8c-2083677cf67b 2025-01-15 19:26:48,939 - DEBUG - Services list from nova: [, , ] 2025-01-15 19:26:49,937 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2645-1) 2025-01-15 19:26:51,151 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2645-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2645-1) 2025-01-15 19:26:51,252 - INFO - Setting gateway for router f2535120-3ffc-4e2f-b182-b2d2b70b8ea9 to network a9188a3a-ccf5-478d-ab8c-2083677cf67b 2025-01-15 19:26:51,319 - INFO - Adding interface with subnet_id 1a86de58-5348-479b-8acf-6d086013d9e8, port_id None to router f2535120-3ffc-4e2f-b182-b2d2b70b8ea9 2025-01-15 19:26:51,779 - INFO - Waiting for VM ctest-TestRoutersBasic-47173258-18415373 to be up.. 2025-01-15 19:26:52,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-15 19:26:57,104 - DEBUG - VM is in ACTIVE state now 2025-01-15 19:26:57,104 - INFO - VM name : ctest-TestRoutersBasic-47173258-18415373 2025-01-15 19:26:57,181 - DEBUG - VM ctest-TestRoutersBasic-47173258-18415373 ID is 4a9aef0a-5375-4441-8cb4-5c4d9191aca2 2025-01-15 19:26:57,201 - DEBUG - VM ctest-TestRoutersBasic-47173258-18415373 launched on Node cn-jenkins-deploy-platform-ansible-os-2645-1 2025-01-15 19:26:57,275 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/4a9aef0a-5375-4441-8cb4-5c4d9191aca2 2025-01-15 19:26:57,566 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/4a9aef0a-5375-4441-8cb4-5c4d9191aca2 2025-01-15 19:26:57,597 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/c97520cf-1fed-43d4-a2c5-4a94be978657 2025-01-15 19:27:00,858 - 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 1015ms') 2025-01-15 19:27:00,859 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47173258-18415373 failed! 2025-01-15 19:27:00,912 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-47173258:ctest-vn-74098131 is 76.79.92.65 and allocation pool is NOT set 2025-01-15 19:27:02,970 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.540 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.540/1.764/2.988/1.224 ms') 2025-01-15 19:27:02,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-47173258-18415373 passed 2025-01-15 19:27:03,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:27:03,128 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47173258-18415373, IP 76.79.92.67, Port 22 2025-01-15 19:27:03,283 - DEBUG - VM ctest-TestRoutersBasic-47173258-18415373 is ready for SSH connections 2025-01-15 19:27:03,283 - INFO - Waiting for VM ctest-TestRoutersBasic-47173258-55282789 to be up.. 2025-01-15 19:27:03,376 - DEBUG - VM is in ACTIVE state now 2025-01-15 19:27:03,376 - INFO - VM name : ctest-TestRoutersBasic-47173258-55282789 2025-01-15 19:27:03,464 - DEBUG - VM ctest-TestRoutersBasic-47173258-55282789 ID is ffdc0613-2da3-4de2-ac36-6659328bfef5 2025-01-15 19:27:03,464 - DEBUG - VM ctest-TestRoutersBasic-47173258-55282789 launched on Node cn-jenkins-deploy-platform-ansible-os-2645-1 2025-01-15 19:27:03,552 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/ffdc0613-2da3-4de2-ac36-6659328bfef5 2025-01-15 19:27:03,563 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/12055a17-7ba9-491f-a0ba-b5f19a5be5f0 2025-01-15 19:27:04,833 - 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=5.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.912 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.912/3.339/5.766/2.427 ms') 2025-01-15 19:27:04,834 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-47173258-55282789 passed 2025-01-15 19:27:04,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:27:04,988 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-47173258-55282789, IP 191.160.89.67, Port 22 2025-01-15 19:27:05,144 - DEBUG - VM ctest-TestRoutersBasic-47173258-55282789 is ready for SSH connections 2025-01-15 19:27:05,144 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-15 19:27:05,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.160.89.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-01-15 19:27:05,145 - DEBUG - ping -s 56 -c 3 -W 1 191.160.89.67 2025-01-15 19:27:09,226 - DEBUG - PING 191.160.89.67 (191.160.89.67): 56 data bytes 64 bytes from 191.160.89.67: seq=0 ttl=62 time=4.542 ms 64 bytes from 191.160.89.67: seq=1 ttl=62 time=0.940 ms 64 bytes from 191.160.89.67: seq=2 ttl=62 time=0.987 ms --- 191.160.89.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.940/2.156/4.542 ms 2025-01-15 19:27:09,226 - INFO - Ping to IP 191.160.89.67 from VM ctest-TestRoutersBasic-47173258-18415373 passed 2025-01-15 19:27:09,226 - INFO - Deleting interface with subnet_id 1a86de58-5348-479b-8acf-6d086013d9e8, port_id None from router f2535120-3ffc-4e2f-b182-b2d2b70b8ea9 2025-01-15 19:27:09,434 - INFO - Deleting VM ctest-TestRoutersBasic-47173258-55282789 2025-01-15 19:27:09,514 - INFO - Deleting VM ctest-TestRoutersBasic-47173258-18415373 2025-01-15 19:27:09,619 - INFO - Deleting VN ctest-ext_vn-87104644 2025-01-15 19:27:09,694 - DEBUG - VN a9188a3a-ccf5-478d-ab8c-2083677cf67b still in use: Unable to complete operation on network a9188a3a-ccf5-478d-ab8c-2083677cf67b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-407a6b72-9e87-4f6a-9e8a-6246e843053e'] 2025-01-15 19:27:09,695 - WARNING - Deleting VN ctest-ext_vn-87104644 failed..Will retry 2025-01-15 19:27:11,812 - DEBUG - Response for deleting network () 2025-01-15 19:27:11,812 - INFO - Deleting VN ctest-vn-74098131 2025-01-15 19:27:11,923 - DEBUG - Response for deleting network () 2025-01-15 19:27:12,178 - DEBUG - No XMPP flaps were noticed during the test 2025-01-15 19:27:12,178 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-01-15 19:27:12,178 - INFO - -------------------------------------------------------------------------------- 2025-01-15 19:27:12,860 - INFO - Deleted project: ctest-TestRoutersBasic-47173258, ID : aebbe4d2-4f6a-40d8-aea0-b57fae60bb2b