Page MenuHomeSoftware Heritage

deposit: Check created metadata is visible from the public API
ClosedPublic

Authored by vlorentz on Mar 2 2022, 4:45 PM.

Details

Summary

First step toward T3985.

For now, this only checks the metadata exist, so it wouldn't catch the current
corruption issue yet.

Diff Detail

Repository
rDICP Icinga plugins
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 27235
Build 42607: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 42606: arc lint + arc unit

Event Timeline

Build has FAILED

Patch application report for D7278 (id=26358)

Rebasing onto 26a98cae80...

Current branch diff-target is up to date.
Changes applied before test
commit f45a54104015f97a0cdc164ea7d59089f9c0be35
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Mar 2 16:42:58 2022 +0100

    deposit: Check created metadata is visible from the public API

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

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 2 2022, 4:47 PM
Harbormaster failed remote builds in B27235: Diff 26358!

Build is green

Patch application report for D7278 (id=26358)

Rebasing onto 26a98cae80...

Current branch diff-target is up to date.
Changes applied before test
commit f45a54104015f97a0cdc164ea7d59089f9c0be35
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Mar 2 16:42:58 2022 +0100

    deposit: Check created metadata is visible from the public API

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

what values should we give to the new provider-url argument in the current icinga checks for staging and production? (the web-url one is easier :P)

"Root URL of the deposit client, as defined in the "
"'deposit_client.provider_url' column in the deposit DB"

just copy-paste from the DB values of staging and prod

I just checked, and it's https://www.softwareheritage.org in both

This revision is now accepted and ready to land.Mar 4 2022, 10:49 AM