2025-02-03 09:07:35,041 - INFO - Domain Default found not creating 2025-02-03 09:07:35,207 - INFO - Project ctest-TestRoutersBasic-27202085 not found, creating it 2025-02-03 09:07:35,688 - INFO - Created Project:ctest-TestRoutersBasic-27202085, ID : 2a8f1553-9b7c-4acb-8747-73f68c9a7ec1 2025-02-03 09:07:37,171 - INFO - ================================================================================ 2025-02-03 09:07:37,171 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-02-03 09:07:37,172 - 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-03 09:07:37,433 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.7': '0'}} with 2025-02-03 09:07:37,433 - INFO - Initial checks done. Running the testcase now 2025-02-03 09:07:37,433 - INFO - 2025-02-03 09:07:38,132 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27202085 2025-02-03 09:07:38,230 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27202085 2025-02-03 09:07:38,566 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27202085', 'default']} 2025-02-03 09:07:38,898 - DEBUG - Response for create_network : {'network': {'id': 'cd3e2f92-f0b4-43f8-9282-e71fcb2793f0', 'name': 'ctest-vn-15352172', 'tenant_id': '2a8f15539b7c4acb874773f68c9a7ec1', 'project_id': '2a8f15539b7c4acb874773f68c9a7ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27202085', 'ctest-vn-15352172'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 09:07:39,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '826a527a-d2a5-4fa0-b90f-a8bfdfcebd40', 'name': '', 'tenant_id': '2a8f15539b7c4acb874773f68c9a7ec1', 'network_id': 'cd3e2f92-f0b4-43f8-9282-e71fcb2793f0', 'ip_version': 4, 'cidr': '188.113.77.0/26', 'allocation_pools': [{'start': '188.113.77.2', 'end': '188.113.77.62'}], 'gateway_ip': '188.113.77.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '188.113.77.2', 'tags': [], 'project_id': '2a8f15539b7c4acb874773f68c9a7ec1'}} 2025-02-03 09:07:39,130 - INFO - Created VN ctest-vn-15352172 2025-02-03 09:07:39,186 - DEBUG - VN ctest-vn-15352172 UUID is cd3e2f92-f0b4-43f8-9282-e71fcb2793f0 2025-02-03 09:07:39,521 - DEBUG - Response for create_network : {'network': {'id': '693d58dc-322a-4ded-bc09-7951003d5863', 'name': 'ctest-ext_vn-79047488', 'tenant_id': '2a8f15539b7c4acb874773f68c9a7ec1', 'project_id': '2a8f15539b7c4acb874773f68c9a7ec1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27202085', 'ctest-ext_vn-79047488'], 'port_security_enabled': True, 'description': ''}} 2025-02-03 09:07:39,736 - DEBUG - Response for create_subnet : {'subnet': {'id': '89f4eff2-fa66-4d27-a4b5-6bcbaec207ff', 'name': '', 'tenant_id': '2a8f15539b7c4acb874773f68c9a7ec1', 'network_id': '693d58dc-322a-4ded-bc09-7951003d5863', 'ip_version': 4, 'cidr': '159.143.64.128/26', 'allocation_pools': [{'start': '159.143.64.130', 'end': '159.143.64.190'}], 'gateway_ip': '159.143.64.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.143.64.130', 'tags': [], 'project_id': '2a8f15539b7c4acb874773f68c9a7ec1'}} 2025-02-03 09:07:39,753 - INFO - Created VN ctest-ext_vn-79047488 2025-02-03 09:07:39,806 - DEBUG - VN ctest-ext_vn-79047488 UUID is 693d58dc-322a-4ded-bc09-7951003d5863 2025-02-03 09:07:39,997 - DEBUG - Services list from nova: [, , ] 2025-02-03 09:07:41,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2676-1) 2025-02-03 09:07:42,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2676-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2676-1) 2025-02-03 09:07:42,353 - INFO - Setting gateway for router ae10595a-46c5-48ff-a298-3cb7bae1477c to network 693d58dc-322a-4ded-bc09-7951003d5863 2025-02-03 09:07:42,448 - INFO - Adding interface with subnet_id 826a527a-d2a5-4fa0-b90f-a8bfdfcebd40, port_id None to router ae10595a-46c5-48ff-a298-3cb7bae1477c 2025-02-03 09:07:42,985 - INFO - Waiting for VM ctest-TestRoutersBasic-27202085-31871565 to be up.. 2025-02-03 09:07:43,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-03 09:07:48,218 - DEBUG - VM is in ACTIVE state now 2025-02-03 09:07:48,218 - INFO - VM name : ctest-TestRoutersBasic-27202085-31871565 2025-02-03 09:07:48,310 - DEBUG - VM ctest-TestRoutersBasic-27202085-31871565 ID is 44bd7068-37f0-47e1-ad76-11f8bfa6cae0 2025-02-03 09:07:48,330 - DEBUG - VM ctest-TestRoutersBasic-27202085-31871565 launched on Node cn-jenkins-deploy-platform-ansible-os-2676-1 2025-02-03 09:07:48,416 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/44bd7068-37f0-47e1-ad76-11f8bfa6cae0 2025-02-03 09:07:48,712 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/44bd7068-37f0-47e1-ad76-11f8bfa6cae0 2025-02-03 09:07:48,743 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/41a3b5e5-4cc8-4980-b1a2-fb10f5acea81 2025-02-03 09:07:52,003 - 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 1017ms') 2025-02-03 09:07:52,004 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27202085-31871565 failed! 2025-02-03 09:07:52,058 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27202085:ctest-vn-15352172 is 188.113.77.1 and allocation pool is NOT set 2025-02-03 09:07:54,119 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/1.677/2.934/1.256 ms') 2025-02-03 09:07:54,119 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-27202085-31871565 passed 2025-02-03 09:07:54,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:07:54,286 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27202085-31871565, IP 188.113.77.3, Port 22 2025-02-03 09:07:54,447 - DEBUG - VM ctest-TestRoutersBasic-27202085-31871565 is ready for SSH connections 2025-02-03 09:07:54,447 - INFO - Waiting for VM ctest-TestRoutersBasic-27202085-84006287 to be up.. 2025-02-03 09:07:54,528 - DEBUG - VM is in ACTIVE state now 2025-02-03 09:07:54,528 - INFO - VM name : ctest-TestRoutersBasic-27202085-84006287 2025-02-03 09:07:54,600 - DEBUG - VM ctest-TestRoutersBasic-27202085-84006287 ID is d02fbdfa-f30f-4e77-a4d3-8eabb6a3d246 2025-02-03 09:07:54,600 - DEBUG - VM ctest-TestRoutersBasic-27202085-84006287 launched on Node cn-jenkins-deploy-platform-ansible-os-2676-1 2025-02-03 09:07:54,680 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/d02fbdfa-f30f-4e77-a4d3-8eabb6a3d246 2025-02-03 09:07:54,688 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/94766da3-af88-42ac-bced-2a9980514e99 2025-02-03 09:07:55,938 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.445 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.445/1.657/2.870/1.212 ms') 2025-02-03 09:07:55,938 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-27202085-84006287 passed 2025-02-03 09:07:56,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:07:56,098 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27202085-84006287, IP 159.143.64.131, Port 22 2025-02-03 09:07:56,250 - DEBUG - VM ctest-TestRoutersBasic-27202085-84006287 is ready for SSH connections 2025-02-03 09:07:56,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-03 09:07:56,250 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.143.64.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.24, gateway password: c0ntrail123 2025-02-03 09:07:56,250 - DEBUG - ping -s 56 -c 3 -W 1 159.143.64.131 2025-02-03 09:08:00,246 - DEBUG - PING 159.143.64.131 (159.143.64.131): 56 data bytes 64 bytes from 159.143.64.131: seq=0 ttl=62 time=4.421 ms 64 bytes from 159.143.64.131: seq=1 ttl=62 time=0.835 ms 64 bytes from 159.143.64.131: seq=2 ttl=62 time=0.976 ms --- 159.143.64.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/2.077/4.421 ms 2025-02-03 09:08:00,246 - INFO - Ping to IP 159.143.64.131 from VM ctest-TestRoutersBasic-27202085-31871565 passed 2025-02-03 09:08:00,246 - INFO - Deleting interface with subnet_id 826a527a-d2a5-4fa0-b90f-a8bfdfcebd40, port_id None from router ae10595a-46c5-48ff-a298-3cb7bae1477c 2025-02-03 09:08:00,544 - INFO - Deleting VM ctest-TestRoutersBasic-27202085-84006287 2025-02-03 09:08:00,630 - INFO - Deleting VM ctest-TestRoutersBasic-27202085-31871565 2025-02-03 09:08:00,719 - INFO - Deleting VN ctest-ext_vn-79047488 2025-02-03 09:08:00,811 - DEBUG - VN 693d58dc-322a-4ded-bc09-7951003d5863 still in use: Unable to complete operation on network 693d58dc-322a-4ded-bc09-7951003d5863. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d0a6364c-e961-4f71-9b75-012b454008d5'] 2025-02-03 09:08:00,811 - WARNING - Deleting VN ctest-ext_vn-79047488 failed..Will retry 2025-02-03 09:08:02,957 - DEBUG - Response for deleting network () 2025-02-03 09:08:02,957 - INFO - Deleting VN ctest-vn-15352172 2025-02-03 09:08:03,077 - DEBUG - Response for deleting network () 2025-02-03 09:08:03,338 - DEBUG - No XMPP flaps were noticed during the test 2025-02-03 09:08:03,338 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2025-02-03 09:08:03,338 - INFO - -------------------------------------------------------------------------------- 2025-02-03 09:08:04,039 - INFO - Deleted project: ctest-TestRoutersBasic-27202085, ID : 2a8f1553-9b7c-4acb-8747-73f68c9a7ec1