2025-06-09 02:19:50,349 - INFO - Domain Default found not creating 2025-06-09 02:19:50,502 - INFO - Project ctest-TestRoutersBasic-27328571 not found, creating it 2025-06-09 02:19:50,960 - INFO - Created Project:ctest-TestRoutersBasic-27328571, ID : acaedde7-03cb-4056-9944-1c7e3aa15445 2025-06-09 02:19:52,389 - INFO - ================================================================================ 2025-06-09 02:19:52,389 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-06-09 02:19:52,389 - 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-06-09 02:19:52,647 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.14': '0'}} with 2025-06-09 02:19:52,647 - INFO - Initial checks done. Running the testcase now 2025-06-09 02:19:52,647 - INFO - 2025-06-09 02:19:53,343 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27328571 2025-06-09 02:19:53,437 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27328571 2025-06-09 02:19:53,764 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27328571', 'default']} 2025-06-09 02:19:54,052 - DEBUG - Response for create_network : {'network': {'id': 'db3771f7-d1d9-4def-8b61-a0bd65fed611', 'name': 'ctest-vn-15476664', 'tenant_id': 'acaedde703cb405699441c7e3aa15445', 'project_id': 'acaedde703cb405699441c7e3aa15445', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27328571', 'ctest-vn-15476664'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:19:54,248 - DEBUG - Response for create_subnet : {'subnet': {'id': '09e4a799-7245-48d0-9ebc-6ef45db830f3', 'name': '', 'tenant_id': 'acaedde703cb405699441c7e3aa15445', 'network_id': 'db3771f7-d1d9-4def-8b61-a0bd65fed611', 'ip_version': 4, 'cidr': '37.79.47.0/26', 'allocation_pools': [{'start': '37.79.47.2', 'end': '37.79.47.62'}], 'gateway_ip': '37.79.47.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.79.47.2', 'tags': [], 'project_id': 'acaedde703cb405699441c7e3aa15445'}} 2025-06-09 02:19:54,266 - INFO - Created VN ctest-vn-15476664 2025-06-09 02:19:54,321 - DEBUG - VN ctest-vn-15476664 UUID is db3771f7-d1d9-4def-8b61-a0bd65fed611 2025-06-09 02:19:54,640 - DEBUG - Response for create_network : {'network': {'id': 'df443773-7852-4551-96ec-805565db34f2', 'name': 'ctest-ext_vn-83505079', 'tenant_id': 'acaedde703cb405699441c7e3aa15445', 'project_id': 'acaedde703cb405699441c7e3aa15445', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27328571', 'ctest-ext_vn-83505079'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:19:54,826 - DEBUG - Response for create_subnet : {'subnet': {'id': '26a333ce-db7c-480c-a642-84d8a08fba0e', 'name': '', 'tenant_id': 'acaedde703cb405699441c7e3aa15445', 'network_id': 'df443773-7852-4551-96ec-805565db34f2', 'ip_version': 4, 'cidr': '173.114.129.192/26', 'allocation_pools': [{'start': '173.114.129.194', 'end': '173.114.129.254'}], 'gateway_ip': '173.114.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.114.129.194', 'tags': [], 'project_id': 'acaedde703cb405699441c7e3aa15445'}} 2025-06-09 02:19:54,843 - INFO - Created VN ctest-ext_vn-83505079 2025-06-09 02:19:54,896 - DEBUG - VN ctest-ext_vn-83505079 UUID is df443773-7852-4551-96ec-805565db34f2 2025-06-09 02:19:55,060 - DEBUG - Services list from nova: [, , ] 2025-06-09 02:19:56,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3422-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3422-1) 2025-06-09 02:19:57,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3422-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3422-1) 2025-06-09 02:19:57,222 - INFO - Setting gateway for router b2fec3d9-eec0-4d3b-9e8b-bb9f1dbda975 to network df443773-7852-4551-96ec-805565db34f2 2025-06-09 02:19:57,287 - INFO - Adding interface with subnet_id 09e4a799-7245-48d0-9ebc-6ef45db830f3, port_id None to router b2fec3d9-eec0-4d3b-9e8b-bb9f1dbda975 2025-06-09 02:19:57,747 - INFO - Waiting for VM ctest-TestRoutersBasic-27328571-56860824 to be up.. 2025-06-09 02:19:57,939 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 02:20:03,027 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:20:03,027 - INFO - VM name : ctest-TestRoutersBasic-27328571-56860824 2025-06-09 02:20:03,106 - DEBUG - VM ctest-TestRoutersBasic-27328571-56860824 ID is 8b1adb82-903d-428d-9922-40428f0c2cf2 2025-06-09 02:20:03,127 - DEBUG - VM ctest-TestRoutersBasic-27328571-56860824 launched on Node cn-jenkins-deploy-platform-ansible-os-3422-1 2025-06-09 02:20:03,202 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8b1adb82-903d-428d-9922-40428f0c2cf2 2025-06-09 02:20:03,495 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8b1adb82-903d-428d-9922-40428f0c2cf2 2025-06-09 02:20:03,526 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/15d5b130-8edd-44d3-acd6-2df7f7e102c7 2025-06-09 02:20:06,775 - 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 1012ms') 2025-06-09 02:20:06,775 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27328571-56860824 failed! 2025-06-09 02:20:06,828 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27328571:ctest-vn-15476664 is 37.79.47.1 and allocation pool is NOT set 2025-06-09 02:20:08,887 - 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=4.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.516 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.516/2.522/4.528/2.006 ms') 2025-06-09 02:20:08,887 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27328571-56860824 passed 2025-06-09 02:20:09,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:20:09,041 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27328571-56860824, IP 37.79.47.3, Port 22 2025-06-09 02:20:09,196 - DEBUG - VM ctest-TestRoutersBasic-27328571-56860824 is ready for SSH connections 2025-06-09 02:20:09,196 - INFO - Waiting for VM ctest-TestRoutersBasic-27328571-05680355 to be up.. 2025-06-09 02:20:09,270 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:20:09,270 - INFO - VM name : ctest-TestRoutersBasic-27328571-05680355 2025-06-09 02:20:09,343 - DEBUG - VM ctest-TestRoutersBasic-27328571-05680355 ID is ff81ddca-a790-41c6-bce2-089ec18f30cf 2025-06-09 02:20:09,343 - DEBUG - VM ctest-TestRoutersBasic-27328571-05680355 launched on Node cn-jenkins-deploy-platform-ansible-os-3422-1 2025-06-09 02:20:09,416 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/ff81ddca-a790-41c6-bce2-089ec18f30cf 2025-06-09 02:20:09,424 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/f9aa536f-da6f-4d5e-984e-b5f3692148ba 2025-06-09 02:20:10,659 - 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=2.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/1.660/2.967/1.307 ms') 2025-06-09 02:20:10,659 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27328571-05680355 passed 2025-06-09 02:20:10,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:20:10,813 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27328571-05680355, IP 173.114.129.195, Port 22 2025-06-09 02:20:10,968 - DEBUG - VM ctest-TestRoutersBasic-27328571-05680355 is ready for SSH connections 2025-06-09 02:20:10,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:20:10,968 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.114.129.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-06-09 02:20:10,969 - DEBUG - ping -s 56 -c 3 -W 1 173.114.129.195 2025-06-09 02:20:14,632 - DEBUG - PING 173.114.129.195 (173.114.129.195): 56 data bytes 64 bytes from 173.114.129.195: seq=0 ttl=62 time=8.942 ms 64 bytes from 173.114.129.195: seq=1 ttl=62 time=1.025 ms 64 bytes from 173.114.129.195: seq=2 ttl=62 time=0.879 ms --- 173.114.129.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/3.615/8.942 ms 2025-06-09 02:20:14,632 - INFO - Ping to IP 173.114.129.195 from VM ctest-TestRoutersBasic-27328571-56860824 passed 2025-06-09 02:20:14,632 - INFO - Deleting interface with subnet_id 09e4a799-7245-48d0-9ebc-6ef45db830f3, port_id None from router b2fec3d9-eec0-4d3b-9e8b-bb9f1dbda975 2025-06-09 02:20:14,837 - INFO - Deleting VM ctest-TestRoutersBasic-27328571-05680355 2025-06-09 02:20:14,903 - INFO - Deleting VM ctest-TestRoutersBasic-27328571-56860824 2025-06-09 02:20:14,992 - INFO - Deleting VN ctest-ext_vn-83505079 2025-06-09 02:20:15,062 - DEBUG - VN df443773-7852-4551-96ec-805565db34f2 still in use: Unable to complete operation on network df443773-7852-4551-96ec-805565db34f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7468c7ce-4bbe-421f-9684-0c863def5f3c'] 2025-06-09 02:20:15,062 - WARNING - Deleting VN ctest-ext_vn-83505079 failed..Will retry 2025-06-09 02:20:17,161 - DEBUG - Response for deleting network () 2025-06-09 02:20:17,161 - INFO - Deleting VN ctest-vn-15476664 2025-06-09 02:20:17,265 - DEBUG - Response for deleting network () 2025-06-09 02:20:17,522 - DEBUG - No XMPP flaps were noticed during the test
2025-06-09 02:20:17,523 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-06-09 02:20:17,523 - INFO - -------------------------------------------------------------------------------- 2025-06-09 02:20:18,191 - INFO - Deleted project: ctest-TestRoutersBasic-27328571, ID : acaedde7-03cb-4056-9944-1c7e3aa15445