2026-04-30 02:27:51,662 - INFO - Domain Default found not creating
2026-04-30 02:27:51,859 - INFO - Project ctest-TestBasicPolicy-46104433 not found, creating it
2026-04-30 02:27:52,369 - INFO - Created Project:ctest-TestBasicPolicy-46104433, ID : e4354624-d2b3-4401-9bea-f75c8282eeda
2026-04-30 02:27:53,898 - INFO - ================================================================================
2026-04-30 02:27:53,898 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-30 02:27:53,898 - 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-04-30 02:27:54,158 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.14': '0'}} with
2026-04-30 02:27:54,158 - INFO - Initial checks done. Running the testcase now
2026-04-30 02:27:54,158 - INFO -
2026-04-30 02:27:54,727 - DEBUG - Response for create_network : {'network': {'id': 'd864aa22-75ba-41e3-a4e6-86a4c0cd5db7', 'name': 'ctest-vn-19197713', 'tenant_id': 'e4354624d2b344019beaf75c8282eeda', 'project_id': 'e4354624d2b344019beaf75c8282eeda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46104433', 'ctest-vn-19197713'], 'port_security_enabled': True, 'description': ''}}
2026-04-30 02:27:54,919 - DEBUG - Response for create_subnet : {'subnet': {'id': '1020f098-a2e2-4bd8-afd9-232a1a82f70a', 'name': '', 'tenant_id': 'e4354624d2b344019beaf75c8282eeda', 'network_id': 'd864aa22-75ba-41e3-a4e6-86a4c0cd5db7', 'ip_version': 4, 'cidr': '110.84.73.64/26', 'allocation_pools': [{'start': '110.84.73.66', 'end': '110.84.73.126'}], 'gateway_ip': '110.84.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.84.73.66', 'tags': [], 'project_id': 'e4354624d2b344019beaf75c8282eeda'}}
2026-04-30 02:27:54,937 - INFO - Created VN ctest-vn-19197713
2026-04-30 02:27:54,992 - DEBUG - VN ctest-vn-19197713 UUID is d864aa22-75ba-41e3-a4e6-86a4c0cd5db7
2026-04-30 02:27:55,324 - DEBUG - Response for create_network : {'network': {'id': 'ac1f5a38-ebc8-4828-966b-d77129a73b21', 'name': 'ctest-vn-30649002', 'tenant_id': 'e4354624d2b344019beaf75c8282eeda', 'project_id': 'e4354624d2b344019beaf75c8282eeda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46104433', 'ctest-vn-30649002'], 'port_security_enabled': True, 'description': ''}}
2026-04-30 02:27:55,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '5781d94c-619e-4529-b3d7-9734dd79d30c', 'name': '', 'tenant_id': 'e4354624d2b344019beaf75c8282eeda', 'network_id': 'ac1f5a38-ebc8-4828-966b-d77129a73b21', 'ip_version': 4, 'cidr': '80.41.65.64/26', 'allocation_pools': [{'start': '80.41.65.66', 'end': '80.41.65.126'}], 'gateway_ip': '80.41.65.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.41.65.66', 'tags': [], 'project_id': 'e4354624d2b344019beaf75c8282eeda'}}
2026-04-30 02:27:55,528 - INFO - Created VN ctest-vn-30649002
2026-04-30 02:27:55,580 - DEBUG - VN ctest-vn-30649002 UUID is ac1f5a38-ebc8-4828-966b-d77129a73b21
2026-04-30 02:27:55,736 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-19197713, 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-46104433:ctest-vn-30649002, 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-04-30 02:27:56,042 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd864aa22-75ba-41e3-a4e6-86a4c0cd5db7', 'name': 'ctest-vn-19197713', 'tenant_id': 'e4354624d2b344019beaf75c8282eeda', 'project_id': 'e4354624d2b344019beaf75c8282eeda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1020f098-a2e2-4bd8-afd9-232a1a82f70a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46104433', 'ctest-vn-19197713'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46104433', 'ctest-policy-allow-all-48771888']], 'subnet_ipam': [{'subnet_cidr': '110.84.73.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-30 02:27:56,260 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ac1f5a38-ebc8-4828-966b-d77129a73b21', 'name': 'ctest-vn-30649002', 'tenant_id': 'e4354624d2b344019beaf75c8282eeda', 'project_id': 'e4354624d2b344019beaf75c8282eeda', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5781d94c-619e-4529-b3d7-9734dd79d30c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46104433', 'ctest-vn-30649002'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46104433', 'ctest-policy-allow-all-48771888']], 'subnet_ipam': [{'subnet_cidr': '80.41.65.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-30 02:27:56,428 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-04-30 02:27:56,723 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-04-30 02:27:56,758 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9197408b-9846-4a09-a4d1-7ad1da0b0859
2026-04-30 02:27:56,776 - DEBUG - Requesting: http://10.0.0.130:8082/project/e4354624-d2b3-4401-9bea-f75c8282eeda
2026-04-30 02:27:56,848 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d864aa22-75ba-41e3-a4e6-86a4c0cd5db7
2026-04-30 02:27:56,859 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d864aa22-75ba-41e3-a4e6-86a4c0cd5db7
2026-04-30 02:27:56,868 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/406413e3-17f6-40e4-8018-c689ef359963
2026-04-30 02:27:56,880 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/406413e3-17f6-40e4-8018-c689ef359963
2026-04-30 02:27:56,887 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/34d81f88-dded-4759-88b5-1882200a06fd
2026-04-30 02:27:56,894 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-30 02:27:56,894 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d864aa22-75ba-41e3-a4e6-86a4c0cd5db7
2026-04-30 02:27:56,902 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/406413e3-17f6-40e4-8018-c689ef359963
2026-04-30 02:27:56,917 - INFO - Verified VN network id 11 for VN d864aa22-75ba-41e3-a4e6-86a4c0cd5db7
2026-04-30 02:27:56,917 - INFO - Verifications in API Server for VN ctest-vn-19197713 passed
2026-04-30 02:27:56,917 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d864aa22-75ba-41e3-a4e6-86a4c0cd5db7
2026-04-30 02:27:56,926 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/406413e3-17f6-40e4-8018-c689ef359963
2026-04-30 02:27:56,933 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/406413e3-17f6-40e4-8018-c689ef359963
2026-04-30 02:27:56,940 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/34d81f88-dded-4759-88b5-1882200a06fd
2026-04-30 02:27:56,953 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-19197713', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46104433', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15592774874844250595', 'uuid-lslong': '11882332709031075255'}, 'enable': 'true', 'created': '2026-04-30T02:27:54', 'last-modified': '2026-04-30T02:27:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.951438'}
2026-04-30 02:27:56,960 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-30 02:27:56,960 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19197713 passed
2026-04-30 02:27:56,961 - DEBUG - ====Verifying policy data for ctest-vn-19197713 in API_Server ======
2026-04-30 02:27:56,961 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-04-30 02:27:56,966 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9197408b-9846-4a09-a4d1-7ad1da0b0859
2026-04-30 02:27:56,977 - DEBUG - Requesting: http://10.0.0.130:8082/project/e4354624-d2b3-4401-9bea-f75c8282eeda
2026-04-30 02:27:57,045 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/d864aa22-75ba-41e3-a4e6-86a4c0cd5db7
2026-04-30 02:27:57,056 - DEBUG - ==>Verifying data for policy with id: b4730ea7-7ac4-4189-8da6-eebd07a20b63, fqn: ['default-domain', 'ctest-TestBasicPolicy-46104433', 'ctest-policy-allow-all-48771888']
2026-04-30 02:27:57,056 - INFO - VN ctest-vn-19197713 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-30 02:27:57,056 - DEBUG - Verifying the vn in opserver
2026-04-30 02:27:57,056 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-19197713 virtual network link through opserver 10.0.0.130
2026-04-30 02:27:57,056 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-04-30 02:27:57,355 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-04-30 02:27:57,430 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-19197713', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-19197713?flat'}
2026-04-30 02:27:57,430 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-19197713 is found in opserver
2026-04-30 02:27:57,439 - DEBUG - Do not have enough data to verify VN in agent
2026-04-30 02:27:57,444 - DEBUG - VRF ids for VN ctest-vn-19197713: {}
2026-04-30 02:27:57,444 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-04-30 02:27:57,450 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9197408b-9846-4a09-a4d1-7ad1da0b0859
2026-04-30 02:27:57,462 - DEBUG - Requesting: http://10.0.0.130:8082/project/e4354624-d2b3-4401-9bea-f75c8282eeda
2026-04-30 02:27:57,533 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ac1f5a38-ebc8-4828-966b-d77129a73b21
2026-04-30 02:27:57,545 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ac1f5a38-ebc8-4828-966b-d77129a73b21
2026-04-30 02:27:57,555 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/62e85c63-b364-4986-b90e-34a90436935a
2026-04-30 02:27:57,564 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/62e85c63-b364-4986-b90e-34a90436935a
2026-04-30 02:27:57,571 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/dcf2e86c-8476-4d06-9a87-7897dc8e257e
2026-04-30 02:27:57,578 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-30 02:27:57,578 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ac1f5a38-ebc8-4828-966b-d77129a73b21
2026-04-30 02:27:57,587 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/62e85c63-b364-4986-b90e-34a90436935a
2026-04-30 02:27:57,603 - INFO - Verified VN network id 12 for VN ac1f5a38-ebc8-4828-966b-d77129a73b21
2026-04-30 02:27:57,603 - INFO - Verifications in API Server for VN ctest-vn-30649002 passed
2026-04-30 02:27:57,603 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ac1f5a38-ebc8-4828-966b-d77129a73b21
2026-04-30 02:27:57,614 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/62e85c63-b364-4986-b90e-34a90436935a
2026-04-30 02:27:57,622 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/62e85c63-b364-4986-b90e-34a90436935a
2026-04-30 02:27:57,629 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/dcf2e86c-8476-4d06-9a87-7897dc8e257e
2026-04-30 02:27:57,641 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-30649002', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46104433', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12402731099322075176', 'uuid-lslong': '10838993809227332385'}, 'enable': 'true', 'created': '2026-04-30T02:27:55', 'last-modified': '2026-04-30T02:27:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.402772'}
2026-04-30 02:27:57,648 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-30 02:27:57,648 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30649002 passed
2026-04-30 02:27:57,649 - DEBUG - ====Verifying policy data for ctest-vn-30649002 in API_Server ======
2026-04-30 02:27:57,649 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-04-30 02:27:57,656 - DEBUG - Requesting: http://10.0.0.130:8082/domain/9197408b-9846-4a09-a4d1-7ad1da0b0859
2026-04-30 02:27:57,666 - DEBUG - Requesting: http://10.0.0.130:8082/project/e4354624-d2b3-4401-9bea-f75c8282eeda
2026-04-30 02:27:57,740 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/ac1f5a38-ebc8-4828-966b-d77129a73b21
2026-04-30 02:27:57,749 - DEBUG - ==>Verifying data for policy with id: b4730ea7-7ac4-4189-8da6-eebd07a20b63, fqn: ['default-domain', 'ctest-TestBasicPolicy-46104433', 'ctest-policy-allow-all-48771888']
2026-04-30 02:27:57,749 - INFO - VN ctest-vn-30649002 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-30 02:27:57,749 - DEBUG - Verifying the vn in opserver
2026-04-30 02:27:57,749 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-30649002 virtual network link through opserver 10.0.0.130
2026-04-30 02:27:57,749 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-04-30 02:27:57,760 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-30649002', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-30649002?flat'}
2026-04-30 02:27:57,760 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46104433:ctest-vn-30649002 is found in opserver
2026-04-30 02:27:57,770 - DEBUG - Do not have enough data to verify VN in agent
2026-04-30 02:27:57,775 - DEBUG - VRF ids for VN ctest-vn-30649002: {}
2026-04-30 02:27:57,849 - DEBUG - Services list from nova: [