2025-01-13 21:10:49,639 - INFO - Domain Default found not creating 2025-01-13 21:10:49,805 - INFO - Project ctest-TestBasicPolicy-30653184 not found, creating it 2025-01-13 21:10:50,265 - INFO - Created Project:ctest-TestBasicPolicy-30653184, ID : 4a70ac94-31ee-4837-8803-166a890eded9 2025-01-13 21:10:51,764 - INFO - ================================================================================ 2025-01-13 21:10:51,764 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-13 21:10:51,764 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-01-13 21:10:52,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.17': {'10.20.0.13': '0'}} with 2025-01-13 21:10:52,020 - INFO - Initial checks done. Running the testcase now 2025-01-13 21:10:52,020 - INFO - 2025-01-13 21:10:52,642 - DEBUG - Response for create_network : {'network': {'id': 'fe0c3482-c4d1-401e-8fbe-8ec5914a123e', 'name': 'ctest-vn-33224283', 'tenant_id': '4a70ac9431ee48378803166a890eded9', 'project_id': '4a70ac9431ee48378803166a890eded9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30653184', 'ctest-vn-33224283'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 21:10:52,849 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ceeb6f61-2f27-478d-b4a4-8e630903ca06', 'name': '', 'tenant_id': '4a70ac9431ee48378803166a890eded9', 'network_id': 'fe0c3482-c4d1-401e-8fbe-8ec5914a123e', 'ip_version': 4, 'cidr': '168.236.114.192/26', 'allocation_pools': [{'start': '168.236.114.194', 'end': '168.236.114.254'}], 'gateway_ip': '168.236.114.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.236.114.194', 'tags': [], 'project_id': '4a70ac9431ee48378803166a890eded9'}} 2025-01-13 21:10:52,869 - INFO - Created VN ctest-vn-33224283 2025-01-13 21:10:52,920 - DEBUG - VN ctest-vn-33224283 UUID is fe0c3482-c4d1-401e-8fbe-8ec5914a123e 2025-01-13 21:10:53,231 - DEBUG - Response for create_network : {'network': {'id': '06152e91-714f-491b-bcb5-3c8565d942eb', 'name': 'ctest-vn-15421773', 'tenant_id': '4a70ac9431ee48378803166a890eded9', 'project_id': '4a70ac9431ee48378803166a890eded9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30653184', 'ctest-vn-15421773'], 'port_security_enabled': True, 'description': ''}} 2025-01-13 21:10:53,473 - DEBUG - Response for create_subnet : {'subnet': {'id': '45e8727a-7b0f-45f2-927f-57c9a8993a1d', 'name': '', 'tenant_id': '4a70ac9431ee48378803166a890eded9', 'network_id': '06152e91-714f-491b-bcb5-3c8565d942eb', 'ip_version': 4, 'cidr': '194.162.13.128/26', 'allocation_pools': [{'start': '194.162.13.130', 'end': '194.162.13.190'}], 'gateway_ip': '194.162.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.162.13.130', 'tags': [], 'project_id': '4a70ac9431ee48378803166a890eded9'}} 2025-01-13 21:10:53,494 - INFO - Created VN ctest-vn-15421773 2025-01-13 21:10:53,548 - DEBUG - VN ctest-vn-15421773 UUID is 06152e91-714f-491b-bcb5-3c8565d942eb 2025-01-13 21:10:53,667 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-33224283, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-15421773, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-01-13 21:10:53,971 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe0c3482-c4d1-401e-8fbe-8ec5914a123e', 'name': 'ctest-vn-33224283', 'tenant_id': '4a70ac9431ee48378803166a890eded9', 'project_id': '4a70ac9431ee48378803166a890eded9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ceeb6f61-2f27-478d-b4a4-8e630903ca06'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30653184', 'ctest-vn-33224283'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30653184', 'ctest-policy-allow-all-99246370']], 'subnet_ipam': [{'subnet_cidr': '168.236.114.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 21:10:54,212 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '06152e91-714f-491b-bcb5-3c8565d942eb', 'name': 'ctest-vn-15421773', 'tenant_id': '4a70ac9431ee48378803166a890eded9', 'project_id': '4a70ac9431ee48378803166a890eded9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45e8727a-7b0f-45f2-927f-57c9a8993a1d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30653184', 'ctest-vn-15421773'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30653184', 'ctest-policy-allow-all-99246370']], 'subnet_ipam': [{'subnet_cidr': '194.162.13.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-13 21:10:54,364 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-13 21:10:54,668 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-13 21:10:54,700 - DEBUG - Requesting: http://10.0.0.17:8082/domain/f5a12c2d-d6e7-45cb-9393-9521bd138ed2 2025-01-13 21:10:54,716 - DEBUG - Requesting: http://10.0.0.17:8082/project/4a70ac94-31ee-4837-8803-166a890eded9 2025-01-13 21:10:54,796 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fe0c3482-c4d1-401e-8fbe-8ec5914a123e 2025-01-13 21:10:54,808 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fe0c3482-c4d1-401e-8fbe-8ec5914a123e 2025-01-13 21:10:54,821 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4707c213-f75e-4606-b4fa-184cb369a096 2025-01-13 21:10:54,830 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4707c213-f75e-4606-b4fa-184cb369a096 2025-01-13 21:10:54,838 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/84d72547-cdda-496d-a760-2282055e4a6e 2025-01-13 21:10:54,846 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 21:10:54,846 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fe0c3482-c4d1-401e-8fbe-8ec5914a123e 2025-01-13 21:10:54,857 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4707c213-f75e-4606-b4fa-184cb369a096 2025-01-13 21:10:54,874 - INFO - Verified VN network id 8 for VN fe0c3482-c4d1-401e-8fbe-8ec5914a123e 2025-01-13 21:10:54,875 - INFO - Verifications in API Server for VN ctest-vn-33224283 passed 2025-01-13 21:10:54,875 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fe0c3482-c4d1-401e-8fbe-8ec5914a123e 2025-01-13 21:10:54,887 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4707c213-f75e-4606-b4fa-184cb369a096 2025-01-13 21:10:54,896 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4707c213-f75e-4606-b4fa-184cb369a096 2025-01-13 21:10:54,906 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/84d72547-cdda-496d-a760-2282055e4a6e 2025-01-13 21:10:54,922 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-33224283', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30653184', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18306064321606664222', 'uuid-lslong': '10357873172195971646'}, 'enable': 'true', 'created': '2025-01-13T21:10:52', 'last-modified': '2025-01-13T21:10:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979834'} 2025-01-13 21:10:54,931 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-13 21:10:54,931 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33224283 passed 2025-01-13 21:10:54,931 - DEBUG - ====Verifying policy data for ctest-vn-33224283 in API_Server ====== 2025-01-13 21:10:54,931 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-13 21:10:54,938 - DEBUG - Requesting: http://10.0.0.17:8082/domain/f5a12c2d-d6e7-45cb-9393-9521bd138ed2 2025-01-13 21:10:54,953 - DEBUG - Requesting: http://10.0.0.17:8082/project/4a70ac94-31ee-4837-8803-166a890eded9 2025-01-13 21:10:55,031 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/fe0c3482-c4d1-401e-8fbe-8ec5914a123e 2025-01-13 21:10:55,042 - DEBUG - ==>Verifying data for policy with id: 63599209-729a-4af0-9fa0-40a5196d9678, fqn: ['default-domain', 'ctest-TestBasicPolicy-30653184', 'ctest-policy-allow-all-99246370'] 2025-01-13 21:10:55,042 - INFO - VN ctest-vn-33224283 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 21:10:55,042 - DEBUG - Verifying the vn in opserver 2025-01-13 21:10:55,042 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-33224283 virtual network link through opserver 10.0.0.17 2025-01-13 21:10:55,042 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-13 21:10:55,345 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-13 21:10:55,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-33224283', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-33224283?flat'} 2025-01-13 21:10:55,404 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-33224283 is found in opserver 2025-01-13 21:10:55,416 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 21:10:55,421 - DEBUG - VRF ids for VN ctest-vn-33224283: {} 2025-01-13 21:10:55,421 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-13 21:10:55,429 - DEBUG - Requesting: http://10.0.0.17:8082/domain/f5a12c2d-d6e7-45cb-9393-9521bd138ed2 2025-01-13 21:10:55,446 - DEBUG - Requesting: http://10.0.0.17:8082/project/4a70ac94-31ee-4837-8803-166a890eded9 2025-01-13 21:10:55,522 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/06152e91-714f-491b-bcb5-3c8565d942eb 2025-01-13 21:10:55,543 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/06152e91-714f-491b-bcb5-3c8565d942eb 2025-01-13 21:10:55,553 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc5a8ee1-11b3-419b-ba91-b59b76a3bc10 2025-01-13 21:10:55,561 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc5a8ee1-11b3-419b-ba91-b59b76a3bc10 2025-01-13 21:10:55,568 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/26610606-eda1-4d10-a0da-cb153b038cb6 2025-01-13 21:10:55,575 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 21:10:55,575 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/06152e91-714f-491b-bcb5-3c8565d942eb 2025-01-13 21:10:55,585 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc5a8ee1-11b3-419b-ba91-b59b76a3bc10 2025-01-13 21:10:55,602 - INFO - Verified VN network id 9 for VN 06152e91-714f-491b-bcb5-3c8565d942eb 2025-01-13 21:10:55,602 - INFO - Verifications in API Server for VN ctest-vn-15421773 passed 2025-01-13 21:10:55,603 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/06152e91-714f-491b-bcb5-3c8565d942eb 2025-01-13 21:10:55,615 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc5a8ee1-11b3-419b-ba91-b59b76a3bc10 2025-01-13 21:10:55,624 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc5a8ee1-11b3-419b-ba91-b59b76a3bc10 2025-01-13 21:10:55,633 - DEBUG - Requesting: http://10.0.0.17:8082/route-target/26610606-eda1-4d10-a0da-cb153b038cb6 2025-01-13 21:10:55,646 - DEBUG - Control-node 10.0.0.17 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-15421773', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30653184', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '438307740944648475', 'uuid-lslong': '13597841193552134891'}, 'enable': 'true', 'created': '2025-01-13T21:10:53', 'last-modified': '2025-01-13T21:10:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.461673'} 2025-01-13 21:10:55,654 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-13 21:10:55,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15421773 passed 2025-01-13 21:10:55,654 - DEBUG - ====Verifying policy data for ctest-vn-15421773 in API_Server ====== 2025-01-13 21:10:55,654 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-13 21:10:55,660 - DEBUG - Requesting: http://10.0.0.17:8082/domain/f5a12c2d-d6e7-45cb-9393-9521bd138ed2 2025-01-13 21:10:55,672 - DEBUG - Requesting: http://10.0.0.17:8082/project/4a70ac94-31ee-4837-8803-166a890eded9 2025-01-13 21:10:55,749 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-network/06152e91-714f-491b-bcb5-3c8565d942eb 2025-01-13 21:10:55,761 - DEBUG - ==>Verifying data for policy with id: 63599209-729a-4af0-9fa0-40a5196d9678, fqn: ['default-domain', 'ctest-TestBasicPolicy-30653184', 'ctest-policy-allow-all-99246370'] 2025-01-13 21:10:55,761 - INFO - VN ctest-vn-15421773 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-13 21:10:55,761 - DEBUG - Verifying the vn in opserver 2025-01-13 21:10:55,761 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-15421773 virtual network link through opserver 10.0.0.17 2025-01-13 21:10:55,761 - DEBUG - Requesting: http://10.0.0.17:8081/analytics/uves/virtual-networks 2025-01-13 21:10:55,774 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-15421773', 'href': 'http://10.0.0.17:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-15421773?flat'} 2025-01-13 21:10:55,774 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-15421773 is found in opserver 2025-01-13 21:10:55,787 - DEBUG - Do not have enough data to verify VN in agent 2025-01-13 21:10:55,792 - DEBUG - VRF ids for VN ctest-vn-15421773: {} 2025-01-13 21:10:55,856 - DEBUG - Services list from nova: [, , ] 2025-01-13 21:10:56,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2618-1) 2025-01-13 21:10:58,174 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2618-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2618-1) 2025-01-13 21:10:58,175 - INFO - Waiting for VM ctest-TestBasicPolicy-30653184-86786962 to be up.. 2025-01-13 21:10:58,281 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-13 21:11:03,364 - DEBUG - VM is in ACTIVE state now 2025-01-13 21:11:03,364 - INFO - VM name : ctest-TestBasicPolicy-30653184-86786962 2025-01-13 21:11:03,440 - DEBUG - VM ctest-TestBasicPolicy-30653184-86786962 ID is f8b767ea-f83c-4feb-8316-abfa64c84ce1 2025-01-13 21:11:03,461 - DEBUG - VM ctest-TestBasicPolicy-30653184-86786962 launched on Node cn-jenkins-deploy-platform-ansible-os-2618-1 2025-01-13 21:11:03,540 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/f8b767ea-f83c-4feb-8316-abfa64c84ce1 2025-01-13 21:11:03,550 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/9e060702-b82c-4b9a-8e84-7cc8bca06917 2025-01-13 21:11:06,827 - 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 1019ms') 2025-01-13 21:11:06,827 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30653184-86786962 failed! 2025-01-13 21:11:06,884 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30653184:ctest-vn-33224283 is 168.236.114.193 and allocation pool is NOT set 2025-01-13 21:11:08,944 - 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=7.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.576 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.576/4.093/7.610/3.517 ms') 2025-01-13 21:11:08,944 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30653184-86786962 passed 2025-01-13 21:11:09,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 21:11:09,113 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30653184-86786962, IP 168.236.114.195, Port 22 2025-01-13 21:11:09,279 - DEBUG - VM ctest-TestBasicPolicy-30653184-86786962 is ready for SSH connections 2025-01-13 21:11:09,280 - INFO - Waiting for VM ctest-TestBasicPolicy-30653184-80416247 to be up.. 2025-01-13 21:11:09,369 - DEBUG - VM is in ACTIVE state now 2025-01-13 21:11:09,369 - INFO - VM name : ctest-TestBasicPolicy-30653184-80416247 2025-01-13 21:11:09,459 - DEBUG - VM ctest-TestBasicPolicy-30653184-80416247 ID is c660aa40-6398-4c63-aaa3-469aacff9a5e 2025-01-13 21:11:09,459 - DEBUG - VM ctest-TestBasicPolicy-30653184-80416247 launched on Node cn-jenkins-deploy-platform-ansible-os-2618-1 2025-01-13 21:11:09,541 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine/c660aa40-6398-4c63-aaa3-469aacff9a5e 2025-01-13 21:11:09,553 - DEBUG - Requesting: http://10.0.0.17:8082/virtual-machine-interface/1b7c1199-b712-4516-b46f-27e241c85948 2025-01-13 21:11:10,801 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.997 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 = 0.997/2.314/3.631/1.317 ms') 2025-01-13 21:11:10,801 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30653184-80416247 passed 2025-01-13 21:11:10,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 21:11:10,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30653184-80416247, IP 194.162.13.131, Port 22 2025-01-13 21:11:11,108 - DEBUG - VM ctest-TestBasicPolicy-30653184-80416247 is ready for SSH connections 2025-01-13 21:11:11,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 21:11:11,108 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.162.13.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-13 21:11:11,108 - DEBUG - ping -s 56 -c 3 -W 1 194.162.13.131 2025-01-13 21:11:14,827 - DEBUG - PING 194.162.13.131 (194.162.13.131): 56 data bytes 64 bytes from 194.162.13.131: seq=0 ttl=63 time=3.651 ms 64 bytes from 194.162.13.131: seq=1 ttl=63 time=0.953 ms 64 bytes from 194.162.13.131: seq=2 ttl=63 time=0.760 ms --- 194.162.13.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.788/3.651 ms 2025-01-13 21:11:14,827 - INFO - Ping to IP 194.162.13.131 from VM ctest-TestBasicPolicy-30653184-86786962 passed 2025-01-13 21:11:15,012 - DEBUG - Policy Update Response {"network-policy": {"uuid": "63599209-729a-4af0-9fa0-40a5196d9678", "href": "http://10.0.0.17:8082/network-policy/63599209-729a-4af0-9fa0-40a5196d9678"}} 2025-01-13 21:11:15,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-13 21:11:15,013 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.162.13.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.17, gateway password: c0ntrail123 2025-01-13 21:11:15,013 - DEBUG - ping -s 56 -c 3 -W 1 194.162.13.131 2025-01-13 21:11:18,220 - DEBUG - PING 194.162.13.131 (194.162.13.131): 56 data bytes 64 bytes from 194.162.13.131: seq=0 ttl=63 time=1.501 ms --- 194.162.13.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.501/1.501/1.501 ms 2025-01-13 21:11:18,221 - WARNING - Ping to IP 194.162.13.131 from VM ctest-TestBasicPolicy-30653184-86786962 failed 2025-01-13 21:11:18,221 - INFO - Deleting VM ctest-TestBasicPolicy-30653184-80416247 2025-01-13 21:11:18,286 - INFO - Deleting VM ctest-TestBasicPolicy-30653184-86786962 2025-01-13 21:11:18,730 - INFO - Deleted policy ctest-policy-allow-all-99246370 2025-01-13 21:11:18,730 - INFO - Deleting VN ctest-vn-15421773 2025-01-13 21:11:18,777 - DEBUG - VN 06152e91-714f-491b-bcb5-3c8565d942eb still in use: Unable to complete operation on network 06152e91-714f-491b-bcb5-3c8565d942eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f6ba505-94ec-4622-9cce-09a5ac81cd74'] 2025-01-13 21:11:18,777 - WARNING - Deleting VN ctest-vn-15421773 failed..Will retry 2025-01-13 21:11:20,893 - DEBUG - Response for deleting network () 2025-01-13 21:11:20,893 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/fc5a8ee1-11b3-419b-ba91-b59b76a3bc10 2025-01-13 21:11:20,900 - DEBUG - Response Code: 404 2025-01-13 21:11:20,900 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-13 21:11:20,907 - DEBUG - Requesting: http://10.0.0.17:8082/domain/f5a12c2d-d6e7-45cb-9393-9521bd138ed2 2025-01-13 21:11:20,963 - DEBUG - Requesting: http://10.0.0.17:8082/project/4a70ac94-31ee-4837-8803-166a890eded9 2025-01-13 21:11:21,035 - INFO - Validated that VN ctest-vn-15421773 is not found in API Server 2025-01-13 21:11:21,049 - DEBUG - VN ctest-vn-15421773 is not present in Agent 10.0.0.17 2025-01-13 21:11:21,049 - INFO - Validated that VN ctest-vn-15421773 is not in any agent 2025-01-13 21:11:21,067 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15421773 info 2025-01-13 21:11:21,067 - INFO - Deleting VN ctest-vn-33224283 2025-01-13 21:11:21,178 - DEBUG - Response for deleting network () 2025-01-13 21:11:21,179 - DEBUG - Requesting: http://10.0.0.17:8082/routing-instance/4707c213-f75e-4606-b4fa-184cb369a096 2025-01-13 21:11:21,185 - DEBUG - Response Code: 404 2025-01-13 21:11:21,185 - DEBUG - Requesting: http://10.0.0.17:8082/domains 2025-01-13 21:11:21,191 - DEBUG - Requesting: http://10.0.0.17:8082/domain/f5a12c2d-d6e7-45cb-9393-9521bd138ed2 2025-01-13 21:11:21,247 - DEBUG - Requesting: http://10.0.0.17:8082/project/4a70ac94-31ee-4837-8803-166a890eded9 2025-01-13 21:11:21,321 - INFO - Validated that VN ctest-vn-33224283 is not found in API Server 2025-01-13 21:11:21,334 - DEBUG - VN ctest-vn-33224283 is not present in Agent 10.0.0.17 2025-01-13 21:11:21,334 - INFO - Validated that VN ctest-vn-33224283 is not in any agent 2025-01-13 21:11:21,353 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33224283 info 2025-01-13 21:11:21,618 - DEBUG - No XMPP flaps were noticed during the test 2025-01-13 21:11:21,618 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-01-13 21:11:21,618 - INFO - -------------------------------------------------------------------------------- 2025-01-13 21:11:22,321 - INFO - Deleted project: ctest-TestBasicPolicy-30653184, ID : 4a70ac94-31ee-4837-8803-166a890eded9