Page MenuHomeSoftware Heritage
Feed All Stories

Oct 6 2021

vlorentz requested review of D6418: test_utils.py: Remove incorrect mocks.
Oct 6 2021, 1:14 PM
vsellier added a comment to T3630: staging - journal0 needs more space.

The propose plan looks too naive as some zk configuration also needs to be updated.
A recommended way is to add a new node on the cluster, migrate the partitions on the new node and shutdown the old one.
Doing like this ensure all the data and configuration will be correctly migrated, and without downtime, which is not negligible as the mirror tests of enea are in progress.

Oct 6 2021, 12:46 PM · System administration
ardumont added a comment to D6367: Adapt the prometheus rabbitmq plugin for bullseye.

@vsellier Feel free to commandeer the diff and adapt it if you want/need.

Oct 6 2021, 12:31 PM · System administration
ardumont added inline comments to D6417: setup: fix 404 url to diffusion.
Oct 6 2021, 12:29 PM
ardumont added inline comments to D6417: setup: fix 404 url to diffusion.
Oct 6 2021, 12:29 PM
dachary added a task to D6417: setup: fix 404 url to diffusion: T3522: Add winery backend: learning the codebase.
Oct 6 2021, 12:12 PM
dachary added a revision to T3522: Add winery backend: learning the codebase: D6417: setup: fix 404 url to diffusion.
Oct 6 2021, 12:12 PM · Object storage
dachary added a comment to T3522: Add winery backend: learning the codebase.

Trvial bugfix https://forge.softwareheritage.org/D6417

Oct 6 2021, 12:10 PM · Object storage
dachary requested review of D6417: setup: fix 404 url to diffusion.
Oct 6 2021, 12:09 PM
Harbormaster failed remote builds in B24245: Diff 23332 for D6291: WIP - Unit tests for the mongo backend!
Oct 6 2021, 11:47 AM
swh-public-ci added a comment to D6291: WIP - Unit tests for the mongo backend.

Build has FAILED

Oct 6 2021, 11:47 AM
jayeshv updated the diff for D6291: WIP - Unit tests for the mongo backend.
  • Unit tests for mongo backend
  • stubs
  • small change
  • more
  • missing test stubs
Oct 6 2021, 11:46 AM
vsellier committed rDSNIP0b2c9ffb779e: grid5000/cassandra: increase objstorage capacity (authored by vsellier).
grid5000/cassandra: increase objstorage capacity
Oct 6 2021, 2:46 AM
vsellier committed rDSNIP2a7a2efac087: grid5000/cassandra: improve git loader benchmark stability (authored by vsellier).
grid5000/cassandra: improve git loader benchmark stability
Oct 6 2021, 2:21 AM
vsellier added a comment to T3577: Parallel loaders performances .

The loader were finally stabilized. It was due to a wrong celery configuration.
Changing the pool configuration from solo to prefork solved the problem even if the concurrency is kept to one.
Solo looked indicated in environment like the POC but for obvious reasons, it was not working as expected:

Oct 6 2021, 2:11 AM · System administration, Storage manager

Oct 5 2021

rdicosmo committed rMSLD2f4e164a2bda: IRD (authored by rdicosmo).
IRD
Oct 5 2021, 8:05 PM
vlorentz closed D6414: Rename imports of swh.model.identifiers to fix deprecation warnings..
Oct 5 2021, 7:51 PM
vlorentz committed rDFUSEe1dc2d1c89a8: Rename imports of swh.model.identifiers to fix deprecation warnings. (authored by vlorentz).
Rename imports of swh.model.identifiers to fix deprecation warnings.
Oct 5 2021, 7:51 PM
rdicosmo committed rMSLDa6b355cb0494: Final SU FSI (authored by rdicosmo).
Final SU FSI
Oct 5 2021, 7:15 PM
rdicosmo committed rMSLD6cced4db069c: Add missing KYSW + PNSO2 images (authored by rdicosmo).
Add missing KYSW + PNSO2 images
Oct 5 2021, 7:15 PM
ardumont added a comment to T3625: Reduce git loader memory footprint.

