New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos: kubernetes fixes #37218
nixos: kubernetes fixes #37218
Conversation
d69358f
to
e359258
Compare
@GrahamcOfBorg test kubernetes.dns kubernetes.rbac |
Success on x86_64-linux (full log) Attempted: tests.kubernetes.dns, tests.kubernetes.rbac No log is available. |
Success on aarch64-linux (full log) Attempted: tests.kubernetes.dns, tests.kubernetes.rbac No log is available. |
@grahamc Any idea why OfBorg is reporting success, while the logs show a 404 served up by nginx? |
...yikes... this is ugly! |
The problem is these evaluate to nothing:
so evaluation "Succeeds" but then there is nothing to do. I'll write a test and fix this! |
nixos/release.nix
Outdated
tests.kubernetes.dns = callSubTestsOnTheseSystems ["x86_64-linux"] tests/kubernetes/dns.nix {}; | ||
## kubernetes.e2e should eventually replace kubernetes.rbac when it works | ||
#tests.kubernetes.e2e = callSubTestsOnTheseSystems ["x86_64-linux"] tests/kubernetes/e2e.nix {}; | ||
tests.kubernetes.rbac = callSubTestsOnTheseSystems ["x86_64-linux"] tests/kubernetes/rbac.nix {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note callSubTestsOnTheseSystems might need recurseForDerivations
applied to it to make this work.
@GrahamcOfBorg test kubernetes.dns.multinode kubernetes.dns.singlenode kubernetes.rbac.multinode kubernetes.rbac.singlenode |
Failure on x86_64-linux (full log) Partial log (click to expand)
|
Failure on aarch64-linux (full log) Partial log (click to expand)
|
@GrahamcOfBorg test kubernetes.dns.multinode kubernetes.dns.singlenode kubernetes.rbac.multinode kubernetes.rbac.singlenode |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: tests.kubernetes.dns.multinode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.rbac.singlenode Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: tests.kubernetes.dns.multinode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.rbac.singlenode Partial log (click to expand)
|
* Fix reference CNI plugins * The plugins were split out of the upstream cni repo around version 0.6.0 * Fix RBAC and DNS tests * Fix broken apiVersion fields * Change plugin linking to look in ${package}/bin rather than ${package.plugins} * Initial work towards a working e2e test * Test still fails, but at least the expression evaluates now Continues @srhb's work in NixOS#37199 Fixes NixOS#37199
@GrahamcOfBorg test kubernetes.dns.multinode kubernetes.dns.singlenode kubernetes.rbac.multinode kubernetes.rbac.singlenode |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: tests.kubernetes.dns.multinode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.rbac.singlenode Partial log (click to expand)
|
Failure on x86_64-linux (full log) Attempted: tests.kubernetes.dns.multinode, tests.kubernetes.dns.singlenode, tests.kubernetes.rbac.multinode, tests.kubernetes.rbac.singlenode Partial log (click to expand)
|
@grahamc Do you know why OfBorg is failing here?
|
Ooops, I am stupid, sorry.
I granted /dev/kvm to ofborg instead of nixbld
|
The tests passed locally, so I'm going to stop sitting on this and merge. |
Fix reference CNI plugins
0.6.0
Fix RBAC and DNS tests
${package.plugins}
Initial work towards a working e2e test
Continues @srhb's work in #37199
Fixes #37199
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)