Project

Profile

Help

Task #7501

closed

Improve travis log output on migration-failures

Added by ggainey over 3 years ago. Updated about 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
CI/CD
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/1934":https://github.com/pulp/pulpcore/issues/1934


If a migration conflicts with one, the resulting failures in travis are...opaque. To whit:

    pulp: pulpcore.tasking.services.worker_watcher:INFO: Cleaning up shutdown worker '391@bf917f148de1'.
    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/site-packages/django/db/backends/utils.py", line 84, in _execute
        return self.cursor.execute(sql, params)
    psycopg2.ProgrammingError: relation "core_worker" does not exist
    LINE 1: ...cefully_stopped", "core_worker"."cleaned_up" FROM "core_work...

Would be nice if it said "migration 00XX_foo conflicts with 00XX_bar" instead.

Actions #1

Updated by pulpbot about 2 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF