2025-02-04 20:53:05,107 - INFO - Domain Default found not creating 2025-02-04 20:53:05,251 - INFO - Project ctest-TestRoutersBasic-91590129 not found, creating it 2025-02-04 20:53:05,732 - INFO - Created Project:ctest-TestRoutersBasic-91590129, ID : d0305c8e-4605-4a37-84d7-8da50eebc716 2025-02-04 20:53:07,142 - INFO - ================================================================================ 2025-02-04 20:53:07,142 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-04 20:53:07,142 - 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-04 20:53:07,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with 2025-02-04 20:53:07,412 - INFO - Initial checks done. Running the testcase now 2025-02-04 20:53:07,412 - INFO - 2025-02-04 20:53:08,120 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91590129 2025-02-04 20:53:08,220 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91590129 2025-02-04 20:53:08,549 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91590129', 'default']} 2025-02-04 20:53:08,858 - DEBUG - Response for create_network : {'network': {'id': 'baa90c6a-1bba-410f-b934-1d443efddc67', 'name': 'ctest-vn-54409791', 'tenant_id': 'd0305c8e46054a3784d78da50eebc716', 'project_id': 'd0305c8e46054a3784d78da50eebc716', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91590129', 'ctest-vn-54409791'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 20:53:09,039 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd17c0459-7ba4-403a-84f0-e73855fc963f', 'name': '', 'tenant_id': 'd0305c8e46054a3784d78da50eebc716', 'network_id': 'baa90c6a-1bba-410f-b934-1d443efddc67', 'ip_version': 4, 'cidr': '92.110.98.192/26', 'allocation_pools': [{'start': '92.110.98.194', 'end': '92.110.98.254'}], 'gateway_ip': '92.110.98.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.110.98.194', 'tags': [], 'project_id': 'd0305c8e46054a3784d78da50eebc716'}} 2025-02-04 20:53:09,055 - INFO - Created VN ctest-vn-54409791 2025-02-04 20:53:09,108 - DEBUG - VN ctest-vn-54409791 UUID is baa90c6a-1bba-410f-b934-1d443efddc67 2025-02-04 20:53:09,432 - DEBUG - Response for create_network : {'network': {'id': 'e0f55dd4-2968-4923-b612-0d70ffd13c1f', 'name': 'ctest-ext_vn-96087381', 'tenant_id': 'd0305c8e46054a3784d78da50eebc716', 'project_id': 'd0305c8e46054a3784d78da50eebc716', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91590129', 'ctest-ext_vn-96087381'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 20:53:09,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1078b98-6097-482a-a4a6-32be27f9357c', 'name': '', 'tenant_id': 'd0305c8e46054a3784d78da50eebc716', 'network_id': 'e0f55dd4-2968-4923-b612-0d70ffd13c1f', 'ip_version': 4, 'cidr': '1.135.172.192/26', 'allocation_pools': [{'start': '1.135.172.194', 'end': '1.135.172.254'}], 'gateway_ip': '1.135.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.135.172.194', 'tags': [], 'project_id': 'd0305c8e46054a3784d78da50eebc716'}} 2025-02-04 20:53:09,669 - INFO - Created VN ctest-ext_vn-96087381 2025-02-04 20:53:09,724 - DEBUG - VN ctest-ext_vn-96087381 UUID is e0f55dd4-2968-4923-b612-0d70ffd13c1f 2025-02-04 20:53:09,925 - DEBUG - Services list from nova: [, , ] 2025-02-04 20:53:10,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2686-1) 2025-02-04 20:53:12,002 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2686-1) 2025-02-04 20:53:12,083 - INFO - Setting gateway for router 469d622c-f881-40e1-a4e0-19c5f060188f to network e0f55dd4-2968-4923-b612-0d70ffd13c1f 2025-02-04 20:53:12,148 - INFO - Adding interface with subnet_id d17c0459-7ba4-403a-84f0-e73855fc963f, port_id None to router 469d622c-f881-40e1-a4e0-19c5f060188f 2025-02-04 20:53:12,582 - INFO - Waiting for VM ctest-TestRoutersBasic-91590129-24475097 to be up.. 2025-02-04 20:53:12,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-04 20:53:17,902 - DEBUG - VM is in ACTIVE state now 2025-02-04 20:53:17,902 - INFO - VM name : ctest-TestRoutersBasic-91590129-24475097 2025-02-04 20:53:17,985 - DEBUG - VM ctest-TestRoutersBasic-91590129-24475097 ID is 5fc6223d-0588-41c2-af63-50dc486f3109 2025-02-04 20:53:18,013 - DEBUG - VM ctest-TestRoutersBasic-91590129-24475097 launched on Node cn-jenkins-deploy-platform-ansible-os-2686-1 2025-02-04 20:53:18,103 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5fc6223d-0588-41c2-af63-50dc486f3109 2025-02-04 20:53:18,396 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/5fc6223d-0588-41c2-af63-50dc486f3109 2025-02-04 20:53:18,425 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/67eb7fd9-8f08-4ff3-87ab-56de624565d6 2025-02-04 20:53:21,685 - 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 1024ms') 2025-02-04 20:53:21,686 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91590129-24475097 failed! 2025-02-04 20:53:21,740 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91590129:ctest-vn-54409791 is 92.110.98.193 and allocation pool is NOT set 2025-02-04 20:53:23,799 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.274 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.274/1.721/3.168/1.447 ms') 2025-02-04 20:53:23,799 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91590129-24475097 passed 2025-02-04 20:53:23,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 20:53:23,904 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91590129-24475097, IP 92.110.98.195, Port 22 2025-02-04 20:53:24,070 - DEBUG - VM ctest-TestRoutersBasic-91590129-24475097 is ready for SSH connections 2025-02-04 20:53:24,070 - INFO - Waiting for VM ctest-TestRoutersBasic-91590129-52258202 to be up.. 2025-02-04 20:53:24,150 - DEBUG - VM is in ACTIVE state now 2025-02-04 20:53:24,150 - INFO - VM name : ctest-TestRoutersBasic-91590129-52258202 2025-02-04 20:53:24,224 - DEBUG - VM ctest-TestRoutersBasic-91590129-52258202 ID is 0e03088f-1d39-4e38-bb0c-dce604ab054c 2025-02-04 20:53:24,224 - DEBUG - VM ctest-TestRoutersBasic-91590129-52258202 launched on Node cn-jenkins-deploy-platform-ansible-os-2686-1 2025-02-04 20:53:24,301 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/0e03088f-1d39-4e38-bb0c-dce604ab054c 2025-02-04 20:53:24,310 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/3111f681-faed-4825-b936-3040e3c00661 2025-02-04 20:53:25,547 - 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.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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 = 1.192/3.041/4.891/1.849 ms') 2025-02-04 20:53:25,547 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91590129-52258202 passed 2025-02-04 20:53:25,696 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 20:53:25,696 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91590129-52258202, IP 1.135.172.195, Port 22 2025-02-04 20:53:25,856 - DEBUG - VM ctest-TestRoutersBasic-91590129-52258202 is ready for SSH connections 2025-02-04 20:53:25,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 20:53:25,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.135.172.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-02-04 20:53:25,857 - DEBUG - ping -s 56 -c 3 -W 1 1.135.172.195 2025-02-04 20:53:29,520 - DEBUG - PING 1.135.172.195 (1.135.172.195): 56 data bytes 64 bytes from 1.135.172.195: seq=0 ttl=62 time=5.821 ms 64 bytes from 1.135.172.195: seq=1 ttl=62 time=0.769 ms 64 bytes from 1.135.172.195: seq=2 ttl=62 time=0.902 ms --- 1.135.172.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/2.497/5.821 ms 2025-02-04 20:53:29,520 - INFO - Ping to IP 1.135.172.195 from VM ctest-TestRoutersBasic-91590129-24475097 passed 2025-02-04 20:53:29,520 - INFO - Deleting interface with subnet_id d17c0459-7ba4-403a-84f0-e73855fc963f, port_id None from router 469d622c-f881-40e1-a4e0-19c5f060188f 2025-02-04 20:53:29,704 - INFO - Deleting VM ctest-TestRoutersBasic-91590129-52258202 2025-02-04 20:53:29,776 - INFO - Deleting VM ctest-TestRoutersBasic-91590129-24475097 2025-02-04 20:53:29,850 - INFO - Deleting VN ctest-ext_vn-96087381 2025-02-04 20:53:29,912 - DEBUG - VN e0f55dd4-2968-4923-b612-0d70ffd13c1f still in use: Unable to complete operation on network e0f55dd4-2968-4923-b612-0d70ffd13c1f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ca4a061-4a9f-43c1-a7a8-85211e4e1964'] 2025-02-04 20:53:29,912 - WARNING - Deleting VN ctest-ext_vn-96087381 failed..Will retry 2025-02-04 20:53:32,017 - DEBUG - Response for deleting network () 2025-02-04 20:53:32,017 - INFO - Deleting VN ctest-vn-54409791 2025-02-04 20:53:32,126 - DEBUG - Response for deleting network () 2025-02-04 20:53:32,391 - DEBUG - No XMPP flaps were noticed during the test 2025-02-04 20:53:32,391 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-02-04 20:53:32,391 - INFO - -------------------------------------------------------------------------------- 2025-02-04 20:53:33,070 - INFO - Deleted project: ctest-TestRoutersBasic-91590129, ID : d0305c8e-4605-4a37-84d7-8da50eebc716