2026-05-18 02:10:34,533 - INFO - Domain Default found not creating
2026-05-18 02:10:34,705 - INFO - Project ctest-TestBasicPolicy-54023864 not found, creating it
2026-05-18 02:10:35,161 - INFO - Created Project:ctest-TestBasicPolicy-54023864, ID : d113faec-0676-4d84-aff9-bcdab10c8427
2026-05-18 02:10:36,627 - INFO - ================================================================================
2026-05-18 02:10:36,627 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-18 02:10:36,627 - 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-05-18 02:10:36,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with
2026-05-18 02:10:36,890 - INFO - Initial checks done. Running the testcase now
2026-05-18 02:10:36,890 - INFO -
2026-05-18 02:10:37,434 - DEBUG - Response for create_network : {'network': {'id': 'c740e53e-fc08-4a2c-a9ca-3835de823884', 'name': 'ctest-vn-77265996', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'project_id': 'd113faec06764d84aff9bcdab10c8427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-vn-77265996'], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:10:37,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '06a76ea8-4dfe-4d53-a137-ab67c7ffd010', 'name': '', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'network_id': 'c740e53e-fc08-4a2c-a9ca-3835de823884', 'ip_version': 4, 'cidr': '210.150.139.0/26', 'allocation_pools': [{'start': '210.150.139.2', 'end': '210.150.139.62'}], 'gateway_ip': '210.150.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.150.139.2', 'tags': [], 'project_id': 'd113faec06764d84aff9bcdab10c8427'}}
2026-05-18 02:10:37,642 - INFO - Created VN ctest-vn-77265996
2026-05-18 02:10:37,693 - DEBUG - VN ctest-vn-77265996 UUID is c740e53e-fc08-4a2c-a9ca-3835de823884
2026-05-18 02:10:37,976 - DEBUG - Response for create_network : {'network': {'id': 'caa5e1a3-b7c6-494a-8a7d-d7a32c399465', 'name': 'ctest-vn-52668095', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'project_id': 'd113faec06764d84aff9bcdab10c8427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-vn-52668095'], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:10:38,169 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5d8b9f4-bf07-48a4-af58-7ff2390d3939', 'name': '', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'network_id': 'caa5e1a3-b7c6-494a-8a7d-d7a32c399465', 'ip_version': 4, 'cidr': '201.68.196.192/26', 'allocation_pools': [{'start': '201.68.196.194', 'end': '201.68.196.254'}], 'gateway_ip': '201.68.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.68.196.194', 'tags': [], 'project_id': 'd113faec06764d84aff9bcdab10c8427'}}
2026-05-18 02:10:38,186 - INFO - Created VN ctest-vn-52668095
2026-05-18 02:10:38,237 - DEBUG - VN ctest-vn-52668095 UUID is caa5e1a3-b7c6-494a-8a7d-d7a32c399465
2026-05-18 02:10:38,351 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996, 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-54023864:ctest-vn-52668095, 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-05-18 02:10:38,644 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c740e53e-fc08-4a2c-a9ca-3835de823884', 'name': 'ctest-vn-77265996', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'project_id': 'd113faec06764d84aff9bcdab10c8427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06a76ea8-4dfe-4d53-a137-ab67c7ffd010'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-vn-77265996'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-policy-allow-all-84449252']], 'subnet_ipam': [{'subnet_cidr': '210.150.139.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:10:38,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'caa5e1a3-b7c6-494a-8a7d-d7a32c399465', 'name': 'ctest-vn-52668095', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'project_id': 'd113faec06764d84aff9bcdab10c8427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5d8b9f4-bf07-48a4-af58-7ff2390d3939'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-vn-52668095'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-policy-allow-all-84449252']], 'subnet_ipam': [{'subnet_cidr': '201.68.196.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:10:39,029 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-18 02:10:39,318 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-18 02:10:39,348 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca
2026-05-18 02:10:39,360 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427
2026-05-18 02:10:39,435 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884
2026-05-18 02:10:39,446 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884
2026-05-18 02:10:39,456 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe
2026-05-18 02:10:39,462 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe
2026-05-18 02:10:39,469 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/97d4f737-fd29-4528-9e4a-882a81bb960c
2026-05-18 02:10:39,475 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-18 02:10:39,475 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884
2026-05-18 02:10:39,483 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe
2026-05-18 02:10:39,498 - INFO - Verified VN network id 11 for VN c740e53e-fc08-4a2c-a9ca-3835de823884
2026-05-18 02:10:39,498 - INFO - Verifications in API Server for VN ctest-vn-77265996 passed
2026-05-18 02:10:39,498 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884
2026-05-18 02:10:39,507 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe
2026-05-18 02:10:39,513 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe
2026-05-18 02:10:39,519 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/97d4f737-fd29-4528-9e4a-882a81bb960c
2026-05-18 02:10:39,530 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54023864', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14357727670736276012', 'uuid-lslong': '12234653141722871940'}, 'enable': 'true', 'created': '2026-05-18T02:10:37', 'last-modified': '2026-05-18T02:10:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907296'}
2026-05-18 02:10:39,567 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-18 02:10:39,567 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77265996 passed
2026-05-18 02:10:39,567 - DEBUG - ====Verifying policy data for ctest-vn-77265996 in API_Server ======
2026-05-18 02:10:39,567 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-18 02:10:39,572 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca
2026-05-18 02:10:39,583 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427
2026-05-18 02:10:39,652 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884
2026-05-18 02:10:39,660 - DEBUG - ==>Verifying data for policy with id: 6f3381ff-1eb1-4613-b073-10be075faefd, fqn: ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-policy-allow-all-84449252']
2026-05-18 02:10:39,660 - INFO - VN ctest-vn-77265996 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-18 02:10:39,660 - DEBUG - Verifying the vn in opserver
2026-05-18 02:10:39,660 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996 virtual network link through opserver 10.0.0.19
2026-05-18 02:10:39,660 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-18 02:10:39,953 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-18 02:10:40,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996?flat'}
2026-05-18 02:10:40,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996 is found in opserver
2026-05-18 02:10:40,026 - DEBUG - Do not have enough data to verify VN in agent
2026-05-18 02:10:40,032 - DEBUG - VRF ids for VN ctest-vn-77265996: {}
2026-05-18 02:10:40,033 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-18 02:10:40,038 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca
2026-05-18 02:10:40,049 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427
2026-05-18 02:10:40,123 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465
2026-05-18 02:10:40,136 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465
2026-05-18 02:10:40,146 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936
2026-05-18 02:10:40,154 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936
2026-05-18 02:10:40,162 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f50a6293-67d6-421c-a2e4-62263bb6d07d
2026-05-18 02:10:40,169 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-18 02:10:40,169 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465
2026-05-18 02:10:40,180 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936
2026-05-18 02:10:40,197 - INFO - Verified VN network id 12 for VN caa5e1a3-b7c6-494a-8a7d-d7a32c399465
2026-05-18 02:10:40,197 - INFO - Verifications in API Server for VN ctest-vn-52668095 passed
2026-05-18 02:10:40,197 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465
2026-05-18 02:10:40,207 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936
2026-05-18 02:10:40,215 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936
2026-05-18 02:10:40,223 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f50a6293-67d6-421c-a2e4-62263bb6d07d
2026-05-18 02:10:40,236 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54023864', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14602325460097845578', 'uuid-lslong': '9979369445144499301'}, 'enable': 'true', 'created': '2026-05-18T02:10:37', 'last-modified': '2026-05-18T02:10:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.388906'}
2026-05-18 02:10:40,242 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-18 02:10:40,242 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52668095 passed
2026-05-18 02:10:40,243 - DEBUG - ====Verifying policy data for ctest-vn-52668095 in API_Server ======
2026-05-18 02:10:40,243 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-05-18 02:10:40,248 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca
2026-05-18 02:10:40,259 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427
2026-05-18 02:10:40,330 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465
2026-05-18 02:10:40,341 - DEBUG - ==>Verifying data for policy with id: 6f3381ff-1eb1-4613-b073-10be075faefd, fqn: ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-policy-allow-all-84449252']
2026-05-18 02:10:40,341 - INFO - VN ctest-vn-52668095 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-18 02:10:40,341 - DEBUG - Verifying the vn in opserver
2026-05-18 02:10:40,341 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095 virtual network link through opserver 10.0.0.19
2026-05-18 02:10:40,341 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-05-18 02:10:40,352 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095?flat'}
2026-05-18 02:10:40,352 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095 is found in opserver
2026-05-18 02:10:40,361 - DEBUG - Do not have enough data to verify VN in agent
2026-05-18 02:10:40,365 - DEBUG - VRF ids for VN ctest-vn-52668095: {}
2026-05-18 02:10:40,424 - DEBUG - Services list from nova: [