Page MenuHomeSoftware Heritage
Feed All Stories

Aug 26 2021

swh-public-ci added a comment to D6090: Refactor `ProvenanceStoragePostgreSql`.

Build is green

Aug 26 2021, 11:57 AM
vsellier closed T3485: extid topic is misconfigured in staging and production as Resolved.

The backfill is also done for the production.
It tooks less than 4h30

...
2021-08-25T19:25:25 INFO     swh.storage.backfill Processing extid range 700000 to 700001
Aug 26 2021, 11:54 AM · System administration
aeviso updated the diff for D6090: Refactor `ProvenanceStoragePostgreSql`.

rebase

Aug 26 2021, 11:54 AM
vlorentz committed rDVAUfc7bcc02caa1: Rename bundle types and use SWHIDs everywhere instead of raw sha1_git (authored by vlorentz).
Rename bundle types and use SWHIDs everywhere instead of raw sha1_git
Aug 26 2021, 11:52 AM
vlorentz closed D6112: Rename bundle types and use SWHIDs everywhere instead of raw sha1_git.
Aug 26 2021, 11:52 AM
vlorentz closed D6132: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes from the index.
Aug 26 2021, 11:52 AM
vlorentz closed D6129: Remove page refresh hack from updateVaultItemList..
Aug 26 2021, 11:52 AM
vlorentz committed rDWAPPS8d735fb8de9f: Remove page refresh hack from updateVaultItemList. (authored by vlorentz).
Remove page refresh hack from updateVaultItemList.
Aug 26 2021, 11:52 AM
vlorentz committed rDWAPPSa45155af9163: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes… (authored by vlorentz).
Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes…
Aug 26 2021, 11:52 AM
vlorentz closed D6113: vault API: Rename bundle types and use SWHIDs to identify objects.
Aug 26 2021, 11:52 AM
vlorentz committed rDWAPPSc402ae6a4ca6: vault API: Rename bundle types and use SWHIDs to identify objects (authored by vlorentz).
vault API: Rename bundle types and use SWHIDs to identify objects
Aug 26 2021, 11:52 AM
vlorentz added inline comments to D6113: vault API: Rename bundle types and use SWHIDs to identify objects.
Aug 26 2021, 11:51 AM
ardumont requested review of D6140: journal_client: Only upsert if we have something to upsert.
Aug 26 2021, 11:50 AM
ardumont moved T3502: Date overflow error in scheduler journal client from Backlog to code-review/await-feedback/pause on the System administration board.
Aug 26 2021, 11:26 AM · System administration, Scheduling utilities
ardumont added a comment to T3502: Date overflow error in scheduler journal client.

status:

  • scheduler v0.17.1 deployed on production [1] (db migrated) and staging.
  • then swh-scheduler-journal-client service restarted.
Aug 26 2021, 11:26 AM · System administration, Scheduling utilities
vlorentz added a comment to T3493: [cassandra] Git loader performance are very bad.

D6139 should address the bottleneck in the flame graph

Aug 26 2021, 11:20 AM · System administration, Storage manager
swh-public-ci added a comment to D6090: Refactor `ProvenanceStoragePostgreSql`.

Build is green

Aug 26 2021, 11:10 AM
swh-public-ci added a comment to D6090: Refactor `ProvenanceStoragePostgreSql`.

Build is green

Aug 26 2021, 11:07 AM
aeviso updated the diff for D6090: Refactor `ProvenanceStoragePostgreSql`.
  • Add SQL enum for relation get filter options
Aug 26 2021, 11:06 AM
aeviso updated the diff for D6090: Refactor `ProvenanceStoragePostgreSql`.

rebase

Aug 26 2021, 11:05 AM
anlambert closed D6137: search: Add count_visit_types to interface.
Aug 26 2021, 10:55 AM
anlambert committed rDSEA3893e39edef2: search: Add visit_types_count to interface (authored by anlambert).
search: Add visit_types_count to interface
Aug 26 2021, 10:55 AM
swh-public-ci added a comment to D6137: search: Add count_visit_types to interface.

Build is green

Aug 26 2021, 10:51 AM
anlambert updated the diff for D6137: search: Add count_visit_types to interface.

Update test according to @ardumont suggesstion

Aug 26 2021, 10:48 AM
anlambert added inline comments to D6137: search: Add count_visit_types to interface.
Aug 26 2021, 10:44 AM
swh-public-ci added a comment to D6132: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes from the index.

Build is green

Aug 26 2021, 10:43 AM
Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org> committed rDSCHab1559181569: Updated backport on buster-swh from debian/0.17.1-1_swh1 (unstable-swh) (authored by Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org>).
Updated backport on buster-swh from debian/0.17.1-1_swh1 (unstable-swh)
Aug 26 2021, 10:43 AM
Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org> committed rDSCH395f14f7bbe3: Merge tag 'debian/0.17.1-1_swh1' into debian/buster-swh (authored by Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org>).
Merge tag 'debian/0.17.1-1_swh1' into debian/buster-swh
Aug 26 2021, 10:43 AM
Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org> committed rDSCH3459dffe77df: pristine-tar data for swh-scheduler_0.17.1.orig.tar.gz (authored by Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org>).
pristine-tar data for swh-scheduler_0.17.1.orig.tar.gz
Aug 26 2021, 10:41 AM
Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org> committed rDSCH4053937d291d: Updated debian changelog for version 0.17.1 (authored by Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org>).
Updated debian changelog for version 0.17.1
Aug 26 2021, 10:41 AM
Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org> committed rDSCHc36a7243ddbf: Update upstream source from tag 'debian/upstream/0.17.1' (authored by Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org>).
Update upstream source from tag 'debian/upstream/0.17.1'
Aug 26 2021, 10:41 AM
Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org> committed rDSCHd04dbb30cf7d: New upstream version 0.17.1 (authored by Jenkins for Software Heritage <jenkins@jenkins-debian1.internal.softwareheritage.org>).
New upstream version 0.17.1
Aug 26 2021, 10:41 AM
anlambert accepted D6113: vault API: Rename bundle types and use SWHIDs to identify objects.
Aug 26 2021, 10:33 AM
anlambert accepted D6132: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes from the index.

Looks good to me.

Aug 26 2021, 10:32 AM
ardumont committed rDSCH506f78c827e3: journal_client: Ensure queue position does not overflow (authored by ardumont).
journal_client: Ensure queue position does not overflow
Aug 26 2021, 10:30 AM
ardumont closed D6136: journal_client: Ensure queue position does not overflow.
Aug 26 2021, 10:30 AM
swh-public-ci added a comment to D6136: journal_client: Ensure queue position does not overflow.

Build is green

Aug 26 2021, 10:28 AM
swh-public-ci added a comment to D6132: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes from the index.

Build is green

Aug 26 2021, 10:26 AM
swh-public-ci added a comment to D6136: journal_client: Ensure queue position does not overflow.

Build is green

Aug 26 2021, 10:25 AM
ardumont updated the diff for D6136: journal_client: Ensure queue position does not overflow.

Fix another typo in the sql this time

Aug 26 2021, 10:24 AM
vsellier accepted D6136: journal_client: Ensure queue position does not overflow.

LGTM

Aug 26 2021, 10:23 AM
ardumont updated the diff for D6136: journal_client: Ensure queue position does not overflow.

Fix docstring typo

Aug 26 2021, 10:23 AM
vlorentz updated the summary of D6132: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes from the index.
Aug 26 2021, 10:11 AM
vlorentz updated the diff for D6132: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes from the index.

oops, wasn't supposed to be in this diff

Aug 26 2021, 10:11 AM
vlorentz updated the diff for D6132: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes from the index.

re-hide 'raw' endpoints

Aug 26 2021, 10:10 AM
ardumont added a comment to T3502: Date overflow error in scheduler journal client.

I bumped the priority since scheduler runners (next-gen) are depending on the results of journal client (scheduler metrics as well).

Aug 26 2021, 10:10 AM · System administration, Scheduling utilities
vlorentz updated the summary of D6132: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes from the index.
Aug 26 2021, 10:09 AM
vlorentz updated the summary of D6132: Add new 'deprecated' tag for API routes, and 'un-hide' deprecate vault routes from the index.
Aug 26 2021, 10:07 AM
ardumont updated the test plan for D6136: journal_client: Ensure queue position does not overflow.
Aug 26 2021, 10:05 AM
ardumont changed the status of T3502: Date overflow error in scheduler journal client from Open to Work in Progress.
Aug 26 2021, 9:57 AM · System administration, Scheduling utilities
ardumont retitled D6136: journal_client: Ensure queue position does not overflow from journal_client: Bound the max position offset to 10 to journal_client: Ensure queue position does not overflow.
Aug 26 2021, 9:57 AM
swh-public-ci added a comment to D6136: journal_client: Ensure queue position does not overflow.

Build is green

Aug 26 2021, 9:56 AM
ardumont updated the diff for D6136: journal_client: Ensure queue position does not overflow.
  • Clarify code change
  • Update docstring to mention the possible side when calculating offset.
  • Add a migration script to adapt existing values in db
Aug 26 2021, 9:53 AM
ardumont accepted D6137: search: Add count_visit_types to interface.

lgtm, one suggestion inline.

Aug 26 2021, 9:35 AM
vlorentz closed T2823: Write tests for swh/journal/writer/inmemory.py as Resolved.

I think so, thanks

Aug 26 2021, 9:10 AM · Easy hack, Journal
KShivendu added a comment to T2823: Write tests for swh/journal/writer/inmemory.py.

@vlorentz should we close this one?

Aug 26 2021, 5:08 AM · Easy hack, Journal

Aug 25 2021

ardumont added a comment to T3468: staging: current opam loading issues.

For the rpm support, [1] may help.

Aug 25 2021, 6:47 PM · System administration, Opam
swh-public-ci added a comment to D6137: search: Add count_visit_types to interface.

Build is green

Aug 25 2021, 6:46 PM
ardumont added inline comments to D6136: journal_client: Ensure queue position does not overflow.
Aug 25 2021, 6:46 PM
ardumont requested review of D6136: journal_client: Ensure queue position does not overflow.
Aug 25 2021, 6:43 PM
anlambert updated the diff for D6137: search: Add count_visit_types to interface.

Rename count_visit_types to visit_types_count.

Aug 25 2021, 6:42 PM
anlambert requested review of D6137: search: Add count_visit_types to interface.
Aug 25 2021, 6:33 PM
anlambert added a revision to T3441: Implement query to get origin visit types dynamically: D6137: search: Add count_visit_types to interface.
Aug 25 2021, 6:29 PM · Archive search
ardumont closed D6135: tarball: Add support for tbz and tbz2 tarball formats.
Aug 25 2021, 6:24 PM
ardumont committed rDCOREcc26836d61c5: tarball: Add support for tbz and tbz2 tarball formats (authored by ardumont).
tarball: Add support for tbz and tbz2 tarball formats
Aug 25 2021, 6:24 PM
vsellier added a comment to T3485: extid topic is misconfigured in staging and production.

It was really faster than expected in staging. The backfilling is already done:

Aug 25 2021, 6:22 PM · System administration
ardumont added a revision to T3502: Date overflow error in scheduler journal client: D6136: journal_client: Ensure queue position does not overflow.
Aug 25 2021, 6:19 PM · System administration, Scheduling utilities
vsellier triaged T3502: Date overflow error in scheduler journal client as High priority.
Aug 25 2021, 6:10 PM · System administration, Scheduling utilities
ardumont updated the task description for T3468: staging: current opam loading issues.
Aug 25 2021, 6:09 PM · System administration, Opam
anlambert accepted D6135: tarball: Add support for tbz and tbz2 tarball formats.
Aug 25 2021, 6:05 PM
ardumont updated the test plan for D6135: tarball: Add support for tbz and tbz2 tarball formats.
Aug 25 2021, 5:59 PM
ardumont requested review of D6135: tarball: Add support for tbz and tbz2 tarball formats.
Aug 25 2021, 5:56 PM
ardumont added a revision to T3468: staging: current opam loading issues: D6135: tarball: Add support for tbz and tbz2 tarball formats.
Aug 25 2021, 5:55 PM · System administration, Opam
vsellier added a comment to T3485: extid topic is misconfigured in staging and production.
  • on production:
vsellier@kafka1 ~ % /opt/kafka/bin/kafka-topics.sh  --bootstrap-server $SERVER --describe --topic swh.journal.objects.extid | grep "^Topic"
Topic: swh.journal.objects.extid	PartitionCount: 256	ReplicationFactor: 2	Configs: cleanup.policy=compact,max.message.bytes=104857600
vsellier@kafka1 ~ % /opt/kafka/bin/kafka-configs.sh --bootstrap-server ${SERVER} --alter  --add-config 'cleanup.policy=[compact,delete],retention.ms=86400000' --entity-type=topics --entity-name swh.journal.objects.extid
Completed updating config for topic swh.journal.objects.extid.

In the kafka logs:

...
[2021-08-25 14:56:19,495] INFO [Log partition=swh.journal.objects.extid-162, dir=/srv/kafka/logdir] Found deletable segments with base offsets [0] due to retention time 86400000ms breach (kafka.log.Log)
[2021-08-25 14:56:19,495] INFO [Log partition=swh.journal.objects.extid-162, dir=/srv/kafka/logdir] Scheduling segments for deletion LogSegment(baseOffset=0, size=2720767, lastModifiedTime=1629815520833, largestTime=1629815520702) (kafka.log.Log)
[2021-08-25 14:56:19,495] INFO [Log partition=swh.journal.objects.extid-162, dir=/srv/kafka/logdir] Incremented log start offset to 20623 due to segment deletion (kafka.log.Log)
....
vsellier@kafka1 ~ % /opt/kafka/bin/kafka-configs.sh --bootstrap-server ${SERVER} --alter  --delete-config 'cleanup.policy' --entity-type=topics --entity-name swh.journal.objects.extid                                                
Completed updating config for topic swh.journal.objects.extid.
vsellier@kafka1 ~ % /opt/kafka/bin/kafka-configs.sh --bootstrap-server ${SERVER} --alter  --delete-config 'retention.ms' --entity-type=topics --entity-name swh.journal.objects.extid 
Completed updating config for topic swh.journal.objects.extid.
vsellier@kafka1 ~ % /opt/kafka/bin/kafka-configs.sh --bootstrap-server ${SERVER} --alter  --add-config 'cleanup.policy=compact' --entity-type=topics --entity-name swh.journal.objects.extid
Completed updating config for topic swh.journal.objects.extid.
vsellier@kafka1 ~ % /opt/kafka/bin/kafka-topics.sh  --bootstrap-server $SERVER --describe --topic swh.journal.objects.extid | grep "^Topic"                                          
Topic: swh.journal.objects.extid	PartitionCount: 256	ReplicationFactor: 2	Configs: cleanup.policy=compact,max.message.bytes=104857600
Aug 25 2021, 5:18 PM · System administration
ardumont updated the summary of D6134: Raise alert when postfix service is down.
Aug 25 2021, 4:59 PM
ardumont requested review of D6134: Raise alert when postfix service is down.
Aug 25 2021, 4:56 PM
ardumont added a revision to T3495: The weekly report bot is down: D6134: Raise alert when postfix service is down.
Aug 25 2021, 4:56 PM · System administration
jayeshv closed D6094: Provenance Mongo backend.
Aug 25 2021, 4:26 PM · Provenance database
jayeshv committed rDPROV3e009a2f77de: MongoDB backend implementation for provenancestorage. (authored by jayeshv).
MongoDB backend implementation for provenancestorage.
Aug 25 2021, 4:26 PM
aeviso accepted D6094: Provenance Mongo backend.
Aug 25 2021, 4:21 PM · Provenance database
vsellier added a comment to T3485: extid topic is misconfigured in staging and production.
  • the retention policy was restore to compact on staging:
