Skip to content

release procedure issues #1736

Open
Open
@sdarwin

Description

@sdarwin

During this release, the download archive links didn't import. Tried "Import Releases" again. That will import all releases. There were varying results:

  • On production:

This error

  418 psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "versions_versionfile_checksum_key"
  419 DETAIL:  Key (checksum)=(7faf60c4cb12ee90270e41716cf3735a8739016d7346983ce9f5e899e510b26d) already exists.

That checksum corresponded to the 1.88.0 beta release, the 7z download. So when it attempts to import all releases again, there was this conflict. This is unexpected since "Import Releases" has worked in the past. Any time you re-import all releases, it should skip conflicts.

Manually ran "manage.py import_archives_release_data" and that went through.

  • On staging:

Tried "Import Releases" again. It imported 1.88.0. The download archive links didn't import. There was no indication "import_archives_release_data" was called, even though it is supposed to be.

Manually ran "manage.py import_archives_release_data" and that went through.

Next ... on both Production and Staging ... the libraries still had not imported.

Manually ran "manage.py import_library_versions" and that went through.

An explanation may be, for example, that the above mentioned checksum crash disrupted further steps, and so it never reached "import_library_versions". At least on production, that is possible. On staging, it was as if it just did not proceed from "Import Releases" to those other steps.

Greg reports that he ran "import releases" locally and it was successful for all steps, so uncertain.

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

Projects

Status

Accepted

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions