Project

General

Profile

Actions

Bug #10585

closed

Do not fail when there is not appropriate Java for CPAchecker

Added by Evgeny Novikov about 4 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
High
Assignee:
Category:
Scheduling
Target version:
-
Start date:
11/19/2020
Due date:
% Done:

0%

Estimated time:
Detected in build:
git
Platform:
Published in build:

Description

When there is not appropriate Java for CPAchecker there is the following warning within scheduler log:

 WARNING - Cannot determine /home/ldvuser/andrianov/klever-deploy/klever-addons/verification-backends/CPALockator/scripts/cpa.sh version, error output: Your Java version is too old, please install Java 11 or newer.

After that Native Scheduler crashes:

Traceback (most recent call last):
  File "/home/ldvuser/andrianov/klever/venv/lib/python3.7/site-packages/klever/scheduler/schedulers/__init__.py", line 382, in launch
    self._check_jobs_status()
  File "/home/ldvuser/andrianov/klever/venv/lib/python3.7/site-packages/klever/scheduler/schedulers/__init__.py", line 574, in _check_jobs_status
    result = self.server.get_all_jobs()
  File "/home/ldvuser/andrianov/klever/venv/lib/python3.7/site-packages/klever/scheduler/server/__init__.py", line 181, in get_all_jobs
    return ((item['identifier'], item['status']) for item in ret)
TypeError: 'NoneType' object is not iterable


Related issues 2 (0 open2 closed)

Related to Klever - Bug #10587: Check result properly in all Scheduler requestsClosedIlja Zakharov11/20/2020

Actions
Related to Klever - Feature #9703: Update BenchExecClosedIlja Zakharov06/06/2019

Actions
Actions

Also available in: Atom PDF