2026-04-09 01:50:52,811 - INFO - Reading existing Domain with UUID 549f21b8-1b18-436e-a6d1-a3af077f9f73
2026-04-09 01:50:52,824 - INFO - Using existing domain ['admin_domain'](549f21b8-1b18-436e-a6d1-a3af077f9f73)
2026-04-09 01:50:53,066 - INFO - Project ctest-TestBasicPolicy-27302069 not found, creating it
2026-04-09 01:50:53,610 - INFO - Created Project:ctest-TestBasicPolicy-27302069, ID : 8694a18e-fba7-4db6-9458-262a49597af3
2026-04-09 01:50:55,536 - INFO - ================================================================================
2026-04-09 01:50:55,536 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-09 01:50:55,536 - 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-04-09 01:50:55,929 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.0.0.129': '0'}} with
2026-04-09 01:50:55,929 - INFO - Initial checks done. Running the testcase now
2026-04-09 01:50:55,929 - INFO -
2026-04-09 01:50:56,785 - DEBUG - Response for create_network : {'network': {'id': 'ed39de62-8fe8-4804-92d1-58b3ebd1f69f', 'name': 'ctest-vn-58334852', 'tenant_id': '8694a18efba74db69458262a49597af3', 'project_id': '8694a18efba74db69458262a49597af3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-vn-58334852'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-04-09 01:50:57,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6e205d7-29f5-40aa-8945-4cc7c02562a7', 'name': '', 'tenant_id': '8694a18efba74db69458262a49597af3', 'network_id': 'ed39de62-8fe8-4804-92d1-58b3ebd1f69f', 'ip_version': 4, 'cidr': '63.193.59.0/26', 'allocation_pools': [{'start': '63.193.59.2', 'end': '63.193.59.62'}], 'gateway_ip': '63.193.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-09T01:50:56.912290', 'updated_at': '2026-04-09T01:50:56.912290', 'dns_server_address': '63.193.59.2', 'tags': [], 'project_id': '8694a18efba74db69458262a49597af3'}}
2026-04-09 01:50:57,081 - INFO - Created VN ctest-vn-58334852
2026-04-09 01:50:57,135 - DEBUG - VN ctest-vn-58334852 UUID is ed39de62-8fe8-4804-92d1-58b3ebd1f69f
2026-04-09 01:50:57,657 - DEBUG - Response for create_network : {'network': {'id': 'f72fe0ac-dfaf-4771-9dd6-a4441043674b', 'name': 'ctest-vn-43622427', 'tenant_id': '8694a18efba74db69458262a49597af3', 'project_id': '8694a18efba74db69458262a49597af3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-vn-43622427'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-04-09 01:50:57,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '9288e79c-b4ff-4236-8a23-086064378382', 'name': '', 'tenant_id': '8694a18efba74db69458262a49597af3', 'network_id': 'f72fe0ac-dfaf-4771-9dd6-a4441043674b', 'ip_version': 4, 'cidr': '165.60.145.64/26', 'allocation_pools': [{'start': '165.60.145.66', 'end': '165.60.145.126'}], 'gateway_ip': '165.60.145.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-04-09T01:50:57.821499', 'updated_at': '2026-04-09T01:50:57.821499', 'dns_server_address': '165.60.145.66', 'tags': [], 'project_id': '8694a18efba74db69458262a49597af3'}}
2026-04-09 01:50:58,002 - INFO - Created VN ctest-vn-43622427
2026-04-09 01:50:58,059 - DEBUG - VN ctest-vn-43622427 UUID is f72fe0ac-dfaf-4771-9dd6-a4441043674b
2026-04-09 01:50:58,288 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427, 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-04-09 01:50:58,731 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed39de62-8fe8-4804-92d1-58b3ebd1f69f', 'name': 'ctest-vn-58334852', 'tenant_id': '8694a18efba74db69458262a49597af3', 'project_id': '8694a18efba74db69458262a49597af3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d6e205d7-29f5-40aa-8945-4cc7c02562a7'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-vn-58334852'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-policy-allow-all-12436023']], 'subnet_ipam': [{'subnet_cidr': '63.193.59.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-09T01:50:56.705190', 'updated_at': '2026-04-09T01:50:56.925894'}}
2026-04-09 01:50:59,079 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f72fe0ac-dfaf-4771-9dd6-a4441043674b', 'name': 'ctest-vn-43622427', 'tenant_id': '8694a18efba74db69458262a49597af3', 'project_id': '8694a18efba74db69458262a49597af3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9288e79c-b4ff-4236-8a23-086064378382'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-vn-43622427'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-policy-allow-all-12436023']], 'subnet_ipam': [{'subnet_cidr': '165.60.145.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-04-09T01:50:57.571968', 'updated_at': '2026-04-09T01:50:57.840889'}}
2026-04-09 01:50:59,295 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-09 01:50:59,643 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-09 01:50:59,728 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73
2026-04-09 01:50:59,790 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3
2026-04-09 01:50:59,896 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f
2026-04-09 01:50:59,962 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f
2026-04-09 01:51:00,026 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9
2026-04-09 01:51:00,084 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9
2026-04-09 01:51:00,157 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/efebf112-24ef-4c6e-bd82-a1f5550c2d3a
2026-04-09 01:51:00,213 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-09 01:51:00,214 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f
2026-04-09 01:51:00,273 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9
2026-04-09 01:51:00,351 - INFO - Verified VN network id 11 for VN ed39de62-8fe8-4804-92d1-58b3ebd1f69f
2026-04-09 01:51:00,351 - INFO - Verifications in API Server for VN ctest-vn-58334852 passed
2026-04-09 01:51:00,351 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f
2026-04-09 01:51:00,413 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9
2026-04-09 01:51:00,472 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/a5487427-f579-4805-9dab-f2e36a535de9
2026-04-09 01:51:00,528 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/efebf112-24ef-4c6e-bd82-a1f5550c2d3a
2026-04-09 01:51:00,637 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27302069', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17093938375563954180', 'uuid-lslong': '10579334529448801951'}, 'enable': 'true', 'created': '2026-04-09T01:50:56', 'last-modified': '2026-04-09T01:50:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.940160'}
2026-04-09 01:51:00,689 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-09 01:51:00,690 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58334852 passed
2026-04-09 01:51:00,690 - DEBUG - ====Verifying policy data for ctest-vn-58334852 in API_Server ======
2026-04-09 01:51:00,690 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-09 01:51:00,744 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73
2026-04-09 01:51:00,809 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3
2026-04-09 01:51:00,925 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/ed39de62-8fe8-4804-92d1-58b3ebd1f69f
2026-04-09 01:51:00,985 - DEBUG - ==>Verifying data for policy with id: 3be568ef-270c-45db-a872-708d47ac4e9c, fqn: ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-policy-allow-all-12436023']
2026-04-09 01:51:00,985 - INFO - VN ctest-vn-58334852 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-09 01:51:00,985 - DEBUG - Verifying the vn in opserver
2026-04-09 01:51:00,985 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852 virtual network link through opserver 10.0.0.129
2026-04-09 01:51:00,985 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-04-09 01:51:01,341 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-04-09 01:51:01,480 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852?flat'}
2026-04-09 01:51:01,481 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-58334852 is found in opserver
2026-04-09 01:51:01,596 - DEBUG - Do not have enough data to verify VN in agent
2026-04-09 01:51:01,652 - DEBUG - VRF ids for VN ctest-vn-58334852: {}
2026-04-09 01:51:01,652 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-09 01:51:01,707 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73
2026-04-09 01:51:01,764 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3
2026-04-09 01:51:01,852 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b
2026-04-09 01:51:01,913 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b
2026-04-09 01:51:01,974 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b
2026-04-09 01:51:02,036 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b
2026-04-09 01:51:02,096 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/39de740d-d26c-414a-bf47-b6b7916b3af8
2026-04-09 01:51:02,152 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-09 01:51:02,152 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b
2026-04-09 01:51:02,209 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b
2026-04-09 01:51:02,272 - INFO - Verified VN network id 12 for VN f72fe0ac-dfaf-4771-9dd6-a4441043674b
2026-04-09 01:51:02,272 - INFO - Verifications in API Server for VN ctest-vn-43622427 passed
2026-04-09 01:51:02,272 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b
2026-04-09 01:51:02,333 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b
2026-04-09 01:51:02,401 - DEBUG - Requesting: https://10.0.0.129:8082/routing-instance/81e80abe-44f5-42e7-b46b-52de9dd1ab8b
2026-04-09 01:51:02,465 - DEBUG - Requesting: https://10.0.0.129:8082/route-target/39de740d-d26c-414a-bf47-b6b7916b3af8
2026-04-09 01:51:02,576 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27302069', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17811702084365404017', 'uuid-lslong': '11373458521208350539'}, 'enable': 'true', 'created': '2026-04-09T01:50:57', 'last-modified': '2026-04-09T01:50:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.514428'}
2026-04-09 01:51:02,634 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-09 01:51:02,634 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43622427 passed
2026-04-09 01:51:02,634 - DEBUG - ====Verifying policy data for ctest-vn-43622427 in API_Server ======
2026-04-09 01:51:02,634 - DEBUG - Requesting: https://10.0.0.129:8082/domains
2026-04-09 01:51:02,688 - DEBUG - Requesting: https://10.0.0.129:8082/domain/549f21b8-1b18-436e-a6d1-a3af077f9f73
2026-04-09 01:51:02,753 - DEBUG - Requesting: https://10.0.0.129:8082/project/8694a18e-fba7-4db6-9458-262a49597af3
2026-04-09 01:51:02,841 - DEBUG - Requesting: https://10.0.0.129:8082/virtual-network/f72fe0ac-dfaf-4771-9dd6-a4441043674b
2026-04-09 01:51:02,901 - DEBUG - ==>Verifying data for policy with id: 3be568ef-270c-45db-a872-708d47ac4e9c, fqn: ['admin_domain', 'ctest-TestBasicPolicy-27302069', 'ctest-policy-allow-all-12436023']
2026-04-09 01:51:02,901 - INFO - VN ctest-vn-43622427 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-09 01:51:02,902 - DEBUG - Verifying the vn in opserver
2026-04-09 01:51:02,902 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427 virtual network link through opserver 10.0.0.129
2026-04-09 01:51:02,902 - DEBUG - Requesting: https://10.0.0.129:8081/analytics/uves/virtual-networks
2026-04-09 01:51:02,964 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427', 'href': 'https://10.0.0.129:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427?flat'}
2026-04-09 01:51:02,964 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-27302069:ctest-vn-43622427 is found in opserver
2026-04-09 01:51:03,068 - DEBUG - Do not have enough data to verify VN in agent
2026-04-09 01:51:03,119 - DEBUG - VRF ids for VN ctest-vn-43622427: {}
2026-04-09 01:51:03,206 - DEBUG - Services list from nova: [