2026-02-05 02:07:07,832 - INFO - Domain Default found not creating
2026-02-05 02:07:08,010 - INFO - Project ctest-TestBasicPolicy-93744320 not found, creating it
2026-02-05 02:07:08,481 - INFO - Created Project:ctest-TestBasicPolicy-93744320, ID : 757bfd45-372e-47a6-9415-f530057e07b1
2026-02-05 02:07:09,962 - INFO - ================================================================================
2026-02-05 02:07:09,962 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-05 02:07:09,962 - 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 02:07:10,219 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2026-02-05 02:07:10,219 - INFO - Initial checks done. Running the testcase now
2026-02-05 02:07:10,219 - INFO -
2026-02-05 02:07:10,781 - DEBUG - Response for create_network : {'network': {'id': '4445ab9a-1621-4ebe-bee0-ba9137c1a88b', 'name': 'ctest-vn-71414955', 'tenant_id': '757bfd45372e47a69415f530057e07b1', 'project_id': '757bfd45372e47a69415f530057e07b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93744320', 'ctest-vn-71414955'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 02:07:10,974 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cfb49b8-f931-42a2-b28f-8fea9c5ddc74', 'name': '', 'tenant_id': '757bfd45372e47a69415f530057e07b1', 'network_id': '4445ab9a-1621-4ebe-bee0-ba9137c1a88b', 'ip_version': 4, 'cidr': '80.100.84.64/26', 'allocation_pools': [{'start': '80.100.84.66', 'end': '80.100.84.126'}], 'gateway_ip': '80.100.84.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.100.84.66', 'tags': [], 'project_id': '757bfd45372e47a69415f530057e07b1'}}
2026-02-05 02:07:10,990 - INFO - Created VN ctest-vn-71414955
2026-02-05 02:07:11,042 - DEBUG - VN ctest-vn-71414955 UUID is 4445ab9a-1621-4ebe-bee0-ba9137c1a88b
2026-02-05 02:07:11,366 - DEBUG - Response for create_network : {'network': {'id': '942027b8-5f23-4e7c-86f1-18920d6cbc06', 'name': 'ctest-vn-78779101', 'tenant_id': '757bfd45372e47a69415f530057e07b1', 'project_id': '757bfd45372e47a69415f530057e07b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93744320', 'ctest-vn-78779101'], 'port_security_enabled': True, 'description': ''}}
2026-02-05 02:07:11,512 - DEBUG - Response for create_subnet : {'subnet': {'id': '86a89954-418a-417e-add1-05e1bcfe98df', 'name': '', 'tenant_id': '757bfd45372e47a69415f530057e07b1', 'network_id': '942027b8-5f23-4e7c-86f1-18920d6cbc06', 'ip_version': 4, 'cidr': '78.40.14.64/26', 'allocation_pools': [{'start': '78.40.14.66', 'end': '78.40.14.126'}], 'gateway_ip': '78.40.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.40.14.66', 'tags': [], 'project_id': '757bfd45372e47a69415f530057e07b1'}}
2026-02-05 02:07:11,529 - INFO - Created VN ctest-vn-78779101
2026-02-05 02:07:11,582 - DEBUG - VN ctest-vn-78779101 UUID is 942027b8-5f23-4e7c-86f1-18920d6cbc06
2026-02-05 02:07:11,730 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-71414955, 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-93744320:ctest-vn-78779101, 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 02:07:12,019 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4445ab9a-1621-4ebe-bee0-ba9137c1a88b', 'name': 'ctest-vn-71414955', 'tenant_id': '757bfd45372e47a69415f530057e07b1', 'project_id': '757bfd45372e47a69415f530057e07b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1cfb49b8-f931-42a2-b28f-8fea9c5ddc74'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93744320', 'ctest-vn-71414955'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93744320', 'ctest-policy-allow-all-55790358']], 'subnet_ipam': [{'subnet_cidr': '80.100.84.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 02:07:12,263 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '942027b8-5f23-4e7c-86f1-18920d6cbc06', 'name': 'ctest-vn-78779101', 'tenant_id': '757bfd45372e47a69415f530057e07b1', 'project_id': '757bfd45372e47a69415f530057e07b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86a89954-418a-417e-add1-05e1bcfe98df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93744320', 'ctest-vn-78779101'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93744320', 'ctest-policy-allow-all-55790358']], 'subnet_ipam': [{'subnet_cidr': '78.40.14.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-05 02:07:12,426 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-05 02:07:12,729 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-05 02:07:12,763 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ae6883c1-449b-4b50-8248-b540c9036a3e
2026-02-05 02:07:12,775 - DEBUG - Requesting: http://10.0.0.141:8082/project/757bfd45-372e-47a6-9415-f530057e07b1
2026-02-05 02:07:12,849 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4445ab9a-1621-4ebe-bee0-ba9137c1a88b
2026-02-05 02:07:12,859 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4445ab9a-1621-4ebe-bee0-ba9137c1a88b
2026-02-05 02:07:12,867 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f26f928-e949-43ea-9c84-eb90b71b24db
2026-02-05 02:07:12,874 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f26f928-e949-43ea-9c84-eb90b71b24db
2026-02-05 02:07:12,881 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9b7ade21-ba75-44ac-910e-78b12678419d
2026-02-05 02:07:12,886 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 02:07:12,886 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4445ab9a-1621-4ebe-bee0-ba9137c1a88b
2026-02-05 02:07:12,894 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f26f928-e949-43ea-9c84-eb90b71b24db
2026-02-05 02:07:12,907 - INFO - Verified VN network id 11 for VN 4445ab9a-1621-4ebe-bee0-ba9137c1a88b
2026-02-05 02:07:12,907 - INFO - Verifications in API Server for VN ctest-vn-71414955 passed
2026-02-05 02:07:12,907 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4445ab9a-1621-4ebe-bee0-ba9137c1a88b
2026-02-05 02:07:12,916 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f26f928-e949-43ea-9c84-eb90b71b24db
2026-02-05 02:07:12,924 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f26f928-e949-43ea-9c84-eb90b71b24db
2026-02-05 02:07:12,931 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9b7ade21-ba75-44ac-910e-78b12678419d
2026-02-05 02:07:12,949 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-71414955', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93744320', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4919526846256729790', 'uuid-lslong': '13754198394857957515'}, 'enable': 'true', 'created': '2026-02-05T02:07:10', 'last-modified': '2026-02-05T02:07:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.957864'}
2026-02-05 02:07:12,955 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-05 02:07:12,955 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71414955 passed
2026-02-05 02:07:12,955 - DEBUG - ====Verifying policy data for ctest-vn-71414955 in API_Server ======
2026-02-05 02:07:12,955 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-05 02:07:12,960 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ae6883c1-449b-4b50-8248-b540c9036a3e
2026-02-05 02:07:12,971 - DEBUG - Requesting: http://10.0.0.141:8082/project/757bfd45-372e-47a6-9415-f530057e07b1
2026-02-05 02:07:13,051 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/4445ab9a-1621-4ebe-bee0-ba9137c1a88b
2026-02-05 02:07:13,061 - DEBUG - ==>Verifying data for policy with id: ec739f4b-f272-4f1b-b586-a15567a767e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-93744320', 'ctest-policy-allow-all-55790358']
2026-02-05 02:07:13,061 - INFO - VN ctest-vn-71414955 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 02:07:13,061 - DEBUG - Verifying the vn in opserver
2026-02-05 02:07:13,061 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-71414955 virtual network link through opserver 10.0.0.141
2026-02-05 02:07:13,061 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-05 02:07:13,351 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-05 02:07:13,410 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-71414955', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-71414955?flat'}
2026-02-05 02:07:13,410 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-71414955 is found in opserver
2026-02-05 02:07:13,418 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 02:07:13,422 - DEBUG - VRF ids for VN ctest-vn-71414955: {}
2026-02-05 02:07:13,422 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-05 02:07:13,427 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ae6883c1-449b-4b50-8248-b540c9036a3e
2026-02-05 02:07:13,436 - DEBUG - Requesting: http://10.0.0.141:8082/project/757bfd45-372e-47a6-9415-f530057e07b1
2026-02-05 02:07:13,503 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/942027b8-5f23-4e7c-86f1-18920d6cbc06
2026-02-05 02:07:13,514 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/942027b8-5f23-4e7c-86f1-18920d6cbc06
2026-02-05 02:07:13,522 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1b699ac-8e06-4c8f-88c3-7f0eb6767da2
2026-02-05 02:07:13,528 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1b699ac-8e06-4c8f-88c3-7f0eb6767da2
2026-02-05 02:07:13,534 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d3156943-f5ff-41db-902f-88cc0b013d52
2026-02-05 02:07:13,539 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 02:07:13,539 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/942027b8-5f23-4e7c-86f1-18920d6cbc06
2026-02-05 02:07:13,547 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1b699ac-8e06-4c8f-88c3-7f0eb6767da2
2026-02-05 02:07:13,558 - INFO - Verified VN network id 12 for VN 942027b8-5f23-4e7c-86f1-18920d6cbc06
2026-02-05 02:07:13,559 - INFO - Verifications in API Server for VN ctest-vn-78779101 passed
2026-02-05 02:07:13,559 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/942027b8-5f23-4e7c-86f1-18920d6cbc06
2026-02-05 02:07:13,567 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1b699ac-8e06-4c8f-88c3-7f0eb6767da2
2026-02-05 02:07:13,572 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d1b699ac-8e06-4c8f-88c3-7f0eb6767da2
2026-02-05 02:07:13,577 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/d3156943-f5ff-41db-902f-88cc0b013d52
2026-02-05 02:07:13,586 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-78779101', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93744320', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10673574789691690620', 'uuid-lslong': '9723580086039133190'}, 'enable': 'true', 'created': '2026-02-05T02:07:11', 'last-modified': '2026-02-05T02:07:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.354507'}
2026-02-05 02:07:13,592 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-05 02:07:13,592 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78779101 passed
2026-02-05 02:07:13,592 - DEBUG - ====Verifying policy data for ctest-vn-78779101 in API_Server ======
2026-02-05 02:07:13,592 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-05 02:07:13,596 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ae6883c1-449b-4b50-8248-b540c9036a3e
2026-02-05 02:07:13,607 - DEBUG - Requesting: http://10.0.0.141:8082/project/757bfd45-372e-47a6-9415-f530057e07b1
2026-02-05 02:07:13,681 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/942027b8-5f23-4e7c-86f1-18920d6cbc06
2026-02-05 02:07:13,689 - DEBUG - ==>Verifying data for policy with id: ec739f4b-f272-4f1b-b586-a15567a767e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-93744320', 'ctest-policy-allow-all-55790358']
2026-02-05 02:07:13,689 - INFO - VN ctest-vn-78779101 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-05 02:07:13,690 - DEBUG - Verifying the vn in opserver
2026-02-05 02:07:13,690 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-78779101 virtual network link through opserver 10.0.0.141
2026-02-05 02:07:13,690 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-05 02:07:13,699 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-78779101', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-78779101?flat'}
2026-02-05 02:07:13,699 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93744320:ctest-vn-78779101 is found in opserver
2026-02-05 02:07:13,708 - DEBUG - Do not have enough data to verify VN in agent
2026-02-05 02:07:13,713 - DEBUG - VRF ids for VN ctest-vn-78779101: {}
2026-02-05 02:07:13,768 - DEBUG - Services list from nova: [