Page MenuHomeSoftware Heritage
Feed Advanced Search

Dec 14 2021

dachary requested review of D6834: docker: add the swh-winery-db and swh-winery services.
Dec 14 2021, 3:47 PM · Object storage
dachary updated the test plan for D6796: winery: basic implementation of the backend.
Dec 14 2021, 2:20 PM
dachary updated the task description for T3533: Winery backend: basic implementation.
Dec 14 2021, 2:19 PM · Object storage (RedHat collaboration)
dachary updated the diff for D6796: winery: basic implementation of the backend.
  • move winery test environment at the root of the repository as suggested
Dec 14 2021, 1:51 PM
dachary added a comment to D6796: winery: basic implementation of the backend.

Hmm... alright, let's keep it in this repo. But move it to the root (ie. something like swh-objstorage/winery-benchmarks/ instead of swh-objstorage/swh/objstorage/tests/winery/), as the current location implies it is used from the Python code.

Sounds good?

Dec 14 2021, 12:28 PM
dachary added a comment to D6796: winery: basic implementation of the backend.

Just so we're clear: these ansible files are uniquely used for setting up the test environment (local or fed4fire). Are you suggesting that part of the test environment is moved in the snippets repository? Or did you maybe think that these ansible files were not used for testing purposes?

Do you mean they are invoked via pytest?

Dec 14 2021, 11:24 AM
dachary updated the diff for D6796: winery: basic implementation of the backend.
  • fix database closing ordering to not leak connections
  • automatic connection cleanup on test failure
Dec 14 2021, 12:19 AM

Dec 13 2021

dachary updated the diff for D6796: winery: basic implementation of the backend.
  • finalize fed4fire scripts and obtained a successful test run
  • address review comments
  • fix missing drop of the Write Shard when packing completes
Dec 13 2021, 10:51 PM
dachary updated the task description for T3804: Winery backend server.
Dec 13 2021, 6:23 PM · Object storage
dachary renamed T3804: Winery backend server from Winery backend proxy to Winery backend server.
Dec 13 2021, 6:22 PM · Object storage
dachary updated the task description for T3804: Winery backend server.
Dec 13 2021, 5:58 PM · Object storage
dachary updated the task description for T3804: Winery backend server.
Dec 13 2021, 5:58 PM · Object storage
dachary added a subtask for T3432: Add winery backend: T3804: Winery backend server.
Dec 13 2021, 5:54 PM · Object storage
dachary added a parent task for T3804: Winery backend server: T3432: Add winery backend.
Dec 13 2021, 5:54 PM · Object storage
dachary triaged T3804: Winery backend server as Normal priority.
Dec 13 2021, 5:54 PM · Object storage
dachary added a comment to D6796: winery: basic implementation of the backend.

Thanks!

Could you add comments in the code to address @vsellier's questions? (he probably won't be the last to ask them while reading the code)

Dec 13 2021, 4:37 PM
dachary added inline comments to D6796: winery: basic implementation of the backend.
Dec 13 2021, 4:20 PM
dachary updated the task description for T3532: IO throttling.
Dec 13 2021, 2:26 PM · Object storage (RedHat collaboration)
dachary updated the diff for D6796: winery: basic implementation of the backend.

resolve race condition that prevents updating /etc/hosts

Dec 13 2021, 12:44 AM
dachary updated the diff for D6796: winery: basic implementation of the backend.

nuke /dev/sdc early on so that lvm2 does not grab it

Dec 13 2021, 12:11 AM

Dec 12 2021

dachary updated the diff for D6796: winery: basic implementation of the backend.
  • rework the integration tests and documentation to be grid5000/fed4fire compatible
Dec 12 2021, 9:37 PM
dachary updated the diff for D6796: winery: basic implementation of the backend.

implement tox -e winery and associated helper script

Dec 12 2021, 8:54 PM
dachary updated the diff for D6796: winery: basic implementation of the backend.

move all files created for the ceph test cluster in a dedicated directory

Dec 12 2021, 3:19 PM
dachary updated the task description for T3634: Create swh-perfecthash module.
Dec 12 2021, 6:05 AM · Object storage
dachary updated the task description for T3634: Create swh-perfecthash module.
Dec 12 2021, 5:54 AM · Object storage
dachary added a comment to T3634: Create swh-perfecthash module.

@olasd I split the debian packaging in its own task at T3797 so that this task can be closed. I'll let you revert this if you think it is not appropriate. My rationale is that it would be easier to figure out what's left to be done with this one other task. Rather than coming back to this rather overloaded ticket. But it's just a matter of personal taste :-)

Dec 12 2021, 5:51 AM · Object storage
dachary updated the task description for T3634: Create swh-perfecthash module.
Dec 12 2021, 5:48 AM · Object storage
dachary added a parent task for T3797: swh-perfecthash: debian package: T3432: Add winery backend.
Dec 12 2021, 5:48 AM · Object storage
dachary added a subtask for T3432: Add winery backend: T3797: swh-perfecthash: debian package.
Dec 12 2021, 5:48 AM · Object storage
dachary triaged T3797: swh-perfecthash: debian package as Normal priority.
Dec 12 2021, 5:47 AM · Object storage
dachary added a comment to T3634: Create swh-perfecthash module.

The documentation now shows as expected. The previous problems in rendering it were probably because the package was not published.

Dec 12 2021, 5:44 AM · Object storage
dachary updated the task description for T3634: Create swh-perfecthash module.
Dec 12 2021, 5:43 AM · Object storage
dachary updated the task description for T3528: Add winery backend: grid5000 benchmark.
Dec 12 2021, 5:21 AM · Object storage
dachary changed the status of T3528: Add winery backend: grid5000 benchmark, a subtask of T3432: Add winery backend, from Open to Work in Progress.
Dec 12 2021, 5:20 AM · Object storage
dachary changed the status of T3528: Add winery backend: grid5000 benchmark from Open to Work in Progress.
Dec 12 2021, 5:20 AM · Object storage
dachary removed a parent task for T3796: winery benchmarks: T3432: Add winery backend.
Dec 12 2021, 5:20 AM · Object storage
dachary removed a subtask for T3432: Add winery backend: T3796: winery benchmarks.
Dec 12 2021, 5:20 AM · Object storage
dachary closed T3796: winery benchmarks as Invalid.
Dec 12 2021, 5:20 AM · Object storage
dachary closed T3796: winery benchmarks, a subtask of T3432: Add winery backend, as Invalid.
Dec 12 2021, 5:20 AM · Object storage
dachary closed T3524: Add winery backend: create the Ceph cluster, a subtask of T3432: Add winery backend, as Resolved.
Dec 12 2021, 5:19 AM · Object storage
dachary closed T3524: Add winery backend: create the Ceph cluster as Resolved.

Duplicate of T3533

Dec 12 2021, 5:19 AM · Object storage (RedHat collaboration)
dachary closed T3523: Add winery backend: create the PostgreSQL cluster, a subtask of T3432: Add winery backend, as Resolved.
Dec 12 2021, 5:18 AM · Object storage
dachary closed T3523: Add winery backend: create the PostgreSQL cluster as Resolved.

Duplicate of T3533

Dec 12 2021, 5:18 AM · Object storage
dachary changed the status of T3523: Add winery backend: create the PostgreSQL cluster, a subtask of T3432: Add winery backend, from Open to Work in Progress.
Dec 12 2021, 5:16 AM · Object storage
dachary changed the status of T3523: Add winery backend: create the PostgreSQL cluster from Open to Work in Progress.
Dec 12 2021, 5:16 AM · Object storage
dachary changed the status of T3432: Add winery backend from Open to Work in Progress.
Dec 12 2021, 5:08 AM · Object storage
dachary updated the task description for T3796: winery benchmarks.
Dec 12 2021, 5:07 AM · Object storage
dachary added a parent task for T3796: winery benchmarks: T3432: Add winery backend.
Dec 12 2021, 5:06 AM · Object storage
dachary added a subtask for T3432: Add winery backend: T3796: winery benchmarks.
Dec 12 2021, 5:06 AM · Object storage
dachary changed the status of T3796: winery benchmarks from Open to Work in Progress.
Dec 12 2021, 5:05 AM · Object storage
dachary closed T3670: fed4fire setup for winery benchmarks as Resolved.
Dec 12 2021, 5:03 AM · Object storage
dachary closed T3670: fed4fire setup for winery benchmarks, a subtask of T3432: Add winery backend, as Resolved.
Dec 12 2021, 5:03 AM · Object storage

