2025-10-22 08:50:09,984 - INFO - Domain Default found not creating
2025-10-22 08:50:10,137 - INFO - Project ctest-TestBasicPolicy-29651319 not found, creating it
2025-10-22 08:50:10,592 - INFO - Created Project:ctest-TestBasicPolicy-29651319, ID : b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6 
2025-10-22 08:50:12,096 - INFO - ================================================================================
2025-10-22 08:50:12,096 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-22 08:50:12,096 - 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-22 08:50:12,353 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-10-22 08:50:12,354 - INFO - Initial checks done. Running the testcase now
2025-10-22 08:50:12,354 - INFO - 
2025-10-22 08:50:12,907 - DEBUG - Response for create_network : {'network': {'id': 'c541ba4b-0bef-48ea-bbcb-248cb18192a1', 'name': 'ctest-vn-02488672', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-vn-02488672'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 08:50:13,087 - DEBUG - Response for create_subnet : {'subnet': {'id': '24a50108-b764-4c8f-bbed-fe036461c1fd', 'name': '', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'network_id': 'c541ba4b-0bef-48ea-bbcb-248cb18192a1', 'ip_version': 4, 'cidr': '54.36.252.64/26', 'allocation_pools': [{'start': '54.36.252.66', 'end': '54.36.252.126'}], 'gateway_ip': '54.36.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.36.252.66', 'tags': [], 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6'}}
2025-10-22 08:50:13,104 - INFO - Created VN ctest-vn-02488672
2025-10-22 08:50:13,158 - DEBUG - VN ctest-vn-02488672 UUID is c541ba4b-0bef-48ea-bbcb-248cb18192a1
2025-10-22 08:50:13,455 - DEBUG - Response for create_network : {'network': {'id': '3e0277d2-291c-4876-bebe-858967c13149', 'name': 'ctest-vn-98747352', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-vn-98747352'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 08:50:13,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dcdf2e9-a16e-4b71-8d15-e2795610d53a', 'name': '', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'network_id': '3e0277d2-291c-4876-bebe-858967c13149', 'ip_version': 4, 'cidr': '57.100.195.192/26', 'allocation_pools': [{'start': '57.100.195.194', 'end': '57.100.195.254'}], 'gateway_ip': '57.100.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.100.195.194', 'tags': [], 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6'}}
2025-10-22 08:50:13,647 - INFO - Created VN ctest-vn-98747352
2025-10-22 08:50:13,698 - DEBUG - VN ctest-vn-98747352 UUID is 3e0277d2-291c-4876-bebe-858967c13149
2025-10-22 08:50:13,810 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672, 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-29651319:ctest-vn-98747352, 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-22 08:50:14,103 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c541ba4b-0bef-48ea-bbcb-248cb18192a1', 'name': 'ctest-vn-02488672', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['24a50108-b764-4c8f-bbed-fe036461c1fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-vn-02488672'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-policy-allow-all-61951535']], 'subnet_ipam': [{'subnet_cidr': '54.36.252.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 08:50:14,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3e0277d2-291c-4876-bebe-858967c13149', 'name': 'ctest-vn-98747352', 'tenant_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'project_id': 'b654ac006e8a4bc59d4ee55d60f1c3d6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0dcdf2e9-a16e-4b71-8d15-e2795610d53a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-vn-98747352'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-policy-allow-all-61951535']], 'subnet_ipam': [{'subnet_cidr': '57.100.195.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 08:50:14,522 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-22 08:50:14,818 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-22 08:50:14,848 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e
2025-10-22 08:50:14,861 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6
2025-10-22 08:50:14,935 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1
2025-10-22 08:50:14,947 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1
2025-10-22 08:50:14,957 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92
2025-10-22 08:50:14,964 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92
2025-10-22 08:50:14,972 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/532d30dd-7686-4233-9eca-e21e4d3c9fcc
2025-10-22 08:50:14,977 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 08:50:14,977 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1
2025-10-22 08:50:14,986 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92
2025-10-22 08:50:14,999 - INFO - Verified VN network id 11 for VN c541ba4b-0bef-48ea-bbcb-248cb18192a1
2025-10-22 08:50:14,999 - INFO - Verifications in API Server for VN ctest-vn-02488672 passed
2025-10-22 08:50:14,999 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1
2025-10-22 08:50:15,007 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92
2025-10-22 08:50:15,014 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/66f7ccee-eda0-414d-ab29-2d0cdb98ec92
2025-10-22 08:50:15,020 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/532d30dd-7686-4233-9eca-e21e4d3c9fcc
2025-10-22 08:50:15,035 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29651319', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14213846730443540714', 'uuid-lslong': '13531949692056867489'}, 'enable': 'true', 'created': '2025-10-22T08:50:12', 'last-modified': '2025-10-22T08:50:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.955552'}
2025-10-22 08:50:15,042 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 08:50:15,042 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02488672 passed
2025-10-22 08:50:15,042 - DEBUG - ====Verifying policy data for ctest-vn-02488672 in API_Server ======
2025-10-22 08:50:15,042 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-22 08:50:15,048 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e
2025-10-22 08:50:15,058 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6
2025-10-22 08:50:15,127 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/c541ba4b-0bef-48ea-bbcb-248cb18192a1
2025-10-22 08:50:15,136 - DEBUG - ==>Verifying data for policy with id: cf60bd0e-eff2-45af-9d65-f7d02fe185b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-policy-allow-all-61951535']
2025-10-22 08:50:15,136 - INFO - VN ctest-vn-02488672 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 08:50:15,136 - DEBUG - Verifying the vn in opserver
2025-10-22 08:50:15,136 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672 virtual network link  through opserver 10.0.0.33
2025-10-22 08:50:15,136 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-22 08:50:15,427 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-22 08:50:15,507 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672?flat'}
2025-10-22 08:50:15,507 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-02488672 is found in opserver
2025-10-22 08:50:15,518 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 08:50:15,523 - DEBUG - VRF ids for VN ctest-vn-02488672: {}
2025-10-22 08:50:15,523 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-22 08:50:15,535 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e
2025-10-22 08:50:15,546 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6
2025-10-22 08:50:15,618 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149
2025-10-22 08:50:15,631 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149
2025-10-22 08:50:15,642 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b
2025-10-22 08:50:15,652 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b
2025-10-22 08:50:15,658 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/16752021-097d-469e-b9e1-7265bca31ccd
2025-10-22 08:50:15,664 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 08:50:15,664 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149
2025-10-22 08:50:15,673 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b
2025-10-22 08:50:15,687 - INFO - Verified VN network id 12 for VN 3e0277d2-291c-4876-bebe-858967c13149
2025-10-22 08:50:15,687 - INFO - Verifications in API Server for VN ctest-vn-98747352 passed
2025-10-22 08:50:15,687 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149
2025-10-22 08:50:15,696 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b
2025-10-22 08:50:15,703 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/95839706-086c-4fd2-b235-372900c47d5b
2025-10-22 08:50:15,710 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/16752021-097d-469e-b9e1-7265bca31ccd
2025-10-22 08:50:15,724 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29651319', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4468265524821510262', 'uuid-lslong': '13744569937979060553'}, 'enable': 'true', 'created': '2025-10-22T08:50:13', 'last-modified': '2025-10-22T08:50:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.415544'}
2025-10-22 08:50:15,729 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 08:50:15,729 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98747352 passed
2025-10-22 08:50:15,730 - DEBUG - ====Verifying policy data for ctest-vn-98747352 in API_Server ======
2025-10-22 08:50:15,730 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2025-10-22 08:50:15,737 - DEBUG - Requesting: http://10.0.0.33:8082/domain/5810d57b-20d0-413c-98c7-7607799c096e
2025-10-22 08:50:15,750 - DEBUG - Requesting: http://10.0.0.33:8082/project/b654ac00-6e8a-4bc5-9d4e-e55d60f1c3d6
2025-10-22 08:50:15,824 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3e0277d2-291c-4876-bebe-858967c13149
2025-10-22 08:50:15,835 - DEBUG - ==>Verifying data for policy with id: cf60bd0e-eff2-45af-9d65-f7d02fe185b6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29651319', 'ctest-policy-allow-all-61951535']
2025-10-22 08:50:15,835 - INFO - VN ctest-vn-98747352 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 08:50:15,835 - DEBUG - Verifying the vn in opserver
2025-10-22 08:50:15,835 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352 virtual network link  through opserver 10.0.0.33
2025-10-22 08:50:15,835 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-10-22 08:50:15,846 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352?flat'}
2025-10-22 08:50:15,846 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29651319:ctest-vn-98747352 is found in opserver
2025-10-22 08:50:15,854 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 08:50:15,858 - DEBUG - VRF ids for VN ctest-vn-98747352: {}
2025-10-22 08:50:15,915 - DEBUG - Services list from nova: [