fabric8-analytics / fabric8-analytics-worker

fabric8-analytics worker for gathering raw data
GNU General Public License v3.0
8 stars 45 forks source link

selinon.errors.FatalTaskError: Strict assert failed in task 'InitAnalysisFlow' #276

Closed jpopelka closed 7 years ago

jpopelka commented 7 years ago

Seeing this locally with master HEAD at 2ead7e8ed8

(most recent call last): "/usr/lib/python3.4/site-packages/celery/app/trace.py", line 367, in trace_task
worker-ingestion_1  |     R = retval = fun(*args, **kwargs)
worker-ingestion_1  |   File "/usr/lib/python3.4/site-packages/celery/app/trace.py", line 622, in __protected_call__
worker-ingestion_1  |     return self.run(*args, **kwargs) "/usr/lib/python3.4/site-packages/selinon/selinonTaskEnvelope.py", line 170, in run
worker-ingestion_1  |     raise self.retry(max_retries=0, exc=exc) "/usr/lib/python3.4/site-packages/celery/app/task.py", line 668, in retryise_with_context(exc)
worker-ingestion_1  |   File "/usr/lib/python3.4/site-packages/selinon/selinonTaskEnvelope.py", line 115, in run
worker-ingestion_1  |     result = task.run(node_args) "/usr/lib/python3.4/site-packages/f8a_worker/base.py", line 38, in run
worker-ingestion_1  |     result = self.execute(node_args)
worker-ingestion_1  |   File "/usr/lib/python3.4/site-packages/f8a_worker/workers/init_analysis_flow.py", line 14, in executelf._strict_assert(arguments.get('name')) "/usr/lib/python3.4/site-packages/f8a_worker/base.py", line 28, in _strict_assert
worker-ingestion_1  |     raise FatalTaskError("Strict assert failed in task '%s'" % cls.__name__)

It appears in the log after a package is successfully analyzed and doesn't seem to be causing any issues.

jpopelka commented 7 years ago

per @fridex this should have been fixed with some recent commit

fridex commented 7 years ago

Fix in https://github.com/fabric8-analytics/fabric8-analytics-jobs/pull/153