-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls/internal/telemetry: TestTelemetry failures #69132
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Comments
Found new dashboard test flakes for:
2024-08-28 16:26 x_tools-go1.22-linux-riscv64 tools@aaf49f1f release-branch.go1.22@e87be983 x/tools/gopls/internal/telemetry.TestTelemetry (log)
|
Change https://go.dev/cl/625496 mentions this issue: |
gopherbot
pushed a commit
to golang/telemetry
that referenced
this issue
Nov 6, 2024
counter.Read, which is the implementation of countertest.ReadCounter, was using os.ReadFile to read the counter file's contents. As we have seen elsewhere, this may lead to synchronization issues. To ensure we observe all active counts we should read via mmap. For this reason, counter.ReadFile was already using the ReadMapped helper. Update Read to do the same. I believe this fixes two test failures that we've observed in gopls. For golang/go#68659 For golang/go#69132 Change-Id: I8d09b98fa2e69ac1b9a7580b061d4b266130773c Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/625496 Auto-Submit: Robert Findley <rfindley@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Change https://go.dev/cl/625915 mentions this issue: |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: