2025-10-27 04:08:56,718 - INFO - Domain Default found not creating
2025-10-27 04:08:56,863 - INFO - Project ctest-TestBasicPolicy-09794545 not found, creating it
2025-10-27 04:08:57,300 - INFO - Created Project:ctest-TestBasicPolicy-09794545, ID : 6cda7d7d-c45f-44d7-b822-d568ec154dac 
2025-10-27 04:08:58,813 - INFO - ================================================================================
2025-10-27 04:08:58,813 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-27 04:08:58,813 - 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-27 04:08:59,065 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2025-10-27 04:08:59,065 - INFO - Initial checks done. Running the testcase now
2025-10-27 04:08:59,065 - INFO - 
2025-10-27 04:08:59,606 - DEBUG - Response for create_network : {'network': {'id': '396a5a78-0449-43f3-b360-2c2e7f512ecb', 'name': 'ctest-vn-82715499', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'project_id': '6cda7d7dc45f44d7b822d568ec154dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-vn-82715499'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 04:08:59,816 - DEBUG - Response for create_subnet : {'subnet': {'id': '9616ef85-1462-4ae7-9a3f-ac45c45ab401', 'name': '', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'network_id': '396a5a78-0449-43f3-b360-2c2e7f512ecb', 'ip_version': 4, 'cidr': '182.6.102.0/26', 'allocation_pools': [{'start': '182.6.102.2', 'end': '182.6.102.62'}], 'gateway_ip': '182.6.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.6.102.2', 'tags': [], 'project_id': '6cda7d7dc45f44d7b822d568ec154dac'}}
2025-10-27 04:08:59,838 - INFO - Created VN ctest-vn-82715499
2025-10-27 04:08:59,892 - DEBUG - VN ctest-vn-82715499 UUID is 396a5a78-0449-43f3-b360-2c2e7f512ecb
2025-10-27 04:09:00,168 - DEBUG - Response for create_network : {'network': {'id': 'c7f363a0-d9dd-4b61-9ac7-b1451958d918', 'name': 'ctest-vn-60870510', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'project_id': '6cda7d7dc45f44d7b822d568ec154dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-vn-60870510'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 04:09:00,394 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cce36aca-da14-4848-89ea-6c5024d51638', 'name': '', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'network_id': 'c7f363a0-d9dd-4b61-9ac7-b1451958d918', 'ip_version': 4, 'cidr': '66.7.174.64/26', 'allocation_pools': [{'start': '66.7.174.66', 'end': '66.7.174.126'}], 'gateway_ip': '66.7.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.7.174.66', 'tags': [], 'project_id': '6cda7d7dc45f44d7b822d568ec154dac'}}
2025-10-27 04:09:00,410 - INFO - Created VN ctest-vn-60870510
2025-10-27 04:09:00,464 - DEBUG - VN ctest-vn-60870510 UUID is c7f363a0-d9dd-4b61-9ac7-b1451958d918
2025-10-27 04:09:00,577 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499, 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-09794545:ctest-vn-60870510, 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-27 04:09:00,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '396a5a78-0449-43f3-b360-2c2e7f512ecb', 'name': 'ctest-vn-82715499', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'project_id': '6cda7d7dc45f44d7b822d568ec154dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9616ef85-1462-4ae7-9a3f-ac45c45ab401'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-vn-82715499'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-policy-allow-all-28696649']], 'subnet_ipam': [{'subnet_cidr': '182.6.102.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-27 04:09:01,144 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c7f363a0-d9dd-4b61-9ac7-b1451958d918', 'name': 'ctest-vn-60870510', 'tenant_id': '6cda7d7dc45f44d7b822d568ec154dac', 'project_id': '6cda7d7dc45f44d7b822d568ec154dac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cce36aca-da14-4848-89ea-6c5024d51638'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-vn-60870510'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-policy-allow-all-28696649']], 'subnet_ipam': [{'subnet_cidr': '66.7.174.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-27 04:09:01,292 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-27 04:09:01,595 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-27 04:09:01,629 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122
2025-10-27 04:09:01,642 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac
2025-10-27 04:09:01,712 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb
2025-10-27 04:09:01,723 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb
2025-10-27 04:09:01,731 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b
2025-10-27 04:09:01,738 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b
2025-10-27 04:09:01,745 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b734c1af-5abb-436d-b667-f579674cdff8
2025-10-27 04:09:01,751 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-27 04:09:01,752 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb
2025-10-27 04:09:01,762 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b
2025-10-27 04:09:01,781 - INFO - Verified VN network id 12 for VN 396a5a78-0449-43f3-b360-2c2e7f512ecb
2025-10-27 04:09:01,781 - INFO - Verifications in API Server for VN ctest-vn-82715499 passed
2025-10-27 04:09:01,781 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb
2025-10-27 04:09:01,792 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b
2025-10-27 04:09:01,800 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/05903c40-937b-4a60-a073-ffc0d1b5ac6b
2025-10-27 04:09:01,807 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b734c1af-5abb-436d-b667-f579674cdff8
2025-10-27 04:09:01,820 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09794545', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4137218679207707635', 'uuid-lslong': '12925379508769468107'}, 'enable': 'true', 'created': '2025-10-27T04:08:59', 'last-modified': '2025-10-27T04:09:00', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976409'}
2025-10-27 04:09:01,827 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-27 04:09:01,827 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82715499 passed
2025-10-27 04:09:01,827 - DEBUG - ====Verifying policy data for ctest-vn-82715499 in API_Server ======
2025-10-27 04:09:01,827 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-27 04:09:01,834 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122
2025-10-27 04:09:01,845 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac
2025-10-27 04:09:01,915 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/396a5a78-0449-43f3-b360-2c2e7f512ecb
2025-10-27 04:09:01,924 - DEBUG - ==>Verifying data for policy with id: 4f144d42-713d-419f-a126-236f3def5948, fqn: ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-policy-allow-all-28696649']
2025-10-27 04:09:01,924 - INFO - VN ctest-vn-82715499 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-27 04:09:01,924 - DEBUG - Verifying the vn in opserver
2025-10-27 04:09:01,924 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499 virtual network link  through opserver 10.0.0.27
2025-10-27 04:09:01,925 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-27 04:09:02,218 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-27 04:09:02,275 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499?flat'}
2025-10-27 04:09:02,275 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-82715499 is found in opserver
2025-10-27 04:09:02,284 - DEBUG - Do not have enough data to verify VN in agent
2025-10-27 04:09:02,289 - DEBUG - VRF ids for VN ctest-vn-82715499: {}
2025-10-27 04:09:02,289 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-27 04:09:02,295 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122
2025-10-27 04:09:02,306 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac
2025-10-27 04:09:02,375 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918
2025-10-27 04:09:02,386 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918
2025-10-27 04:09:02,395 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60
2025-10-27 04:09:02,402 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60
2025-10-27 04:09:02,409 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/571a0e66-fa07-4daf-b6b4-02aa3ecdaeae
2025-10-27 04:09:02,416 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-27 04:09:02,416 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918
2025-10-27 04:09:02,425 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60
2025-10-27 04:09:02,440 - INFO - Verified VN network id 13 for VN c7f363a0-d9dd-4b61-9ac7-b1451958d918
2025-10-27 04:09:02,440 - INFO - Verifications in API Server for VN ctest-vn-60870510 passed
2025-10-27 04:09:02,440 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918
2025-10-27 04:09:02,448 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60
2025-10-27 04:09:02,456 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b6377e1d-f144-4afe-801f-c160f1d36a60
2025-10-27 04:09:02,464 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/571a0e66-fa07-4daf-b6b4-02aa3ecdaeae
2025-10-27 04:09:02,479 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09794545', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14407969175389424481', 'uuid-lslong': '11153077912542435608'}, 'enable': 'true', 'created': '2025-10-27T04:09:00', 'last-modified': '2025-10-27T04:09:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405777'}
2025-10-27 04:09:02,485 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-27 04:09:02,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60870510 passed
2025-10-27 04:09:02,485 - DEBUG - ====Verifying policy data for ctest-vn-60870510 in API_Server ======
2025-10-27 04:09:02,485 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-10-27 04:09:02,491 - DEBUG - Requesting: http://10.0.0.27:8082/domain/0db7dc41-4480-4810-ac7a-24c56a8aa122
2025-10-27 04:09:02,504 - DEBUG - Requesting: http://10.0.0.27:8082/project/6cda7d7d-c45f-44d7-b822-d568ec154dac
2025-10-27 04:09:02,578 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/c7f363a0-d9dd-4b61-9ac7-b1451958d918
2025-10-27 04:09:02,588 - DEBUG - ==>Verifying data for policy with id: 4f144d42-713d-419f-a126-236f3def5948, fqn: ['default-domain', 'ctest-TestBasicPolicy-09794545', 'ctest-policy-allow-all-28696649']
2025-10-27 04:09:02,588 - INFO - VN ctest-vn-60870510 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-27 04:09:02,588 - DEBUG - Verifying the vn in opserver
2025-10-27 04:09:02,588 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510 virtual network link  through opserver 10.0.0.27
2025-10-27 04:09:02,588 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-10-27 04:09:02,600 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510?flat'}
2025-10-27 04:09:02,600 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09794545:ctest-vn-60870510 is found in opserver
2025-10-27 04:09:02,610 - DEBUG - Do not have enough data to verify VN in agent
2025-10-27 04:09:02,616 - DEBUG - VRF ids for VN ctest-vn-60870510: {}
2025-10-27 04:09:02,681 - DEBUG - Services list from nova: [