2025-10-28 18:28:07,870 - INFO - Domain Default found not creating
2025-10-28 18:28:08,047 - INFO - Project ctest-TestBasicPolicy-84170789 not found, creating it
2025-10-28 18:28:08,513 - INFO - Created Project:ctest-TestBasicPolicy-84170789, ID : d5d06105-d3f2-4a97-8758-d2caa7ef156d 
2025-10-28 18:28:09,992 - INFO - ================================================================================
2025-10-28 18:28:09,992 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-28 18:28:09,992 - 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-28 18:28:10,247 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with
2025-10-28 18:28:10,247 - INFO - Initial checks done. Running the testcase now
2025-10-28 18:28:10,248 - INFO - 
2025-10-28 18:28:10,836 - DEBUG - Response for create_network : {'network': {'id': '44126f2f-1ef0-4a3c-ba92-46e0f3d609bd', 'name': 'ctest-vn-16442067', 'tenant_id': 'd5d06105d3f24a978758d2caa7ef156d', 'project_id': 'd5d06105d3f24a978758d2caa7ef156d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84170789', 'ctest-vn-16442067'], 'port_security_enabled': True, 'description': ''}}
2025-10-28 18:28:11,073 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bde885f2-91fe-45fb-8f68-9d4150b51139', 'name': '', 'tenant_id': 'd5d06105d3f24a978758d2caa7ef156d', 'network_id': '44126f2f-1ef0-4a3c-ba92-46e0f3d609bd', 'ip_version': 4, 'cidr': '50.153.198.64/26', 'allocation_pools': [{'start': '50.153.198.66', 'end': '50.153.198.126'}], 'gateway_ip': '50.153.198.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.153.198.66', 'tags': [], 'project_id': 'd5d06105d3f24a978758d2caa7ef156d'}}
2025-10-28 18:28:11,094 - INFO - Created VN ctest-vn-16442067
2025-10-28 18:28:11,145 - DEBUG - VN ctest-vn-16442067 UUID is 44126f2f-1ef0-4a3c-ba92-46e0f3d609bd
2025-10-28 18:28:11,455 - DEBUG - Response for create_network : {'network': {'id': 'b3b53301-9d26-4f0a-a1be-5e81d990c94d', 'name': 'ctest-vn-54955292', 'tenant_id': 'd5d06105d3f24a978758d2caa7ef156d', 'project_id': 'd5d06105d3f24a978758d2caa7ef156d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84170789', 'ctest-vn-54955292'], 'port_security_enabled': True, 'description': ''}}
2025-10-28 18:28:11,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '4163c936-c0f8-44e2-8f31-8e47dab53821', 'name': '', 'tenant_id': 'd5d06105d3f24a978758d2caa7ef156d', 'network_id': 'b3b53301-9d26-4f0a-a1be-5e81d990c94d', 'ip_version': 4, 'cidr': '87.50.179.0/26', 'allocation_pools': [{'start': '87.50.179.2', 'end': '87.50.179.62'}], 'gateway_ip': '87.50.179.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.50.179.2', 'tags': [], 'project_id': 'd5d06105d3f24a978758d2caa7ef156d'}}
2025-10-28 18:28:11,642 - INFO - Created VN ctest-vn-54955292
2025-10-28 18:28:11,693 - DEBUG - VN ctest-vn-54955292 UUID is b3b53301-9d26-4f0a-a1be-5e81d990c94d
2025-10-28 18:28:11,853 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-16442067, 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-84170789:ctest-vn-54955292, 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-28 18:28:12,162 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44126f2f-1ef0-4a3c-ba92-46e0f3d609bd', 'name': 'ctest-vn-16442067', 'tenant_id': 'd5d06105d3f24a978758d2caa7ef156d', 'project_id': 'd5d06105d3f24a978758d2caa7ef156d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bde885f2-91fe-45fb-8f68-9d4150b51139'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84170789', 'ctest-vn-16442067'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84170789', 'ctest-policy-allow-all-12745859']], 'subnet_ipam': [{'subnet_cidr': '50.153.198.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-28 18:28:12,413 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3b53301-9d26-4f0a-a1be-5e81d990c94d', 'name': 'ctest-vn-54955292', 'tenant_id': 'd5d06105d3f24a978758d2caa7ef156d', 'project_id': 'd5d06105d3f24a978758d2caa7ef156d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4163c936-c0f8-44e2-8f31-8e47dab53821'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-84170789', 'ctest-vn-54955292'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-84170789', 'ctest-policy-allow-all-12745859']], 'subnet_ipam': [{'subnet_cidr': '87.50.179.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-28 18:28:12,573 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-28 18:28:12,865 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-28 18:28:12,894 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d7772d53-6fba-44bd-a907-4cd7b879fc53
2025-10-28 18:28:12,907 - DEBUG - Requesting: http://10.0.0.242:8082/project/d5d06105-d3f2-4a97-8758-d2caa7ef156d
2025-10-28 18:28:12,981 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/44126f2f-1ef0-4a3c-ba92-46e0f3d609bd
2025-10-28 18:28:12,992 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/44126f2f-1ef0-4a3c-ba92-46e0f3d609bd
2025-10-28 18:28:13,002 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8745900f-6f4e-4e1b-912c-4d9f9957ff6c
2025-10-28 18:28:13,010 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8745900f-6f4e-4e1b-912c-4d9f9957ff6c
2025-10-28 18:28:13,018 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/efe35fd3-9804-4bca-a9ba-65db9fe53367
2025-10-28 18:28:13,026 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-28 18:28:13,026 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/44126f2f-1ef0-4a3c-ba92-46e0f3d609bd
2025-10-28 18:28:13,035 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8745900f-6f4e-4e1b-912c-4d9f9957ff6c
2025-10-28 18:28:13,049 - INFO - Verified VN network id 11 for VN 44126f2f-1ef0-4a3c-ba92-46e0f3d609bd
2025-10-28 18:28:13,049 - INFO - Verifications in API Server for VN ctest-vn-16442067 passed
2025-10-28 18:28:13,049 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/44126f2f-1ef0-4a3c-ba92-46e0f3d609bd
2025-10-28 18:28:13,058 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8745900f-6f4e-4e1b-912c-4d9f9957ff6c
2025-10-28 18:28:13,065 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/8745900f-6f4e-4e1b-912c-4d9f9957ff6c
2025-10-28 18:28:13,072 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/efe35fd3-9804-4bca-a9ba-65db9fe53367
2025-10-28 18:28:13,083 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-16442067', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84170789', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4905105192333101628', 'uuid-lslong': '13443885769631861181'}, 'enable': 'true', 'created': '2025-10-28T18:28:10', 'last-modified': '2025-10-28T18:28:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950759'}
2025-10-28 18:28:13,089 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-28 18:28:13,089 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16442067 passed
2025-10-28 18:28:13,090 - DEBUG - ====Verifying policy data for ctest-vn-16442067 in API_Server ======
2025-10-28 18:28:13,090 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-28 18:28:13,095 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d7772d53-6fba-44bd-a907-4cd7b879fc53
2025-10-28 18:28:13,109 - DEBUG - Requesting: http://10.0.0.242:8082/project/d5d06105-d3f2-4a97-8758-d2caa7ef156d
2025-10-28 18:28:13,178 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/44126f2f-1ef0-4a3c-ba92-46e0f3d609bd
2025-10-28 18:28:13,197 - DEBUG - ==>Verifying data for policy with id: bd258564-e7c5-4aa5-971e-a3c1f0379d86, fqn: ['default-domain', 'ctest-TestBasicPolicy-84170789', 'ctest-policy-allow-all-12745859']
2025-10-28 18:28:13,197 - INFO - VN ctest-vn-16442067 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-28 18:28:13,197 - DEBUG - Verifying the vn in opserver
2025-10-28 18:28:13,197 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-16442067 virtual network link  through opserver 10.0.0.242
2025-10-28 18:28:13,198 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-28 18:28:13,517 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-28 18:28:13,572 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-16442067', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-16442067?flat'}
2025-10-28 18:28:13,572 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-16442067 is found in opserver
2025-10-28 18:28:13,581 - DEBUG - Do not have enough data to verify VN in agent
2025-10-28 18:28:13,585 - DEBUG - VRF ids for VN ctest-vn-16442067: {}
2025-10-28 18:28:13,585 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-28 18:28:13,591 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d7772d53-6fba-44bd-a907-4cd7b879fc53
2025-10-28 18:28:13,601 - DEBUG - Requesting: http://10.0.0.242:8082/project/d5d06105-d3f2-4a97-8758-d2caa7ef156d
2025-10-28 18:28:13,671 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b3b53301-9d26-4f0a-a1be-5e81d990c94d
2025-10-28 18:28:13,682 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b3b53301-9d26-4f0a-a1be-5e81d990c94d
2025-10-28 18:28:13,690 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2fd2c186-2778-4338-8fb1-45187938bc28
2025-10-28 18:28:13,696 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2fd2c186-2778-4338-8fb1-45187938bc28
2025-10-28 18:28:13,702 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/26de3c77-528d-4a29-8776-fd6fd78c14a6
2025-10-28 18:28:13,708 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-28 18:28:13,708 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b3b53301-9d26-4f0a-a1be-5e81d990c94d
2025-10-28 18:28:13,718 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2fd2c186-2778-4338-8fb1-45187938bc28
2025-10-28 18:28:13,733 - INFO - Verified VN network id 12 for VN b3b53301-9d26-4f0a-a1be-5e81d990c94d
2025-10-28 18:28:13,733 - INFO - Verifications in API Server for VN ctest-vn-54955292 passed
2025-10-28 18:28:13,733 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b3b53301-9d26-4f0a-a1be-5e81d990c94d
2025-10-28 18:28:13,743 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2fd2c186-2778-4338-8fb1-45187938bc28
2025-10-28 18:28:13,750 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/2fd2c186-2778-4338-8fb1-45187938bc28
2025-10-28 18:28:13,758 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/26de3c77-528d-4a29-8776-fd6fd78c14a6
2025-10-28 18:28:13,770 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-54955292', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-84170789', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12949312385598246666', 'uuid-lslong': '11654856797475359053'}, 'enable': 'true', 'created': '2025-10-28T18:28:11', 'last-modified': '2025-10-28T18:28:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396092'}
2025-10-28 18:28:13,775 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-28 18:28:13,775 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54955292 passed
2025-10-28 18:28:13,776 - DEBUG - ====Verifying policy data for ctest-vn-54955292 in API_Server ======
2025-10-28 18:28:13,776 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-28 18:28:13,781 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d7772d53-6fba-44bd-a907-4cd7b879fc53
2025-10-28 18:28:13,791 - DEBUG - Requesting: http://10.0.0.242:8082/project/d5d06105-d3f2-4a97-8758-d2caa7ef156d
2025-10-28 18:28:13,865 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/b3b53301-9d26-4f0a-a1be-5e81d990c94d
2025-10-28 18:28:13,873 - DEBUG - ==>Verifying data for policy with id: bd258564-e7c5-4aa5-971e-a3c1f0379d86, fqn: ['default-domain', 'ctest-TestBasicPolicy-84170789', 'ctest-policy-allow-all-12745859']
2025-10-28 18:28:13,873 - INFO - VN ctest-vn-54955292 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-28 18:28:13,874 - DEBUG - Verifying the vn in opserver
2025-10-28 18:28:13,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-54955292 virtual network link  through opserver 10.0.0.242
2025-10-28 18:28:13,874 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-28 18:28:13,883 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-54955292', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-54955292?flat'}
2025-10-28 18:28:13,883 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-84170789:ctest-vn-54955292 is found in opserver
2025-10-28 18:28:13,893 - DEBUG - Do not have enough data to verify VN in agent
2025-10-28 18:28:13,898 - DEBUG - VRF ids for VN ctest-vn-54955292: {}
2025-10-28 18:28:13,969 - DEBUG - Services list from nova: [