2026-01-29 11:46:05,759 - INFO - Domain Default found not creating
2026-01-29 11:46:05,945 - INFO - Project ctest-TestBasicPolicy-14358531 not found, creating it
2026-01-29 11:46:06,438 - INFO - Created Project:ctest-TestBasicPolicy-14358531, ID : 92ea38ba-c1ca-4429-b4f3-9ae0fbae34b5
2026-01-29 11:46:07,974 - INFO - ================================================================================
2026-01-29 11:46:07,974 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 11:46:07,974 - 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-01-29 11:46:08,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-01-29 11:46:08,234 - INFO - Initial checks done. Running the testcase now
2026-01-29 11:46:08,234 - INFO -
2026-01-29 11:46:08,810 - DEBUG - Response for create_network : {'network': {'id': '44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379', 'name': 'ctest-vn-07097523', 'tenant_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'project_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14358531', 'ctest-vn-07097523'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 11:46:09,021 - DEBUG - Response for create_subnet : {'subnet': {'id': '823101f4-aed1-4303-9c29-5cee64196af4', 'name': '', 'tenant_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'network_id': '44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379', 'ip_version': 4, 'cidr': '154.220.253.64/26', 'allocation_pools': [{'start': '154.220.253.66', 'end': '154.220.253.126'}], 'gateway_ip': '154.220.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.220.253.66', 'tags': [], 'project_id': '92ea38bac1ca4429b4f39ae0fbae34b5'}}
2026-01-29 11:46:09,041 - INFO - Created VN ctest-vn-07097523
2026-01-29 11:46:09,096 - DEBUG - VN ctest-vn-07097523 UUID is 44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379
2026-01-29 11:46:09,417 - DEBUG - Response for create_network : {'network': {'id': '2746163c-6de1-4602-8845-10c74b47e01f', 'name': 'ctest-vn-60667995', 'tenant_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'project_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14358531', 'ctest-vn-60667995'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 11:46:09,574 - DEBUG - Response for create_subnet : {'subnet': {'id': '9484baff-95fe-44f9-a4ab-ffcab7031d02', 'name': '', 'tenant_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'network_id': '2746163c-6de1-4602-8845-10c74b47e01f', 'ip_version': 4, 'cidr': '71.235.174.192/26', 'allocation_pools': [{'start': '71.235.174.194', 'end': '71.235.174.254'}], 'gateway_ip': '71.235.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.235.174.194', 'tags': [], 'project_id': '92ea38bac1ca4429b4f39ae0fbae34b5'}}
2026-01-29 11:46:09,592 - INFO - Created VN ctest-vn-60667995
2026-01-29 11:46:09,644 - DEBUG - VN ctest-vn-60667995 UUID is 2746163c-6de1-4602-8845-10c74b47e01f
2026-01-29 11:46:09,762 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-07097523, 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-14358531:ctest-vn-60667995, 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-01-29 11:46:10,057 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379', 'name': 'ctest-vn-07097523', 'tenant_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'project_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['823101f4-aed1-4303-9c29-5cee64196af4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14358531', 'ctest-vn-07097523'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14358531', 'ctest-policy-allow-all-83299338']], 'subnet_ipam': [{'subnet_cidr': '154.220.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 11:46:10,278 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2746163c-6de1-4602-8845-10c74b47e01f', 'name': 'ctest-vn-60667995', 'tenant_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'project_id': '92ea38bac1ca4429b4f39ae0fbae34b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9484baff-95fe-44f9-a4ab-ffcab7031d02'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14358531', 'ctest-vn-60667995'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14358531', 'ctest-policy-allow-all-83299338']], 'subnet_ipam': [{'subnet_cidr': '71.235.174.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 11:46:10,428 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 11:46:10,733 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 11:46:10,766 - DEBUG - Requesting: http://10.0.0.38:8082/domain/16b31a3a-2437-4367-ad33-aa630821d7a4
2026-01-29 11:46:10,777 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ea38ba-c1ca-4429-b4f3-9ae0fbae34b5
2026-01-29 11:46:10,850 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379
2026-01-29 11:46:10,861 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379
2026-01-29 11:46:10,871 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac18891f-c700-4f03-ad7a-e21f5a29f394
2026-01-29 11:46:10,877 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac18891f-c700-4f03-ad7a-e21f5a29f394
2026-01-29 11:46:10,885 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e3495d89-60d8-4b8d-88f9-56d2a43a64d0
2026-01-29 11:46:10,891 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 11:46:10,891 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379
2026-01-29 11:46:10,900 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac18891f-c700-4f03-ad7a-e21f5a29f394
2026-01-29 11:46:10,916 - INFO - Verified VN network id 11 for VN 44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379
2026-01-29 11:46:10,916 - INFO - Verifications in API Server for VN ctest-vn-07097523 passed
2026-01-29 11:46:10,917 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379
2026-01-29 11:46:10,925 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac18891f-c700-4f03-ad7a-e21f5a29f394
2026-01-29 11:46:10,932 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ac18891f-c700-4f03-ad7a-e21f5a29f394
2026-01-29 11:46:10,939 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e3495d89-60d8-4b8d-88f9-56d2a43a64d0
2026-01-29 11:46:10,951 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-07097523', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14358531', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4969641982425320169', 'uuid-lslong': '11162367296890581881'}, 'enable': 'true', 'created': '2026-01-29T11:46:08', 'last-modified': '2026-01-29T11:46:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918081'}
2026-01-29 11:46:10,957 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 11:46:10,957 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07097523 passed
2026-01-29 11:46:10,957 - DEBUG - ====Verifying policy data for ctest-vn-07097523 in API_Server ======
2026-01-29 11:46:10,957 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 11:46:10,962 - DEBUG - Requesting: http://10.0.0.38:8082/domain/16b31a3a-2437-4367-ad33-aa630821d7a4
2026-01-29 11:46:10,974 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ea38ba-c1ca-4429-b4f3-9ae0fbae34b5
2026-01-29 11:46:11,052 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/44f7b70d-7f54-4ae9-9ae8-b1ea6f99b379
2026-01-29 11:46:11,062 - DEBUG - ==>Verifying data for policy with id: d859d6b1-fb16-4834-bed3-7fa2e4425dc1, fqn: ['default-domain', 'ctest-TestBasicPolicy-14358531', 'ctest-policy-allow-all-83299338']
2026-01-29 11:46:11,062 - INFO - VN ctest-vn-07097523 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 11:46:11,062 - DEBUG - Verifying the vn in opserver
2026-01-29 11:46:11,062 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-07097523 virtual network link through opserver 10.0.0.38
2026-01-29 11:46:11,062 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-29 11:46:11,360 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-29 11:46:11,423 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-07097523', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-07097523?flat'}
2026-01-29 11:46:11,423 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-07097523 is found in opserver
2026-01-29 11:46:11,433 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 11:46:11,437 - DEBUG - VRF ids for VN ctest-vn-07097523: {}
2026-01-29 11:46:11,438 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 11:46:11,443 - DEBUG - Requesting: http://10.0.0.38:8082/domain/16b31a3a-2437-4367-ad33-aa630821d7a4
2026-01-29 11:46:11,453 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ea38ba-c1ca-4429-b4f3-9ae0fbae34b5
2026-01-29 11:46:11,525 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2746163c-6de1-4602-8845-10c74b47e01f
2026-01-29 11:46:11,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2746163c-6de1-4602-8845-10c74b47e01f
2026-01-29 11:46:11,548 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/12e101a0-5c8b-4687-b464-ccfa04eb59be
2026-01-29 11:46:11,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/12e101a0-5c8b-4687-b464-ccfa04eb59be
2026-01-29 11:46:11,565 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d9c5a953-a3a0-42f7-8f30-cb26481f0e7a
2026-01-29 11:46:11,573 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 11:46:11,573 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2746163c-6de1-4602-8845-10c74b47e01f
2026-01-29 11:46:11,583 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/12e101a0-5c8b-4687-b464-ccfa04eb59be
2026-01-29 11:46:11,599 - INFO - Verified VN network id 12 for VN 2746163c-6de1-4602-8845-10c74b47e01f
2026-01-29 11:46:11,599 - INFO - Verifications in API Server for VN ctest-vn-60667995 passed
2026-01-29 11:46:11,599 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2746163c-6de1-4602-8845-10c74b47e01f
2026-01-29 11:46:11,608 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/12e101a0-5c8b-4687-b464-ccfa04eb59be
2026-01-29 11:46:11,615 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/12e101a0-5c8b-4687-b464-ccfa04eb59be
2026-01-29 11:46:11,624 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d9c5a953-a3a0-42f7-8f30-cb26481f0e7a
2026-01-29 11:46:11,635 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-60667995', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14358531', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2829973864646264322', 'uuid-lslong': '9819273010698772511'}, 'enable': 'true', 'created': '2026-01-29T11:46:09', 'last-modified': '2026-01-29T11:46:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372831'}
2026-01-29 11:46:11,641 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 11:46:11,641 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60667995 passed
2026-01-29 11:46:11,642 - DEBUG - ====Verifying policy data for ctest-vn-60667995 in API_Server ======
2026-01-29 11:46:11,642 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-01-29 11:46:11,648 - DEBUG - Requesting: http://10.0.0.38:8082/domain/16b31a3a-2437-4367-ad33-aa630821d7a4
2026-01-29 11:46:11,659 - DEBUG - Requesting: http://10.0.0.38:8082/project/92ea38ba-c1ca-4429-b4f3-9ae0fbae34b5
2026-01-29 11:46:11,730 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2746163c-6de1-4602-8845-10c74b47e01f
2026-01-29 11:46:11,739 - DEBUG - ==>Verifying data for policy with id: d859d6b1-fb16-4834-bed3-7fa2e4425dc1, fqn: ['default-domain', 'ctest-TestBasicPolicy-14358531', 'ctest-policy-allow-all-83299338']
2026-01-29 11:46:11,739 - INFO - VN ctest-vn-60667995 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 11:46:11,739 - DEBUG - Verifying the vn in opserver
2026-01-29 11:46:11,739 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-60667995 virtual network link through opserver 10.0.0.38
2026-01-29 11:46:11,739 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-01-29 11:46:11,749 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-60667995', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-60667995?flat'}
2026-01-29 11:46:11,749 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14358531:ctest-vn-60667995 is found in opserver
2026-01-29 11:46:11,759 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 11:46:11,763 - DEBUG - VRF ids for VN ctest-vn-60667995: {}
2026-01-29 11:46:11,829 - DEBUG - Services list from nova: [