-
Notifications
You must be signed in to change notification settings - Fork 176
chore(libsinsp/test): use GTEST_SKIP to track disabled tests #2158
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
chore(libsinsp/test): use GTEST_SKIP to track disabled tests #2158
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2158 +/- ##
=======================================
Coverage 75.44% 75.44%
=======================================
Files 265 265
Lines 34057 34057
Branches 5801 5801
=======================================
Hits 25695 25695
Misses 8362 8362
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Perf diff from master - unit testsHeap diff from master - unit testsHeap diff from master - scap fileBenchmarks diff from master |
|
/milestone 0.20.0 Left a suggestion/fix :) |
d687fa6 to
b343396
Compare
FedeDP
left a comment
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.
/approve
|
LGTM label has been added. DetailsGit tree hash: 9e848f1b7055baf0cc8932454db421995de107c8 |
|
Uh system deps builds on arm64 are failing with: Care to give it a look so that we can merge this one? |
b343396 to
cc3566c
Compare
.github/workflows/ci.yml
Outdated
| build-libs-linux: | ||
| name: build-libs-linux-${{ matrix.arch }} 😁 (${{ matrix.name }}) | ||
| runs-on: ${{ (matrix.arch == 'arm64' && 'github-arm64-2c-8gb') || 'ubuntu-22.04' }} | ||
| container: |
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.
cc3566c to
546b202
Compare
.github/workflows/ci.yml
Outdated
| build-libs-linux: | ||
| name: build-libs-linux-${{ matrix.arch }} 😁 (${{ matrix.name }}) | ||
| runs-on: ${{ (matrix.arch == 'arm64' && 'github-arm64-2c-8gb') || 'ubuntu-22.04' }} | ||
| container: |
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.
At this point, do we even need the container? I mean, we already run on ubuntu-22.04 on x86 and arm64.
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.
I'd remove the container directive.
Also, remember to add sudo before install deps steps
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.
Why did you use container image ubuntu-22.04? can't we run directly on runner runs-on ?
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.
/hold
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.
There is a grpc-related sanitizer issue otherwise :/ grpc/grpc#22783
It's ok with the container to workaround it!
/unhold
3d31620 to
d666250
Compare
Signed-off-by: Roberto Scolaro <[email protected]>
78bb159 to
a733fe3
Compare
FedeDP
left a comment
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.
/approve
|
LGTM label has been added. DetailsGit tree hash: c11c83b5fafa54f8cfa75f195dbc6fda58980268 |
a733fe3 to
c4bf082
Compare
c4bf082 to
f598e25
Compare
FedeDP
left a comment
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.
/approve
|
LGTM label has been added. DetailsGit tree hash: 2b2f0561c42922c1829682079e318633d092a424 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, therealbobo 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 |
This reverts commit f598e25.
|
Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits. 📝 Please follow instructions in the contributing guide to update your commits with the DCO Full details of the Developer Certificate of Origin can be found at developercertificate.org. The list of commits missing DCO signoff:
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. |
|
New changes are detected. LGTM label has been removed. |
What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area libsinsp
/area tests
Does this PR require a change in the driver versions?
What this PR does / why we need it:
Instead of using an
ifdefaround test functions, we could useGTEST_SKIPto avoid losing sight of disabled tests.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: