-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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] Update go versions used in GitHub workflows #24213
Conversation
Please rebase with main |
I've rebased but now we have several integration tests failures in the docker observer:
|
This test seems to be failing consistently:
|
Taking a look |
I believe this is the same issue. which may be an issue with testcontainers-go. Currently looking for a workaround. |
@bryan-aguilar, I've made a PR to your branch that would skip all container creation via |
@djaglowski I will write up an issue for these skipped test cases using test containers. |
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.
Looks like another lint failure:
level=info msg="File cache stats: 15 entries of total size 325.0KiB"
params, ctx, cancel := paramsAndContext(t)
^
Error: dockerstatsreceiver/integration_test.go:143:2: SA4006: this value of `params` is never used (staticcheck)
params, ctx, cancel := paramsAndContext(t)
^
Yup.....I'm taking a look at this already. fun™ |
The linting failure doesn't make sense right now. I can replicate it locally though. That value is used in the 10 line later.
|
I suspect dominikh/go-tools#364 |
This was written to trick the |
I have ignored the staticcheck linting failures for now. |
:( Could this be a flake? I see it depends on scraperint but it is not skipped. |
I found an additional location containers were being created that was not triggering a skip. |
|
I'm on it. Give me a few. I think I will have a solution that should clear this up. |
Just an update. I'm going to try to use the suggestion @djaglowski made on the skip var workaround. I am planning on moving it to the testutil package so that it can be easily reused. I've hit some snag that are all GoLand IDE related. |
that didn't work. Going back to inserting static check ignores. |
Once this is merged I will prep a PR to remove all the test and static check skips. I will put it into draft status until the upstream dependencies are fixed. But that should expedite the reenablement of the tests. |
…issue (#24247) **Description:** Dependent on testcontainers/testcontainers-go#1359 being resolved. Enable tests that were skipped in #24213 **Link to tracking Issue:** #24240
Description: Update go versions used in GitHub workflows. Also changes to a stricter pattern match in some cases to provide more awareness on which version will be selected.