2026-06-23 13:00:49,650 - INFO - Domain Default found not creating
2026-06-23 13:00:49,800 - INFO - Project ctest-TestBasicPolicy-01653563 not found, creating it
2026-06-23 13:00:50,232 - INFO - Created Project:ctest-TestBasicPolicy-01653563, ID : ebe591bd-9f6f-4ba0-b636-28a89e1fc2c0
2026-06-23 13:00:51,702 - INFO - ================================================================================
2026-06-23 13:00:51,703 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-23 13:00:51,703 - 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-23 13:00:51,961 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-23 13:00:51,961 - INFO - Initial checks done. Running the testcase now
2026-06-23 13:00:51,961 - INFO -
2026-06-23 13:00:52,489 - DEBUG - Response for create_network : {'network': {'id': '87a4f128-c8ee-4f6d-b7ea-bbc540360557', 'name': 'ctest-vn-95305744', 'tenant_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'project_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01653563', 'ctest-vn-95305744'], 'port_security_enabled': True, 'description': ''}}
2026-06-23 13:00:52,644 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee204d71-5827-4fe3-846a-af2fbe196864', 'name': '', 'tenant_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'network_id': '87a4f128-c8ee-4f6d-b7ea-bbc540360557', 'ip_version': 4, 'cidr': '217.237.144.128/26', 'allocation_pools': [{'start': '217.237.144.130', 'end': '217.237.144.190'}], 'gateway_ip': '217.237.144.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.237.144.130', 'tags': [], 'project_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0'}}
2026-06-23 13:00:52,657 - INFO - Created VN ctest-vn-95305744
2026-06-23 13:00:52,708 - DEBUG - VN ctest-vn-95305744 UUID is 87a4f128-c8ee-4f6d-b7ea-bbc540360557
2026-06-23 13:00:52,997 - DEBUG - Response for create_network : {'network': {'id': 'cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1', 'name': 'ctest-vn-19837062', 'tenant_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'project_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01653563', 'ctest-vn-19837062'], 'port_security_enabled': True, 'description': ''}}
2026-06-23 13:00:53,169 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9b0243f-e79a-48a3-adbe-6fac664070d5', 'name': '', 'tenant_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'network_id': 'cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1', 'ip_version': 4, 'cidr': '152.166.133.64/26', 'allocation_pools': [{'start': '152.166.133.66', 'end': '152.166.133.126'}], 'gateway_ip': '152.166.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.166.133.66', 'tags': [], 'project_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0'}}
2026-06-23 13:00:53,183 - INFO - Created VN ctest-vn-19837062
2026-06-23 13:00:53,236 - DEBUG - VN ctest-vn-19837062 UUID is cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1
2026-06-23 13:00:53,384 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-95305744, 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-01653563:ctest-vn-19837062, 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-23 13:00:53,652 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87a4f128-c8ee-4f6d-b7ea-bbc540360557', 'name': 'ctest-vn-95305744', 'tenant_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'project_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ee204d71-5827-4fe3-846a-af2fbe196864'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01653563', 'ctest-vn-95305744'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01653563', 'ctest-policy-allow-all-26250268']], 'subnet_ipam': [{'subnet_cidr': '217.237.144.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-23 13:00:53,867 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1', 'name': 'ctest-vn-19837062', 'tenant_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'project_id': 'ebe591bd9f6f4ba0b63628a89e1fc2c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e9b0243f-e79a-48a3-adbe-6fac664070d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01653563', 'ctest-vn-19837062'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01653563', 'ctest-policy-allow-all-26250268']], 'subnet_ipam': [{'subnet_cidr': '152.166.133.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-23 13:00:54,032 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-23 13:00:54,348 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-23 13:00:54,372 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2fe366e8-a833-401d-9c2d-c729da59e53b
2026-06-23 13:00:54,382 - DEBUG - Requesting: http://10.0.0.38:8082/project/ebe591bd-9f6f-4ba0-b636-28a89e1fc2c0
2026-06-23 13:00:54,447 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87a4f128-c8ee-4f6d-b7ea-bbc540360557
2026-06-23 13:00:54,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87a4f128-c8ee-4f6d-b7ea-bbc540360557
2026-06-23 13:00:54,464 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ab7c73d-c963-47b2-aac8-b16f34f662e5
2026-06-23 13:00:54,469 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ab7c73d-c963-47b2-aac8-b16f34f662e5
2026-06-23 13:00:54,474 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6988b2e9-463f-4873-a501-19a99892c403
2026-06-23 13:00:54,479 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-23 13:00:54,479 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87a4f128-c8ee-4f6d-b7ea-bbc540360557
2026-06-23 13:00:54,486 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ab7c73d-c963-47b2-aac8-b16f34f662e5
2026-06-23 13:00:54,496 - INFO - Verified VN network id 11 for VN 87a4f128-c8ee-4f6d-b7ea-bbc540360557
2026-06-23 13:00:54,496 - INFO - Verifications in API Server for VN ctest-vn-95305744 passed
2026-06-23 13:00:54,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87a4f128-c8ee-4f6d-b7ea-bbc540360557
2026-06-23 13:00:54,503 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ab7c73d-c963-47b2-aac8-b16f34f662e5
2026-06-23 13:00:54,509 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7ab7c73d-c963-47b2-aac8-b16f34f662e5
2026-06-23 13:00:54,514 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6988b2e9-463f-4873-a501-19a99892c403
2026-06-23 13:00:54,523 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-95305744', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01653563', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9774202248772865901', 'uuid-lslong': '13252611309351339351'}, 'enable': 'true', 'created': '2026-06-23T13:00:52', 'last-modified': '2026-06-23T13:00:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889988'}
2026-06-23 13:00:54,527 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-23 13:00:54,528 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95305744 passed
2026-06-23 13:00:54,528 - DEBUG - ====Verifying policy data for ctest-vn-95305744 in API_Server ======
2026-06-23 13:00:54,528 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-23 13:00:54,532 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2fe366e8-a833-401d-9c2d-c729da59e53b
2026-06-23 13:00:54,540 - DEBUG - Requesting: http://10.0.0.38:8082/project/ebe591bd-9f6f-4ba0-b636-28a89e1fc2c0
2026-06-23 13:00:54,604 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/87a4f128-c8ee-4f6d-b7ea-bbc540360557
2026-06-23 13:00:54,613 - DEBUG - ==>Verifying data for policy with id: 86d2677a-d4f0-4d57-981b-cca7ec3d079b, fqn: ['default-domain', 'ctest-TestBasicPolicy-01653563', 'ctest-policy-allow-all-26250268']
2026-06-23 13:00:54,613 - INFO - VN ctest-vn-95305744 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-23 13:00:54,613 - DEBUG - Verifying the vn in opserver
2026-06-23 13:00:54,613 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-95305744 virtual network link through opserver 10.0.0.38
2026-06-23 13:00:54,613 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-23 13:00:54,925 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-23 13:00:54,967 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-95305744', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-95305744?flat'}
2026-06-23 13:00:54,967 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-95305744 is found in opserver
2026-06-23 13:00:54,975 - DEBUG - Do not have enough data to verify VN in agent
2026-06-23 13:00:54,979 - DEBUG - VRF ids for VN ctest-vn-95305744: {}
2026-06-23 13:00:54,979 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-23 13:00:54,984 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2fe366e8-a833-401d-9c2d-c729da59e53b
2026-06-23 13:00:54,992 - DEBUG - Requesting: http://10.0.0.38:8082/project/ebe591bd-9f6f-4ba0-b636-28a89e1fc2c0
2026-06-23 13:00:55,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1
2026-06-23 13:00:55,067 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1
2026-06-23 13:00:55,073 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a0cfa9c-17a0-4755-b8a6-b916269eba86
2026-06-23 13:00:55,079 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a0cfa9c-17a0-4755-b8a6-b916269eba86
2026-06-23 13:00:55,084 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7b40ba67-b88e-4674-89a4-c6a1e49af0f4
2026-06-23 13:00:55,088 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-23 13:00:55,088 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1
2026-06-23 13:00:55,095 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a0cfa9c-17a0-4755-b8a6-b916269eba86
2026-06-23 13:00:55,106 - INFO - Verified VN network id 12 for VN cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1
2026-06-23 13:00:55,107 - INFO - Verifications in API Server for VN ctest-vn-19837062 passed
2026-06-23 13:00:55,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1
2026-06-23 13:00:55,115 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a0cfa9c-17a0-4755-b8a6-b916269eba86
2026-06-23 13:00:55,121 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0a0cfa9c-17a0-4755-b8a6-b916269eba86
2026-06-23 13:00:55,127 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7b40ba67-b88e-4674-89a4-c6a1e49af0f4
2026-06-23 13:00:55,137 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-19837062', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01653563', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14649143752480542628', 'uuid-lslong': '11872939201669349297'}, 'enable': 'true', 'created': '2026-06-23T13:00:52', 'last-modified': '2026-06-23T13:00:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287460'}
2026-06-23 13:00:55,142 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-23 13:00:55,142 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19837062 passed
2026-06-23 13:00:55,142 - DEBUG - ====Verifying policy data for ctest-vn-19837062 in API_Server ======
2026-06-23 13:00:55,142 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-23 13:00:55,147 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2fe366e8-a833-401d-9c2d-c729da59e53b
2026-06-23 13:00:55,158 - DEBUG - Requesting: http://10.0.0.38:8082/project/ebe591bd-9f6f-4ba0-b636-28a89e1fc2c0
2026-06-23 13:00:55,227 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/cb4c36a0-de3c-4fa4-a4c5-274c634fbfb1
2026-06-23 13:00:55,235 - DEBUG - ==>Verifying data for policy with id: 86d2677a-d4f0-4d57-981b-cca7ec3d079b, fqn: ['default-domain', 'ctest-TestBasicPolicy-01653563', 'ctest-policy-allow-all-26250268']
2026-06-23 13:00:55,235 - INFO - VN ctest-vn-19837062 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-23 13:00:55,235 - DEBUG - Verifying the vn in opserver
2026-06-23 13:00:55,235 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-19837062 virtual network link through opserver 10.0.0.38
2026-06-23 13:00:55,235 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-23 13:00:55,243 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-19837062', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-19837062?flat'}
2026-06-23 13:00:55,243 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01653563:ctest-vn-19837062 is found in opserver
2026-06-23 13:00:55,251 - DEBUG - Do not have enough data to verify VN in agent
2026-06-23 13:00:55,255 - DEBUG - VRF ids for VN ctest-vn-19837062: {}
2026-06-23 13:00:55,303 - DEBUG - Services list from nova: [