2025-08-18 02:10:13,267 - INFO - Domain Default found not creating
2025-08-18 02:10:13,399 - INFO - Project ctest-TestBasicPolicy-19326446 not found, creating it
2025-08-18 02:10:13,815 - INFO - Created Project:ctest-TestBasicPolicy-19326446, ID : 9091c9af-7175-4111-a31b-da176ddd5cb2
2025-08-18 02:10:15,219 - INFO - ================================================================================
2025-08-18 02:10:15,219 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-08-18 02:10:15,219 - 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-08-18 02:10:15,480 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.14': '0'}} with
2025-08-18 02:10:15,480 - INFO - Initial checks done. Running the testcase now
2025-08-18 02:10:15,480 - INFO -
2025-08-18 02:10:16,009 - DEBUG - Response for create_network : {'network': {'id': 'd17738a2-82fa-45da-bd3a-1955554ebeab', 'name': 'ctest-vn-30666118', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'project_id': '9091c9af71754111a31bda176ddd5cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-vn-30666118'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:10:16,180 - DEBUG - Response for create_subnet : {'subnet': {'id': '14ba01af-0861-4b49-a164-968f303b5986', 'name': '', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'network_id': 'd17738a2-82fa-45da-bd3a-1955554ebeab', 'ip_version': 4, 'cidr': '34.224.81.64/26', 'allocation_pools': [{'start': '34.224.81.66', 'end': '34.224.81.126'}], 'gateway_ip': '34.224.81.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.224.81.66', 'tags': [], 'project_id': '9091c9af71754111a31bda176ddd5cb2'}}
2025-08-18 02:10:16,198 - INFO - Created VN ctest-vn-30666118
2025-08-18 02:10:16,251 - DEBUG - VN ctest-vn-30666118 UUID is d17738a2-82fa-45da-bd3a-1955554ebeab
2025-08-18 02:10:16,521 - DEBUG - Response for create_network : {'network': {'id': '4ae1d80a-24b8-4358-8d86-822167a2ac7a', 'name': 'ctest-vn-59371452', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'project_id': '9091c9af71754111a31bda176ddd5cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-vn-59371452'], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:10:16,679 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3b68e67-3486-439d-9fd7-6b0835c1a659', 'name': '', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'network_id': '4ae1d80a-24b8-4358-8d86-822167a2ac7a', 'ip_version': 4, 'cidr': '134.93.62.192/26', 'allocation_pools': [{'start': '134.93.62.194', 'end': '134.93.62.254'}], 'gateway_ip': '134.93.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.93.62.194', 'tags': [], 'project_id': '9091c9af71754111a31bda176ddd5cb2'}}
2025-08-18 02:10:16,695 - INFO - Created VN ctest-vn-59371452
2025-08-18 02:10:16,747 - DEBUG - VN ctest-vn-59371452 UUID is 4ae1d80a-24b8-4358-8d86-822167a2ac7a
2025-08-18 02:10:16,895 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118, 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-19326446:ctest-vn-59371452, 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-08-18 02:10:17,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd17738a2-82fa-45da-bd3a-1955554ebeab', 'name': 'ctest-vn-30666118', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'project_id': '9091c9af71754111a31bda176ddd5cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['14ba01af-0861-4b49-a164-968f303b5986'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-vn-30666118'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-policy-allow-all-77715017']], 'subnet_ipam': [{'subnet_cidr': '34.224.81.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:10:17,475 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ae1d80a-24b8-4358-8d86-822167a2ac7a', 'name': 'ctest-vn-59371452', 'tenant_id': '9091c9af71754111a31bda176ddd5cb2', 'project_id': '9091c9af71754111a31bda176ddd5cb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3b68e67-3486-439d-9fd7-6b0835c1a659'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-vn-59371452'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-policy-allow-all-77715017']], 'subnet_ipam': [{'subnet_cidr': '134.93.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-08-18 02:10:17,619 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-08-18 02:10:17,908 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-08-18 02:10:17,934 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9
2025-08-18 02:10:17,948 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2
2025-08-18 02:10:18,024 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab
2025-08-18 02:10:18,037 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab
2025-08-18 02:10:18,048 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73
2025-08-18 02:10:18,055 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73
2025-08-18 02:10:18,063 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/8c47c189-792b-47d2-9fd5-44164a70c8a9
2025-08-18 02:10:18,070 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-18 02:10:18,070 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab
2025-08-18 02:10:18,081 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73
2025-08-18 02:10:18,097 - INFO - Verified VN network id 11 for VN d17738a2-82fa-45da-bd3a-1955554ebeab
2025-08-18 02:10:18,097 - INFO - Verifications in API Server for VN ctest-vn-30666118 passed
2025-08-18 02:10:18,097 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab
2025-08-18 02:10:18,107 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73
2025-08-18 02:10:18,113 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/0d45888a-4d5e-436e-b438-1f303212ec73
2025-08-18 02:10:18,119 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/8c47c189-792b-47d2-9fd5-44164a70c8a9
2025-08-18 02:10:18,131 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19326446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15093594946788804058', 'uuid-lslong': '13635238676111736491'}, 'enable': 'true', 'created': '2025-08-18T02:10:15', 'last-modified': '2025-08-18T02:10:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.968851'}
2025-08-18 02:10:18,137 - DEBUG - Route Targets: ['target:64512:8000005']
2025-08-18 02:10:18,137 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30666118 passed
2025-08-18 02:10:18,137 - DEBUG - ====Verifying policy data for ctest-vn-30666118 in API_Server ======
2025-08-18 02:10:18,137 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-08-18 02:10:18,143 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9
2025-08-18 02:10:18,155 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2
2025-08-18 02:10:18,232 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/d17738a2-82fa-45da-bd3a-1955554ebeab
2025-08-18 02:10:18,241 - DEBUG - ==>Verifying data for policy with id: 9fcecb9f-cabe-4f47-8392-8153c6baf8f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-policy-allow-all-77715017']
2025-08-18 02:10:18,241 - INFO - VN ctest-vn-30666118 Policy verification: verify_vn_policy_in_api_server, status: True
2025-08-18 02:10:18,241 - DEBUG - Verifying the vn in opserver
2025-08-18 02:10:18,241 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118 virtual network link through opserver 10.0.0.131
2025-08-18 02:10:18,241 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-08-18 02:10:18,529 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-08-18 02:10:18,576 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118?flat'}
2025-08-18 02:10:18,576 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-30666118 is found in opserver
2025-08-18 02:10:18,586 - DEBUG - Do not have enough data to verify VN in agent
2025-08-18 02:10:18,591 - DEBUG - VRF ids for VN ctest-vn-30666118: {}
2025-08-18 02:10:18,591 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-08-18 02:10:18,597 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9
2025-08-18 02:10:18,609 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2
2025-08-18 02:10:18,682 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a
2025-08-18 02:10:18,694 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a
2025-08-18 02:10:18,704 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc
2025-08-18 02:10:18,710 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc
2025-08-18 02:10:18,716 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/6d0ced41-a780-44ed-a99a-4e28f5e5f15b
2025-08-18 02:10:18,721 - DEBUG - Route Targets: ['target:64512:8000006']
2025-08-18 02:10:18,721 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a
2025-08-18 02:10:18,729 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc
2025-08-18 02:10:18,740 - INFO - Verified VN network id 12 for VN 4ae1d80a-24b8-4358-8d86-822167a2ac7a
2025-08-18 02:10:18,740 - INFO - Verifications in API Server for VN ctest-vn-59371452 passed
2025-08-18 02:10:18,740 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a
2025-08-18 02:10:18,750 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc
2025-08-18 02:10:18,756 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/843e6186-92bd-40e4-89d6-56f99481d6cc
2025-08-18 02:10:18,762 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/6d0ced41-a780-44ed-a99a-4e28f5e5f15b
2025-08-18 02:10:18,772 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19326446', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5395831366643893080', 'uuid-lslong': '10197981486211312762'}, 'enable': 'true', 'created': '2025-08-18T02:10:16', 'last-modified': '2025-08-18T02:10:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372300'}
2025-08-18 02:10:18,778 - DEBUG - Route Targets: ['target:64512:8000006']
2025-08-18 02:10:18,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59371452 passed
2025-08-18 02:10:18,779 - DEBUG - ====Verifying policy data for ctest-vn-59371452 in API_Server ======
2025-08-18 02:10:18,779 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-08-18 02:10:18,784 - DEBUG - Requesting: http://10.0.0.131:8082/domain/d7b0301e-7175-4a31-99d9-6e9b2c3288c9
2025-08-18 02:10:18,793 - DEBUG - Requesting: http://10.0.0.131:8082/project/9091c9af-7175-4111-a31b-da176ddd5cb2
2025-08-18 02:10:18,864 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/4ae1d80a-24b8-4358-8d86-822167a2ac7a
2025-08-18 02:10:18,874 - DEBUG - ==>Verifying data for policy with id: 9fcecb9f-cabe-4f47-8392-8153c6baf8f8, fqn: ['default-domain', 'ctest-TestBasicPolicy-19326446', 'ctest-policy-allow-all-77715017']
2025-08-18 02:10:18,874 - INFO - VN ctest-vn-59371452 Policy verification: verify_vn_policy_in_api_server, status: True
2025-08-18 02:10:18,874 - DEBUG - Verifying the vn in opserver
2025-08-18 02:10:18,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452 virtual network link through opserver 10.0.0.131
2025-08-18 02:10:18,874 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-08-18 02:10:18,884 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452?flat'}
2025-08-18 02:10:18,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19326446:ctest-vn-59371452 is found in opserver
2025-08-18 02:10:18,895 - DEBUG - Do not have enough data to verify VN in agent
2025-08-18 02:10:18,899 - DEBUG - VRF ids for VN ctest-vn-59371452: {}
2025-08-18 02:10:18,948 - DEBUG - Services list from nova: [