2026-02-23 19:06:06,759 - INFO - Domain Default found not creating
2026-02-23 19:06:06,945 - INFO - Project ctest-TestBasicPolicy-09760989 not found, creating it
2026-02-23 19:06:07,386 - INFO - Created Project:ctest-TestBasicPolicy-09760989, ID : b1d96bb6-5066-437a-a3c5-b47f44ea6c6e
2026-02-23 19:06:08,889 - INFO - ================================================================================
2026-02-23 19:06:08,889 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-23 19:06:08,889 - 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-23 19:06:09,159 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-23 19:06:09,159 - INFO - Initial checks done. Running the testcase now
2026-02-23 19:06:09,159 - INFO -
2026-02-23 19:06:09,729 - DEBUG - Response for create_network : {'network': {'id': '404bcd51-f432-413d-a562-d887baf8dd7e', 'name': 'ctest-vn-51437201', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-vn-51437201'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 19:06:09,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fafaf5f-cce7-4edf-970d-432fb6bf4f1c', 'name': '', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'network_id': '404bcd51-f432-413d-a562-d887baf8dd7e', 'ip_version': 4, 'cidr': '51.96.189.64/26', 'allocation_pools': [{'start': '51.96.189.66', 'end': '51.96.189.126'}], 'gateway_ip': '51.96.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.96.189.66', 'tags': [], 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e'}}
2026-02-23 19:06:09,952 - INFO - Created VN ctest-vn-51437201
2026-02-23 19:06:10,002 - DEBUG - VN ctest-vn-51437201 UUID is 404bcd51-f432-413d-a562-d887baf8dd7e
2026-02-23 19:06:10,317 - DEBUG - Response for create_network : {'network': {'id': 'c2e55939-3109-49a8-92b1-7de3d74c1023', 'name': 'ctest-vn-57419559', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-vn-57419559'], 'port_security_enabled': True, 'description': ''}}
2026-02-23 19:06:10,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '88fa6857-2ee6-4379-bd26-82003442daa6', 'name': '', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'network_id': 'c2e55939-3109-49a8-92b1-7de3d74c1023', 'ip_version': 4, 'cidr': '124.3.41.128/26', 'allocation_pools': [{'start': '124.3.41.130', 'end': '124.3.41.190'}], 'gateway_ip': '124.3.41.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '124.3.41.130', 'tags': [], 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e'}}
2026-02-23 19:06:10,524 - INFO - Created VN ctest-vn-57419559
2026-02-23 19:06:10,574 - DEBUG - VN ctest-vn-57419559 UUID is c2e55939-3109-49a8-92b1-7de3d74c1023
2026-02-23 19:06:10,689 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201, 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-09760989:ctest-vn-57419559, 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-23 19:06:11,003 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '404bcd51-f432-413d-a562-d887baf8dd7e', 'name': 'ctest-vn-51437201', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fafaf5f-cce7-4edf-970d-432fb6bf4f1c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-vn-51437201'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-policy-allow-all-01832316']], 'subnet_ipam': [{'subnet_cidr': '51.96.189.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-23 19:06:11,237 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c2e55939-3109-49a8-92b1-7de3d74c1023', 'name': 'ctest-vn-57419559', 'tenant_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'project_id': 'b1d96bb65066437aa3c5b47f44ea6c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['88fa6857-2ee6-4379-bd26-82003442daa6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-vn-57419559'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-policy-allow-all-01832316']], 'subnet_ipam': [{'subnet_cidr': '124.3.41.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-23 19:06:11,362 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-23 19:06:11,725 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-23 19:06:11,755 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc
2026-02-23 19:06:11,768 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e
2026-02-23 19:06:11,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e
2026-02-23 19:06:11,876 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e
2026-02-23 19:06:11,886 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9
2026-02-23 19:06:11,895 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9
2026-02-23 19:06:11,903 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c66f8947-99c9-48f2-a676-2dd9f23765af
2026-02-23 19:06:11,911 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-23 19:06:11,911 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e
2026-02-23 19:06:11,919 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9
2026-02-23 19:06:11,939 - INFO - Verified VN network id 9 for VN 404bcd51-f432-413d-a562-d887baf8dd7e
2026-02-23 19:06:11,939 - INFO - Verifications in API Server for VN ctest-vn-51437201 passed
2026-02-23 19:06:11,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e
2026-02-23 19:06:11,952 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9
2026-02-23 19:06:11,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0deb5248-c3b9-4d5d-863c-a9bcb7f639a9
2026-02-23 19:06:11,968 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c66f8947-99c9-48f2-a676-2dd9f23765af
2026-02-23 19:06:11,982 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09760989', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4633022393553666365', 'uuid-lslong': '11917325641444810110'}, 'enable': 'true', 'created': '2026-02-23T19:06:09', 'last-modified': '2026-02-23T19:06:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.006991'}
2026-02-23 19:06:11,992 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-23 19:06:11,992 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51437201 passed
2026-02-23 19:06:11,992 - DEBUG - ====Verifying policy data for ctest-vn-51437201 in API_Server ======
2026-02-23 19:06:11,992 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-23 19:06:12,000 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc
2026-02-23 19:06:12,014 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e
2026-02-23 19:06:12,092 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/404bcd51-f432-413d-a562-d887baf8dd7e
2026-02-23 19:06:12,107 - DEBUG - ==>Verifying data for policy with id: 7d7507c3-71a4-48b0-a745-36592c6ea1f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-policy-allow-all-01832316']
2026-02-23 19:06:12,107 - INFO - VN ctest-vn-51437201 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-23 19:06:12,107 - DEBUG - Verifying the vn in opserver
2026-02-23 19:06:12,107 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201 virtual network link through opserver 10.0.0.38
2026-02-23 19:06:12,108 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-23 19:06:12,400 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-23 19:06:12,489 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201?flat'}
2026-02-23 19:06:12,489 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-51437201 is found in opserver
2026-02-23 19:06:12,501 - DEBUG - Do not have enough data to verify VN in agent
2026-02-23 19:06:12,507 - DEBUG - VRF ids for VN ctest-vn-51437201: {}
2026-02-23 19:06:12,508 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-23 19:06:12,514 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc
2026-02-23 19:06:12,527 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e
2026-02-23 19:06:12,607 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023
2026-02-23 19:06:12,623 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023
2026-02-23 19:06:12,634 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb
2026-02-23 19:06:12,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb
2026-02-23 19:06:12,648 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e2b1109e-95d5-4016-baaf-3cb07f5edccd
2026-02-23 19:06:12,656 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-23 19:06:12,656 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023
2026-02-23 19:06:12,665 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb
2026-02-23 19:06:12,681 - INFO - Verified VN network id 10 for VN c2e55939-3109-49a8-92b1-7de3d74c1023
2026-02-23 19:06:12,681 - INFO - Verifications in API Server for VN ctest-vn-57419559 passed
2026-02-23 19:06:12,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023
2026-02-23 19:06:12,691 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb
2026-02-23 19:06:12,698 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f7c15eee-a5c4-47bb-8752-081b92194bbb
2026-02-23 19:06:12,707 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e2b1109e-95d5-4016-baaf-3cb07f5edccd
2026-02-23 19:06:12,718 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09760989', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14043729115195460008', 'uuid-lslong': '10570368217938399267'}, 'enable': 'true', 'created': '2026-02-23T19:06:10', 'last-modified': '2026-02-23T19:06:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.492470'}
2026-02-23 19:06:12,734 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-23 19:06:12,734 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57419559 passed
2026-02-23 19:06:12,734 - DEBUG - ====Verifying policy data for ctest-vn-57419559 in API_Server ======
2026-02-23 19:06:12,734 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-23 19:06:12,742 - DEBUG - Requesting: http://10.0.0.38:8082/domain/df73923b-f7bc-4dd3-a681-5519cdc0c4dc
2026-02-23 19:06:12,752 - DEBUG - Requesting: http://10.0.0.38:8082/project/b1d96bb6-5066-437a-a3c5-b47f44ea6c6e
2026-02-23 19:06:12,827 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c2e55939-3109-49a8-92b1-7de3d74c1023
2026-02-23 19:06:12,836 - DEBUG - ==>Verifying data for policy with id: 7d7507c3-71a4-48b0-a745-36592c6ea1f3, fqn: ['default-domain', 'ctest-TestBasicPolicy-09760989', 'ctest-policy-allow-all-01832316']
2026-02-23 19:06:12,836 - INFO - VN ctest-vn-57419559 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-23 19:06:12,836 - DEBUG - Verifying the vn in opserver
2026-02-23 19:06:12,836 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559 virtual network link through opserver 10.0.0.38
2026-02-23 19:06:12,836 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-23 19:06:12,848 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559?flat'}
2026-02-23 19:06:12,848 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09760989:ctest-vn-57419559 is found in opserver
2026-02-23 19:06:12,860 - DEBUG - Do not have enough data to verify VN in agent
2026-02-23 19:06:12,865 - DEBUG - VRF ids for VN ctest-vn-57419559: {}
2026-02-23 19:06:12,941 - DEBUG - Services list from nova: [