Pipeline ID
flag_ghost_packages
Status
Failure
Runtime
27396 seconds (7.6 hours)
Exit Code
1
Start
2025-09-09 09:20 p.m. UTC
End
2025-09-10 04:56 a.m. UTC
Created
2025-08-19 08:03 a.m. UTC
Version
37.0.0
Commit
Job ID
dabcbf8e-c15d-436b-823f-a188d5a7238b
Killed from outside, exc_info=Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
psycopg2.OperationalError: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/vulnerabilities/pipelines/__init__.py", line 110, in execute
step(self)
File "/app/vulnerabilities/pipelines/flag_ghost_packages.py", line 32, in flag_ghost_packages
detect_and_flag_ghost_packages(logger=self.log)
File "/app/vulnerabilities/pipelines/flag_ghost_packages.py", line 58, in detect_and_flag_ghost_packages
ghost_package_count += flag_ghost_packages(
File "/app/vulnerabilities/pipelines/flag_ghost_packages.py", line 88, in flag_ghost_packages
pkg.save()
File "/app/vulnerabilities/models.py", line 939, in save
super().save(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 814, in save
self.save_base(
File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 877, in save_base
updated = self._save_table(
File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 990, in _save_table
updated = self._do_update(
File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 1054, in _do_update
return filtered._update(values) > 0
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 1231, in _update
return query.get_compiler(self.db).execute_sql(CURSOR)
File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1984, in execute_sql
cursor = super().execute_sql(result_type)
File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1562, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 67, in execute
return self._execute_with_wrappers(
File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.9/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.9/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
django.db.utils.OperationalError: terminating connection due to administrator command
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 307, in _cursor
return self._prepare_cursor(self.create_cursor(name))
File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 330, in create_cursor
cursor = self.connection.cursor()
psycopg2.InterfaceError: connection already closed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/rq/worker.py", line 1428, in perform_job
rv = job.perform()
File "/usr/local/lib/python3.9/site-packages/rq/job.py", line 1278, in perform
self._result = self._execute()
File "/usr/local/lib/python3.9/site-packages/rq/job.py", line 1315, in _execute
result = self.func(*self.args, **self.kwargs)
File "/app/vulnerabilities/tasks.py", line 43, in execute_pipeline
exitcode, output = pipeline_instance.execute()
File "/app/vulnerabilities/pipelines/__init__.py", line 118, in execute
self.update_final_run_log()
File "/app/vulnerabilities/pipelines/__init__.py", line 72, in update_final_run_log
self.run.append_to_log(final_log, is_multiline=True)
File "/app/vulnerabilities/models.py", line 2249, in append_to_log
self.save(update_fields=["log"])
File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 814, in save
self.save_base(
File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 877, in save_base
updated = self._save_table(
File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 990, in _save_table
updated = self._do_update(
File "/usr/local/lib/python3.9/site-packages/django/db/models/base.py", line 1054, in _do_update
return filtered._update(values) > 0
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 1231, in _update
return query.get_compiler(self.db).execute_sql(CURSOR)
File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1984, in execute_sql
cursor = super().execute_sql(result_type)
File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1560, in execute_sql
cursor = self.connection.cursor()
File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 329, in cursor
return self._cursor()
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 307, in _cursor
return self._prepare_cursor(self.create_cursor(name))
File "/usr/local/lib/python3.9/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 307, in _cursor
return self._prepare_cursor(self.create_cursor(name))
File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 330, in create_cursor
cursor = self.connection.cursor()
django.db.utils.InterfaceError: connection already closed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 307, in _cursor
return self._prepare_cursor(self.create_cursor(name))
File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 330, in create_cursor
cursor = self.connection.cursor()
psycopg2.InterfaceError: connection already closed
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/rq/worker.py", line 1449, in perform_job
job.execute_failure_callback(self.death_penalty_class, *exc_info)
File "/usr/local/lib/python3.9/site-packages/rq/job.py", line 1429, in execute_failure_callback
self.failure_callback(self, self.connection, *exc_info)
File "/app/vulnerabilities/tasks.py", line 99, in set_run_failure
run = PipelineRun.objects.get(run_id=job.id)
File "/usr/local/lib/python3.9/site-packages/django/db/models/manager.py", line 87, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 633, in get
num = len(clone)
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 380, in __len__
self._fetch_all()
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 1881, in _fetch_all
self._result_cache = list(self._iterable_class(self))
File "/usr/local/lib/python3.9/site-packages/django/db/models/query.py", line 91, in __iter__
results = compiler.execute_sql(
File "/usr/local/lib/python3.9/site-packages/django/db/models/sql/compiler.py", line 1560, in execute_sql
cursor = self.connection.cursor()
File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 329, in cursor
return self._cursor()
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 307, in _cursor
return self._prepare_cursor(self.create_cursor(name))
File "/usr/local/lib/python3.9/site-packages/django/db/utils.py", line 91, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.9/site-packages/django/db/backends/base/base.py", line 307, in _cursor
return self._prepare_cursor(self.create_cursor(name))
File "/usr/local/lib/python3.9/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/django/db/backends/postgresql/base.py", line 330, in create_cursor
cursor = self.connection.cursor()
django.db.utils.InterfaceError: connection already closed