- Apr 09, 2025
-
-
Renaud Boyer authored
-
- Mar 19, 2025
-
-
vlorentz authored
-
- Mar 18, 2025
-
-
vlorentz authored
-
- Feb 17, 2025
-
-
Antoine Lambert authored
-
- Jan 31, 2025
-
- Jan 23, 2025
- Jan 22, 2025
-
-
- Dec 09, 2024
-
-
Aymeric Varasse authored
-
- Aug 30, 2024
-
-
Antoine Lambert authored
-
- Aug 29, 2024
-
-
David Douard authored
-
- Jul 02, 2024
-
-
David Douard authored
and add -j4 to the 'mr run pre-commit install' comand.
-
- Feb 16, 2024
-
-
David Douard authored
-
- Feb 09, 2024
-
-
Antoine Lambert authored
-
- Feb 05, 2024
-
-
Antoine Lambert authored
Related to swh/meta#5075.
-
- Jan 26, 2024
-
-
Antoine Lambert authored
Align with production settings and enable vault workers to fetch contents bytes directly from the objstorage to speedup cooking.
-
- Jan 22, 2024
-
-
David Douard authored
-
David Douard authored
Even when the docker_compose fixture itself fails.
-
David Douard authored
Use a file of installed packages generated at image build time when no python package is installed from source. This call ti 'pip install' for all startup of the services can slow the startup time a bit.
-
David Douard authored
Having the swh-web-cron service exit early make the test fail because docker_compose fixture now waits for the services to be started.
-
- Jan 19, 2024
-
-
David Douard authored
Make it tell which origins are loaded on the fly, with a duration.
-
David Douard authored
Replace the retry proxy by a tenacious one, also add a buffer proxy in the pipeline (should help, maybe).
-
David Douard authored
Instead of scaling up the loaders if needed in the origins fixture; the issue with this approach was the time needed by the newly spawn loaders to be ready to accept tasks from Celery, there is a good chance the first loader takes (prefetch) them all, thus falling back in a one-loader-loads-all-origins situation.
-
David Douard authored
Replace the retry proxy by a tenacious one and move the filter one at the entry of the pipeline. It should mitigate spurious hash collision errors when loading several origins in parallel (which happen when there are more than one origin to load, now that the origins() fixture scales the swh-loader service up if needed).
-
- Jan 18, 2024
-
-
David Douard authored
-
David Douard authored
-
- Jan 16, 2024
-
-
David Douard authored
This allows to easily query elasticserch, which can be useful for tests.
-
- Jan 15, 2024
-
-
Jérémy Bobbio (Lunar) authored
Removing an object from Kafka requires writing a new message with the same key as previously used and an empty value. These tombstones then get later “compacted” depending on the topic settings `cleanup.policy`, `max.compaction.lag.ms` and `delete.retention.ms`. To test the presence or absence of objects in Kafka, we thus need to find which is the most recent: a tombstone or a value. In order to do so, we parse all messages into a single dict, associating SWHIDs with the latest message timestamp and if it should be considered present or absent. This is sadly a bit time and memory consuming but at least we get accurate results. While not strictly necessary, we now use a topic configuration in Kafka that will aggressively try to remove “dead” messages. It should improve slightly the time needed to inventory objects as previously described. We use the match syntax introduced in Python 3.10 in `handle_message()`, so we bump black compatibility settings to Python 3.11. Depends on swh-alter!7 (and a new release thereafter)
-
David Douard authored
I prevents from a 301 back and forth on each http query.
-
David Douard authored
It seems still broken albeit replying to HEAD queries...
-
David Douard authored
Starting a service can be pretty slow, waiting for dependencies etc. Double these to 6 (default being 3) in all service with a healthcheck defined with default retries.
-
David Douard authored
Otherwise the mimetype and fossology indexers are executed, making tests very long to execute.
-
David Douard authored
It's not used any more and is about to be removed from swh-indexer.
-
- Jan 11, 2024
-
-
Antoine Lambert authored
-
- Jan 10, 2024
-
-
David Douard authored
-
David Douard authored
-
David Douard authored
-
David Douard authored
This adds a new test scenario for the cassandra backend. It includes: - add a journal_writer in storage_cassandra.yml config file, - add a simple test in which the cassandra backend is used in a simple git loading scenario.
-
David Douard authored
- use a dedicated group_id for the replayer (to prevent confusion), - use a dedicated cassandra storage configuration to prevent alter tests from being subject to side effects of modifications in the main cassandra storage configuration, - simplify a bit the alter_host fixture, - improve the way verified_origins fixture check for the replayer to be done (as kafka about consumer lag).
-
David Douard authored
Make it possible to declare one origin to be loaded with multiple urls and choose the first one to be accessible as url for the test. This can prevent the tests from failing due to a transient downtime of an origin. Use this to make the mercurial origin used in test_mirror iand test_graphql more robust (sr.ht being currently down).
-