vsellier@journal0 ~ % /opt/kafka/bin/kafka-configs.sh --bootstrap-server journal0.internal.staging.swh.network:9092 --alter  --delete-config 'cleanup.policy' --entity-type=topics --entity-name swh.journal.objects.extid
% /opt/kafka/bin/kafka-configs.sh --bootstrap-server journal0.internal.staging.swh.network:9092 --alter  --add-config 'cleanup.policy=compact' --entity-type=topics --entity-name swh.journal.objects.extid
Completed updating config for topic swh.journal.objects.extid.
% /opt/kafka/bin/kafka-topics.sh  --bootstrap-server $SERVER --describe --topic swh.journal.objects.extid | grep "^Topic"
Topic: swh.journal.objects.extid	PartitionCount: 64	ReplicationFactor: 1	Configs: cleanup.policy=compact,max.message.bytes=104857600,min.cleanable.dirty.ratio=0.01
Aug 25 2021, 4:19 PM · System administration
swh-public-ci added a comment to D6004: misc/coverage: Revamp and improve archive coverage widget.

Build is green

Aug 25 2021, 4:00 PM
anlambert updated the diff for D6004: misc/coverage: Revamp and improve archive coverage widget.
  • set 3 origins types per row instead of 4 to improve readability
Aug 25 2021, 3:46 PM
swh-public-ci added a comment to D6094: Provenance Mongo backend.

Build is green

Aug 25 2021, 3:44 PM · Provenance database
jayeshv updated the diff for D6094: Provenance Mongo backend.

MongoDB backend implementation for provenancestorage.

Aug 25 2021, 3:41 PM · Provenance database
swh-public-ci added a comment to D6094: Provenance Mongo backend.

Build is green

Aug 25 2021, 3:40 PM · Provenance database
jayeshv updated the diff for D6094: Provenance Mongo backend.
  • Added the necessary directory for mongo pytest to work
Aug 25 2021, 3:38 PM · Provenance database
Harbormaster failed remote builds in B23157: Diff 22199 for D6094: Provenance Mongo backend!
Aug 25 2021, 3:19 PM · Provenance database
swh-public-ci added a comment to D6094: Provenance Mongo backend.

Build has FAILED

Aug 25 2021, 3:19 PM · Provenance database
jayeshv updated the diff for D6094: Provenance Mongo backend.

MongoDB backend implementation for provenancestorage.

Aug 25 2021, 3:16 PM · Provenance database
Harbormaster failed remote builds in B23156: Diff 22198 for D6094: Provenance Mongo backend!
Aug 25 2021, 3:16 PM · Provenance database
swh-public-ci added a comment to D6094: Provenance Mongo backend.

Build has FAILED

Aug 25 2021, 3:16 PM · Provenance database
jayeshv updated the diff for D6094: Provenance Mongo backend.
  • Made default provenance storage to psql
Aug 25 2021, 3:13 PM · Provenance database
Harbormaster failed remote builds in B23155: Diff 22197 for D6094: Provenance Mongo backend!
Aug 25 2021, 3:11 PM · Provenance database
swh-public-ci added a comment to D6094: Provenance Mongo backend.

Build has FAILED

Aug 25 2021, 3:11 PM · Provenance database
jayeshv updated the diff for D6094: Provenance Mongo backend.
  • Pytest is using mongomock
Aug 25 2021, 3:09 PM · Provenance database
olasd added a comment to T3403: Use forge URL network location as default lister instance name.

I've duplicated the credentials for the relevant forges, and updated the following instance names:

Aug 25 2021, 2:38 PM · Scheduling utilities, Lister
vlorentz created P1133 old yarnpkg support.
Aug 25 2021, 1:57 PM
olasd archived P1132 Command-Line Input.
Aug 25 2021, 1:50 PM
olasd created P1132 Command-Line Input.
Aug 25 2021, 1:50 PM