Trigger other runs with memory-profiler instead. [1]
It's not perfect though. I cannot find the proper way to actually have the
legends as they described in their documentation. [2]

Oct 5 2021, 6:07 PM · Git loader
anlambert closed D6416: dumb: Handle missing or corrupted pack file.
Oct 5 2021, 5:58 PM
anlambert committed rDLDGd3d60421423a: dumb: Handle missing or corrupted pack file (authored by anlambert).
dumb: Handle missing or corrupted pack file
Oct 5 2021, 5:58 PM
ardumont created P1197 fil-profile run script.py.
Oct 5 2021, 5:53 PM
ardumont added a comment to T3625: Reduce git loader memory footprint.

I'm actually not sure yet.
So i gave a spin to [1] triggering a run on the most heavy and problematic origins with it (on
production nodes keybase/client and CocoaPods/Specs).
Let's see what result that gives (ongoing).

[1] https://github.com/pythonspeed/filprofiler

Oct 5 2021, 5:52 PM · Git loader
vlorentz claimed T1260: Extend the release object model to allow synthetic objects.
Oct 5 2021, 5:50 PM · Archive content
ardumont accepted D6416: dumb: Handle missing or corrupted pack file.
Oct 5 2021, 5:41 PM
anlambert closed D6412: browse/snapshot_context: Fix empty snapshot browsing for staff users.
Oct 5 2021, 5:30 PM
anlambert committed rDWAPPSc8c0ac1eab92: browse/snapshot_context: Fix empty snapshot browsing for staff users (authored by anlambert).
browse/snapshot_context: Fix empty snapshot browsing for staff users
Oct 5 2021, 5:30 PM
swh-public-ci added a comment to D6412: browse/snapshot_context: Fix empty snapshot browsing for staff users.

Build is green

Oct 5 2021, 5:20 PM
douardda committed rMSLDfef6e8ca5b60: EOSC-Pillar F2F meeting: presentation of the UC6.4 (authored by douardda).
EOSC-Pillar F2F meeting: presentation of the UC6.4
Oct 5 2021, 5:03 PM
anlambert updated the diff for D6412: browse/snapshot_context: Fix empty snapshot browsing for staff users.

Rebase

Oct 5 2021, 5:03 PM
anlambert closed D6311: admin/origin_save: Parse optional note from rejection POST request body.
Oct 5 2021, 5:02 PM
anlambert committed rDWAPPS84e550f6bf68: admin/origin_save: Parse optional note from rejection POST request body (authored by anlambert).
admin/origin_save: Parse optional note from rejection POST request body
Oct 5 2021, 5:02 PM
anlambert closed D6309: common/models: Add note text field to SaveOriginRequest model.
Oct 5 2021, 5:02 PM
anlambert committed rDWAPPS86601bceb57b: common/models: Add note text field to SaveOriginRequest model (authored by anlambert).
common/models: Add note text field to SaveOriginRequest model
Oct 5 2021, 5:02 PM
swh-public-ci added a comment to D6311: admin/origin_save: Parse optional note from rejection POST request body.

Build is green

Oct 5 2021, 5:01 PM
vsellier closed T3633: staging/production - Kafka access for ENEA mirror as Resolved.

credentials added on the credential database under the refs:

  • operations/kafka/credentials/staging/swh-enea
  • operations/kafka/credentials/production/swh-enea
Oct 5 2021, 4:51 PM · System administration
vsellier added a comment to T3633: staging/production - Kafka access for ENEA mirror.

Production credentials created:

+ export zookeeper_servers=kafka1.internal.softwareheritage.org:2181
+ zookeeper_servers=kafka1.internal.softwareheritage.org:2181
+ export bootstrap_servers=kafka1.internal.softwareheritage.org:9092
+ bootstrap_servers=kafka1.internal.softwareheritage.org:9092
+ '[' -z swh-enea -o -z redacted ']'
+ set -eu
+ /opt/kafka/bin/kafka-configs.sh --zookeeper kafka1.internal.softwareheritage.org:2181/kafka/softwareheritage --alter --add-config 'SCRAM-SHA-256=[iterations=8192,password=redacted],SCRAM-SHA-512=[password=redacted]' --entity-type users --entity-name swh-enea
Warning: --zookeeper is deprecated and will be removed in a future version of Kafka.
Use --bootstrap-server instead to specify a broker to connect to.
Completed updating config for entity: user-principal 'swh-enea'.
+ /opt/kafka/bin/kafka-acls.sh --bootstrap-server kafka1.internal.softwareheritage.org:9092 --add --resource-pattern-type PREFIXED --topic swh.journal.objects. --allow-principal User:swh-enea --operation READ
Adding ACLs for resource `ResourcePattern(resourceType=TOPIC, name=swh.journal.objects., patternType=PREFIXED)`: 
 	(principal=User:swh-enea, host=*, operation=READ, permissionType=ALLOW)
Oct 5 2021, 4:49 PM · System administration
swh-public-ci added a comment to D6309: common/models: Add note text field to SaveOriginRequest model.

Build is green

Oct 5 2021, 4:48 PM
anlambert updated the diff for D6311: admin/origin_save: Parse optional note from rejection POST request body.

Fix test after rebase

Oct 5 2021, 4:45 PM
vlorentz added a comment to D6412: browse/snapshot_context: Fix empty snapshot browsing for staff users.

thanks!

Oct 5 2021, 4:44 PM
vlorentz accepted D6412: browse/snapshot_context: Fix empty snapshot browsing for staff users.
Oct 5 2021, 4:44 PM
Harbormaster failed remote builds in B24237: Diff 23324 for D6311: admin/origin_save: Parse optional note from rejection POST request body!
Oct 5 2021, 4:36 PM
swh-public-ci added a comment to D6311: admin/origin_save: Parse optional note from rejection POST request body.

Build has FAILED

Oct 5 2021, 4:36 PM
anlambert updated the diff for D6311: admin/origin_save: Parse optional note from rejection POST request body.

Rebase

Oct 5 2021, 4:34 PM
anlambert updated the diff for D6309: common/models: Add note text field to SaveOriginRequest model.

Rebase

Oct 5 2021, 4:32 PM
vsellier renamed T3633: staging/production - Kafka access for ENEA mirror from staging - Kafka access for ENEA mirror to staging/production - Kafka access for ENEA mirror.
Oct 5 2021, 4:24 PM · System administration
anlambert requested review of D6416: dumb: Handle missing or corrupted pack file.
Oct 5 2021, 4:16 PM
anlambert added a revision to T3618: Reschedule loading of dumb git origins submitted to "Save code now" service: D6416: dumb: Handle missing or corrupted pack file.
Oct 5 2021, 4:14 PM · Save Code Now, Archive coverage, Git loader
anlambert closed D6415: dumb: Handle empty repository edge case.
Oct 5 2021, 4:14 PM
anlambert committed rDLDG6b21441da65b: dumb: Handle empty repository edge case (authored by anlambert).
dumb: Handle empty repository edge case
Oct 5 2021, 4:14 PM
vsellier added a comment to T3633: staging/production - Kafka access for ENEA mirror.

Credentials create in stagingd:

ACLs for principal `User:swh-enea`
Current ACLs for resource `ResourcePattern(resourceType=TOPIC, name=swh.journal.objects., patternType=PREFIXED)`: 
 	(principal=User:swh-enea, host=*, operation=DESCRIBE, permissionType=ALLOW)
	(principal=User:swh-enea, host=*, operation=READ, permissionType=ALLOW)
Oct 5 2021, 3:50 PM · System administration
vsellier added a comment to T3633: staging/production - Kafka access for ENEA mirror.
export username=swh-enea
export password=XXXXX
Oct 5 2021, 3:49 PM · System administration
douardda added a comment to T3633: staging/production - Kafka access for ENEA mirror.

token for the prod will be needed after that as well, thanks

Oct 5 2021, 3:40 PM · System administration
ardumont accepted D6415: dumb: Handle empty repository edge case.
Oct 5 2021, 3:40 PM
anlambert requested review of D6415: dumb: Handle empty repository edge case.
Oct 5 2021, 3:39 PM
anlambert added a revision to T3618: Reschedule loading of dumb git origins submitted to "Save code now" service: D6415: dumb: Handle empty repository edge case.
Oct 5 2021, 3:37 PM · Save Code Now, Archive coverage, Git loader
anlambert accepted D6414: Rename imports of swh.model.identifiers to fix deprecation warnings..
Oct 5 2021, 3:34 PM
vsellier updated subscribers of T3633: staging/production - Kafka access for ENEA mirror.
Oct 5 2021, 3:28 PM · System administration
vsellier moved T3633: staging/production - Kafka access for ENEA mirror from Backlog to in-progress on the System administration board.
Oct 5 2021, 3:28 PM · System administration
vsellier changed the status of T3633: staging/production - Kafka access for ENEA mirror from Open to Work in Progress.
Oct 5 2021, 3:28 PM · System administration
vlorentz requested review of D6414: Rename imports of swh.model.identifiers to fix deprecation warnings..
Oct 5 2021, 3:26 PM
vlorentz added a comment to D6409: Remove direct dependencies on deprecated `swh.model.identifiers` module.

yes, that's my guess too

Oct 5 2021, 3:14 PM
anlambert requested review of D6412: browse/snapshot_context: Fix empty snapshot browsing for staff users.
Oct 5 2021, 3:14 PM
aeviso added a comment to D6409: Remove direct dependencies on deprecated `swh.model.identifiers` module.

Thanks!

Sorry, I meant to do this myself, but didn't get around it yet.

Oct 5 2021, 3:02 PM
anlambert closed D6411: tests: Wrap users creation in pytest fixtures.
Oct 5 2021, 2:57 PM
anlambert committed rDWAPPSf2765a820add: tests: Wrap users creation in pytest fixtures (authored by anlambert).
tests: Wrap users creation in pytest fixtures
Oct 5 2021, 2:57 PM
vlorentz accepted D6409: Remove direct dependencies on deprecated `swh.model.identifiers` module.

Sorry, I meant to do this myself, but didn't get around it yet.

Oct 5 2021, 2:57 PM
vlorentz accepted D6411: tests: Wrap users creation in pytest fixtures.

nice!

Oct 5 2021, 2:56 PM
aeviso requested review of D6409: Remove direct dependencies on deprecated `swh.model.identifiers` module.
Oct 5 2021, 2:39 PM
anlambert requested review of D6411: tests: Wrap users creation in pytest fixtures.
Oct 5 2021, 2:38 PM
swh-public-ci added a comment to D6339: Add support for remote backend on existing storage tests.

Build is green

Oct 5 2021, 2:38 PM
douardda committed rCDFPe00b10ea28c8: Fix memcache config in web.yml (authored by douardda).
Fix memcache config in web.yml
Oct 5 2021, 2:32 PM
douardda committed rCDFP44d8b4cad1ed: Fix replayers' entrypoint script (authored by douardda).
Fix replayers' entrypoint script
Oct 5 2021, 2:32 PM
douardda committed rCDFP1831360b6c84: Improve posgresql config, especially for swh-web (authored by douardda).
Improve posgresql config, especially for swh-web
Oct 5 2021, 2:32 PM
douardda committed rCDFP5de6a2ec92ea: Dockerfile: install postgresql-client in swh-web image (authored by douardda).
Dockerfile: install postgresql-client in swh-web image
Oct 5 2021, 2:32 PM
douardda committed rCDFPb466ad7a743f: Improve nginx config (authored by douardda).
Improve nginx config
Oct 5 2021, 2:32 PM
douardda committed rCDFPc36f34d1e137: Add support for postgresql as swh-web database (authored by douardda).
Add support for postgresql as swh-web database
Oct 5 2021, 2:32 PM
douardda committed rCDFPf1cf061a3177: Add explicit rw and Z to volume definitions (authored by Jonas Eriksson <jonas.eriksson@fossid.com>).
Add explicit rw and Z to volume definitions
Oct 5 2021, 2:32 PM
aeviso updated the diff for D6339: Add support for remote backend on existing storage tests.

fix rabbitmq configuration

Oct 5 2021, 2:32 PM
douardda committed rCDFP0fb09c414448: Storage conf: Point to correct objstorage port (authored by Jonas Eriksson <jonas.eriksson@fossid.com>).
Storage conf: Point to correct objstorage port
Oct 5 2021, 2:32 PM
vlorentz added a comment to T75: Check integrity of directories, revisions, and releases.

Aggregated stats at the moment:

Oct 5 2021, 2:30 PM · Archive content, Restricted Project
childrenastrology updated childrenastrology.
Oct 5 2021, 1:18 PM
ardumont updated subscribers of D6410: Allow application/x-msgpack deserialization again.

as @vlorentz pointed out [1], this change should be irrelevant though...

Oct 5 2021, 12:31 PM
ardumont created P1196 (An Untitled Masterwork).
Oct 5 2021, 12:30 PM
ardumont requested review of D6410: Allow application/x-msgpack deserialization again.
Oct 5 2021, 12:22 PM
ardumont added a revision to T3632: Investigate the ContentDisallowed exception: D6410: Allow application/x-msgpack deserialization again.
Oct 5 2021, 12:20 PM · Scheduling utilities
aeviso closed D6272: Remove remote storage based on `swh.core.api.RPCClient`.
Oct 5 2021, 12:07 PM
ardumont added a comment to D6408: Stop sending next-gen scheduled task results to scheduler listener.

Maybe using task_track_started to False will be even better [1]

Oct 5 2021, 12:06 PM
aeviso closed D6358: Make old StatsD metrics style compliant with the rest of the module.
Oct 5 2021, 12:05 PM
aeviso closed D6353: Add StatsD support to graph submodule.
Oct 5 2021, 12:05 PM
aeviso committed rDPROV04ff73ea98f5: Make old StatsD metrics style compliant with the rest of the module (authored by aeviso).
Make old StatsD metrics style compliant with the rest of the module
Oct 5 2021, 12:05 PM
aeviso committed rDPROV1bd6b22aae6a: Add StatsD support to graph submodule (authored by aeviso).
Add StatsD support to graph submodule
Oct 5 2021, 12:05 PM
aeviso closed D6352: Add StatsD support to provenance storage implementations.
Oct 5 2021, 12:05 PM
aeviso closed D6351: Add StatsD support to provenance backend.
Oct 5 2021, 12:05 PM
aeviso committed rDPROV1ad78362fb41: Add StatsD support to provenance storage implementations (authored by aeviso).
Add StatsD support to provenance storage implementations
Oct 5 2021, 12:05 PM
aeviso committed rDPROVe2a1843d5ebe: Add StatsD support to provenance backend (authored by aeviso).
Add StatsD support to provenance backend
Oct 5 2021, 12:05 PM
aeviso closed D6357: Split `Provenance::flush` method in two (one per layer).
Oct 5 2021, 12:05 PM
aeviso closed D6334: Add `close` method to both `ProvenanceInterface` and `ProvenanceStorageInterface`.
Oct 5 2021, 12:05 PM