2026-02-06 08:52:27,832 - INFO - Domain Default found not creating
2026-02-06 08:52:28,023 - INFO - Project ctest-TestBasicPolicy-60057671 not found, creating it
2026-02-06 08:52:28,475 - INFO - Created Project:ctest-TestBasicPolicy-60057671, ID : cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9
2026-02-06 08:52:29,922 - INFO - ================================================================================
2026-02-06 08:52:29,922 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-06 08:52:29,922 - 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-06 08:52:30,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-06 08:52:30,177 - INFO - Initial checks done. Running the testcase now
2026-02-06 08:52:30,177 - INFO -
2026-02-06 08:52:30,712 - DEBUG - Response for create_network : {'network': {'id': '78f3303d-24a2-436c-b837-1aceac55304c', 'name': 'ctest-vn-65684803', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-vn-65684803'], 'port_security_enabled': True, 'description': ''}}
2026-02-06 08:52:30,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '16cb11d0-2828-4fcd-80f1-3c8d97b238eb', 'name': '', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'network_id': '78f3303d-24a2-436c-b837-1aceac55304c', 'ip_version': 4, 'cidr': '172.251.3.192/26', 'allocation_pools': [{'start': '172.251.3.194', 'end': '172.251.3.254'}], 'gateway_ip': '172.251.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.251.3.194', 'tags': [], 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9'}}
2026-02-06 08:52:30,898 - INFO - Created VN ctest-vn-65684803
2026-02-06 08:52:30,952 - DEBUG - VN ctest-vn-65684803 UUID is 78f3303d-24a2-436c-b837-1aceac55304c
2026-02-06 08:52:31,274 - DEBUG - Response for create_network : {'network': {'id': '7c997624-1701-49a7-86e8-0bfd66a72f3c', 'name': 'ctest-vn-96624215', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-vn-96624215'], 'port_security_enabled': True, 'description': ''}}
2026-02-06 08:52:31,411 - DEBUG - Response for create_subnet : {'subnet': {'id': '8647d8a4-d775-41b2-a6a0-25507655760e', 'name': '', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'network_id': '7c997624-1701-49a7-86e8-0bfd66a72f3c', 'ip_version': 4, 'cidr': '189.5.213.64/26', 'allocation_pools': [{'start': '189.5.213.66', 'end': '189.5.213.126'}], 'gateway_ip': '189.5.213.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.5.213.66', 'tags': [], 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9'}}
2026-02-06 08:52:31,428 - INFO - Created VN ctest-vn-96624215
2026-02-06 08:52:31,480 - DEBUG - VN ctest-vn-96624215 UUID is 7c997624-1701-49a7-86e8-0bfd66a72f3c
2026-02-06 08:52:31,624 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803, 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-60057671:ctest-vn-96624215, 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-06 08:52:31,908 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78f3303d-24a2-436c-b837-1aceac55304c', 'name': 'ctest-vn-65684803', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['16cb11d0-2828-4fcd-80f1-3c8d97b238eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-vn-65684803'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-policy-allow-all-57279135']], 'subnet_ipam': [{'subnet_cidr': '172.251.3.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-06 08:52:32,133 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7c997624-1701-49a7-86e8-0bfd66a72f3c', 'name': 'ctest-vn-96624215', 'tenant_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'project_id': 'cb8c8e624a2c4f898ca88bb9995dffa9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8647d8a4-d775-41b2-a6a0-25507655760e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-vn-96624215'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-policy-allow-all-57279135']], 'subnet_ipam': [{'subnet_cidr': '189.5.213.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-06 08:52:32,300 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-06 08:52:32,597 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-06 08:52:32,626 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59
2026-02-06 08:52:32,637 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9
2026-02-06 08:52:32,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c
2026-02-06 08:52:32,716 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c
2026-02-06 08:52:32,724 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01
2026-02-06 08:52:32,730 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01
2026-02-06 08:52:32,736 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/131340a6-8d46-48d8-b483-80903c82ef48
2026-02-06 08:52:32,741 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-06 08:52:32,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c
2026-02-06 08:52:32,748 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01
2026-02-06 08:52:32,760 - INFO - Verified VN network id 11 for VN 78f3303d-24a2-436c-b837-1aceac55304c
2026-02-06 08:52:32,760 - INFO - Verifications in API Server for VN ctest-vn-65684803 passed
2026-02-06 08:52:32,761 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c
2026-02-06 08:52:32,769 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01
2026-02-06 08:52:32,775 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac97e148-916a-4286-97ab-0a9582199d01
2026-02-06 08:52:32,782 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/131340a6-8d46-48d8-b483-80903c82ef48
2026-02-06 08:52:32,793 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60057671', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8715362743057793900', 'uuid-lslong': '13274107901654675532'}, 'enable': 'true', 'created': '2026-02-06T08:52:30', 'last-modified': '2026-02-06T08:52:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903832'}
2026-02-06 08:52:32,798 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-06 08:52:32,798 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65684803 passed
2026-02-06 08:52:32,798 - DEBUG - ====Verifying policy data for ctest-vn-65684803 in API_Server ======
2026-02-06 08:52:32,798 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-06 08:52:32,803 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59
2026-02-06 08:52:32,813 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9
2026-02-06 08:52:32,883 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/78f3303d-24a2-436c-b837-1aceac55304c
2026-02-06 08:52:32,892 - DEBUG - ==>Verifying data for policy with id: e98017b5-c05a-46e8-b541-2ec004728b35, fqn: ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-policy-allow-all-57279135']
2026-02-06 08:52:32,892 - INFO - VN ctest-vn-65684803 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-06 08:52:32,892 - DEBUG - Verifying the vn in opserver
2026-02-06 08:52:32,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803 virtual network link through opserver 10.0.0.38
2026-02-06 08:52:32,892 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-06 08:52:33,182 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-06 08:52:33,240 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803?flat'}
2026-02-06 08:52:33,240 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-65684803 is found in opserver
2026-02-06 08:52:33,250 - DEBUG - Do not have enough data to verify VN in agent
2026-02-06 08:52:33,255 - DEBUG - VRF ids for VN ctest-vn-65684803: {}
2026-02-06 08:52:33,255 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-06 08:52:33,261 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59
2026-02-06 08:52:33,273 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9
2026-02-06 08:52:33,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c
2026-02-06 08:52:33,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c
2026-02-06 08:52:33,364 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb
2026-02-06 08:52:33,371 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb
2026-02-06 08:52:33,377 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4c713221-9248-48dc-82ff-dc9b98ab3a8b
2026-02-06 08:52:33,384 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-06 08:52:33,384 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c
2026-02-06 08:52:33,392 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb
2026-02-06 08:52:33,406 - INFO - Verified VN network id 12 for VN 7c997624-1701-49a7-86e8-0bfd66a72f3c
2026-02-06 08:52:33,406 - INFO - Verifications in API Server for VN ctest-vn-96624215 passed
2026-02-06 08:52:33,406 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c
2026-02-06 08:52:33,414 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb
2026-02-06 08:52:33,421 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8297a35d-5478-4da9-a485-5b7fbf306fbb
2026-02-06 08:52:33,427 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4c713221-9248-48dc-82ff-dc9b98ab3a8b
2026-02-06 08:52:33,441 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60057671', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8978337229516655015', 'uuid-lslong': '9721032978656079676'}, 'enable': 'true', 'created': '2026-02-06T08:52:31', 'last-modified': '2026-02-06T08:52:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.334692'}
2026-02-06 08:52:33,450 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-06 08:52:33,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96624215 passed
2026-02-06 08:52:33,450 - DEBUG - ====Verifying policy data for ctest-vn-96624215 in API_Server ======
2026-02-06 08:52:33,451 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-06 08:52:33,457 - DEBUG - Requesting: http://10.0.0.38:8082/domain/996f5f0f-55f0-4f36-92d8-681ead5a7c59
2026-02-06 08:52:33,467 - DEBUG - Requesting: http://10.0.0.38:8082/project/cb8c8e62-4a2c-4f89-8ca8-8bb9995dffa9
2026-02-06 08:52:33,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7c997624-1701-49a7-86e8-0bfd66a72f3c
2026-02-06 08:52:33,551 - DEBUG - ==>Verifying data for policy with id: e98017b5-c05a-46e8-b541-2ec004728b35, fqn: ['default-domain', 'ctest-TestBasicPolicy-60057671', 'ctest-policy-allow-all-57279135']
2026-02-06 08:52:33,552 - INFO - VN ctest-vn-96624215 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-06 08:52:33,552 - DEBUG - Verifying the vn in opserver
2026-02-06 08:52:33,552 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215 virtual network link through opserver 10.0.0.38
2026-02-06 08:52:33,552 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-06 08:52:33,561 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215?flat'}
2026-02-06 08:52:33,561 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60057671:ctest-vn-96624215 is found in opserver
2026-02-06 08:52:33,572 - DEBUG - Do not have enough data to verify VN in agent
2026-02-06 08:52:33,576 - DEBUG - VRF ids for VN ctest-vn-96624215: {}
2026-02-06 08:52:33,642 - DEBUG - Services list from nova: [