2025-10-31 22:17:46,211 - INFO - Domain Default found not creating
2025-10-31 22:17:46,343 - INFO - Project ctest-TestBasicPolicy-33956641 not found, creating it
2025-10-31 22:17:46,774 - INFO - Created Project:ctest-TestBasicPolicy-33956641, ID : 08735bf1-3209-4b05-a644-8705118b6543 
2025-10-31 22:17:48,124 - INFO - ================================================================================
2025-10-31 22:17:48,124 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-31 22:17:48,124 - 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-31 22:17:48,387 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2025-10-31 22:17:48,387 - INFO - Initial checks done. Running the testcase now
2025-10-31 22:17:48,387 - INFO - 
2025-10-31 22:17:48,921 - DEBUG - Response for create_network : {'network': {'id': 'd3f36d94-bae6-4344-92a1-ecf764fca022', 'name': 'ctest-vn-54897126', 'tenant_id': '08735bf132094b05a6448705118b6543', 'project_id': '08735bf132094b05a6448705118b6543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-vn-54897126'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 22:17:49,132 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b9fd757-3f16-4402-b8ae-3fff8c3cbe78', 'name': '', 'tenant_id': '08735bf132094b05a6448705118b6543', 'network_id': 'd3f36d94-bae6-4344-92a1-ecf764fca022', 'ip_version': 4, 'cidr': '16.248.104.64/26', 'allocation_pools': [{'start': '16.248.104.66', 'end': '16.248.104.126'}], 'gateway_ip': '16.248.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.248.104.66', 'tags': [], 'project_id': '08735bf132094b05a6448705118b6543'}}
2025-10-31 22:17:49,147 - INFO - Created VN ctest-vn-54897126
2025-10-31 22:17:49,197 - DEBUG - VN ctest-vn-54897126 UUID is d3f36d94-bae6-4344-92a1-ecf764fca022
2025-10-31 22:17:49,472 - DEBUG - Response for create_network : {'network': {'id': 'cf64b02a-e15f-48be-b599-c6798fbc0faf', 'name': 'ctest-vn-05060548', 'tenant_id': '08735bf132094b05a6448705118b6543', 'project_id': '08735bf132094b05a6448705118b6543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-vn-05060548'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 22:17:49,607 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7d3b909-332a-4ca0-a66f-3257143af9ac', 'name': '', 'tenant_id': '08735bf132094b05a6448705118b6543', 'network_id': 'cf64b02a-e15f-48be-b599-c6798fbc0faf', 'ip_version': 4, 'cidr': '77.236.61.0/26', 'allocation_pools': [{'start': '77.236.61.2', 'end': '77.236.61.62'}], 'gateway_ip': '77.236.61.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.236.61.2', 'tags': [], 'project_id': '08735bf132094b05a6448705118b6543'}}
2025-10-31 22:17:49,624 - INFO - Created VN ctest-vn-05060548
2025-10-31 22:17:49,677 - DEBUG - VN ctest-vn-05060548 UUID is cf64b02a-e15f-48be-b599-c6798fbc0faf
2025-10-31 22:17:49,825 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126, 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-33956641:ctest-vn-05060548, 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-31 22:17:50,110 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd3f36d94-bae6-4344-92a1-ecf764fca022', 'name': 'ctest-vn-54897126', 'tenant_id': '08735bf132094b05a6448705118b6543', 'project_id': '08735bf132094b05a6448705118b6543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b9fd757-3f16-4402-b8ae-3fff8c3cbe78'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-vn-54897126'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-policy-allow-all-40055947']], 'subnet_ipam': [{'subnet_cidr': '16.248.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 22:17:50,328 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf64b02a-e15f-48be-b599-c6798fbc0faf', 'name': 'ctest-vn-05060548', 'tenant_id': '08735bf132094b05a6448705118b6543', 'project_id': '08735bf132094b05a6448705118b6543', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7d3b909-332a-4ca0-a66f-3257143af9ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-vn-05060548'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-policy-allow-all-40055947']], 'subnet_ipam': [{'subnet_cidr': '77.236.61.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 22:17:50,481 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-31 22:17:50,782 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-31 22:17:50,809 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b
2025-10-31 22:17:50,821 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543
2025-10-31 22:17:50,891 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022
2025-10-31 22:17:50,901 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022
2025-10-31 22:17:50,909 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2
2025-10-31 22:17:50,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2
2025-10-31 22:17:50,920 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b69e2447-4148-40f1-a3a7-aa16d9d43f90
2025-10-31 22:17:50,925 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 22:17:50,925 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022
2025-10-31 22:17:50,932 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2
2025-10-31 22:17:50,944 - INFO - Verified VN network id 10 for VN d3f36d94-bae6-4344-92a1-ecf764fca022
2025-10-31 22:17:50,944 - INFO - Verifications in API Server for VN ctest-vn-54897126 passed
2025-10-31 22:17:50,944 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022
2025-10-31 22:17:50,951 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2
2025-10-31 22:17:50,957 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f894980a-fed7-455d-bd22-dcaf74482ac2
2025-10-31 22:17:50,963 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b69e2447-4148-40f1-a3a7-aa16d9d43f90
2025-10-31 22:17:50,973 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33956641', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15272671246901723972', 'uuid-lslong': '10565986748083249186'}, 'enable': 'true', 'created': '2025-10-31T22:17:48', 'last-modified': '2025-10-31T22:17:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.882958'}
2025-10-31 22:17:50,980 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 22:17:50,980 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54897126 passed
2025-10-31 22:17:50,980 - DEBUG - ====Verifying policy data for ctest-vn-54897126 in API_Server ======
2025-10-31 22:17:50,980 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-31 22:17:50,986 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b
2025-10-31 22:17:50,996 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543
2025-10-31 22:17:51,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d3f36d94-bae6-4344-92a1-ecf764fca022
2025-10-31 22:17:51,074 - DEBUG - ==>Verifying data for policy with id: 8202999f-1848-4c35-b33c-14ca7a71444e, fqn: ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-policy-allow-all-40055947']
2025-10-31 22:17:51,074 - INFO - VN ctest-vn-54897126 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 22:17:51,074 - DEBUG - Verifying the vn in opserver
2025-10-31 22:17:51,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126 virtual network link  through opserver 10.0.0.50
2025-10-31 22:17:51,074 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-10-31 22:17:51,367 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-10-31 22:17:51,431 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126?flat'}
2025-10-31 22:17:51,431 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-54897126 is found in opserver
2025-10-31 22:17:51,441 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 22:17:51,446 - DEBUG - VRF ids for VN ctest-vn-54897126: {}
2025-10-31 22:17:51,446 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-31 22:17:51,451 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b
2025-10-31 22:17:51,461 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543
2025-10-31 22:17:51,532 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf
2025-10-31 22:17:51,544 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf
2025-10-31 22:17:51,552 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a
2025-10-31 22:17:51,558 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a
2025-10-31 22:17:51,563 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3974c51d-83c5-4ef4-b5be-96ba4cb2cb24
2025-10-31 22:17:51,569 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 22:17:51,569 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf
2025-10-31 22:17:51,578 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a
2025-10-31 22:17:51,590 - INFO - Verified VN network id 11 for VN cf64b02a-e15f-48be-b599-c6798fbc0faf
2025-10-31 22:17:51,590 - INFO - Verifications in API Server for VN ctest-vn-05060548 passed
2025-10-31 22:17:51,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf
2025-10-31 22:17:51,598 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a
2025-10-31 22:17:51,604 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/149d61a2-4074-40b7-8c00-df74f96dd81a
2025-10-31 22:17:51,610 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3974c51d-83c5-4ef4-b5be-96ba4cb2cb24
2025-10-31 22:17:51,619 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33956641', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14944263161738381502', 'uuid-lslong': '13085708417706495919'}, 'enable': 'true', 'created': '2025-10-31T22:17:49', 'last-modified': '2025-10-31T22:17:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.308803'}
2025-10-31 22:17:51,624 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 22:17:51,624 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05060548 passed
2025-10-31 22:17:51,624 - DEBUG - ====Verifying policy data for ctest-vn-05060548 in API_Server ======
2025-10-31 22:17:51,624 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2025-10-31 22:17:51,630 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b1cd44bd-cd8e-4086-8411-09798cb9530b
2025-10-31 22:17:51,640 - DEBUG - Requesting: http://10.0.0.50:8082/project/08735bf1-3209-4b05-a644-8705118b6543
2025-10-31 22:17:51,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/cf64b02a-e15f-48be-b599-c6798fbc0faf
2025-10-31 22:17:51,717 - DEBUG - ==>Verifying data for policy with id: 8202999f-1848-4c35-b33c-14ca7a71444e, fqn: ['default-domain', 'ctest-TestBasicPolicy-33956641', 'ctest-policy-allow-all-40055947']
2025-10-31 22:17:51,718 - INFO - VN ctest-vn-05060548 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 22:17:51,718 - DEBUG - Verifying the vn in opserver
2025-10-31 22:17:51,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548 virtual network link  through opserver 10.0.0.50
2025-10-31 22:17:51,718 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2025-10-31 22:17:51,728 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548?flat'}
2025-10-31 22:17:51,728 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33956641:ctest-vn-05060548 is found in opserver
2025-10-31 22:17:51,738 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 22:17:51,741 - DEBUG - VRF ids for VN ctest-vn-05060548: {}
2025-10-31 22:17:51,792 - DEBUG - Services list from nova: [