2026-02-05 10:30:04,191 - INFO - Domain Default found not creating
2026-02-05 10:30:04,377 - INFO - Project ctest-TestBasicPolicy-61698520 not found, creating it
2026-02-05 10:30:04,830 - INFO - Created Project:ctest-TestBasicPolicy-61698520, ID : 29080f19-3d6c-4955-83b1-d4a08b0abfc1
2026-02-05 10:30:06,276 - INFO - ================================================================================
2026-02-05 10:30:06,276 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-05 10:30:06,276 - 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-05 10:30:06,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-02-05 10:30:06,532 - INFO - Initial checks done. Running the testcase now
2026-02-05 10:30:06,532 - INFO -
2026-02-05 10:30:07,087 - DEBUG - Response for create_network : {'network': {'id': '3a9ccf7c-0323-4a36-997a-45b4effafae5', 'name': 'ctest-vn-60703855', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'project_id': '29080f193d6c495583b1d4a08b0abfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-vn-60703855'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 10:30:07,293 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e9f51ea-6dd9-4844-8c5b-4b779098d905', 'name': '', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'network_id': '3a9ccf7c-0323-4a36-997a-45b4effafae5', 'ip_version': 4, 'cidr': '73.43.159.192/26', 'allocation_pools': [{'start': '73.43.159.194', 'end': '73.43.159.254'}], 'gateway_ip': '73.43.159.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.43.159.194', 'tags': [], 'project_id': '29080f193d6c495583b1d4a08b0abfc1'}}
2026-02-05 10:30:07,309 - INFO - Created VN ctest-vn-60703855
2026-02-05 10:30:07,363 - DEBUG - VN ctest-vn-60703855 UUID is 3a9ccf7c-0323-4a36-997a-45b4effafae5
2026-02-05 10:30:07,671 - DEBUG - Response for create_network : {'network': {'id': '7817f602-13a2-4e03-8fb9-224d1b413b21', 'name': 'ctest-vn-95311365', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'project_id': '29080f193d6c495583b1d4a08b0abfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-vn-95311365'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 10:30:07,835 - DEBUG - Response for create_subnet : {'subnet': {'id': '218737b5-01b4-4e54-be5b-3cd21ae4fd26', 'name': '', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'network_id': '7817f602-13a2-4e03-8fb9-224d1b413b21', 'ip_version': 4, 'cidr': '154.21.229.64/26', 'allocation_pools': [{'start': '154.21.229.66', 'end': '154.21.229.126'}], 'gateway_ip': '154.21.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.21.229.66', 'tags': [], 'project_id': '29080f193d6c495583b1d4a08b0abfc1'}}
2026-02-05 10:30:07,853 - INFO - Created VN ctest-vn-95311365
2026-02-05 10:30:07,907 - DEBUG - VN ctest-vn-95311365 UUID is 7817f602-13a2-4e03-8fb9-224d1b413b21
2026-02-05 10:30:08,023 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855, 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-61698520:ctest-vn-95311365, 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-05 10:30:08,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a9ccf7c-0323-4a36-997a-45b4effafae5', 'name': 'ctest-vn-60703855', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'project_id': '29080f193d6c495583b1d4a08b0abfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e9f51ea-6dd9-4844-8c5b-4b779098d905'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-vn-60703855'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-policy-allow-all-03718205']], 'subnet_ipam': [{'subnet_cidr': '73.43.159.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 10:30:08,527 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7817f602-13a2-4e03-8fb9-224d1b413b21', 'name': 'ctest-vn-95311365', 'tenant_id': '29080f193d6c495583b1d4a08b0abfc1', 'project_id': '29080f193d6c495583b1d4a08b0abfc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['218737b5-01b4-4e54-be5b-3cd21ae4fd26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-vn-95311365'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-policy-allow-all-03718205']], 'subnet_ipam': [{'subnet_cidr': '154.21.229.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 10:30:08,691 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-05 10:30:08,980 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-05 10:30:09,008 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1
2026-02-05 10:30:09,019 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1
2026-02-05 10:30:09,087 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5
2026-02-05 10:30:09,096 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5
2026-02-05 10:30:09,104 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04
2026-02-05 10:30:09,111 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04
2026-02-05 10:30:09,117 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0871de48-b328-4eae-980e-9d51a70f3361
2026-02-05 10:30:09,122 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 10:30:09,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5
2026-02-05 10:30:09,129 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04
2026-02-05 10:30:09,141 - INFO - Verified VN network id 12 for VN 3a9ccf7c-0323-4a36-997a-45b4effafae5
2026-02-05 10:30:09,141 - INFO - Verifications in API Server for VN ctest-vn-60703855 passed
2026-02-05 10:30:09,141 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5
2026-02-05 10:30:09,149 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04
2026-02-05 10:30:09,155 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c427d972-24e9-42f4-a1c6-673aa6304f04
2026-02-05 10:30:09,160 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0871de48-b328-4eae-980e-9d51a70f3361
2026-02-05 10:30:09,170 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61698520', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4223478682102221366', 'uuid-lslong': '11059228478384306917'}, 'enable': 'true', 'created': '2026-02-05T10:30:07', 'last-modified': '2026-02-05T10:30:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.890292'}
2026-02-05 10:30:09,176 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 10:30:09,176 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60703855 passed
2026-02-05 10:30:09,176 - DEBUG - ====Verifying policy data for ctest-vn-60703855 in API_Server ======
2026-02-05 10:30:09,176 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-05 10:30:09,181 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1
2026-02-05 10:30:09,191 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1
2026-02-05 10:30:09,260 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3a9ccf7c-0323-4a36-997a-45b4effafae5
2026-02-05 10:30:09,277 - DEBUG - ==>Verifying data for policy with id: 9cb6ad6a-f2fc-4b0f-b6c8-8119a6c0b0c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-policy-allow-all-03718205']
2026-02-05 10:30:09,277 - INFO - VN ctest-vn-60703855 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 10:30:09,277 - DEBUG - Verifying the vn in opserver
2026-02-05 10:30:09,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855 virtual network link through opserver 10.0.0.33
2026-02-05 10:30:09,277 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-05 10:30:09,570 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-05 10:30:09,628 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855?flat'}
2026-02-05 10:30:09,629 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-60703855 is found in opserver
2026-02-05 10:30:09,637 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 10:30:09,641 - DEBUG - VRF ids for VN ctest-vn-60703855: {}
2026-02-05 10:30:09,641 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-05 10:30:09,646 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1
2026-02-05 10:30:09,656 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1
2026-02-05 10:30:09,724 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21
2026-02-05 10:30:09,734 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21
2026-02-05 10:30:09,743 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097
2026-02-05 10:30:09,750 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097
2026-02-05 10:30:09,757 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a772894a-6a78-422e-86bb-f041f6234d75
2026-02-05 10:30:09,763 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 10:30:09,763 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21
2026-02-05 10:30:09,773 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097
2026-02-05 10:30:09,788 - INFO - Verified VN network id 13 for VN 7817f602-13a2-4e03-8fb9-224d1b413b21
2026-02-05 10:30:09,788 - INFO - Verifications in API Server for VN ctest-vn-95311365 passed
2026-02-05 10:30:09,788 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21
2026-02-05 10:30:09,796 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097
2026-02-05 10:30:09,803 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/0ab40630-6c72-49a2-a21e-cf5fe8966097
2026-02-05 10:30:09,809 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/a772894a-6a78-422e-86bb-f041f6234d75
2026-02-05 10:30:09,821 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61698520', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8653655697795468803', 'uuid-lslong': '10356346532680252193'}, 'enable': 'true', 'created': '2026-02-05T10:30:07', 'last-modified': '2026-02-05T10:30:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.317772'}
2026-02-05 10:30:09,826 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 10:30:09,826 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95311365 passed
2026-02-05 10:30:09,826 - DEBUG - ====Verifying policy data for ctest-vn-95311365 in API_Server ======
2026-02-05 10:30:09,826 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-02-05 10:30:09,832 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84a78138-762a-4f45-ab17-31d4ff645ab1
2026-02-05 10:30:09,842 - DEBUG - Requesting: http://10.0.0.33:8082/project/29080f19-3d6c-4955-83b1-d4a08b0abfc1
2026-02-05 10:30:09,913 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/7817f602-13a2-4e03-8fb9-224d1b413b21
2026-02-05 10:30:09,921 - DEBUG - ==>Verifying data for policy with id: 9cb6ad6a-f2fc-4b0f-b6c8-8119a6c0b0c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-61698520', 'ctest-policy-allow-all-03718205']
2026-02-05 10:30:09,922 - INFO - VN ctest-vn-95311365 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 10:30:09,922 - DEBUG - Verifying the vn in opserver
2026-02-05 10:30:09,922 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365 virtual network link through opserver 10.0.0.33
2026-02-05 10:30:09,922 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-02-05 10:30:09,931 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365?flat'}
2026-02-05 10:30:09,931 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61698520:ctest-vn-95311365 is found in opserver
2026-02-05 10:30:09,940 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 10:30:09,944 - DEBUG - VRF ids for VN ctest-vn-95311365: {}
2026-02-05 10:30:09,997 - DEBUG - Services list from nova: [