2025-10-19 18:59:29,724 - INFO - Reading existing Domain with UUID 9b919512-b1f0-4532-a457-4be316848bb6
2025-10-19 18:59:29,734 - INFO - Using existing domain ['admin_domain'](9b919512-b1f0-4532-a457-4be316848bb6)
2025-10-19 18:59:29,918 - INFO - Project ctest-TestBasicPolicy-09279628 not found, creating it
2025-10-19 18:59:30,455 - INFO - Created Project:ctest-TestBasicPolicy-09279628, ID : 374e3c71-8885-4291-8785-3de9907cc284 
2025-10-19 18:59:32,557 - INFO - ================================================================================
2025-10-19 18:59:32,557 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-19 18:59:32,557 - 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-19 18:59:32,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.0.0.38': '42'}} with
2025-10-19 18:59:32,955 - INFO - Initial checks done. Running the testcase now
2025-10-19 18:59:32,956 - INFO - 
2025-10-19 18:59:33,762 - DEBUG - Response for create_network : {'network': {'id': '91994273-bf23-43f3-8d22-cb7723ff510e', 'name': 'ctest-vn-28829778', 'tenant_id': '374e3c718885429187853de9907cc284', 'project_id': '374e3c718885429187853de9907cc284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-vn-28829778'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-19 18:59:33,981 - DEBUG - Response for create_subnet : {'subnet': {'id': '9beab727-83fe-42ab-a8fa-769b910b73c1', 'name': '', 'tenant_id': '374e3c718885429187853de9907cc284', 'network_id': '91994273-bf23-43f3-8d22-cb7723ff510e', 'ip_version': 4, 'cidr': '18.229.87.128/26', 'allocation_pools': [{'start': '18.229.87.130', 'end': '18.229.87.190'}], 'gateway_ip': '18.229.87.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-19T18:59:33.884881', 'updated_at': '2025-10-19T18:59:33.884881', 'dns_server_address': '18.229.87.130', 'tags': [], 'project_id': '374e3c718885429187853de9907cc284'}}
2025-10-19 18:59:34,047 - INFO - Created VN ctest-vn-28829778
2025-10-19 18:59:34,101 - DEBUG - VN ctest-vn-28829778 UUID is 91994273-bf23-43f3-8d22-cb7723ff510e
2025-10-19 18:59:34,601 - DEBUG - Response for create_network : {'network': {'id': 'd7e58fb6-d9ff-413a-b7bb-cecb91c65cec', 'name': 'ctest-vn-34771448', 'tenant_id': '374e3c718885429187853de9907cc284', 'project_id': '374e3c718885429187853de9907cc284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-vn-34771448'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2025-10-19 18:59:34,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '242218ff-af4c-42dc-be75-d75ca986983d', 'name': '', 'tenant_id': '374e3c718885429187853de9907cc284', 'network_id': 'd7e58fb6-d9ff-413a-b7bb-cecb91c65cec', 'ip_version': 4, 'cidr': '141.8.191.128/26', 'allocation_pools': [{'start': '141.8.191.130', 'end': '141.8.191.190'}], 'gateway_ip': '141.8.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2025-10-19T18:59:34.717773', 'updated_at': '2025-10-19T18:59:34.717773', 'dns_server_address': '141.8.191.130', 'tags': [], 'project_id': '374e3c718885429187853de9907cc284'}}
2025-10-19 18:59:34,875 - INFO - Created VN ctest-vn-34771448
2025-10-19 18:59:34,929 - DEBUG - VN ctest-vn-34771448 UUID is d7e58fb6-d9ff-413a-b7bb-cecb91c65cec
2025-10-19 18:59:35,141 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778, 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-09279628:ctest-vn-34771448, 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-19 18:59:35,545 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '91994273-bf23-43f3-8d22-cb7723ff510e', 'name': 'ctest-vn-28829778', 'tenant_id': '374e3c718885429187853de9907cc284', 'project_id': '374e3c718885429187853de9907cc284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9beab727-83fe-42ab-a8fa-769b910b73c1'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-vn-28829778'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-policy-allow-all-22051633']], 'subnet_ipam': [{'subnet_cidr': '18.229.87.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-19T18:59:33.689093', 'updated_at': '2025-10-19T18:59:33.897076'}}
2025-10-19 18:59:35,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd7e58fb6-d9ff-413a-b7bb-cecb91c65cec', 'name': 'ctest-vn-34771448', 'tenant_id': '374e3c718885429187853de9907cc284', 'project_id': '374e3c718885429187853de9907cc284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['242218ff-af4c-42dc-be75-d75ca986983d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-vn-34771448'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-policy-allow-all-22051633']], 'subnet_ipam': [{'subnet_cidr': '141.8.191.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2025-10-19T18:59:34.525942', 'updated_at': '2025-10-19T18:59:34.730169'}}
2025-10-19 18:59:36,081 - DEBUG - Requesting: https://10.0.0.38:8082/domains
2025-10-19 18:59:36,425 - DEBUG - Requesting: https://10.0.0.38:8082/domains
2025-10-19 18:59:36,505 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6
2025-10-19 18:59:36,566 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284
2025-10-19 18:59:36,646 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e
2025-10-19 18:59:36,707 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e
2025-10-19 18:59:36,771 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a
2025-10-19 18:59:36,822 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a
2025-10-19 18:59:36,878 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/2cae2fd7-131e-418b-be48-7d2bb34e1bad
2025-10-19 18:59:36,954 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-19 18:59:36,954 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e
2025-10-19 18:59:37,012 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a
2025-10-19 18:59:37,085 - INFO - Verified VN network id 12 for VN 91994273-bf23-43f3-8d22-cb7723ff510e
2025-10-19 18:59:37,086 - INFO - Verifications in API Server for VN ctest-vn-28829778 passed
2025-10-19 18:59:37,086 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e
2025-10-19 18:59:37,143 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a
2025-10-19 18:59:37,198 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/20cd843b-80ed-4b16-9e44-b2e84d06fb0a
2025-10-19 18:59:37,258 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/2cae2fd7-131e-418b-be48-7d2bb34e1bad
2025-10-19 18:59:37,362 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09279628', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10491489871831712755', 'uuid-lslong': '10169914621121483022'}, 'enable': 'true', 'created': '2025-10-19T18:59:33', 'last-modified': '2025-10-19T18:59:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.844935'}
2025-10-19 18:59:37,415 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-19 18:59:37,415 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28829778 passed
2025-10-19 18:59:37,415 - DEBUG - ====Verifying policy data for ctest-vn-28829778 in API_Server ======
2025-10-19 18:59:37,415 - DEBUG - Requesting: https://10.0.0.38:8082/domains
2025-10-19 18:59:37,469 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6
2025-10-19 18:59:37,526 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284
2025-10-19 18:59:37,602 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/91994273-bf23-43f3-8d22-cb7723ff510e
2025-10-19 18:59:37,658 - DEBUG - ==>Verifying data for policy with id: 267d2f9c-265b-4b5d-a336-e85226d43df3, fqn: ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-policy-allow-all-22051633']
2025-10-19 18:59:37,659 - INFO - VN ctest-vn-28829778 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-19 18:59:37,659 - DEBUG - Verifying the vn in opserver
2025-10-19 18:59:37,659 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778 virtual network link  through opserver 10.0.0.38
2025-10-19 18:59:37,659 - DEBUG - Requesting: https://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-19 18:59:38,000 - DEBUG - Requesting: https://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-19 18:59:38,109 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778', 'href': 'https://10.0.0.38:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778?flat'}
2025-10-19 18:59:38,109 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-28829778 is found in opserver
2025-10-19 18:59:38,205 - DEBUG - Do not have enough data to verify VN in agent
2025-10-19 18:59:38,253 - DEBUG - VRF ids for VN ctest-vn-28829778: {}
2025-10-19 18:59:38,254 - DEBUG - Requesting: https://10.0.0.38:8082/domains
2025-10-19 18:59:38,305 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6
2025-10-19 18:59:38,362 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284
2025-10-19 18:59:38,438 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec
2025-10-19 18:59:38,495 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec
2025-10-19 18:59:38,551 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074
2025-10-19 18:59:38,602 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074
2025-10-19 18:59:38,658 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/8c12643b-88bd-4e63-b3ad-382a69f86284
2025-10-19 18:59:38,710 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-19 18:59:38,710 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec
2025-10-19 18:59:38,762 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074
2025-10-19 18:59:38,825 - INFO - Verified VN network id 13 for VN d7e58fb6-d9ff-413a-b7bb-cecb91c65cec
2025-10-19 18:59:38,826 - INFO - Verifications in API Server for VN ctest-vn-34771448 passed
2025-10-19 18:59:38,826 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec
2025-10-19 18:59:38,879 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074
2025-10-19 18:59:38,930 - DEBUG - Requesting: https://10.0.0.38:8082/routing-instance/47e6baf6-7d9a-47ac-aa2a-cabfac028074
2025-10-19 18:59:38,982 - DEBUG - Requesting: https://10.0.0.38:8082/route-target/8c12643b-88bd-4e63-b3ad-382a69f86284
2025-10-19 18:59:39,082 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09279628', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15556998503325450554', 'uuid-lslong': '13239402903305084140'}, 'enable': 'true', 'created': '2025-10-19T18:59:34', 'last-modified': '2025-10-19T18:59:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.202912'}
2025-10-19 18:59:39,130 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-19 18:59:39,130 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34771448 passed
2025-10-19 18:59:39,131 - DEBUG - ====Verifying policy data for ctest-vn-34771448 in API_Server ======
2025-10-19 18:59:39,131 - DEBUG - Requesting: https://10.0.0.38:8082/domains
2025-10-19 18:59:39,186 - DEBUG - Requesting: https://10.0.0.38:8082/domain/9b919512-b1f0-4532-a457-4be316848bb6
2025-10-19 18:59:39,242 - DEBUG - Requesting: https://10.0.0.38:8082/project/374e3c71-8885-4291-8785-3de9907cc284
2025-10-19 18:59:39,314 - DEBUG - Requesting: https://10.0.0.38:8082/virtual-network/d7e58fb6-d9ff-413a-b7bb-cecb91c65cec
2025-10-19 18:59:39,370 - DEBUG - ==>Verifying data for policy with id: 267d2f9c-265b-4b5d-a336-e85226d43df3, fqn: ['admin_domain', 'ctest-TestBasicPolicy-09279628', 'ctest-policy-allow-all-22051633']
2025-10-19 18:59:39,371 - INFO - VN ctest-vn-34771448 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-19 18:59:39,371 - DEBUG - Verifying the vn in opserver
2025-10-19 18:59:39,371 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448 virtual network link  through opserver 10.0.0.38
2025-10-19 18:59:39,371 - DEBUG - Requesting: https://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-19 18:59:39,425 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448', 'href': 'https://10.0.0.38:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448?flat'}
2025-10-19 18:59:39,425 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-09279628:ctest-vn-34771448 is found in opserver
2025-10-19 18:59:39,525 - DEBUG - Do not have enough data to verify VN in agent
2025-10-19 18:59:39,577 - DEBUG - VRF ids for VN ctest-vn-34771448: {}
2025-10-19 18:59:39,641 - DEBUG - Services list from nova: [