2026-01-29 22:29:00,418 - INFO - Domain Default found not creating
2026-01-29 22:29:00,612 - INFO - Project ctest-TestBasicPolicy-41281955 not found, creating it
2026-01-29 22:29:01,050 - INFO - Created Project:ctest-TestBasicPolicy-41281955, ID : c55d6eb9-c763-41bd-b31f-67dac47cd8a9
2026-01-29 22:29:02,594 - INFO - ================================================================================
2026-01-29 22:29:02,595 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 22:29:02,595 - 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-01-29 22:29:02,857 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-01-29 22:29:02,857 - INFO - Initial checks done. Running the testcase now
2026-01-29 22:29:02,857 - INFO -
2026-01-29 22:29:03,425 - DEBUG - Response for create_network : {'network': {'id': '841b810f-d739-4e9d-9cef-7a6ad76f4cd4', 'name': 'ctest-vn-90028420', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-vn-90028420'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 22:29:03,603 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e0c88f6-57b3-44cb-8fc4-42b3f9bce502', 'name': '', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'network_id': '841b810f-d739-4e9d-9cef-7a6ad76f4cd4', 'ip_version': 4, 'cidr': '87.107.18.192/26', 'allocation_pools': [{'start': '87.107.18.194', 'end': '87.107.18.254'}], 'gateway_ip': '87.107.18.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.107.18.194', 'tags': [], 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9'}}
2026-01-29 22:29:03,619 - INFO - Created VN ctest-vn-90028420
2026-01-29 22:29:03,675 - DEBUG - VN ctest-vn-90028420 UUID is 841b810f-d739-4e9d-9cef-7a6ad76f4cd4
2026-01-29 22:29:04,022 - DEBUG - Response for create_network : {'network': {'id': 'c61232a8-78d1-4638-a9a9-7a92f2c5c91d', 'name': 'ctest-vn-28223785', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-vn-28223785'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 22:29:04,210 - DEBUG - Response for create_subnet : {'subnet': {'id': '0345f98c-cdb3-4fae-b029-683e9dfca194', 'name': '', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'network_id': 'c61232a8-78d1-4638-a9a9-7a92f2c5c91d', 'ip_version': 4, 'cidr': '100.2.161.192/26', 'allocation_pools': [{'start': '100.2.161.194', 'end': '100.2.161.254'}], 'gateway_ip': '100.2.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.2.161.194', 'tags': [], 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9'}}
2026-01-29 22:29:04,226 - INFO - Created VN ctest-vn-28223785
2026-01-29 22:29:04,279 - DEBUG - VN ctest-vn-28223785 UUID is c61232a8-78d1-4638-a9a9-7a92f2c5c91d
2026-01-29 22:29:04,391 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420, 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-41281955:ctest-vn-28223785, 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-01-29 22:29:04,673 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '841b810f-d739-4e9d-9cef-7a6ad76f4cd4', 'name': 'ctest-vn-90028420', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e0c88f6-57b3-44cb-8fc4-42b3f9bce502'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-vn-90028420'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-policy-allow-all-09852162']], 'subnet_ipam': [{'subnet_cidr': '87.107.18.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 22:29:04,940 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c61232a8-78d1-4638-a9a9-7a92f2c5c91d', 'name': 'ctest-vn-28223785', 'tenant_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'project_id': 'c55d6eb9c76341bdb31f67dac47cd8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0345f98c-cdb3-4fae-b029-683e9dfca194'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-vn-28223785'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-policy-allow-all-09852162']], 'subnet_ipam': [{'subnet_cidr': '100.2.161.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 22:29:05,091 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 22:29:05,400 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 22:29:05,428 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14
2026-01-29 22:29:05,439 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9
2026-01-29 22:29:05,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4
2026-01-29 22:29:05,515 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4
2026-01-29 22:29:05,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff
2026-01-29 22:29:05,529 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff
2026-01-29 22:29:05,534 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d7ac0269-bf47-46e8-a1bd-c904e22ec829
2026-01-29 22:29:05,539 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 22:29:05,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4
2026-01-29 22:29:05,546 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff
2026-01-29 22:29:05,558 - INFO - Verified VN network id 11 for VN 841b810f-d739-4e9d-9cef-7a6ad76f4cd4
2026-01-29 22:29:05,558 - INFO - Verifications in API Server for VN ctest-vn-90028420 passed
2026-01-29 22:29:05,558 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4
2026-01-29 22:29:05,565 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff
2026-01-29 22:29:05,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/9dfef344-1e85-441a-a385-7619f7084eff
2026-01-29 22:29:05,576 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d7ac0269-bf47-46e8-a1bd-c904e22ec829
2026-01-29 22:29:05,585 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41281955', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9519344142413024925', 'uuid-lslong': '11308391788650122452'}, 'enable': 'true', 'created': '2026-01-29T22:29:03', 'last-modified': '2026-01-29T22:29:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.932796'}
2026-01-29 22:29:05,590 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 22:29:05,590 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90028420 passed
2026-01-29 22:29:05,591 - DEBUG - ====Verifying policy data for ctest-vn-90028420 in API_Server ======
2026-01-29 22:29:05,591 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 22:29:05,595 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14
2026-01-29 22:29:05,603 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9
2026-01-29 22:29:05,673 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/841b810f-d739-4e9d-9cef-7a6ad76f4cd4
2026-01-29 22:29:05,680 - DEBUG - ==>Verifying data for policy with id: d15f2fcf-63af-44c0-a4a4-66536c6d88d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-policy-allow-all-09852162']
2026-01-29 22:29:05,680 - INFO - VN ctest-vn-90028420 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 22:29:05,681 - DEBUG - Verifying the vn in opserver
2026-01-29 22:29:05,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420 virtual network link through opserver 10.0.0.38
2026-01-29 22:29:05,681 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-29 22:29:05,974 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-29 22:29:06,032 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420?flat'}
2026-01-29 22:29:06,033 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-90028420 is found in opserver
2026-01-29 22:29:06,041 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 22:29:06,045 - DEBUG - VRF ids for VN ctest-vn-90028420: {}
2026-01-29 22:29:06,045 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 22:29:06,050 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14
2026-01-29 22:29:06,059 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9
2026-01-29 22:29:06,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d
2026-01-29 22:29:06,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d
2026-01-29 22:29:06,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126
2026-01-29 22:29:06,152 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126
2026-01-29 22:29:06,158 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/adfe64be-6d5e-49af-8706-3ac25e7d8ad8
2026-01-29 22:29:06,163 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 22:29:06,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d
2026-01-29 22:29:06,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126
2026-01-29 22:29:06,182 - INFO - Verified VN network id 12 for VN c61232a8-78d1-4638-a9a9-7a92f2c5c91d
2026-01-29 22:29:06,182 - INFO - Verifications in API Server for VN ctest-vn-28223785 passed
2026-01-29 22:29:06,182 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d
2026-01-29 22:29:06,190 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126
2026-01-29 22:29:06,195 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ad54d8d4-7f4b-4f39-ba72-de9335394126
2026-01-29 22:29:06,200 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/adfe64be-6d5e-49af-8706-3ac25e7d8ad8
2026-01-29 22:29:06,209 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41281955', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14272525868253398584', 'uuid-lslong': '12225437435030784285'}, 'enable': 'true', 'created': '2026-01-29T22:29:03', 'last-modified': '2026-01-29T22:29:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.329875'}
2026-01-29 22:29:06,214 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 22:29:06,214 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28223785 passed
2026-01-29 22:29:06,214 - DEBUG - ====Verifying policy data for ctest-vn-28223785 in API_Server ======
2026-01-29 22:29:06,214 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 22:29:06,218 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b1895f56-948c-40a9-8589-157f6c8c1d14
2026-01-29 22:29:06,227 - DEBUG - Requesting: http://10.0.0.38:8082/project/c55d6eb9-c763-41bd-b31f-67dac47cd8a9
2026-01-29 22:29:06,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c61232a8-78d1-4638-a9a9-7a92f2c5c91d
2026-01-29 22:29:06,303 - DEBUG - ==>Verifying data for policy with id: d15f2fcf-63af-44c0-a4a4-66536c6d88d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41281955', 'ctest-policy-allow-all-09852162']
2026-01-29 22:29:06,303 - INFO - VN ctest-vn-28223785 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 22:29:06,303 - DEBUG - Verifying the vn in opserver
2026-01-29 22:29:06,303 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785 virtual network link through opserver 10.0.0.38
2026-01-29 22:29:06,303 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-29 22:29:06,312 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785?flat'}
2026-01-29 22:29:06,312 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41281955:ctest-vn-28223785 is found in opserver
2026-01-29 22:29:06,320 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 22:29:06,324 - DEBUG - VRF ids for VN ctest-vn-28223785: {}
2026-01-29 22:29:06,379 - DEBUG - Services list from nova: [