2026-06-08 02:15:15,682 - INFO - Domain Default found not creating
2026-06-08 02:15:15,869 - INFO - Project ctest-TestBasicPolicy-05697676 not found, creating it
2026-06-08 02:15:16,344 - INFO - Created Project:ctest-TestBasicPolicy-05697676, ID : 8ff971ec-f6f0-49be-b363-669ca16325b2
2026-06-08 02:15:17,953 - INFO - ================================================================================
2026-06-08 02:15:17,953 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-08 02:15:17,953 - 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
2026-06-08 02:15:18,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with
2026-06-08 02:15:18,224 - INFO - Initial checks done. Running the testcase now
2026-06-08 02:15:18,224 - INFO -
2026-06-08 02:15:18,815 - DEBUG - Response for create_network : {'network': {'id': '9c9d6c0b-c14b-406e-9757-111cbb1711fb', 'name': 'ctest-vn-34805020', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'project_id': '8ff971ecf6f049beb363669ca16325b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-vn-34805020'], 'port_security_enabled': True, 'description': ''}}
2026-06-08 02:15:18,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '1173d8e1-4e9d-4280-8345-9905e1333dde', 'name': '', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'network_id': '9c9d6c0b-c14b-406e-9757-111cbb1711fb', 'ip_version': 4, 'cidr': '94.200.47.128/26', 'allocation_pools': [{'start': '94.200.47.130', 'end': '94.200.47.190'}], 'gateway_ip': '94.200.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.200.47.130', 'tags': [], 'project_id': '8ff971ecf6f049beb363669ca16325b2'}}
2026-06-08 02:15:18,985 - INFO - Created VN ctest-vn-34805020
2026-06-08 02:15:19,040 - DEBUG - VN ctest-vn-34805020 UUID is 9c9d6c0b-c14b-406e-9757-111cbb1711fb
2026-06-08 02:15:19,344 - DEBUG - Response for create_network : {'network': {'id': 'c58dd26a-9b07-44e5-b136-571f765e151b', 'name': 'ctest-vn-87699267', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'project_id': '8ff971ecf6f049beb363669ca16325b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-vn-87699267'], 'port_security_enabled': True, 'description': ''}}
2026-06-08 02:15:19,510 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c8a378a-aeca-4a1a-93e1-af7d733abc3f', 'name': '', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'network_id': 'c58dd26a-9b07-44e5-b136-571f765e151b', 'ip_version': 4, 'cidr': '22.219.219.128/26', 'allocation_pools': [{'start': '22.219.219.130', 'end': '22.219.219.190'}], 'gateway_ip': '22.219.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.219.219.130', 'tags': [], 'project_id': '8ff971ecf6f049beb363669ca16325b2'}}
2026-06-08 02:15:19,533 - INFO - Created VN ctest-vn-87699267
2026-06-08 02:15:19,588 - DEBUG - VN ctest-vn-87699267 UUID is c58dd26a-9b07-44e5-b136-571f765e151b
2026-06-08 02:15:19,704 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020, 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-05697676:ctest-vn-87699267, 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]
2026-06-08 02:15:20,030 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c9d6c0b-c14b-406e-9757-111cbb1711fb', 'name': 'ctest-vn-34805020', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'project_id': '8ff971ecf6f049beb363669ca16325b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1173d8e1-4e9d-4280-8345-9905e1333dde'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-vn-34805020'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-policy-allow-all-59306349']], 'subnet_ipam': [{'subnet_cidr': '94.200.47.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-08 02:15:20,303 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c58dd26a-9b07-44e5-b136-571f765e151b', 'name': 'ctest-vn-87699267', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'project_id': '8ff971ecf6f049beb363669ca16325b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2c8a378a-aeca-4a1a-93e1-af7d733abc3f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-vn-87699267'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-policy-allow-all-59306349']], 'subnet_ipam': [{'subnet_cidr': '22.219.219.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-08 02:15:20,460 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-08 02:15:20,756 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-08 02:15:20,788 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf
2026-06-08 02:15:20,802 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2
2026-06-08 02:15:20,878 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb
2026-06-08 02:15:20,890 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb
2026-06-08 02:15:20,898 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1
2026-06-08 02:15:20,906 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1
2026-06-08 02:15:20,913 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/682a08bb-3834-44c5-bfbf-f3a00a1937c3
2026-06-08 02:15:20,921 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-08 02:15:20,921 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb
2026-06-08 02:15:20,931 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1
2026-06-08 02:15:20,945 - INFO - Verified VN network id 12 for VN 9c9d6c0b-c14b-406e-9757-111cbb1711fb
2026-06-08 02:15:20,945 - INFO - Verifications in API Server for VN ctest-vn-34805020 passed
2026-06-08 02:15:20,945 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb
2026-06-08 02:15:20,956 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1
2026-06-08 02:15:20,963 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1
2026-06-08 02:15:20,971 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/682a08bb-3834-44c5-bfbf-f3a00a1937c3
2026-06-08 02:15:20,983 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05697676', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11285295039003705454', 'uuid-lslong': '10905203837796553211'}, 'enable': 'true', 'created': '2026-06-08T02:15:18', 'last-modified': '2026-06-08T02:15:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985783'}
2026-06-08 02:15:20,989 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-08 02:15:20,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34805020 passed
2026-06-08 02:15:20,989 - DEBUG - ====Verifying policy data for ctest-vn-34805020 in API_Server ======
2026-06-08 02:15:20,990 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-08 02:15:20,996 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf
2026-06-08 02:15:21,006 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2
2026-06-08 02:15:21,082 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb
2026-06-08 02:15:21,093 - DEBUG - ==>Verifying data for policy with id: 0f53ca04-f320-4064-be10-ac044d8e6bde, fqn: ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-policy-allow-all-59306349']
2026-06-08 02:15:21,093 - INFO - VN ctest-vn-34805020 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-08 02:15:21,093 - DEBUG - Verifying the vn in opserver
2026-06-08 02:15:21,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020 virtual network link through opserver 10.0.0.242
2026-06-08 02:15:21,094 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-06-08 02:15:21,398 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-06-08 02:15:21,468 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020?flat'}
2026-06-08 02:15:21,468 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020 is found in opserver
2026-06-08 02:15:21,477 - DEBUG - Do not have enough data to verify VN in agent
2026-06-08 02:15:21,481 - DEBUG - VRF ids for VN ctest-vn-34805020: {}
2026-06-08 02:15:21,482 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-08 02:15:21,488 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf
2026-06-08 02:15:21,500 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2
2026-06-08 02:15:21,573 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b
2026-06-08 02:15:21,585 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b
2026-06-08 02:15:21,594 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b
2026-06-08 02:15:21,602 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b
2026-06-08 02:15:21,610 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2694a29d-d3cf-43bc-a60b-d7a8e0fe4383
2026-06-08 02:15:21,617 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-08 02:15:21,617 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b
2026-06-08 02:15:21,626 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b
2026-06-08 02:15:21,641 - INFO - Verified VN network id 13 for VN c58dd26a-9b07-44e5-b136-571f765e151b
2026-06-08 02:15:21,641 - INFO - Verifications in API Server for VN ctest-vn-87699267 passed
2026-06-08 02:15:21,641 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b
2026-06-08 02:15:21,653 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b
2026-06-08 02:15:21,661 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b
2026-06-08 02:15:21,670 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2694a29d-d3cf-43bc-a60b-d7a8e0fe4383
2026-06-08 02:15:21,684 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05697676', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14235265352497317093', 'uuid-lslong': '12769489586097100059'}, 'enable': 'true', 'created': '2026-06-08T02:15:19', 'last-modified': '2026-06-08T02:15:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416343'}
2026-06-08 02:15:21,692 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-08 02:15:21,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87699267 passed
2026-06-08 02:15:21,693 - DEBUG - ====Verifying policy data for ctest-vn-87699267 in API_Server ======
2026-06-08 02:15:21,693 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2026-06-08 02:15:21,704 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf
2026-06-08 02:15:21,715 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2
2026-06-08 02:15:21,787 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b
2026-06-08 02:15:21,796 - DEBUG - ==>Verifying data for policy with id: 0f53ca04-f320-4064-be10-ac044d8e6bde, fqn: ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-policy-allow-all-59306349']
2026-06-08 02:15:21,796 - INFO - VN ctest-vn-87699267 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-08 02:15:21,796 - DEBUG - Verifying the vn in opserver
2026-06-08 02:15:21,796 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267 virtual network link through opserver 10.0.0.242
2026-06-08 02:15:21,796 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2026-06-08 02:15:21,805 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267?flat'}
2026-06-08 02:15:21,805 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267 is found in opserver
2026-06-08 02:15:21,816 - DEBUG - Do not have enough data to verify VN in agent
2026-06-08 02:15:21,820 - DEBUG - VRF ids for VN ctest-vn-87699267: {}
2026-06-08 02:15:21,887 - DEBUG - Services list from nova: [