Dec 11 2021

dachary added a comment to T3533: Winery backend: basic implementation.

I think D6796 is ready for review and should be merged. It is not final and won't run in production but it is a working implementation of the object storage. From there I intend to setup a benchmarking environment on grid5000. Optimizations will be implemented to improve the benchmark results where it matters the most. The benchmarks that were run during the summer already provided insights which motivated the implementation of the shard packer in C.

Dec 11 2021, 10:36 PM · Object storage (RedHat collaboration)
dachary retitled D6796: winery: basic implementation of the backend from winery: scafolding for the backend to winery: basic implementation of the backend.
Dec 11 2021, 10:21 PM
dachary renamed T3533: Winery backend: basic implementation from Winery backend: implementation to Winery backend: basic implementation.
Dec 11 2021, 10:20 PM · Object storage (RedHat collaboration)
dachary changed the status of T3533: Winery backend: basic implementation, a subtask of T3432: Add winery backend, from Open to Work in Progress.
Dec 11 2021, 10:20 PM · Object storage
dachary updated the diff for D6796: winery: basic implementation of the backend.

add get from Read Shard and test

Dec 11 2021, 10:07 PM
dachary updated the diff for D6796: winery: basic implementation of the backend.
  • assert the expected Readonly Shard packing state
  • document the pytest-posgresql hang prevention tips
Dec 11 2021, 7:14 PM
dachary updated the diff for D6796: winery: basic implementation of the backend.
  • ensure pytest-postgresql is able to cleanup on failure instead of hanging
  • minimal test with swh.perfecthash
Dec 11 2021, 6:13 PM

Dec 10 2021

dachary updated the diff for D6796: winery: basic implementation of the backend.

do not use pg13 specific statements

Dec 10 2021, 11:39 PM
dachary updated the diff for D6796: winery: basic implementation of the backend.

rework the fixtures to prevent hanging when a test fails

Dec 10 2021, 11:35 PM
dachary updated the diff for D6796: winery: basic implementation of the backend.

ceph --help actually exits with non zero, use --version instead

Dec 10 2021, 6:31 PM
dachary updated the diff for D6796: winery: basic implementation of the backend.

add test environment and tools for the Ceph cluster

Dec 10 2021, 6:19 PM
dachary updated the diff for D6796: winery: basic implementation of the backend.

add the packing boolean to the shards table

Dec 10 2021, 3:43 PM
dachary accepted D6809: option to skip bdist_wheel and only upload a source package.

This is all news to me but it makes intuitive sense. Plus it was tested manually and I can testify it worked. So I review positively (yeah, I make a big deal out of this because this is my first review ;-) )

Dec 10 2021, 10:07 AM

Dec 9 2021

dachary updated the diff for D6796: winery: basic implementation of the backend.

address review comments
remove ceph ssh test key from the repository, it is noise

Dec 9 2021, 7:22 PM
dachary added inline comments to D6796: winery: basic implementation of the backend.
Dec 9 2021, 7:19 PM
dachary updated the diff for D6796: winery: basic implementation of the backend.

helper script to spawn a container based Ceph cluster for integration testing in a CI environment

Dec 9 2021, 6:59 PM
dachary added a comment to D6810: add libcmph-dev so that swh-perfecthash can build and install.

Thanks for the quick review :-)

Dec 9 2021, 2:48 PM
dachary closed D6810: add libcmph-dev so that swh-perfecthash can build and install.
Dec 9 2021, 2:48 PM
dachary committed rDENV50295a1c291e: add libcmph-dev so that swh-perfecthash can build and install (authored by dachary).
add libcmph-dev so that swh-perfecthash can build and install
Dec 9 2021, 2:48 PM
dachary added inline comments to D6810: add libcmph-dev so that swh-perfecthash can build and install.
Dec 9 2021, 2:47 PM
dachary updated the diff for D6810: add libcmph-dev so that swh-perfecthash can build and install.

sort

