2026-11-26 18:19:23,180 - INFO - Domain Default found not creating
2026-11-26 18:19:23,885 - INFO - Project ctest-TestBasicPolicy-54251922 not found, creating it
2026-11-26 18:19:25,143 - INFO - Created Project:ctest-TestBasicPolicy-54251922, ID : b5b0e9f6-d7f2-4147-be49-2d909dbac2ab
2026-11-26 18:19:29,467 - INFO - ================================================================================
2026-11-26 18:19:29,467 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-26 18:19:29,467 - 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-11-26 18:19:29,889 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-11-26 18:19:29,889 - INFO - Initial checks done. Running the testcase now
2026-11-26 18:19:29,889 - INFO -
2026-11-26 18:19:31,394 - DEBUG - Response for create_network : {'network': {'id': '2f2ccdeb-3c10-464c-a2b2-cd080483c971', 'name': 'ctest-vn-31454507', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-vn-31454507'], 'port_security_enabled': True, 'description': ''}}
2026-11-26 18:19:31,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '0300a4e3-2fde-4c2e-8c44-8a7719aea941', 'name': '', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'network_id': '2f2ccdeb-3c10-464c-a2b2-cd080483c971', 'ip_version': 4, 'cidr': '116.187.228.64/26', 'allocation_pools': [{'start': '116.187.228.66', 'end': '116.187.228.126'}], 'gateway_ip': '116.187.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.187.228.66', 'tags': [], 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab'}}
2026-11-26 18:19:31,993 - INFO - Created VN ctest-vn-31454507
2026-11-26 18:19:32,067 - DEBUG - VN ctest-vn-31454507 UUID is 2f2ccdeb-3c10-464c-a2b2-cd080483c971
2026-11-26 18:19:32,957 - DEBUG - Response for create_network : {'network': {'id': '2bb06bab-534e-4625-b835-d4eeb0a2401e', 'name': 'ctest-vn-76851211', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-vn-76851211'], 'port_security_enabled': True, 'description': ''}}
2026-11-26 18:19:33,455 - DEBUG - Response for create_subnet : {'subnet': {'id': '9148f2bf-c281-4105-92f9-d57d41a49b79', 'name': '', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'network_id': '2bb06bab-534e-4625-b835-d4eeb0a2401e', 'ip_version': 4, 'cidr': '75.67.170.64/26', 'allocation_pools': [{'start': '75.67.170.66', 'end': '75.67.170.126'}], 'gateway_ip': '75.67.170.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.67.170.66', 'tags': [], 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab'}}
2026-11-26 18:19:33,506 - INFO - Created VN ctest-vn-76851211
2026-11-26 18:19:33,605 - DEBUG - VN ctest-vn-76851211 UUID is 2bb06bab-534e-4625-b835-d4eeb0a2401e
2026-11-26 18:19:33,991 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507, 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-54251922:ctest-vn-76851211, 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-11-26 18:19:34,798 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f2ccdeb-3c10-464c-a2b2-cd080483c971', 'name': 'ctest-vn-31454507', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0300a4e3-2fde-4c2e-8c44-8a7719aea941'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-vn-31454507'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-policy-allow-all-63664439']], 'subnet_ipam': [{'subnet_cidr': '116.187.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-26 18:19:35,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bb06bab-534e-4625-b835-d4eeb0a2401e', 'name': 'ctest-vn-76851211', 'tenant_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'project_id': 'b5b0e9f6d7f24147be492d909dbac2ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9148f2bf-c281-4105-92f9-d57d41a49b79'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-vn-76851211'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-policy-allow-all-63664439']], 'subnet_ipam': [{'subnet_cidr': '75.67.170.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-26 18:19:35,814 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-26 18:19:36,353 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-26 18:19:36,455 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103
2026-11-26 18:19:36,525 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab
2026-11-26 18:19:36,667 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971
2026-11-26 18:19:36,697 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971
2026-11-26 18:19:36,745 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb
2026-11-26 18:19:36,768 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb
2026-11-26 18:19:36,817 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cc725032-fbc6-46be-b1dc-3dc39b7ab908
2026-11-26 18:19:36,838 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-26 18:19:36,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971
2026-11-26 18:19:36,862 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb
2026-11-26 18:19:36,922 - INFO - Verified VN network id 12 for VN 2f2ccdeb-3c10-464c-a2b2-cd080483c971
2026-11-26 18:19:36,922 - INFO - Verifications in API Server for VN ctest-vn-31454507 passed
2026-11-26 18:19:36,922 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971
2026-11-26 18:19:36,982 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb
2026-11-26 18:19:37,038 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da59ef87-161b-48ed-ac6f-c8b2c92742fb
2026-11-26 18:19:37,081 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/cc725032-fbc6-46be-b1dc-3dc39b7ab908
2026-11-26 18:19:37,112 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54251922', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3399318228966590028', 'uuid-lslong': '11723658214318000497'}, 'enable': 'true', 'created': '2026-11-26T18:19:31', 'last-modified': '2026-11-26T18:19:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.450037'}
2026-11-26 18:19:37,146 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-26 18:19:37,146 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31454507 passed
2026-11-26 18:19:37,147 - DEBUG - ====Verifying policy data for ctest-vn-31454507 in API_Server ======
2026-11-26 18:19:37,147 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-26 18:19:37,166 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103
2026-11-26 18:19:37,275 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab
2026-11-26 18:19:37,400 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2f2ccdeb-3c10-464c-a2b2-cd080483c971
2026-11-26 18:19:37,474 - DEBUG - ==>Verifying data for policy with id: 8e644879-24c0-48d8-9f80-84e66923022c, fqn: ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-policy-allow-all-63664439']
2026-11-26 18:19:37,475 - INFO - VN ctest-vn-31454507 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-26 18:19:37,475 - DEBUG - Verifying the vn in opserver
2026-11-26 18:19:37,476 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507 virtual network link through opserver 10.0.0.50
2026-11-26 18:19:37,476 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-26 18:19:38,125 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-26 18:19:38,446 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507?flat'}
2026-11-26 18:19:38,448 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-31454507 is found in opserver
2026-11-26 18:19:38,496 - DEBUG - Do not have enough data to verify VN in agent
2026-11-26 18:19:38,516 - DEBUG - VRF ids for VN ctest-vn-31454507: {}
2026-11-26 18:19:38,517 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-26 18:19:38,555 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103
2026-11-26 18:19:38,655 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab
2026-11-26 18:19:38,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e
2026-11-26 18:19:38,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e
2026-11-26 18:19:38,860 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329
2026-11-26 18:19:38,922 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329
2026-11-26 18:19:38,964 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dd4dd3a1-41eb-4271-bf39-836905d33a23
2026-11-26 18:19:38,986 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-26 18:19:38,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e
2026-11-26 18:19:39,020 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329
2026-11-26 18:19:39,165 - INFO - Verified VN network id 13 for VN 2bb06bab-534e-4625-b835-d4eeb0a2401e
2026-11-26 18:19:39,166 - INFO - Verifications in API Server for VN ctest-vn-76851211 passed
2026-11-26 18:19:39,167 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e
2026-11-26 18:19:39,194 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329
2026-11-26 18:19:39,247 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d2efd05a-95c8-47a6-bebe-b9a97024f329
2026-11-26 18:19:39,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/dd4dd3a1-41eb-4271-bf39-836905d33a23
2026-11-26 18:19:39,305 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54251922', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3148134523113195045', 'uuid-lslong': '13273749598375133214'}, 'enable': 'true', 'created': '2026-11-26T18:19:32', 'last-modified': '2026-11-26T18:19:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.014741'}
2026-11-26 18:19:39,357 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-26 18:19:39,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76851211 passed
2026-11-26 18:19:39,357 - DEBUG - ====Verifying policy data for ctest-vn-76851211 in API_Server ======
2026-11-26 18:19:39,357 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-26 18:19:39,383 - DEBUG - Requesting: http://10.0.0.50:8082/domain/eab900d8-577c-4f83-bb23-af8a7b8a0103
2026-11-26 18:19:39,404 - DEBUG - Requesting: http://10.0.0.50:8082/project/b5b0e9f6-d7f2-4147-be49-2d909dbac2ab
2026-11-26 18:19:39,601 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2bb06bab-534e-4625-b835-d4eeb0a2401e
2026-11-26 18:19:39,631 - DEBUG - ==>Verifying data for policy with id: 8e644879-24c0-48d8-9f80-84e66923022c, fqn: ['default-domain', 'ctest-TestBasicPolicy-54251922', 'ctest-policy-allow-all-63664439']
2026-11-26 18:19:39,632 - INFO - VN ctest-vn-76851211 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-26 18:19:39,632 - DEBUG - Verifying the vn in opserver
2026-11-26 18:19:39,632 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211 virtual network link through opserver 10.0.0.50
2026-11-26 18:19:39,632 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-26 18:19:39,671 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211?flat'}
2026-11-26 18:19:39,671 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54251922:ctest-vn-76851211 is found in opserver
2026-11-26 18:19:39,692 - DEBUG - Do not have enough data to verify VN in agent
2026-11-26 18:19:39,710 - DEBUG - VRF ids for VN ctest-vn-76851211: {}
2026-11-26 18:19:39,991 - DEBUG - Services list from nova: [