NETOBSERV-2397 QE: Automate test for auto-detect privilege run feature in network observability CLI#382
Conversation
|
Hi @oliver-smakal. Thanks for your PR. I'm waiting for a netobserv member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
|
New image: It will expire after two weeks. To use this build, update your commands using: USER=netobserv VERSION=edc8705 make commands |
|
@memodi all the comments were resolved -> ready for further review/approval. |
|
/ok-to-test |
|
@oliver-smakal - could you add local run of tests in PR description? We see some flakiness in CI |
|
New image: It will expire after two weeks. To use this build, update your commands using: USER=netobserv VERSION=fa3e76f make commands |
It does that locally the integration tests are failing and taking quite long. I am running it again rosa 4.19 cluster, but that should not be an issue, right? Example logs: Log2: trying investigate further |
memodi
left a comment
There was a problem hiding this comment.
I ran it just by filtering new test in PR:
ginkgo --label-filter=Privileges run e2e/integration-tests
================================================================================================================================
Random Seed: 1758817130
Will run 3 of 8 specs
SSSSStime="2025-09-25T12:18:56-04:00" level=info msg="Starting command" arg="[flows]" cmd=/usr/local/bin/oc-netobserv component=integration_test
time="2025-09-25T12:19:26-04:00" level=info msg="Cleaning up..." component=integration_test
time="2025-09-25T12:19:26-04:00" level=info msg="Running command" arg="[cleanup]" cmd=/usr/local/bin/oc-netobserv component=integration_test
•time="2025-09-25T12:20:13-04:00" level=info msg="Starting command" arg="[flows --privileged=true]" cmd=/usr/local/bin/oc-netobserv component=integration_test
time="2025-09-25T12:20:43-04:00" level=info msg="Cleaning up..." component=integration_test
time="2025-09-25T12:20:43-04:00" level=info msg="Running command" arg="[cleanup]" cmd=/usr/local/bin/oc-netobserv component=integration_test
time="2025-09-25T12:21:17-04:00" level=error msg="Wait returned error: signal: hangup" component=integration_test
•time="2025-09-25T12:21:32-04:00" level=info msg="Starting command" arg="[flows --drops]" cmd=/usr/local/bin/oc-netobserv component=integration_test
time="2025-09-25T12:22:02-04:00" level=info msg="Cleaning up..." component=integration_test
time="2025-09-25T12:22:02-04:00" level=info msg="Running command" arg="[cleanup]" cmd=/usr/local/bin/oc-netobserv component=integration_test
time="2025-09-25T12:22:23-04:00" level=error msg="Wait returned error: signal: hangup" component=integration_test
•
Ran 3 of 8 Specs in 231.953 seconds
SUCCESS! -- 3 Passed | 0 Failed | 0 Pending | 5 Skipped
PASS
Ginkgo ran 1 suite in 3m58.056686761s
Test Suite Passed
|
thanks @oliver-smakal |
|
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@oliver-smakal the build/lint/test and e2e-tests needs some attention here |
Yes @memodi , you are right, the |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #382 +/- ##
==========================================
- Coverage 17.20% 13.67% -3.54%
==========================================
Files 15 18 +3
Lines 2133 2684 +551
==========================================
Hits 367 367
- Misses 1740 2291 +551
Partials 26 26
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/ok-to-test |
I invited you to netobserv github org, hopefully it will not be overwritten, if it does you'd have to raise DPP request. |
|
New image: It will expire after two weeks. To use this build, update your commands using: USER=netobserv VERSION=a38132b make commands |
|
@oliver-smakal: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/lgtm |
Description
Adds tests to verify correct privilege settings as introduced in: NETOBSERV-2262
Please also verify that polarion test case is created correctly: https://polarion.engineering.redhat.com/polarion/#/project/OSE/workitem?id=OCP-84801) is created correctly.
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.