2026-06-19 17:29:00,281 - INFO - Domain Default found not creating
2026-06-19 17:29:00,424 - INFO - Project ctest-TestBasicPolicy-06837613 not found, creating it
2026-06-19 17:29:00,888 - INFO - Created Project:ctest-TestBasicPolicy-06837613, ID : 0768557a-c928-4b08-8fdc-0e2ec6ce9dd0
2026-06-19 17:29:02,562 - INFO - ================================================================================
2026-06-19 17:29:02,562 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-19 17:29:02,563 - 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
2026-06-19 17:29:02,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-06-19 17:29:02,821 - INFO - Initial checks done. Running the testcase now
2026-06-19 17:29:02,822 - INFO -
2026-06-19 17:29:03,425 - DEBUG - Response for create_network : {'network': {'id': '4978ace2-a070-445d-940d-ae72e313fac6', 'name': 'ctest-vn-11099634', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-vn-11099634'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 17:29:03,636 - DEBUG - Response for create_subnet : {'subnet': {'id': 'feddc35c-528f-4bae-a6a2-688762d791b7', 'name': '', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'network_id': '4978ace2-a070-445d-940d-ae72e313fac6', 'ip_version': 4, 'cidr': '15.108.74.128/26', 'allocation_pools': [{'start': '15.108.74.130', 'end': '15.108.74.190'}], 'gateway_ip': '15.108.74.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.108.74.130', 'tags': [], 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0'}}
2026-06-19 17:29:03,652 - INFO - Created VN ctest-vn-11099634
2026-06-19 17:29:03,704 - DEBUG - VN ctest-vn-11099634 UUID is 4978ace2-a070-445d-940d-ae72e313fac6
2026-06-19 17:29:04,023 - DEBUG - Response for create_network : {'network': {'id': 'd4ce01bb-07ba-4ebd-aab4-3b0768514177', 'name': 'ctest-vn-88831053', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-vn-88831053'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 17:29:04,240 - DEBUG - Response for create_subnet : {'subnet': {'id': '161bd6cd-cb90-430b-883e-1eeafcb16295', 'name': '', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'network_id': 'd4ce01bb-07ba-4ebd-aab4-3b0768514177', 'ip_version': 4, 'cidr': '93.113.13.128/26', 'allocation_pools': [{'start': '93.113.13.130', 'end': '93.113.13.190'}], 'gateway_ip': '93.113.13.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.113.13.130', 'tags': [], 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0'}}
2026-06-19 17:29:04,256 - INFO - Created VN ctest-vn-88831053
2026-06-19 17:29:04,307 - DEBUG - VN ctest-vn-88831053 UUID is d4ce01bb-07ba-4ebd-aab4-3b0768514177
2026-06-19 17:29:04,447 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634, 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-06837613:ctest-vn-88831053, 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]
2026-06-19 17:29:04,727 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4978ace2-a070-445d-940d-ae72e313fac6', 'name': 'ctest-vn-11099634', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['feddc35c-528f-4bae-a6a2-688762d791b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-vn-11099634'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-policy-allow-all-19009403']], 'subnet_ipam': [{'subnet_cidr': '15.108.74.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 17:29:04,948 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd4ce01bb-07ba-4ebd-aab4-3b0768514177', 'name': 'ctest-vn-88831053', 'tenant_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'project_id': '0768557ac9284b088fdc0e2ec6ce9dd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['161bd6cd-cb90-430b-883e-1eeafcb16295'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-vn-88831053'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-policy-allow-all-19009403']], 'subnet_ipam': [{'subnet_cidr': '93.113.13.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 17:29:05,108 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 17:29:05,470 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 17:29:05,499 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664
2026-06-19 17:29:05,510 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0
2026-06-19 17:29:05,586 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6
2026-06-19 17:29:05,598 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6
2026-06-19 17:29:05,606 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c
2026-06-19 17:29:05,612 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c
2026-06-19 17:29:05,620 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3ab0a0f8-19ff-4b9f-9601-aa8a9acca50f
2026-06-19 17:29:05,627 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 17:29:05,627 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6
2026-06-19 17:29:05,637 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c
2026-06-19 17:29:05,649 - INFO - Verified VN network id 11 for VN 4978ace2-a070-445d-940d-ae72e313fac6
2026-06-19 17:29:05,649 - INFO - Verifications in API Server for VN ctest-vn-11099634 passed
2026-06-19 17:29:05,649 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6
2026-06-19 17:29:05,657 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c
2026-06-19 17:29:05,663 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7bea190d-a262-4aa8-8379-ec3be50e5b1c
2026-06-19 17:29:05,669 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3ab0a0f8-19ff-4b9f-9601-aa8a9acca50f
2026-06-19 17:29:05,679 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06837613', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5294171451328316509', 'uuid-lslong': '10668374900769815238'}, 'enable': 'true', 'created': '2026-06-19T17:29:03', 'last-modified': '2026-06-19T17:29:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974273'}
2026-06-19 17:29:05,684 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 17:29:05,684 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11099634 passed
2026-06-19 17:29:05,685 - DEBUG - ====Verifying policy data for ctest-vn-11099634 in API_Server ======
2026-06-19 17:29:05,685 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 17:29:05,689 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664
2026-06-19 17:29:05,698 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0
2026-06-19 17:29:05,775 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4978ace2-a070-445d-940d-ae72e313fac6
2026-06-19 17:29:05,784 - DEBUG - ==>Verifying data for policy with id: 8363d496-3052-44ce-b226-b2370a97a63d, fqn: ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-policy-allow-all-19009403']
2026-06-19 17:29:05,784 - INFO - VN ctest-vn-11099634 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 17:29:05,784 - DEBUG - Verifying the vn in opserver
2026-06-19 17:29:05,784 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634 virtual network link through opserver 10.0.0.19
2026-06-19 17:29:05,784 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-19 17:29:06,147 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-19 17:29:06,195 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634?flat'}
2026-06-19 17:29:06,195 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-11099634 is found in opserver
2026-06-19 17:29:06,203 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 17:29:06,207 - DEBUG - VRF ids for VN ctest-vn-11099634: {}
2026-06-19 17:29:06,207 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 17:29:06,212 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664
2026-06-19 17:29:06,221 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0
2026-06-19 17:29:06,289 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177
2026-06-19 17:29:06,301 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177
2026-06-19 17:29:06,310 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571
2026-06-19 17:29:06,317 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571
2026-06-19 17:29:06,324 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/acb3d5dd-0e77-4bd6-8f14-fb0120a0e8eb
2026-06-19 17:29:06,330 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 17:29:06,330 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177
2026-06-19 17:29:06,339 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571
2026-06-19 17:29:06,353 - INFO - Verified VN network id 12 for VN d4ce01bb-07ba-4ebd-aab4-3b0768514177
2026-06-19 17:29:06,353 - INFO - Verifications in API Server for VN ctest-vn-88831053 passed
2026-06-19 17:29:06,353 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177
2026-06-19 17:29:06,362 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571
2026-06-19 17:29:06,367 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/ebb34671-fc6e-4f6e-8a75-6e77c801b571
2026-06-19 17:29:06,372 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/acb3d5dd-0e77-4bd6-8f14-fb0120a0e8eb
2026-06-19 17:29:06,382 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06837613', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15334195684043280061', 'uuid-lslong': '12300521385256632695'}, 'enable': 'true', 'created': '2026-06-19T17:29:03', 'last-modified': '2026-06-19T17:29:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455937'}
2026-06-19 17:29:06,387 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 17:29:06,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88831053 passed
2026-06-19 17:29:06,387 - DEBUG - ====Verifying policy data for ctest-vn-88831053 in API_Server ======
2026-06-19 17:29:06,387 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-06-19 17:29:06,392 - DEBUG - Requesting: http://10.0.0.19:8082/domain/d754428f-4522-465f-aea6-66cab492d664
2026-06-19 17:29:06,403 - DEBUG - Requesting: http://10.0.0.19:8082/project/0768557a-c928-4b08-8fdc-0e2ec6ce9dd0
2026-06-19 17:29:06,471 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d4ce01bb-07ba-4ebd-aab4-3b0768514177
2026-06-19 17:29:06,480 - DEBUG - ==>Verifying data for policy with id: 8363d496-3052-44ce-b226-b2370a97a63d, fqn: ['default-domain', 'ctest-TestBasicPolicy-06837613', 'ctest-policy-allow-all-19009403']
2026-06-19 17:29:06,480 - INFO - VN ctest-vn-88831053 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 17:29:06,480 - DEBUG - Verifying the vn in opserver
2026-06-19 17:29:06,480 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053 virtual network link through opserver 10.0.0.19
2026-06-19 17:29:06,480 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-06-19 17:29:06,488 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053?flat'}
2026-06-19 17:29:06,488 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06837613:ctest-vn-88831053 is found in opserver
2026-06-19 17:29:06,496 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 17:29:06,500 - DEBUG - VRF ids for VN ctest-vn-88831053: {}
2026-06-19 17:29:06,551 - DEBUG - Services list from nova: [