2026-01-01 01:57:04,361 - INFO - Domain Default found not creating
2026-01-01 01:57:04,546 - INFO - Project ctest-TestBasicPolicy-09953844 not found, creating it
2026-01-01 01:57:05,005 - INFO - Created Project:ctest-TestBasicPolicy-09953844, ID : 25667f93-b083-408b-abfc-f893fd5314d1
2026-01-01 01:57:06,488 - INFO - ================================================================================
2026-01-01 01:57:06,488 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-01 01:57:06,488 - 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-01-01 01:57:06,740 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.201': '0'}} with
2026-01-01 01:57:06,740 - INFO - Initial checks done. Running the testcase now
2026-01-01 01:57:06,740 - INFO -
2026-01-01 01:57:07,310 - DEBUG - Response for create_network : {'network': {'id': '6c17715c-179e-4b93-9747-891625e238b0', 'name': 'ctest-vn-26463052', 'tenant_id': '25667f93b083408babfcf893fd5314d1', 'project_id': '25667f93b083408babfcf893fd5314d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09953844', 'ctest-vn-26463052'], 'port_security_enabled': True, 'description': ''}}
2026-01-01 01:57:07,458 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9b5d065-871f-438c-8673-a559f57c68ca', 'name': '', 'tenant_id': '25667f93b083408babfcf893fd5314d1', 'network_id': '6c17715c-179e-4b93-9747-891625e238b0', 'ip_version': 4, 'cidr': '178.80.49.128/26', 'allocation_pools': [{'start': '178.80.49.130', 'end': '178.80.49.190'}], 'gateway_ip': '178.80.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.80.49.130', 'tags': [], 'project_id': '25667f93b083408babfcf893fd5314d1'}}
2026-01-01 01:57:07,479 - INFO - Created VN ctest-vn-26463052
2026-01-01 01:57:07,532 - DEBUG - VN ctest-vn-26463052 UUID is 6c17715c-179e-4b93-9747-891625e238b0
2026-01-01 01:57:07,808 - DEBUG - Response for create_network : {'network': {'id': '376dfc7f-b4f4-47f1-86d6-0549e269b674', 'name': 'ctest-vn-66566720', 'tenant_id': '25667f93b083408babfcf893fd5314d1', 'project_id': '25667f93b083408babfcf893fd5314d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09953844', 'ctest-vn-66566720'], 'port_security_enabled': True, 'description': ''}}
2026-01-01 01:57:08,021 - DEBUG - Response for create_subnet : {'subnet': {'id': '2692b3ba-0047-4a7b-b499-bf511e1878c9', 'name': '', 'tenant_id': '25667f93b083408babfcf893fd5314d1', 'network_id': '376dfc7f-b4f4-47f1-86d6-0549e269b674', 'ip_version': 4, 'cidr': '140.124.118.128/26', 'allocation_pools': [{'start': '140.124.118.130', 'end': '140.124.118.190'}], 'gateway_ip': '140.124.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.124.118.130', 'tags': [], 'project_id': '25667f93b083408babfcf893fd5314d1'}}
2026-01-01 01:57:08,040 - INFO - Created VN ctest-vn-66566720
2026-01-01 01:57:08,092 - DEBUG - VN ctest-vn-66566720 UUID is 376dfc7f-b4f4-47f1-86d6-0549e269b674
2026-01-01 01:57:08,240 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-26463052, 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-09953844:ctest-vn-66566720, 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-01-01 01:57:08,526 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c17715c-179e-4b93-9747-891625e238b0', 'name': 'ctest-vn-26463052', 'tenant_id': '25667f93b083408babfcf893fd5314d1', 'project_id': '25667f93b083408babfcf893fd5314d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9b5d065-871f-438c-8673-a559f57c68ca'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09953844', 'ctest-vn-26463052'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09953844', 'ctest-policy-allow-all-29707204']], 'subnet_ipam': [{'subnet_cidr': '178.80.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-01 01:57:08,759 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '376dfc7f-b4f4-47f1-86d6-0549e269b674', 'name': 'ctest-vn-66566720', 'tenant_id': '25667f93b083408babfcf893fd5314d1', 'project_id': '25667f93b083408babfcf893fd5314d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2692b3ba-0047-4a7b-b499-bf511e1878c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09953844', 'ctest-vn-66566720'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09953844', 'ctest-policy-allow-all-29707204']], 'subnet_ipam': [{'subnet_cidr': '140.124.118.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-01 01:57:08,923 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-01-01 01:57:09,443 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-01-01 01:57:09,485 - DEBUG - Requesting: http://10.0.0.56:8082/domain/0a465bc4-7aaf-4ded-b741-74fdf074977f
2026-01-01 01:57:09,496 - DEBUG - Requesting: http://10.0.0.56:8082/project/25667f93-b083-408b-abfc-f893fd5314d1
2026-01-01 01:57:09,569 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6c17715c-179e-4b93-9747-891625e238b0
2026-01-01 01:57:09,579 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6c17715c-179e-4b93-9747-891625e238b0
2026-01-01 01:57:09,588 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/01308ed5-7db6-4c49-b34c-e3f5fe89a30d
2026-01-01 01:57:09,595 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/01308ed5-7db6-4c49-b34c-e3f5fe89a30d
2026-01-01 01:57:09,601 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/4c8097ca-ff68-457e-949b-a5b09a845fd9
2026-01-01 01:57:09,607 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-01 01:57:09,607 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6c17715c-179e-4b93-9747-891625e238b0
2026-01-01 01:57:09,615 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/01308ed5-7db6-4c49-b34c-e3f5fe89a30d
2026-01-01 01:57:09,627 - INFO - Verified VN network id 10 for VN 6c17715c-179e-4b93-9747-891625e238b0
2026-01-01 01:57:09,628 - INFO - Verifications in API Server for VN ctest-vn-26463052 passed
2026-01-01 01:57:09,628 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6c17715c-179e-4b93-9747-891625e238b0
2026-01-01 01:57:09,636 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/01308ed5-7db6-4c49-b34c-e3f5fe89a30d
2026-01-01 01:57:09,643 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/01308ed5-7db6-4c49-b34c-e3f5fe89a30d
2026-01-01 01:57:09,649 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/4c8097ca-ff68-457e-949b-a5b09a845fd9
2026-01-01 01:57:09,660 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-26463052', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09953844', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7788818720907742099', 'uuid-lslong': '10900832151291443376'}, 'enable': 'true', 'created': '2026-01-01T01:57:07', 'last-modified': '2026-01-01T01:57:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.150137'}
2026-01-01 01:57:09,666 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-01 01:57:09,666 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26463052 passed
2026-01-01 01:57:09,666 - DEBUG - ====Verifying policy data for ctest-vn-26463052 in API_Server ======
2026-01-01 01:57:09,666 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-01-01 01:57:09,671 - DEBUG - Requesting: http://10.0.0.56:8082/domain/0a465bc4-7aaf-4ded-b741-74fdf074977f
2026-01-01 01:57:09,680 - DEBUG - Requesting: http://10.0.0.56:8082/project/25667f93-b083-408b-abfc-f893fd5314d1
2026-01-01 01:57:09,750 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/6c17715c-179e-4b93-9747-891625e238b0
2026-01-01 01:57:09,760 - DEBUG - ==>Verifying data for policy with id: 8d07ff71-c64e-46f2-93e6-2ab55a9b1e04, fqn: ['default-domain', 'ctest-TestBasicPolicy-09953844', 'ctest-policy-allow-all-29707204']
2026-01-01 01:57:09,760 - INFO - VN ctest-vn-26463052 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-01 01:57:09,760 - DEBUG - Verifying the vn in opserver
2026-01-01 01:57:09,760 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-26463052 virtual network link through opserver 10.0.0.56
2026-01-01 01:57:09,760 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2026-01-01 01:57:10,051 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2026-01-01 01:57:10,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-26463052', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-26463052?flat'}
2026-01-01 01:57:10,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-26463052 is found in opserver
2026-01-01 01:57:10,125 - DEBUG - Do not have enough data to verify VN in agent
2026-01-01 01:57:10,129 - DEBUG - VRF ids for VN ctest-vn-26463052: {}
2026-01-01 01:57:10,129 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-01-01 01:57:10,134 - DEBUG - Requesting: http://10.0.0.56:8082/domain/0a465bc4-7aaf-4ded-b741-74fdf074977f
2026-01-01 01:57:10,143 - DEBUG - Requesting: http://10.0.0.56:8082/project/25667f93-b083-408b-abfc-f893fd5314d1
2026-01-01 01:57:10,216 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/376dfc7f-b4f4-47f1-86d6-0549e269b674
2026-01-01 01:57:10,226 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/376dfc7f-b4f4-47f1-86d6-0549e269b674
2026-01-01 01:57:10,236 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/c7d7c4a9-402f-468c-81cc-e547fc12d859
2026-01-01 01:57:10,245 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/c7d7c4a9-402f-468c-81cc-e547fc12d859
2026-01-01 01:57:10,252 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/cebc324f-f8ae-408b-8bf2-97455b6ff20b
2026-01-01 01:57:10,259 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-01 01:57:10,259 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/376dfc7f-b4f4-47f1-86d6-0549e269b674
2026-01-01 01:57:10,269 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/c7d7c4a9-402f-468c-81cc-e547fc12d859
2026-01-01 01:57:10,284 - INFO - Verified VN network id 11 for VN 376dfc7f-b4f4-47f1-86d6-0549e269b674
2026-01-01 01:57:10,284 - INFO - Verifications in API Server for VN ctest-vn-66566720 passed
2026-01-01 01:57:10,285 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/376dfc7f-b4f4-47f1-86d6-0549e269b674
2026-01-01 01:57:10,294 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/c7d7c4a9-402f-468c-81cc-e547fc12d859
2026-01-01 01:57:10,302 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/c7d7c4a9-402f-468c-81cc-e547fc12d859
2026-01-01 01:57:10,309 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/cebc324f-f8ae-408b-8bf2-97455b6ff20b
2026-01-01 01:57:10,323 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-66566720', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09953844', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3994126069974452209', 'uuid-lslong': '9715959060987754100'}, 'enable': 'true', 'created': '2026-01-01T01:57:07', 'last-modified': '2026-01-01T01:57:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.591685'}
2026-01-01 01:57:10,330 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-01 01:57:10,330 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66566720 passed
2026-01-01 01:57:10,330 - DEBUG - ====Verifying policy data for ctest-vn-66566720 in API_Server ======
2026-01-01 01:57:10,330 - DEBUG - Requesting: http://10.0.0.56:8082/domains
2026-01-01 01:57:10,337 - DEBUG - Requesting: http://10.0.0.56:8082/domain/0a465bc4-7aaf-4ded-b741-74fdf074977f
2026-01-01 01:57:10,348 - DEBUG - Requesting: http://10.0.0.56:8082/project/25667f93-b083-408b-abfc-f893fd5314d1
2026-01-01 01:57:10,431 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/376dfc7f-b4f4-47f1-86d6-0549e269b674
2026-01-01 01:57:10,440 - DEBUG - ==>Verifying data for policy with id: 8d07ff71-c64e-46f2-93e6-2ab55a9b1e04, fqn: ['default-domain', 'ctest-TestBasicPolicy-09953844', 'ctest-policy-allow-all-29707204']
2026-01-01 01:57:10,440 - INFO - VN ctest-vn-66566720 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-01 01:57:10,440 - DEBUG - Verifying the vn in opserver
2026-01-01 01:57:10,441 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-66566720 virtual network link through opserver 10.0.0.56
2026-01-01 01:57:10,441 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks
2026-01-01 01:57:10,452 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-66566720', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-66566720?flat'}
2026-01-01 01:57:10,452 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09953844:ctest-vn-66566720 is found in opserver
2026-01-01 01:57:10,466 - DEBUG - Do not have enough data to verify VN in agent
2026-01-01 01:57:10,470 - DEBUG - VRF ids for VN ctest-vn-66566720: {}
2026-01-01 01:57:10,527 - DEBUG - Services list from nova: [