Repository navigation
E2E testsuite: add RBAC testing to e2e suite - #5115
Open
d2burkhalter wants to merge 16 commits into
Open
d2burkhalter wants to merge 16 commits into
d2burkhalter wants to merge 16 commits into
Conversation
|
Collaborator
Author
Contributor
[Medium impact] The changes appear safe to merge; both numbered findings are fixed. SummaryAdds named authentication contexts and expected error phases to the end-to-end tests, plus RBAC cases for global and queue permissions.
|
Collaborator
Author
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
d2burkhalter
force-pushed
the
feat/add-rbac-e2e
branch
from
September 22, 2026 19:41
fd75f3f to
78776b8
Compare
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Collaborator
Author
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
d2burkhalter
marked this pull request as ready for review
September 24, 2026 16:30
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
Signed-off-by: David.Burkhalter <d2.burkhalter@gmail.com>
dejanzele
reviewed
Oct 20, 2026
| test: | ||
| [ | ||
| "CMD-SHELL", | ||
| "bash -c 'exec 3<>/dev/tcp/127.0.0.1/9000 && printf \"GET /health/ready HTTP/1.1\\r\\nHost: localhost\\r\\nConnection: close\\r\\n\\r\\n\" >&3 && cat <&3' | grep -q '\"status\": \"UP\"'", |
Member
There was a problem hiding this comment.
is there an easier way for this?
Collaborator
Author
There was a problem hiding this comment.
I don't think so since the keycloak image doesn't have curl or an equivalent in it
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allows the testrunner to make authenticated requests and test for expected behavior for global/queue authenticated actions. In testSpec adds
auth_contextfield to define what context will be used for a test andexpected_error_codefield for the RPC error code expected when an authenticated call fails. Added ability for CI to switch the configs of armada services between tests to allow for basic and then authenticated tests to run.From the testing I found that when submitting jobs without permissions the error code is PermissionDenied but for cancel, preempt and reprioritize the error code is Unknown so I'm not sure if that is the intended behavior.