2025-01-06 02:13:31,791 - INFO - Domain Default found not creating 2025-01-06 02:13:31,937 - INFO - Project ctest-TestRoutersBasic-25276356 not found, creating it 2025-01-06 02:13:32,371 - INFO - Created Project:ctest-TestRoutersBasic-25276356, ID : 7f62b34d-8753-470f-8070-d0c1e99bae3e 2025-01-06 02:13:33,897 - INFO - ================================================================================ 2025-01-06 02:13:33,897 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-01-06 02:13:33,897 - 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-06 02:13:34,164 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.10': '0'}} with 2025-01-06 02:13:34,164 - INFO - Initial checks done. Running the testcase now 2025-01-06 02:13:34,165 - INFO - 2025-01-06 02:13:34,866 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-25276356 2025-01-06 02:13:34,959 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-25276356 2025-01-06 02:13:35,282 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25276356', 'default']} 2025-01-06 02:13:35,567 - DEBUG - Response for create_network : {'network': {'id': '6ab81027-236f-4d41-b106-2c1dd9f525bb', 'name': 'ctest-vn-72703756', 'tenant_id': '7f62b34d8753470f8070d0c1e99bae3e', 'project_id': '7f62b34d8753470f8070d0c1e99bae3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25276356', 'ctest-vn-72703756'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 02:13:35,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '940dac88-886a-4c71-aed9-107e234300d3', 'name': '', 'tenant_id': '7f62b34d8753470f8070d0c1e99bae3e', 'network_id': '6ab81027-236f-4d41-b106-2c1dd9f525bb', 'ip_version': 4, 'cidr': '168.121.221.0/26', 'allocation_pools': [{'start': '168.121.221.2', 'end': '168.121.221.62'}], 'gateway_ip': '168.121.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.121.221.2', 'tags': [], 'project_id': '7f62b34d8753470f8070d0c1e99bae3e'}} 2025-01-06 02:13:35,734 - INFO - Created VN ctest-vn-72703756 2025-01-06 02:13:35,787 - DEBUG - VN ctest-vn-72703756 UUID is 6ab81027-236f-4d41-b106-2c1dd9f525bb 2025-01-06 02:13:36,096 - DEBUG - Response for create_network : {'network': {'id': '1cc48751-3593-468e-970b-29cc5aae19f3', 'name': 'ctest-ext_vn-01817323', 'tenant_id': '7f62b34d8753470f8070d0c1e99bae3e', 'project_id': '7f62b34d8753470f8070d0c1e99bae3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-25276356', 'ctest-ext_vn-01817323'], 'port_security_enabled': True, 'description': ''}} 2025-01-06 02:13:36,303 - DEBUG - Response for create_subnet : {'subnet': {'id': '5208a5e3-ad71-4ba2-8e79-3443a9ea82dc', 'name': '', 'tenant_id': '7f62b34d8753470f8070d0c1e99bae3e', 'network_id': '1cc48751-3593-468e-970b-29cc5aae19f3', 'ip_version': 4, 'cidr': '83.185.157.192/26', 'allocation_pools': [{'start': '83.185.157.194', 'end': '83.185.157.254'}], 'gateway_ip': '83.185.157.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.185.157.194', 'tags': [], 'project_id': '7f62b34d8753470f8070d0c1e99bae3e'}} 2025-01-06 02:13:36,323 - INFO - Created VN ctest-ext_vn-01817323 2025-01-06 02:13:36,374 - DEBUG - VN ctest-ext_vn-01817323 UUID is 1cc48751-3593-468e-970b-29cc5aae19f3 2025-01-06 02:13:36,586 - DEBUG - Services list from nova: [, , ] 2025-01-06 02:13:37,560 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2536-1) 2025-01-06 02:13:38,670 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2536-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2536-1) 2025-01-06 02:13:38,754 - INFO - Setting gateway for router efdd7819-3c40-4907-be88-3ea44a280d2e to network 1cc48751-3593-468e-970b-29cc5aae19f3 2025-01-06 02:13:38,809 - INFO - Adding interface with subnet_id 940dac88-886a-4c71-aed9-107e234300d3, port_id None to router efdd7819-3c40-4907-be88-3ea44a280d2e 2025-01-06 02:13:39,182 - INFO - Waiting for VM ctest-TestRoutersBasic-25276356-16170222 to be up.. 2025-01-06 02:13:39,386 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-06 02:13:44,457 - DEBUG - VM is in ACTIVE state now 2025-01-06 02:13:44,457 - INFO - VM name : ctest-TestRoutersBasic-25276356-16170222 2025-01-06 02:13:44,531 - DEBUG - VM ctest-TestRoutersBasic-25276356-16170222 ID is 8e2baab5-ab3c-469e-b82b-d7cf39b2f9b9 2025-01-06 02:13:44,550 - DEBUG - VM ctest-TestRoutersBasic-25276356-16170222 launched on Node cn-jenkins-deploy-platform-ansible-os-2536-1 2025-01-06 02:13:44,619 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/8e2baab5-ab3c-469e-b82b-d7cf39b2f9b9 2025-01-06 02:13:44,912 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/8e2baab5-ab3c-469e-b82b-d7cf39b2f9b9 2025-01-06 02:13:44,940 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/5a63003b-469d-49cc-97c1-81c71e38940a 2025-01-06 02:13:48,197 - 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-06 02:13:48,197 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25276356-16170222 failed! 2025-01-06 02:13:48,250 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-25276356:ctest-vn-72703756 is 168.121.221.1 and allocation pool is NOT set 2025-01-06 02:13:50,315 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.550 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.550/1.693/2.836/1.143 ms') 2025-01-06 02:13:50,316 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-25276356-16170222 passed 2025-01-06 02:13:50,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:13:50,463 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25276356-16170222, IP 168.121.221.3, Port 22 2025-01-06 02:13:50,622 - DEBUG - VM ctest-TestRoutersBasic-25276356-16170222 is ready for SSH connections 2025-01-06 02:13:50,622 - INFO - Waiting for VM ctest-TestRoutersBasic-25276356-75791786 to be up.. 2025-01-06 02:13:50,691 - DEBUG - VM is in ACTIVE state now 2025-01-06 02:13:50,691 - INFO - VM name : ctest-TestRoutersBasic-25276356-75791786 2025-01-06 02:13:50,761 - DEBUG - VM ctest-TestRoutersBasic-25276356-75791786 ID is c161f978-db6c-405a-b39c-48cecccece85 2025-01-06 02:13:50,761 - DEBUG - VM ctest-TestRoutersBasic-25276356-75791786 launched on Node cn-jenkins-deploy-platform-ansible-os-2536-1 2025-01-06 02:13:50,835 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/c161f978-db6c-405a-b39c-48cecccece85 2025-01-06 02:13:50,844 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/12292f7a-d0dc-4126-8b46-f9edbc450d83 2025-01-06 02:13:52,088 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.295 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.295/1.491/2.688/1.196 ms') 2025-01-06 02:13:52,088 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-25276356-75791786 passed 2025-01-06 02:13:52,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:13:52,239 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-25276356-75791786, IP 83.185.157.195, Port 22 2025-01-06 02:13:52,389 - DEBUG - VM ctest-TestRoutersBasic-25276356-75791786 is ready for SSH connections 2025-01-06 02:13:52,390 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-06 02:13:52,390 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.185.157.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-06 02:13:52,390 - DEBUG - ping -s 56 -c 3 -W 1 83.185.157.195 2025-01-06 02:13:56,385 - DEBUG - PING 83.185.157.195 (83.185.157.195): 56 data bytes 64 bytes from 83.185.157.195: seq=0 ttl=62 time=5.498 ms 64 bytes from 83.185.157.195: seq=1 ttl=62 time=0.757 ms 64 bytes from 83.185.157.195: seq=2 ttl=62 time=0.790 ms --- 83.185.157.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/2.348/5.498 ms 2025-01-06 02:13:56,385 - INFO - Ping to IP 83.185.157.195 from VM ctest-TestRoutersBasic-25276356-16170222 passed 2025-01-06 02:13:56,385 - INFO - Deleting interface with subnet_id 940dac88-886a-4c71-aed9-107e234300d3, port_id None from router efdd7819-3c40-4907-be88-3ea44a280d2e 2025-01-06 02:13:56,558 - INFO - Deleting VM ctest-TestRoutersBasic-25276356-75791786 2025-01-06 02:13:56,628 - INFO - Deleting VM ctest-TestRoutersBasic-25276356-16170222 2025-01-06 02:13:56,703 - INFO - Deleting VN ctest-ext_vn-01817323 2025-01-06 02:13:56,767 - DEBUG - VN 1cc48751-3593-468e-970b-29cc5aae19f3 still in use: Unable to complete operation on network 1cc48751-3593-468e-970b-29cc5aae19f3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c28f988-7d0c-44d6-b535-0346835dd575'] 2025-01-06 02:13:56,767 - WARNING - Deleting VN ctest-ext_vn-01817323 failed..Will retry 2025-01-06 02:13:58,860 - DEBUG - Response for deleting network () 2025-01-06 02:13:58,860 - INFO - Deleting VN ctest-vn-72703756 2025-01-06 02:13:58,952 - DEBUG - Response for deleting network () 2025-01-06 02:13:59,203 - DEBUG - No XMPP flaps were noticed during the test
2025-01-06 02:13:59,203 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26]
2025-01-06 02:13:59,203 - INFO - -------------------------------------------------------------------------------- 2025-01-06 02:13:59,838 - INFO - Deleted project: ctest-TestRoutersBasic-25276356, ID : 7f62b34d-8753-470f-8070-d0c1e99bae3e