Page MenuHomeSoftware Heritage

Adapt postgresql backend to swh.core.db >= 2.0
ClosedPublic

Authored by douardda on Sep 30 2022, 6:38 PM.

Details

Diff Detail

Repository
rDPROV Provenance database
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build was aborted

Patch application report for D8591 (id=31021)

Could not rebase; Attempt merge onto a2bcc8eace...

Updating a2bcc8e..4148bf1
Fast-forward
 requirements-swh.txt                               |   4 +-
 swh/provenance/__init__.py                         |   3 +
 swh/provenance/postgresql/provenance.py            |   2 +
 swh/provenance/sql/30-schema.sql                   |  16 -
 swh/provenance/swhgraph/archive.py                 |   2 +-
 swh/provenance/tests/conftest.py                   | 100 ++--
 swh/provenance/tests/test_journal_client.py        |   8 +-
 swh/provenance/tests/test_provenance_storage.py    | 639 +++++++++++----------
 .../tests/test_provenance_storage_rabbitmq.py      |  38 ++
 ...st_provenance_storage_with_path_denormalized.py |  19 +
 .../tests/test_provenance_storage_without_path.py  |  19 +
 ...provenance_storage_without_path_denormalized.py |  19 +
 12 files changed, 468 insertions(+), 401 deletions(-)
 create mode 100644 swh/provenance/tests/test_provenance_storage_rabbitmq.py
 create mode 100644 swh/provenance/tests/test_provenance_storage_with_path_denormalized.py
 create mode 100644 swh/provenance/tests/test_provenance_storage_without_path.py
 create mode 100644 swh/provenance/tests/test_provenance_storage_without_path_denormalized.py
Changes applied before test
commit 4148bf1a6685028f725d589cac456aa2e5cd346f
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Sep 21 11:48:12 2022 +0200

    Adapt postgresql backend to swh.core.db >= 2.0

commit ffb7812a088598e3ddaeddc7f9625ce3e6e80846
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Sep 21 10:58:29 2022 +0200

    Upgrade to swh.graph 2.0

Link to build: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/664/
See console output for more information: https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/664/console

Harbormaster returned this revision to the author for changes because remote builds failed.Sep 30 2022, 6:55 PM
Harbormaster failed remote builds in B31991: Diff 31021!

Build is green

Patch application report for D8591 (id=31035)

Could not rebase; Attempt merge onto a2bcc8eace...

Updating a2bcc8e..67cd713
Fast-forward
 requirements-swh.txt                               |   4 +-
 swh/provenance/__init__.py                         |   3 +
 swh/provenance/postgresql/provenance.py            |   2 +
 swh/provenance/sql/30-schema.sql                   |  16 -
 swh/provenance/swhgraph/archive.py                 |   2 +-
 swh/provenance/tests/conftest.py                   | 100 ++--
 swh/provenance/tests/test_journal_client.py        |   8 +-
 swh/provenance/tests/test_provenance_storage.py    | 639 +++++++++++----------
 .../tests/test_provenance_storage_rabbitmq.py      |  38 ++
 ...st_provenance_storage_with_path_denormalized.py |  19 +
 .../tests/test_provenance_storage_without_path.py  |  19 +
 ...provenance_storage_without_path_denormalized.py |  19 +
 12 files changed, 468 insertions(+), 401 deletions(-)
 create mode 100644 swh/provenance/tests/test_provenance_storage_rabbitmq.py
 create mode 100644 swh/provenance/tests/test_provenance_storage_with_path_denormalized.py
 create mode 100644 swh/provenance/tests/test_provenance_storage_without_path.py
 create mode 100644 swh/provenance/tests/test_provenance_storage_without_path_denormalized.py
Changes applied before test
commit 67cd713b6aca7065e43efe68c66a3bae90fa99db
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Sep 21 11:48:12 2022 +0200

    Adapt postgresql backend to swh.core.db >= 2.0

commit bb0574c29f91471d39ab5f3d72959c6174c52738
Author: David Douard <david.douard@sdfa3.org>
Date:   Wed Sep 21 10:58:29 2022 +0200

    Upgrade to swh.graph 2.0

See https://jenkins.softwareheritage.org/job/DPROV/job/tests-on-diff/668/ for more details.

This revision is now accepted and ready to land.Oct 3 2022, 10:57 AM