2025-10-06 01:54:13,534 - INFO - Domain Default found not creating
2025-10-06 01:54:13,672 - INFO - Project ctest-TestBasicPolicy-46223598 not found, creating it
2025-10-06 01:54:14,118 - INFO - Created Project:ctest-TestBasicPolicy-46223598, ID : 66828843-afea-4c2a-b689-bce7cd61f65c
2025-10-06 01:54:15,680 - INFO - ================================================================================
2025-10-06 01:54:15,681 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-06 01:54:15,681 - 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
2025-10-06 01:54:15,936 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.129': '0'}} with
2025-10-06 01:54:15,937 - INFO - Initial checks done. Running the testcase now
2025-10-06 01:54:15,937 - INFO -
2025-10-06 01:54:16,512 - DEBUG - Response for create_network : {'network': {'id': 'cc1bbec1-e97f-4a0e-a408-210d09f80d19', 'name': 'ctest-vn-90253436', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'project_id': '66828843afea4c2ab689bce7cd61f65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-vn-90253436'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 01:54:16,701 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a42542f8-6d38-45c2-a437-eda13f42f79e', 'name': '', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'network_id': 'cc1bbec1-e97f-4a0e-a408-210d09f80d19', 'ip_version': 4, 'cidr': '79.142.88.192/26', 'allocation_pools': [{'start': '79.142.88.194', 'end': '79.142.88.254'}], 'gateway_ip': '79.142.88.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.142.88.194', 'tags': [], 'project_id': '66828843afea4c2ab689bce7cd61f65c'}}
2025-10-06 01:54:16,723 - INFO - Created VN ctest-vn-90253436
2025-10-06 01:54:16,780 - DEBUG - VN ctest-vn-90253436 UUID is cc1bbec1-e97f-4a0e-a408-210d09f80d19
2025-10-06 01:54:17,122 - DEBUG - Response for create_network : {'network': {'id': 'b92da461-e07b-4176-8c3c-5dbd895792f3', 'name': 'ctest-vn-35613634', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'project_id': '66828843afea4c2ab689bce7cd61f65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-vn-35613634'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 01:54:17,304 - DEBUG - Response for create_subnet : {'subnet': {'id': '48e28677-e80f-4765-a2b2-f9c6897e8db2', 'name': '', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'network_id': 'b92da461-e07b-4176-8c3c-5dbd895792f3', 'ip_version': 4, 'cidr': '32.188.194.128/26', 'allocation_pools': [{'start': '32.188.194.130', 'end': '32.188.194.190'}], 'gateway_ip': '32.188.194.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.188.194.130', 'tags': [], 'project_id': '66828843afea4c2ab689bce7cd61f65c'}}
2025-10-06 01:54:17,325 - INFO - Created VN ctest-vn-35613634
2025-10-06 01:54:17,375 - DEBUG - VN ctest-vn-35613634 UUID is b92da461-e07b-4176-8c3c-5dbd895792f3
2025-10-06 01:54:17,528 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436, 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-46223598:ctest-vn-35613634, 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]
2025-10-06 01:54:17,814 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc1bbec1-e97f-4a0e-a408-210d09f80d19', 'name': 'ctest-vn-90253436', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'project_id': '66828843afea4c2ab689bce7cd61f65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a42542f8-6d38-45c2-a437-eda13f42f79e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-vn-90253436'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-policy-allow-all-45346643']], 'subnet_ipam': [{'subnet_cidr': '79.142.88.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-06 01:54:18,087 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b92da461-e07b-4176-8c3c-5dbd895792f3', 'name': 'ctest-vn-35613634', 'tenant_id': '66828843afea4c2ab689bce7cd61f65c', 'project_id': '66828843afea4c2ab689bce7cd61f65c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48e28677-e80f-4765-a2b2-f9c6897e8db2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-vn-35613634'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-policy-allow-all-45346643']], 'subnet_ipam': [{'subnet_cidr': '32.188.194.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-06 01:54:18,232 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-06 01:54:18,567 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-06 01:54:18,596 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7
2025-10-06 01:54:18,609 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c
2025-10-06 01:54:18,685 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19
2025-10-06 01:54:18,696 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19
2025-10-06 01:54:18,705 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e
2025-10-06 01:54:18,712 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e
2025-10-06 01:54:18,719 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/eed39bb7-a3ae-4dcb-801e-aa7d6f8d7cd7
2025-10-06 01:54:18,725 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-06 01:54:18,725 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19
2025-10-06 01:54:18,733 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e
2025-10-06 01:54:18,746 - INFO - Verified VN network id 11 for VN cc1bbec1-e97f-4a0e-a408-210d09f80d19
2025-10-06 01:54:18,746 - INFO - Verifications in API Server for VN ctest-vn-90253436 passed
2025-10-06 01:54:18,746 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19
2025-10-06 01:54:18,754 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e
2025-10-06 01:54:18,760 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/8b991382-b9a5-428d-abfa-c4edb23a053e
2025-10-06 01:54:18,767 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/eed39bb7-a3ae-4dcb-801e-aa7d6f8d7cd7
2025-10-06 01:54:18,780 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46223598', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14707558748163885582', 'uuid-lslong': '11819733561919409433'}, 'enable': 'true', 'created': '2025-10-06T01:54:16', 'last-modified': '2025-10-06T01:54:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988317'}
2025-10-06 01:54:18,788 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-06 01:54:18,788 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90253436 passed
2025-10-06 01:54:18,789 - DEBUG - ====Verifying policy data for ctest-vn-90253436 in API_Server ======
2025-10-06 01:54:18,789 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-06 01:54:18,795 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7
2025-10-06 01:54:18,809 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c
2025-10-06 01:54:18,882 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/cc1bbec1-e97f-4a0e-a408-210d09f80d19
2025-10-06 01:54:18,891 - DEBUG - ==>Verifying data for policy with id: c154196a-f846-43c6-8fa4-066d9d34e6fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-policy-allow-all-45346643']
2025-10-06 01:54:18,891 - INFO - VN ctest-vn-90253436 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-06 01:54:18,891 - DEBUG - Verifying the vn in opserver
2025-10-06 01:54:18,891 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436 virtual network link through opserver 10.0.0.131
2025-10-06 01:54:18,891 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-10-06 01:54:19,223 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-10-06 01:54:19,276 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436?flat'}
2025-10-06 01:54:19,276 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-90253436 is found in opserver
2025-10-06 01:54:19,285 - DEBUG - Do not have enough data to verify VN in agent
2025-10-06 01:54:19,289 - DEBUG - VRF ids for VN ctest-vn-90253436: {}
2025-10-06 01:54:19,289 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-06 01:54:19,297 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7
2025-10-06 01:54:19,311 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c
2025-10-06 01:54:19,384 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3
2025-10-06 01:54:19,396 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3
2025-10-06 01:54:19,406 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f
2025-10-06 01:54:19,413 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f
2025-10-06 01:54:19,420 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3ac00cc4-281d-4476-bd8e-c00898f92993
2025-10-06 01:54:19,428 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-06 01:54:19,428 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3
2025-10-06 01:54:19,437 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f
2025-10-06 01:54:19,452 - INFO - Verified VN network id 12 for VN b92da461-e07b-4176-8c3c-5dbd895792f3
2025-10-06 01:54:19,452 - INFO - Verifications in API Server for VN ctest-vn-35613634 passed
2025-10-06 01:54:19,452 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3
2025-10-06 01:54:19,462 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f
2025-10-06 01:54:19,469 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/fda5dc04-5afa-4903-afbd-e1221072d86f
2025-10-06 01:54:19,475 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/3ac00cc4-281d-4476-bd8e-c00898f92993
2025-10-06 01:54:19,487 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46223598', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13343502011253604726', 'uuid-lslong': '10105054732546970355'}, 'enable': 'true', 'created': '2025-10-06T01:54:17', 'last-modified': '2025-10-06T01:54:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468539'}
2025-10-06 01:54:19,493 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-06 01:54:19,493 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35613634 passed
2025-10-06 01:54:19,493 - DEBUG - ====Verifying policy data for ctest-vn-35613634 in API_Server ======
2025-10-06 01:54:19,493 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-06 01:54:19,498 - DEBUG - Requesting: http://10.0.0.131:8082/domain/7c3b9b2b-2ec0-46c4-abbf-98b85921cdc7
2025-10-06 01:54:19,508 - DEBUG - Requesting: http://10.0.0.131:8082/project/66828843-afea-4c2a-b689-bce7cd61f65c
2025-10-06 01:54:19,580 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/b92da461-e07b-4176-8c3c-5dbd895792f3
2025-10-06 01:54:19,590 - DEBUG - ==>Verifying data for policy with id: c154196a-f846-43c6-8fa4-066d9d34e6fd, fqn: ['default-domain', 'ctest-TestBasicPolicy-46223598', 'ctest-policy-allow-all-45346643']
2025-10-06 01:54:19,590 - INFO - VN ctest-vn-35613634 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-06 01:54:19,590 - DEBUG - Verifying the vn in opserver
2025-10-06 01:54:19,590 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634 virtual network link through opserver 10.0.0.131
2025-10-06 01:54:19,590 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-10-06 01:54:19,600 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634?flat'}
2025-10-06 01:54:19,600 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46223598:ctest-vn-35613634 is found in opserver
2025-10-06 01:54:19,610 - DEBUG - Do not have enough data to verify VN in agent
2025-10-06 01:54:19,614 - DEBUG - VRF ids for VN ctest-vn-35613634: {}
2025-10-06 01:54:19,674 - DEBUG - Services list from nova: [