2025-05-13 08:31:11,447 - INFO - Domain Default found not creating 2025-05-13 08:31:11,602 - INFO - Project ctest-TestRoutersBasic-78799353 not found, creating it 2025-05-13 08:31:12,055 - INFO - Created Project:ctest-TestRoutersBasic-78799353, ID : f3384352-16df-4355-9103-27f04ddb9824 2025-05-13 08:31:13,443 - INFO - ================================================================================ 2025-05-13 08:31:13,443 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-05-13 08:31:13,443 - 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-05-13 08:31:13,700 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-05-13 08:31:13,701 - INFO - Initial checks done. Running the testcase now 2025-05-13 08:31:13,701 - INFO - 2025-05-13 08:31:14,406 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-78799353 2025-05-13 08:31:14,501 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-78799353 2025-05-13 08:31:14,829 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78799353', 'default']} 2025-05-13 08:31:15,150 - DEBUG - Response for create_network : {'network': {'id': '0777053a-2409-4c56-83f1-c8c0bcedfb4f', 'name': 'ctest-vn-32954043', 'tenant_id': 'f338435216df4355910327f04ddb9824', 'project_id': 'f338435216df4355910327f04ddb9824', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78799353', 'ctest-vn-32954043'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 08:31:15,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e4d719f-edc2-4f83-8b05-5fdbe5084495', 'name': '', 'tenant_id': 'f338435216df4355910327f04ddb9824', 'network_id': '0777053a-2409-4c56-83f1-c8c0bcedfb4f', 'ip_version': 4, 'cidr': '183.195.152.0/26', 'allocation_pools': [{'start': '183.195.152.2', 'end': '183.195.152.62'}], 'gateway_ip': '183.195.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.195.152.2', 'tags': [], 'project_id': 'f338435216df4355910327f04ddb9824'}} 2025-05-13 08:31:15,361 - INFO - Created VN ctest-vn-32954043 2025-05-13 08:31:15,417 - DEBUG - VN ctest-vn-32954043 UUID is 0777053a-2409-4c56-83f1-c8c0bcedfb4f 2025-05-13 08:31:15,771 - DEBUG - Response for create_network : {'network': {'id': '8907981b-6722-4927-9948-cfdb3bd8d985', 'name': 'ctest-ext_vn-81376926', 'tenant_id': 'f338435216df4355910327f04ddb9824', 'project_id': 'f338435216df4355910327f04ddb9824', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-78799353', 'ctest-ext_vn-81376926'], 'port_security_enabled': True, 'description': ''}} 2025-05-13 08:31:15,953 - DEBUG - Response for create_subnet : {'subnet': {'id': '8cf71b24-bc88-40d7-96cf-129cec6ac047', 'name': '', 'tenant_id': 'f338435216df4355910327f04ddb9824', 'network_id': '8907981b-6722-4927-9948-cfdb3bd8d985', 'ip_version': 4, 'cidr': '5.79.201.0/26', 'allocation_pools': [{'start': '5.79.201.2', 'end': '5.79.201.62'}], 'gateway_ip': '5.79.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.79.201.2', 'tags': [], 'project_id': 'f338435216df4355910327f04ddb9824'}} 2025-05-13 08:31:15,971 - INFO - Created VN ctest-ext_vn-81376926 2025-05-13 08:31:16,025 - DEBUG - VN ctest-ext_vn-81376926 UUID is 8907981b-6722-4927-9948-cfdb3bd8d985 2025-05-13 08:31:16,190 - DEBUG - Services list from nova: [, , ] 2025-05-13 08:31:17,211 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3301-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3301-1) 2025-05-13 08:31:18,329 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3301-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3301-1) 2025-05-13 08:31:18,397 - INFO - Setting gateway for router 0b987adc-e5ec-4ff3-a64d-0583d5f2a130 to network 8907981b-6722-4927-9948-cfdb3bd8d985 2025-05-13 08:31:18,460 - INFO - Adding interface with subnet_id 4e4d719f-edc2-4f83-8b05-5fdbe5084495, port_id None to router 0b987adc-e5ec-4ff3-a64d-0583d5f2a130 2025-05-13 08:31:18,805 - INFO - Waiting for VM ctest-TestRoutersBasic-78799353-19224805 to be up.. 2025-05-13 08:31:18,917 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-13 08:31:24,004 - DEBUG - VM is in ACTIVE state now 2025-05-13 08:31:24,004 - INFO - VM name : ctest-TestRoutersBasic-78799353-19224805 2025-05-13 08:31:24,075 - DEBUG - VM ctest-TestRoutersBasic-78799353-19224805 ID is cec5af74-ee5b-415a-871b-475ff4951095 2025-05-13 08:31:24,094 - DEBUG - VM ctest-TestRoutersBasic-78799353-19224805 launched on Node cn-jenkins-deploy-platform-ansible-os-3301-1 2025-05-13 08:31:24,168 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cec5af74-ee5b-415a-871b-475ff4951095 2025-05-13 08:31:24,465 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/cec5af74-ee5b-415a-871b-475ff4951095 2025-05-13 08:31:24,501 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9746b063-80ce-450a-8b62-53927d46ff5b 2025-05-13 08:31:27,771 - 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 1031ms') 2025-05-13 08:31:27,772 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78799353-19224805 failed! 2025-05-13 08:31:27,825 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-78799353:ctest-vn-32954043 is 183.195.152.1 and allocation pool is NOT set 2025-05-13 08:31:29,889 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.384 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.384/1.670/2.957/1.286 ms') 2025-05-13 08:31:29,889 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-78799353-19224805 passed 2025-05-13 08:31:30,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 08:31:30,045 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78799353-19224805, IP 183.195.152.3, Port 22 2025-05-13 08:31:30,211 - DEBUG - VM ctest-TestRoutersBasic-78799353-19224805 is ready for SSH connections 2025-05-13 08:31:30,211 - INFO - Waiting for VM ctest-TestRoutersBasic-78799353-89366976 to be up.. 2025-05-13 08:31:30,292 - DEBUG - VM is in ACTIVE state now 2025-05-13 08:31:30,292 - INFO - VM name : ctest-TestRoutersBasic-78799353-89366976 2025-05-13 08:31:30,365 - DEBUG - VM ctest-TestRoutersBasic-78799353-89366976 ID is 370b42b1-1263-4c1b-8162-a3b0b5a53c2c 2025-05-13 08:31:30,365 - DEBUG - VM ctest-TestRoutersBasic-78799353-89366976 launched on Node cn-jenkins-deploy-platform-ansible-os-3301-1 2025-05-13 08:31:30,435 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/370b42b1-1263-4c1b-8162-a3b0b5a53c2c 2025-05-13 08:31:30,444 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/279080dc-10b6-4308-a452-84098619ff77 2025-05-13 08:31:31,696 - 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=3.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.448/1.761/3.074/1.313 ms') 2025-05-13 08:31:31,697 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-78799353-89366976 passed 2025-05-13 08:31:31,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 08:31:31,853 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-78799353-89366976, IP 5.79.201.3, Port 22 2025-05-13 08:31:32,013 - DEBUG - VM ctest-TestRoutersBasic-78799353-89366976 is ready for SSH connections 2025-05-13 08:31:32,013 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-13 08:31:32,014 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.79.201.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-05-13 08:31:32,014 - DEBUG - ping -s 56 -c 3 -W 1 5.79.201.3 2025-05-13 08:31:36,069 - DEBUG - PING 5.79.201.3 (5.79.201.3): 56 data bytes 64 bytes from 5.79.201.3: seq=0 ttl=62 time=4.377 ms 64 bytes from 5.79.201.3: seq=1 ttl=62 time=0.964 ms 64 bytes from 5.79.201.3: seq=2 ttl=62 time=0.930 ms --- 5.79.201.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/2.090/4.377 ms 2025-05-13 08:31:36,070 - INFO - Ping to IP 5.79.201.3 from VM ctest-TestRoutersBasic-78799353-19224805 passed 2025-05-13 08:31:36,070 - INFO - Deleting interface with subnet_id 4e4d719f-edc2-4f83-8b05-5fdbe5084495, port_id None from router 0b987adc-e5ec-4ff3-a64d-0583d5f2a130 2025-05-13 08:31:36,267 - INFO - Deleting VM ctest-TestRoutersBasic-78799353-89366976 2025-05-13 08:31:36,335 - INFO - Deleting VM ctest-TestRoutersBasic-78799353-19224805 2025-05-13 08:31:36,426 - INFO - Deleting VN ctest-ext_vn-81376926 2025-05-13 08:31:36,500 - DEBUG - VN 8907981b-6722-4927-9948-cfdb3bd8d985 still in use: Unable to complete operation on network 8907981b-6722-4927-9948-cfdb3bd8d985. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0f4710f-2de9-4ae1-b997-ccda1a8916fa'] 2025-05-13 08:31:36,500 - WARNING - Deleting VN ctest-ext_vn-81376926 failed..Will retry 2025-05-13 08:31:38,606 - DEBUG - Response for deleting network () 2025-05-13 08:31:38,607 - INFO - Deleting VN ctest-vn-32954043 2025-05-13 08:31:38,707 - DEBUG - Response for deleting network () 2025-05-13 08:31:38,967 - DEBUG - No XMPP flaps were noticed during the test 2025-05-13 08:31:38,967 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25] 2025-05-13 08:31:38,967 - INFO - -------------------------------------------------------------------------------- 2025-05-13 08:31:39,652 - INFO - Deleted project: ctest-TestRoutersBasic-78799353, ID : f3384352-16df-4355-9103-27f04ddb9824