WIP: jepsen.garage nixos test #725
No reviewers
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#725
Loading…
Reference in a new issue
No description provided.
Delete branch "yuka/garage:jepsen-nixos-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Run the jepsen tests in a nix derivation as an isolated and reproducible way of setting up the environment.
Motivation: The vagrant setup is already mostly that, but it still requires me to set up virtualbox including kernel modules, and in any case some rootful setup, which kind of bothered me
This is an incomplete proof of concept, because:
388136df8f
to351e5ca88b
351e5ca88b
tocd0142fbdc
cd0142fbdc
to16a26af0fe
16a26af0fe
to4852eb4b6b
4852eb4b6b
tofc6c94e811
I think it would be nice to get this merged so that we can run the Jepsen testing pipeline in our CI.
Some remarks:
It is not desirable to set nixpkgs to unstable for the build process. Could it be refactored to keep the nixpkgs input to what it was previously, and have a second input, for example called
nixpkgs-unstable
, that is passed to the part that does Jepsen testing?Could the bulk of the Jepsen testing be moved to an external file like
nix/jepsen.nix
to avoid crowding the main flake.nix file?Your PR removes the
project.clj
in the Jepsen script directory. Is this strictly necessary to make it possible to run as a Nix derivation? Does it not prevent running it as before using regularlein
commands?(Looks like the CI pipeline is broken, probably because of nixpkgs unstable. It's unable to build Wine which we use to test the winscp client)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.