2026-02-12 12:24:40,622 - INFO - Domain Default found not creating
2026-02-12 12:24:40,862 - INFO - Project ctest-TestBasicPolicy-15136990 not found, creating it
2026-02-12 12:24:41,413 - INFO - Created Project:ctest-TestBasicPolicy-15136990, ID : 1376343b-3fce-452d-814d-758dd54a8b7f
2026-02-12 12:24:43,209 - INFO - ================================================================================
2026-02-12 12:24:43,209 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-12 12:24:43,209 - 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-02-12 12:24:43,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.17': '0'}} with
2026-02-12 12:24:43,494 - INFO - Initial checks done. Running the testcase now
2026-02-12 12:24:43,494 - INFO -
2026-02-12 12:24:44,305 - DEBUG - Response for create_network : {'network': {'id': '93e21847-053e-47f9-a993-d0de880d86ad', 'name': 'ctest-vn-79177059', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'project_id': '1376343b3fce452d814d758dd54a8b7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-vn-79177059'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 12:24:44,542 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1708258-e386-40be-8c41-ab122c6681f1', 'name': '', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'network_id': '93e21847-053e-47f9-a993-d0de880d86ad', 'ip_version': 4, 'cidr': '36.102.159.0/26', 'allocation_pools': [{'start': '36.102.159.2', 'end': '36.102.159.62'}], 'gateway_ip': '36.102.159.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.102.159.2', 'tags': [], 'project_id': '1376343b3fce452d814d758dd54a8b7f'}}
2026-02-12 12:24:44,570 - INFO - Created VN ctest-vn-79177059
2026-02-12 12:24:44,625 - DEBUG - VN ctest-vn-79177059 UUID is 93e21847-053e-47f9-a993-d0de880d86ad
2026-02-12 12:24:44,994 - DEBUG - Response for create_network : {'network': {'id': '3d4f1b7e-c26b-4f40-b68a-fcaf9696551a', 'name': 'ctest-vn-96747026', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'project_id': '1376343b3fce452d814d758dd54a8b7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-vn-96747026'], 'port_security_enabled': True, 'description': ''}}
2026-02-12 12:24:45,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6fa0b7b-5aac-4451-b3b5-f9bed98df76c', 'name': '', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'network_id': '3d4f1b7e-c26b-4f40-b68a-fcaf9696551a', 'ip_version': 4, 'cidr': '17.218.158.128/26', 'allocation_pools': [{'start': '17.218.158.130', 'end': '17.218.158.190'}], 'gateway_ip': '17.218.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.218.158.130', 'tags': [], 'project_id': '1376343b3fce452d814d758dd54a8b7f'}}
2026-02-12 12:24:45,212 - INFO - Created VN ctest-vn-96747026
2026-02-12 12:24:45,269 - DEBUG - VN ctest-vn-96747026 UUID is 3d4f1b7e-c26b-4f40-b68a-fcaf9696551a
2026-02-12 12:24:45,426 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059, 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-15136990:ctest-vn-96747026, 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-02-12 12:24:45,774 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93e21847-053e-47f9-a993-d0de880d86ad', 'name': 'ctest-vn-79177059', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'project_id': '1376343b3fce452d814d758dd54a8b7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1708258-e386-40be-8c41-ab122c6681f1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-vn-79177059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-policy-allow-all-44424362']], 'subnet_ipam': [{'subnet_cidr': '36.102.159.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 12:24:46,043 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d4f1b7e-c26b-4f40-b68a-fcaf9696551a', 'name': 'ctest-vn-96747026', 'tenant_id': '1376343b3fce452d814d758dd54a8b7f', 'project_id': '1376343b3fce452d814d758dd54a8b7f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6fa0b7b-5aac-4451-b3b5-f9bed98df76c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-vn-96747026'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-policy-allow-all-44424362']], 'subnet_ipam': [{'subnet_cidr': '17.218.158.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-12 12:24:46,201 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-12 12:24:46,517 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-12 12:24:46,562 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0
2026-02-12 12:24:46,581 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f
2026-02-12 12:24:46,665 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad
2026-02-12 12:24:46,678 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad
2026-02-12 12:24:46,690 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5
2026-02-12 12:24:46,699 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5
2026-02-12 12:24:46,710 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/5bad7375-8ad3-4ba7-9bca-16891e8b4783
2026-02-12 12:24:46,719 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 12:24:46,719 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad
2026-02-12 12:24:46,733 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5
2026-02-12 12:24:46,756 - INFO - Verified VN network id 11 for VN 93e21847-053e-47f9-a993-d0de880d86ad
2026-02-12 12:24:46,756 - INFO - Verifications in API Server for VN ctest-vn-79177059 passed
2026-02-12 12:24:46,756 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad
2026-02-12 12:24:46,771 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5
2026-02-12 12:24:46,782 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/dacb6412-0e7b-45fe-885f-1e2d705963b5
2026-02-12 12:24:46,792 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/5bad7375-8ad3-4ba7-9bca-16891e8b4783
2026-02-12 12:24:46,808 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15136990', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10656106361621727225', 'uuid-lslong': '12219339868170192557'}, 'enable': 'true', 'created': '2026-02-12T12:24:44', 'last-modified': '2026-02-12T12:24:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.060986'}
2026-02-12 12:24:46,815 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-12 12:24:46,815 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79177059 passed
2026-02-12 12:24:46,816 - DEBUG - ====Verifying policy data for ctest-vn-79177059 in API_Server ======
2026-02-12 12:24:46,816 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-12 12:24:46,823 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0
2026-02-12 12:24:46,838 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f
2026-02-12 12:24:46,919 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/93e21847-053e-47f9-a993-d0de880d86ad
2026-02-12 12:24:46,932 - DEBUG - ==>Verifying data for policy with id: 2cc74e40-5e97-4e69-849d-cf548b0408ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-policy-allow-all-44424362']
2026-02-12 12:24:46,932 - INFO - VN ctest-vn-79177059 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 12:24:46,932 - DEBUG - Verifying the vn in opserver
2026-02-12 12:24:46,932 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059 virtual network link through opserver 10.0.0.73
2026-02-12 12:24:46,932 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-02-12 12:24:47,246 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-02-12 12:24:47,353 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059?flat'}
2026-02-12 12:24:47,353 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-79177059 is found in opserver
2026-02-12 12:24:47,367 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 12:24:47,374 - DEBUG - VRF ids for VN ctest-vn-79177059: {}
2026-02-12 12:24:47,374 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-12 12:24:47,382 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0
2026-02-12 12:24:47,403 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f
2026-02-12 12:24:47,482 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a
2026-02-12 12:24:47,499 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a
2026-02-12 12:24:47,513 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd
2026-02-12 12:24:47,522 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd
2026-02-12 12:24:47,531 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/12fbf7a9-8724-4003-8e49-3daf7990ce70
2026-02-12 12:24:47,541 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 12:24:47,541 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a
2026-02-12 12:24:47,553 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd
2026-02-12 12:24:47,572 - INFO - Verified VN network id 12 for VN 3d4f1b7e-c26b-4f40-b68a-fcaf9696551a
2026-02-12 12:24:47,573 - INFO - Verifications in API Server for VN ctest-vn-96747026 passed
2026-02-12 12:24:47,573 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a
2026-02-12 12:24:47,584 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd
2026-02-12 12:24:47,593 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/a003226e-4e86-46ed-8c12-3694bd3816bd
2026-02-12 12:24:47,604 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/12fbf7a9-8724-4003-8e49-3daf7990ce70
2026-02-12 12:24:47,619 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15136990', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4417779990715387712', 'uuid-lslong': '13153603492764865818'}, 'enable': 'true', 'created': '2026-02-12T12:24:44', 'last-modified': '2026-02-12T12:24:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.601785'}
2026-02-12 12:24:47,626 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-12 12:24:47,626 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96747026 passed
2026-02-12 12:24:47,626 - DEBUG - ====Verifying policy data for ctest-vn-96747026 in API_Server ======
2026-02-12 12:24:47,626 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-12 12:24:47,635 - DEBUG - Requesting: http://10.0.0.73:8082/domain/e154da90-033d-463e-adeb-1c933a0ec6d0
2026-02-12 12:24:47,651 - DEBUG - Requesting: http://10.0.0.73:8082/project/1376343b-3fce-452d-814d-758dd54a8b7f
2026-02-12 12:24:47,728 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/3d4f1b7e-c26b-4f40-b68a-fcaf9696551a
2026-02-12 12:24:47,740 - DEBUG - ==>Verifying data for policy with id: 2cc74e40-5e97-4e69-849d-cf548b0408ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-15136990', 'ctest-policy-allow-all-44424362']
2026-02-12 12:24:47,740 - INFO - VN ctest-vn-96747026 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-12 12:24:47,740 - DEBUG - Verifying the vn in opserver
2026-02-12 12:24:47,740 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026 virtual network link through opserver 10.0.0.73
2026-02-12 12:24:47,740 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-02-12 12:24:47,753 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026?flat'}
2026-02-12 12:24:47,753 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15136990:ctest-vn-96747026 is found in opserver
2026-02-12 12:24:47,765 - DEBUG - Do not have enough data to verify VN in agent
2026-02-12 12:24:47,771 - DEBUG - VRF ids for VN ctest-vn-96747026: {}
2026-02-12 12:24:47,852 - DEBUG - Services list from nova: [