2026-06-01 02:06:33,079 - INFO - Domain Default found not creating
2026-06-01 02:06:33,286 - INFO - Project ctest-TestBasicPolicy-94433709 not found, creating it
2026-06-01 02:06:33,753 - INFO - Created Project:ctest-TestBasicPolicy-94433709, ID : f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa
2026-06-01 02:06:35,411 - INFO - ================================================================================
2026-06-01 02:06:35,411 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-01 02:06:35,411 - 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-01 02:06:35,678 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.254': '0'}} with
2026-06-01 02:06:35,678 - INFO - Initial checks done. Running the testcase now
2026-06-01 02:06:35,678 - INFO -
2026-06-01 02:06:36,289 - DEBUG - Response for create_network : {'network': {'id': 'f2c7dde2-471a-420b-af1c-38ea35ceffc4', 'name': 'ctest-vn-14602065', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-vn-14602065'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 02:06:36,500 - DEBUG - Response for create_subnet : {'subnet': {'id': '57ba27ff-29a0-4223-ac63-07bfdf992e2e', 'name': '', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'network_id': 'f2c7dde2-471a-420b-af1c-38ea35ceffc4', 'ip_version': 4, 'cidr': '17.253.121.192/26', 'allocation_pools': [{'start': '17.253.121.194', 'end': '17.253.121.254'}], 'gateway_ip': '17.253.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.253.121.194', 'tags': [], 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa'}}
2026-06-01 02:06:36,520 - INFO - Created VN ctest-vn-14602065
2026-06-01 02:06:36,573 - DEBUG - VN ctest-vn-14602065 UUID is f2c7dde2-471a-420b-af1c-38ea35ceffc4
2026-06-01 02:06:36,895 - DEBUG - Response for create_network : {'network': {'id': '851e9414-07c5-4aca-9c8d-e2f74601cbfb', 'name': 'ctest-vn-95521119', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-vn-95521119'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 02:06:37,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fb5ed7c-7b71-4798-b8f1-88489ccc3158', 'name': '', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'network_id': '851e9414-07c5-4aca-9c8d-e2f74601cbfb', 'ip_version': 4, 'cidr': '199.149.83.64/26', 'allocation_pools': [{'start': '199.149.83.66', 'end': '199.149.83.126'}], 'gateway_ip': '199.149.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.149.83.66', 'tags': [], 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa'}}
2026-06-01 02:06:37,078 - INFO - Created VN ctest-vn-95521119
2026-06-01 02:06:37,133 - DEBUG - VN ctest-vn-95521119 UUID is 851e9414-07c5-4aca-9c8d-e2f74601cbfb
2026-06-01 02:06:37,254 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065, 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-94433709:ctest-vn-95521119, 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-01 02:06:37,567 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f2c7dde2-471a-420b-af1c-38ea35ceffc4', 'name': 'ctest-vn-14602065', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57ba27ff-29a0-4223-ac63-07bfdf992e2e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-vn-14602065'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-policy-allow-all-69953536']], 'subnet_ipam': [{'subnet_cidr': '17.253.121.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 02:06:37,809 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '851e9414-07c5-4aca-9c8d-e2f74601cbfb', 'name': 'ctest-vn-95521119', 'tenant_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'project_id': 'f7b8d20fa1b04d0d85483ee40a51f1aa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1fb5ed7c-7b71-4798-b8f1-88489ccc3158'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-vn-95521119'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-policy-allow-all-69953536']], 'subnet_ipam': [{'subnet_cidr': '199.149.83.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 02:06:37,981 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-06-01 02:06:38,287 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-06-01 02:06:38,324 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5
2026-06-01 02:06:38,338 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa
2026-06-01 02:06:38,419 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4
2026-06-01 02:06:38,435 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4
2026-06-01 02:06:38,451 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88
2026-06-01 02:06:38,460 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88
2026-06-01 02:06:38,467 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/4d5158f2-a05f-442c-a1f0-cb2c5ff7f69b
2026-06-01 02:06:38,474 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 02:06:38,474 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4
2026-06-01 02:06:38,485 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88
2026-06-01 02:06:38,502 - INFO - Verified VN network id 11 for VN f2c7dde2-471a-420b-af1c-38ea35ceffc4
2026-06-01 02:06:38,502 - INFO - Verifications in API Server for VN ctest-vn-14602065 passed
2026-06-01 02:06:38,503 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4
2026-06-01 02:06:38,517 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88
2026-06-01 02:06:38,527 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/df4da3c4-ba00-4132-877b-42199721be88
2026-06-01 02:06:38,536 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/4d5158f2-a05f-442c-a1f0-cb2c5ff7f69b
2026-06-01 02:06:38,551 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94433709', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17494195241469231627', 'uuid-lslong': '12618022834561548228'}, 'enable': 'true', 'created': '2026-06-01T02:06:36', 'last-modified': '2026-06-01T02:06:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009982'}
2026-06-01 02:06:38,560 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 02:06:38,560 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14602065 passed
2026-06-01 02:06:38,560 - DEBUG - ====Verifying policy data for ctest-vn-14602065 in API_Server ======
2026-06-01 02:06:38,560 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-06-01 02:06:38,567 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5
2026-06-01 02:06:38,579 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa
2026-06-01 02:06:38,652 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/f2c7dde2-471a-420b-af1c-38ea35ceffc4
2026-06-01 02:06:38,664 - DEBUG - ==>Verifying data for policy with id: 0439ba3c-21ea-4f13-b8ce-25de094d0fed, fqn: ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-policy-allow-all-69953536']
2026-06-01 02:06:38,664 - INFO - VN ctest-vn-14602065 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 02:06:38,664 - DEBUG - Verifying the vn in opserver
2026-06-01 02:06:38,664 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065 virtual network link through opserver 10.0.0.27
2026-06-01 02:06:38,665 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-06-01 02:06:38,967 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-06-01 02:06:39,035 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065?flat'}
2026-06-01 02:06:39,035 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-14602065 is found in opserver
2026-06-01 02:06:39,045 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 02:06:39,050 - DEBUG - VRF ids for VN ctest-vn-14602065: {}
2026-06-01 02:06:39,051 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-06-01 02:06:39,056 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5
2026-06-01 02:06:39,069 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa
2026-06-01 02:06:39,142 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb
2026-06-01 02:06:39,154 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb
2026-06-01 02:06:39,164 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f
2026-06-01 02:06:39,173 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f
2026-06-01 02:06:39,180 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d0945523-90a0-4c49-b825-c3a8fd277fa1
2026-06-01 02:06:39,188 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 02:06:39,188 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb
2026-06-01 02:06:39,201 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f
2026-06-01 02:06:39,217 - INFO - Verified VN network id 12 for VN 851e9414-07c5-4aca-9c8d-e2f74601cbfb
2026-06-01 02:06:39,217 - INFO - Verifications in API Server for VN ctest-vn-95521119 passed
2026-06-01 02:06:39,217 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb
2026-06-01 02:06:39,227 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f
2026-06-01 02:06:39,235 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/af6e6934-d92c-4a46-b686-c81f5dce571f
2026-06-01 02:06:39,244 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/d0945523-90a0-4c49-b825-c3a8fd277fa1
2026-06-01 02:06:39,256 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94433709', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9592267070096362186', 'uuid-lslong': '11280922193292282875'}, 'enable': 'true', 'created': '2026-06-01T02:06:36', 'last-modified': '2026-06-01T02:06:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.472512'}
2026-06-01 02:06:39,262 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 02:06:39,262 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95521119 passed
2026-06-01 02:06:39,262 - DEBUG - ====Verifying policy data for ctest-vn-95521119 in API_Server ======
2026-06-01 02:06:39,262 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-06-01 02:06:39,269 - DEBUG - Requesting: http://10.0.0.27:8082/domain/c87be47f-bc30-4e6b-bfe0-8d92e90bc7a5
2026-06-01 02:06:39,280 - DEBUG - Requesting: http://10.0.0.27:8082/project/f7b8d20f-a1b0-4d0d-8548-3ee40a51f1aa
2026-06-01 02:06:39,358 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/851e9414-07c5-4aca-9c8d-e2f74601cbfb
2026-06-01 02:06:39,370 - DEBUG - ==>Verifying data for policy with id: 0439ba3c-21ea-4f13-b8ce-25de094d0fed, fqn: ['default-domain', 'ctest-TestBasicPolicy-94433709', 'ctest-policy-allow-all-69953536']
2026-06-01 02:06:39,370 - INFO - VN ctest-vn-95521119 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 02:06:39,370 - DEBUG - Verifying the vn in opserver
2026-06-01 02:06:39,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119 virtual network link through opserver 10.0.0.27
2026-06-01 02:06:39,370 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-06-01 02:06:39,381 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119?flat'}
2026-06-01 02:06:39,381 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94433709:ctest-vn-95521119 is found in opserver
2026-06-01 02:06:39,393 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 02:06:39,398 - DEBUG - VRF ids for VN ctest-vn-95521119: {}
2026-06-01 02:06:39,470 - DEBUG - Services list from nova: [