2025-02-11 14:22:14,146 - INFO - Domain Default found not creating 2025-02-11 14:22:14,303 - INFO - Project ctest-TestBasicPolicy-35086353 not found, creating it 2025-02-11 14:22:14,824 - INFO - Created Project:ctest-TestBasicPolicy-35086353, ID : 74dcff64-3673-46c5-af60-8822a474be61 2025-02-11 14:22:16,463 - INFO - ================================================================================ 2025-02-11 14:22:16,463 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-11 14:22:16,463 - 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-02-11 14:22:16,726 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.13': '0'}} with 2025-02-11 14:22:16,727 - INFO - Initial checks done. Running the testcase now 2025-02-11 14:22:16,727 - INFO - 2025-02-11 14:22:17,341 - DEBUG - Response for create_network : {'network': {'id': 'c17f3414-e2bc-486b-8157-7d90d73217d5', 'name': 'ctest-vn-92091040', 'tenant_id': '74dcff64367346c5af608822a474be61', 'project_id': '74dcff64367346c5af608822a474be61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35086353', 'ctest-vn-92091040'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 14:22:17,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a9b3687-48c5-4967-b291-8bac2f59245e', 'name': '', 'tenant_id': '74dcff64367346c5af608822a474be61', 'network_id': 'c17f3414-e2bc-486b-8157-7d90d73217d5', 'ip_version': 4, 'cidr': '120.178.30.0/26', 'allocation_pools': [{'start': '120.178.30.2', 'end': '120.178.30.62'}], 'gateway_ip': '120.178.30.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.178.30.2', 'tags': [], 'project_id': '74dcff64367346c5af608822a474be61'}} 2025-02-11 14:22:17,528 - INFO - Created VN ctest-vn-92091040 2025-02-11 14:22:17,583 - DEBUG - VN ctest-vn-92091040 UUID is c17f3414-e2bc-486b-8157-7d90d73217d5 2025-02-11 14:22:17,900 - DEBUG - Response for create_network : {'network': {'id': '6fc6eee8-c480-4ada-a9dc-342ac2973e98', 'name': 'ctest-vn-04650956', 'tenant_id': '74dcff64367346c5af608822a474be61', 'project_id': '74dcff64367346c5af608822a474be61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35086353', 'ctest-vn-04650956'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 14:22:18,090 - DEBUG - Response for create_subnet : {'subnet': {'id': '603e1e94-9154-44fe-8623-8966ce5e2584', 'name': '', 'tenant_id': '74dcff64367346c5af608822a474be61', 'network_id': '6fc6eee8-c480-4ada-a9dc-342ac2973e98', 'ip_version': 4, 'cidr': '165.187.57.192/26', 'allocation_pools': [{'start': '165.187.57.194', 'end': '165.187.57.254'}], 'gateway_ip': '165.187.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.187.57.194', 'tags': [], 'project_id': '74dcff64367346c5af608822a474be61'}} 2025-02-11 14:22:18,110 - INFO - Created VN ctest-vn-04650956 2025-02-11 14:22:18,163 - DEBUG - VN ctest-vn-04650956 UUID is 6fc6eee8-c480-4ada-a9dc-342ac2973e98 2025-02-11 14:22:18,287 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-92091040, 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-35086353:ctest-vn-04650956, 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-02-11 14:22:18,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c17f3414-e2bc-486b-8157-7d90d73217d5', 'name': 'ctest-vn-92091040', 'tenant_id': '74dcff64367346c5af608822a474be61', 'project_id': '74dcff64367346c5af608822a474be61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6a9b3687-48c5-4967-b291-8bac2f59245e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35086353', 'ctest-vn-92091040'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35086353', 'ctest-policy-allow-all-65904261']], 'subnet_ipam': [{'subnet_cidr': '120.178.30.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 14:22:18,863 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6fc6eee8-c480-4ada-a9dc-342ac2973e98', 'name': 'ctest-vn-04650956', 'tenant_id': '74dcff64367346c5af608822a474be61', 'project_id': '74dcff64367346c5af608822a474be61', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['603e1e94-9154-44fe-8623-8966ce5e2584'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35086353', 'ctest-vn-04650956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35086353', 'ctest-policy-allow-all-65904261']], 'subnet_ipam': [{'subnet_cidr': '165.187.57.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 14:22:19,040 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-02-11 14:22:19,378 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-02-11 14:22:19,408 - DEBUG - Requesting: http://10.0.0.22:8082/domain/68de0f8e-b9ab-4dfd-bba8-7b1fb86f12f1 2025-02-11 14:22:19,425 - DEBUG - Requesting: http://10.0.0.22:8082/project/74dcff64-3673-46c5-af60-8822a474be61 2025-02-11 14:22:19,503 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c17f3414-e2bc-486b-8157-7d90d73217d5 2025-02-11 14:22:19,518 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c17f3414-e2bc-486b-8157-7d90d73217d5 2025-02-11 14:22:19,529 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d4d0e2a6-1a38-4933-9dac-0bb52ad1223a 2025-02-11 14:22:19,539 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d4d0e2a6-1a38-4933-9dac-0bb52ad1223a 2025-02-11 14:22:19,548 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a12dec3c-eda7-44eb-9c1b-ebe86786cbe0 2025-02-11 14:22:19,556 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 14:22:19,556 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c17f3414-e2bc-486b-8157-7d90d73217d5 2025-02-11 14:22:19,566 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d4d0e2a6-1a38-4933-9dac-0bb52ad1223a 2025-02-11 14:22:19,583 - INFO - Verified VN network id 7 for VN c17f3414-e2bc-486b-8157-7d90d73217d5 2025-02-11 14:22:19,583 - INFO - Verifications in API Server for VN ctest-vn-92091040 passed 2025-02-11 14:22:19,583 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c17f3414-e2bc-486b-8157-7d90d73217d5 2025-02-11 14:22:19,594 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d4d0e2a6-1a38-4933-9dac-0bb52ad1223a 2025-02-11 14:22:19,602 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d4d0e2a6-1a38-4933-9dac-0bb52ad1223a 2025-02-11 14:22:19,610 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a12dec3c-eda7-44eb-9c1b-ebe86786cbe0 2025-02-11 14:22:19,625 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-92091040', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35086353', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13942920235670325355', 'uuid-lslong': '9320056014905677781'}, 'enable': 'true', 'created': '2025-02-11T14:22:17', 'last-modified': '2025-02-11T14:22:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.039650'} 2025-02-11 14:22:19,632 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 14:22:19,632 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92091040 passed 2025-02-11 14:22:19,633 - DEBUG - ====Verifying policy data for ctest-vn-92091040 in API_Server ====== 2025-02-11 14:22:19,633 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-02-11 14:22:19,640 - DEBUG - Requesting: http://10.0.0.22:8082/domain/68de0f8e-b9ab-4dfd-bba8-7b1fb86f12f1 2025-02-11 14:22:19,655 - DEBUG - Requesting: http://10.0.0.22:8082/project/74dcff64-3673-46c5-af60-8822a474be61 2025-02-11 14:22:19,731 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/c17f3414-e2bc-486b-8157-7d90d73217d5 2025-02-11 14:22:19,743 - DEBUG - ==>Verifying data for policy with id: 7aa00288-6827-44ae-a697-0477e4f41284, fqn: ['default-domain', 'ctest-TestBasicPolicy-35086353', 'ctest-policy-allow-all-65904261'] 2025-02-11 14:22:19,743 - INFO - VN ctest-vn-92091040 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 14:22:19,743 - DEBUG - Verifying the vn in opserver 2025-02-11 14:22:19,743 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-92091040 virtual network link through opserver 10.0.0.22 2025-02-11 14:22:19,743 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-02-11 14:22:20,080 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-02-11 14:22:20,143 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-92091040', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-92091040?flat'} 2025-02-11 14:22:20,143 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-92091040 is found in opserver 2025-02-11 14:22:20,156 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 14:22:20,162 - DEBUG - VRF ids for VN ctest-vn-92091040: {} 2025-02-11 14:22:20,162 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-02-11 14:22:20,169 - DEBUG - Requesting: http://10.0.0.22:8082/domain/68de0f8e-b9ab-4dfd-bba8-7b1fb86f12f1 2025-02-11 14:22:20,182 - DEBUG - Requesting: http://10.0.0.22:8082/project/74dcff64-3673-46c5-af60-8822a474be61 2025-02-11 14:22:20,261 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6fc6eee8-c480-4ada-a9dc-342ac2973e98 2025-02-11 14:22:20,276 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6fc6eee8-c480-4ada-a9dc-342ac2973e98 2025-02-11 14:22:20,288 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3fd23ef3-6bb6-4e1f-bb6a-cf8e7cf53548 2025-02-11 14:22:20,296 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3fd23ef3-6bb6-4e1f-bb6a-cf8e7cf53548 2025-02-11 14:22:20,305 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e73b0e62-4b27-4e54-8438-c15f5e00a72d 2025-02-11 14:22:20,312 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 14:22:20,312 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6fc6eee8-c480-4ada-a9dc-342ac2973e98 2025-02-11 14:22:20,323 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3fd23ef3-6bb6-4e1f-bb6a-cf8e7cf53548 2025-02-11 14:22:20,339 - INFO - Verified VN network id 8 for VN 6fc6eee8-c480-4ada-a9dc-342ac2973e98 2025-02-11 14:22:20,339 - INFO - Verifications in API Server for VN ctest-vn-04650956 passed 2025-02-11 14:22:20,339 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6fc6eee8-c480-4ada-a9dc-342ac2973e98 2025-02-11 14:22:20,350 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3fd23ef3-6bb6-4e1f-bb6a-cf8e7cf53548 2025-02-11 14:22:20,358 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3fd23ef3-6bb6-4e1f-bb6a-cf8e7cf53548 2025-02-11 14:22:20,365 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e73b0e62-4b27-4e54-8438-c15f5e00a72d 2025-02-11 14:22:20,379 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-04650956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35086353', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8054387667095276250', 'uuid-lslong': '12239715245544128152'}, 'enable': 'true', 'created': '2025-02-11T14:22:17', 'last-modified': '2025-02-11T14:22:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.542838'} 2025-02-11 14:22:20,386 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 14:22:20,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04650956 passed 2025-02-11 14:22:20,387 - DEBUG - ====Verifying policy data for ctest-vn-04650956 in API_Server ====== 2025-02-11 14:22:20,387 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-02-11 14:22:20,394 - DEBUG - Requesting: http://10.0.0.22:8082/domain/68de0f8e-b9ab-4dfd-bba8-7b1fb86f12f1 2025-02-11 14:22:20,412 - DEBUG - Requesting: http://10.0.0.22:8082/project/74dcff64-3673-46c5-af60-8822a474be61 2025-02-11 14:22:20,491 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6fc6eee8-c480-4ada-a9dc-342ac2973e98 2025-02-11 14:22:20,506 - DEBUG - ==>Verifying data for policy with id: 7aa00288-6827-44ae-a697-0477e4f41284, fqn: ['default-domain', 'ctest-TestBasicPolicy-35086353', 'ctest-policy-allow-all-65904261'] 2025-02-11 14:22:20,506 - INFO - VN ctest-vn-04650956 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 14:22:20,506 - DEBUG - Verifying the vn in opserver 2025-02-11 14:22:20,506 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-04650956 virtual network link through opserver 10.0.0.22 2025-02-11 14:22:20,506 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-02-11 14:22:20,519 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-04650956', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-04650956?flat'} 2025-02-11 14:22:20,519 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-04650956 is found in opserver 2025-02-11 14:22:20,531 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 14:22:20,537 - DEBUG - VRF ids for VN ctest-vn-04650956: {} 2025-02-11 14:22:20,613 - DEBUG - Services list from nova: [, , ] 2025-02-11 14:22:21,760 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2720-1) 2025-02-11 14:22:23,103 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2720-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2720-1) 2025-02-11 14:22:23,103 - INFO - Waiting for VM ctest-TestBasicPolicy-35086353-56304174 to be up.. 2025-02-11 14:22:23,199 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 14:22:28,288 - DEBUG - VM is in ACTIVE state now 2025-02-11 14:22:28,288 - INFO - VM name : ctest-TestBasicPolicy-35086353-56304174 2025-02-11 14:22:28,372 - DEBUG - VM ctest-TestBasicPolicy-35086353-56304174 ID is 6d4a9cb0-8320-4d0e-9858-e085a9ef356c 2025-02-11 14:22:28,392 - DEBUG - VM ctest-TestBasicPolicy-35086353-56304174 launched on Node cn-jenkins-deploy-platform-ansible-os-2720-1 2025-02-11 14:22:28,472 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6d4a9cb0-8320-4d0e-9858-e085a9ef356c 2025-02-11 14:22:28,482 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4d7363aa-565a-4b4d-8851-fc21c64daf37 2025-02-11 14:22:31,748 - 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 1018ms') 2025-02-11 14:22:31,749 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35086353-56304174 failed! 2025-02-11 14:22:31,807 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35086353:ctest-vn-92091040 is 120.178.30.1 and allocation pool is NOT set 2025-02-11 14:22:33,872 - 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.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.541 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.541/3.838/7.136/3.297 ms') 2025-02-11 14:22:33,872 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35086353-56304174 passed 2025-02-11 14:22:34,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 14:22:34,036 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35086353-56304174, IP 120.178.30.3, Port 22 2025-02-11 14:22:34,209 - DEBUG - VM ctest-TestBasicPolicy-35086353-56304174 is ready for SSH connections 2025-02-11 14:22:34,209 - INFO - Waiting for VM ctest-TestBasicPolicy-35086353-34737438 to be up.. 2025-02-11 14:22:34,313 - DEBUG - VM is in ACTIVE state now 2025-02-11 14:22:34,313 - INFO - VM name : ctest-TestBasicPolicy-35086353-34737438 2025-02-11 14:22:34,417 - DEBUG - VM ctest-TestBasicPolicy-35086353-34737438 ID is 27f544e0-16be-4375-ad1f-501c96a3bb3f 2025-02-11 14:22:34,417 - DEBUG - VM ctest-TestBasicPolicy-35086353-34737438 launched on Node cn-jenkins-deploy-platform-ansible-os-2720-1 2025-02-11 14:22:34,505 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/27f544e0-16be-4375-ad1f-501c96a3bb3f 2025-02-11 14:22:34,516 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/206b7c0b-7f2f-4cd9-af0e-218d3de48b51 2025-02-11 14:22:35,774 - 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=5.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.27 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 = 1.270/3.522/5.774/2.252 ms') 2025-02-11 14:22:35,774 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35086353-34737438 passed 2025-02-11 14:22:35,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 14:22:35,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35086353-34737438, IP 165.187.57.195, Port 22 2025-02-11 14:22:36,099 - DEBUG - VM ctest-TestBasicPolicy-35086353-34737438 is ready for SSH connections 2025-02-11 14:22:36,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 14:22:36,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.187.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-02-11 14:22:36,099 - DEBUG - ping -s 56 -c 3 -W 1 165.187.57.195 2025-02-11 14:22:40,195 - DEBUG - PING 165.187.57.195 (165.187.57.195): 56 data bytes 64 bytes from 165.187.57.195: seq=0 ttl=63 time=3.974 ms 64 bytes from 165.187.57.195: seq=1 ttl=63 time=0.952 ms 64 bytes from 165.187.57.195: seq=2 ttl=63 time=0.855 ms --- 165.187.57.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/1.927/3.974 ms 2025-02-11 14:22:40,195 - INFO - Ping to IP 165.187.57.195 from VM ctest-TestBasicPolicy-35086353-56304174 passed 2025-02-11 14:22:40,391 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7aa00288-6827-44ae-a697-0477e4f41284", "href": "http://10.0.0.22:8082/network-policy/7aa00288-6827-44ae-a697-0477e4f41284"}} 2025-02-11 14:22:40,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 14:22:40,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.187.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-02-11 14:22:40,392 - DEBUG - ping -s 56 -c 3 -W 1 165.187.57.195 2025-02-11 14:22:43,612 - DEBUG - PING 165.187.57.195 (165.187.57.195): 56 data bytes 64 bytes from 165.187.57.195: seq=0 ttl=63 time=1.502 ms --- 165.187.57.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.502/1.502/1.502 ms 2025-02-11 14:22:43,612 - WARNING - Ping to IP 165.187.57.195 from VM ctest-TestBasicPolicy-35086353-56304174 failed 2025-02-11 14:22:43,612 - INFO - Deleting VM ctest-TestBasicPolicy-35086353-34737438 2025-02-11 14:22:43,686 - INFO - Deleting VM ctest-TestBasicPolicy-35086353-56304174 2025-02-11 14:22:44,143 - INFO - Deleted policy ctest-policy-allow-all-65904261 2025-02-11 14:22:44,143 - INFO - Deleting VN ctest-vn-04650956 2025-02-11 14:22:44,188 - DEBUG - VN 6fc6eee8-c480-4ada-a9dc-342ac2973e98 still in use: Unable to complete operation on network 6fc6eee8-c480-4ada-a9dc-342ac2973e98. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4ca45a8-1bee-4b5b-9bb8-969c781192e3'] 2025-02-11 14:22:44,188 - WARNING - Deleting VN ctest-vn-04650956 failed..Will retry 2025-02-11 14:22:46,309 - DEBUG - Response for deleting network () 2025-02-11 14:22:46,309 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/3fd23ef3-6bb6-4e1f-bb6a-cf8e7cf53548 2025-02-11 14:22:46,316 - DEBUG - Response Code: 404 2025-02-11 14:22:46,316 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-02-11 14:22:46,328 - DEBUG - Requesting: http://10.0.0.22:8082/domain/68de0f8e-b9ab-4dfd-bba8-7b1fb86f12f1 2025-02-11 14:22:46,387 - DEBUG - Requesting: http://10.0.0.22:8082/project/74dcff64-3673-46c5-af60-8822a474be61 2025-02-11 14:22:46,461 - INFO - Validated that VN ctest-vn-04650956 is not found in API Server 2025-02-11 14:22:46,474 - DEBUG - VN ctest-vn-04650956 is not present in Agent 10.0.0.22 2025-02-11 14:22:46,474 - INFO - Validated that VN ctest-vn-04650956 is not in any agent 2025-02-11 14:22:46,491 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04650956 info 2025-02-11 14:22:46,491 - INFO - Deleting VN ctest-vn-92091040 2025-02-11 14:22:46,621 - DEBUG - Response for deleting network () 2025-02-11 14:22:46,621 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d4d0e2a6-1a38-4933-9dac-0bb52ad1223a 2025-02-11 14:22:46,629 - DEBUG - Response Code: 404 2025-02-11 14:22:46,630 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-02-11 14:22:46,638 - DEBUG - Requesting: http://10.0.0.22:8082/domain/68de0f8e-b9ab-4dfd-bba8-7b1fb86f12f1 2025-02-11 14:22:46,698 - DEBUG - Requesting: http://10.0.0.22:8082/project/74dcff64-3673-46c5-af60-8822a474be61 2025-02-11 14:22:46,772 - INFO - Validated that VN ctest-vn-92091040 is not found in API Server 2025-02-11 14:22:46,784 - DEBUG - VN ctest-vn-92091040 is not present in Agent 10.0.0.22 2025-02-11 14:22:46,784 - INFO - Validated that VN ctest-vn-92091040 is not in any agent 2025-02-11 14:22:46,801 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92091040 info 2025-02-11 14:22:47,058 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 14:22:47,058 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-02-11 14:22:47,058 - INFO - -------------------------------------------------------------------------------- 2025-02-11 14:22:47,791 - INFO - Deleted project: ctest-TestBasicPolicy-35086353, ID : 74dcff64-3673-46c5-af60-8822a474be61