Project

Profile

Help

Task #7501

Improve travis log output on migration-failures

Added by ggainey 18 days ago.

Status:
NEW
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

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.

Please register to edit this issue

Also available in: Atom PDF