Dec 9 2021, 2:47 PM
dachary requested review of D6810: add libcmph-dev so that swh-perfecthash can build and install.
Dec 9 2021, 11:46 AM
dachary added a revision to T3634: Create swh-perfecthash module: D6809: option to skip bdist_wheel and only upload a source package.
Dec 9 2021, 11:36 AM · Object storage
dachary added a task to D6809: option to skip bdist_wheel and only upload a source package: T3634: Create swh-perfecthash module.
Dec 9 2021, 11:36 AM
dachary added a subtask for T3634: Create swh-perfecthash module: T3783: bdist_wheel with manylinux for swh-perfecthash.
Dec 9 2021, 11:35 AM · Object storage
dachary added a parent task for T3783: bdist_wheel with manylinux for swh-perfecthash: T3634: Create swh-perfecthash module.
Dec 9 2021, 11:35 AM · Object storage
dachary triaged T3783: bdist_wheel with manylinux for swh-perfecthash as Normal priority.
Dec 9 2021, 11:35 AM · Object storage
dachary requested review of D6809: option to skip bdist_wheel and only upload a source package.
Dec 9 2021, 11:22 AM
dachary abandoned D6808: do not try to build binary wheels.

There is a need for wheels even for non arch dependent packages.

Dec 9 2021, 11:12 AM
dachary requested review of D6808: do not try to build binary wheels.
Dec 9 2021, 11:07 AM
dachary closed D6805: doc: add a description line.
Dec 9 2021, 10:41 AM · Object storage
dachary committed rDOPH6aa71e1d4c0c: doc: add a description line (authored by dachary).
doc: add a description line
Dec 9 2021, 10:41 AM

Dec 8 2021

dachary added a comment to D6805: doc: add a description line.

@ardumont @olasd I'm not sure if it was polite / useful to add you as subscribers to this isolated commit. Please let me know if I should have done otherwise.

Dec 8 2021, 7:00 PM · Object storage
dachary added a project to D6805: doc: add a description line: Object storage.
Dec 8 2021, 6:59 PM · Object storage
dachary added a comment to D6805: doc: add a description line.

It was tested as follows:

Dec 8 2021, 6:58 PM · Object storage
dachary requested review of D6805: doc: add a description line.
Dec 8 2021, 6:57 PM · Object storage
dachary closed D6545: base-buster: add valgrind and googletest for swh.perfecthash.
Dec 8 2021, 6:13 PM
dachary committed rCDFJ4af01e989e88: base-buster: add valgrind and googletest for swh.perfecthash (authored by dachary).
base-buster: add valgrind and googletest for swh.perfecthash
Dec 8 2021, 6:13 PM
dachary added inline comments to D6796: winery: basic implementation of the backend.
Dec 8 2021, 6:11 PM
dachary added a comment to D6545: base-buster: add valgrind and googletest for swh.perfecthash.

I thought it was pushed already, I must have overlooked it somehow. Doing it now.

Dec 8 2021, 6:00 PM
dachary added a comment to T3634: Create swh-perfecthash module.

I've read https://docs.softwareheritage.org/sysadm/deployment/howto-debian-packaging.html to figure out what should be done to complete the "Bootstrap Debian packaging" part which does not show in the pool https://debian.softwareheritage.org/pool/main/s/ . I think to understand this is done by a job in https://forge.softwareheritage.org/source/swh-jenkins-jobs/, presumably https://forge.softwareheritage.org/source/swh-jenkins-jobs/browse/master/jobs/swh-packages.yaml$196 but... it's not happening

Dec 8 2021, 5:45 PM · Object storage
dachary added a comment to T3533: Winery backend: basic implementation.

D6796 is a draft implementation that is not ready for review but can be reviewed anyways in case someone is curious.

Dec 8 2021, 5:28 PM · Object storage (RedHat collaboration)
dachary requested review of D6796: winery: basic implementation of the backend.
Dec 8 2021, 5:21 PM
dachary added a revision to T3533: Winery backend: basic implementation: D6796: winery: basic implementation of the backend.
Dec 8 2021, 5:21 PM · Object storage (RedHat collaboration)
dachary closed T3526: Add winery backend: learning the CI, a subtask of T3432: Add winery backend, as Resolved.
Dec 8 2021, 5:08 PM · Object storage
dachary closed T3526: Add winery backend: learning the CI as Resolved.
Dec 8 2021, 5:08 PM · Object storage
dachary closed T3522: Add winery backend: learning the codebase, a subtask of T3432: Add winery backend, as Resolved.
Dec 8 2021, 5:08 PM · Object storage
dachary closed T3522: Add winery backend: learning the codebase as Resolved.
Dec 8 2021, 5:08 PM · Object storage