2026-02-03 02:36:07,998 - INFO - Domain Default found not creating
2026-02-03 02:36:08,152 - INFO - Project ctest-TestBasicPolicy-72347590 not found, creating it
2026-02-03 02:36:08,602 - INFO - Created Project:ctest-TestBasicPolicy-72347590, ID : 875db39d-501d-4f49-a37d-2aacd3875319
2026-02-03 02:36:10,024 - INFO - ================================================================================
2026-02-03 02:36:10,024 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 02:36:10,024 - 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-02-03 02:36:10,291 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2026-02-03 02:36:10,291 - INFO - Initial checks done. Running the testcase now
2026-02-03 02:36:10,291 - INFO -
2026-02-03 02:36:10,812 - DEBUG - Response for create_network : {'network': {'id': 'b51db2f7-337a-498b-8cde-238e1664358b', 'name': 'ctest-vn-52735656', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'project_id': '875db39d501d4f49a37d2aacd3875319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-vn-52735656'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 02:36:10,975 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ad571fc-6e27-40da-aee7-d8659f9423ce', 'name': '', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'network_id': 'b51db2f7-337a-498b-8cde-238e1664358b', 'ip_version': 4, 'cidr': '131.108.117.0/26', 'allocation_pools': [{'start': '131.108.117.2', 'end': '131.108.117.62'}], 'gateway_ip': '131.108.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.108.117.2', 'tags': [], 'project_id': '875db39d501d4f49a37d2aacd3875319'}}
2026-02-03 02:36:10,991 - INFO - Created VN ctest-vn-52735656
2026-02-03 02:36:11,046 - DEBUG - VN ctest-vn-52735656 UUID is b51db2f7-337a-498b-8cde-238e1664358b
2026-02-03 02:36:11,374 - DEBUG - Response for create_network : {'network': {'id': 'de8dd1f5-d32c-4596-a336-0430b7f36679', 'name': 'ctest-vn-19134401', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'project_id': '875db39d501d4f49a37d2aacd3875319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-vn-19134401'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 02:36:11,571 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f961edc-dbf9-40c4-8db5-c9fc11bf240e', 'name': '', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'network_id': 'de8dd1f5-d32c-4596-a336-0430b7f36679', 'ip_version': 4, 'cidr': '1.94.16.192/26', 'allocation_pools': [{'start': '1.94.16.194', 'end': '1.94.16.254'}], 'gateway_ip': '1.94.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.94.16.194', 'tags': [], 'project_id': '875db39d501d4f49a37d2aacd3875319'}}
2026-02-03 02:36:11,586 - INFO - Created VN ctest-vn-19134401
2026-02-03 02:36:11,638 - DEBUG - VN ctest-vn-19134401 UUID is de8dd1f5-d32c-4596-a336-0430b7f36679
2026-02-03 02:36:11,778 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656, 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-72347590:ctest-vn-19134401, 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-02-03 02:36:12,059 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b51db2f7-337a-498b-8cde-238e1664358b', 'name': 'ctest-vn-52735656', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'project_id': '875db39d501d4f49a37d2aacd3875319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2ad571fc-6e27-40da-aee7-d8659f9423ce'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-vn-52735656'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-policy-allow-all-54376072']], 'subnet_ipam': [{'subnet_cidr': '131.108.117.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 02:36:12,273 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'de8dd1f5-d32c-4596-a336-0430b7f36679', 'name': 'ctest-vn-19134401', 'tenant_id': '875db39d501d4f49a37d2aacd3875319', 'project_id': '875db39d501d4f49a37d2aacd3875319', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3f961edc-dbf9-40c4-8db5-c9fc11bf240e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-vn-19134401'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-policy-allow-all-54376072']], 'subnet_ipam': [{'subnet_cidr': '1.94.16.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 02:36:12,438 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-03 02:36:12,734 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-03 02:36:12,763 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5
2026-02-03 02:36:12,773 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319
2026-02-03 02:36:12,845 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b
2026-02-03 02:36:12,855 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b
2026-02-03 02:36:12,865 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250
2026-02-03 02:36:12,871 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250
2026-02-03 02:36:12,880 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c74ae6b1-f569-4db3-9a56-0736ca6136c9
2026-02-03 02:36:12,887 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 02:36:12,887 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b
2026-02-03 02:36:12,897 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250
2026-02-03 02:36:12,909 - INFO - Verified VN network id 11 for VN b51db2f7-337a-498b-8cde-238e1664358b
2026-02-03 02:36:12,909 - INFO - Verifications in API Server for VN ctest-vn-52735656 passed
2026-02-03 02:36:12,909 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b
2026-02-03 02:36:12,918 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250
2026-02-03 02:36:12,924 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c9a9d06d-e087-401c-b0d3-91ddd98a2250
2026-02-03 02:36:12,931 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/c74ae6b1-f569-4db3-9a56-0736ca6136c9
2026-02-03 02:36:12,943 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72347590', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13050784069979883915', 'uuid-lslong': '10150589703307670923'}, 'enable': 'true', 'created': '2026-02-03T02:36:10', 'last-modified': '2026-02-03T02:36:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905014'}
2026-02-03 02:36:12,949 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 02:36:12,949 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52735656 passed
2026-02-03 02:36:12,949 - DEBUG - ====Verifying policy data for ctest-vn-52735656 in API_Server ======
2026-02-03 02:36:12,949 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-03 02:36:12,955 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5
2026-02-03 02:36:12,965 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319
2026-02-03 02:36:13,036 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b51db2f7-337a-498b-8cde-238e1664358b
2026-02-03 02:36:13,045 - DEBUG - ==>Verifying data for policy with id: 106e67dc-85b7-46be-bcab-297111eeebd9, fqn: ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-policy-allow-all-54376072']
2026-02-03 02:36:13,045 - INFO - VN ctest-vn-52735656 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 02:36:13,045 - DEBUG - Verifying the vn in opserver
2026-02-03 02:36:13,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656 virtual network link through opserver 10.0.0.130
2026-02-03 02:36:13,045 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-02-03 02:36:13,339 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-02-03 02:36:13,396 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656?flat'}
2026-02-03 02:36:13,396 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-52735656 is found in opserver
2026-02-03 02:36:13,405 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 02:36:13,409 - DEBUG - VRF ids for VN ctest-vn-52735656: {}
2026-02-03 02:36:13,409 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-03 02:36:13,414 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5
2026-02-03 02:36:13,425 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319
2026-02-03 02:36:13,495 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679
2026-02-03 02:36:13,507 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679
2026-02-03 02:36:13,516 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c
2026-02-03 02:36:13,523 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c
2026-02-03 02:36:13,531 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f8fe4b8e-605f-4fa0-9b39-e220b011bf31
2026-02-03 02:36:13,537 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 02:36:13,537 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679
2026-02-03 02:36:13,545 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c
2026-02-03 02:36:13,559 - INFO - Verified VN network id 12 for VN de8dd1f5-d32c-4596-a336-0430b7f36679
2026-02-03 02:36:13,559 - INFO - Verifications in API Server for VN ctest-vn-19134401 passed
2026-02-03 02:36:13,559 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679
2026-02-03 02:36:13,568 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c
2026-02-03 02:36:13,575 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/ed6d2401-5d8e-4363-b12a-e54d66d5656c
2026-02-03 02:36:13,582 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/f8fe4b8e-605f-4fa0-9b39-e220b011bf31
2026-02-03 02:36:13,595 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72347590', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16036704701876290966', 'uuid-lslong': '11760592084215752313'}, 'enable': 'true', 'created': '2026-02-03T02:36:11', 'last-modified': '2026-02-03T02:36:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.340540'}
2026-02-03 02:36:13,601 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 02:36:13,602 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19134401 passed
2026-02-03 02:36:13,602 - DEBUG - ====Verifying policy data for ctest-vn-19134401 in API_Server ======
2026-02-03 02:36:13,602 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-03 02:36:13,607 - DEBUG - Requesting: http://10.0.0.130:8082/domain/88461fb7-e930-4422-93a7-fa47163453e5
2026-02-03 02:36:13,618 - DEBUG - Requesting: http://10.0.0.130:8082/project/875db39d-501d-4f49-a37d-2aacd3875319
2026-02-03 02:36:13,688 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/de8dd1f5-d32c-4596-a336-0430b7f36679
2026-02-03 02:36:13,697 - DEBUG - ==>Verifying data for policy with id: 106e67dc-85b7-46be-bcab-297111eeebd9, fqn: ['default-domain', 'ctest-TestBasicPolicy-72347590', 'ctest-policy-allow-all-54376072']
2026-02-03 02:36:13,697 - INFO - VN ctest-vn-19134401 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 02:36:13,697 - DEBUG - Verifying the vn in opserver
2026-02-03 02:36:13,697 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401 virtual network link through opserver 10.0.0.130
2026-02-03 02:36:13,697 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-02-03 02:36:13,706 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401?flat'}
2026-02-03 02:36:13,706 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72347590:ctest-vn-19134401 is found in opserver
2026-02-03 02:36:13,714 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 02:36:13,718 - DEBUG - VRF ids for VN ctest-vn-19134401: {}
2026-02-03 02:36:13,774 - DEBUG - Services list from nova: [