Skip to content
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

cmd/link: TestIssue72053 failures on Github Actions #72987

Closed
ghost opened this issue Mar 21, 2025 · 5 comments
Closed

cmd/link: TestIssue72053 failures on Github Actions #72987

ghost opened this issue Mar 21, 2025 · 5 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@ghost
Copy link

ghost commented Mar 21, 2025

i try to build go in github action but get

? cmd/link/internal/dwtest [no test files]
--- FAIL: TestIssue72053 (0.81s)
dwarf_test.go:2127: could not find debug_loc section

how to solve the problem?

@gabyhelp gabyhelp added the Question Issues that are questions about using Go. label Mar 21, 2025
@ALTree
Copy link
Member

ALTree commented Mar 21, 2025

The failing test was added recently for #72053. Can you give more details about your CI setup and/or how to reproduce the issue?

@ALTree ALTree added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. and removed Question Issues that are questions about using Go. labels Mar 21, 2025
@ALTree ALTree changed the title how to build go in github action cmd/link: TestIssue72053 failures on Github Actions Mar 21, 2025
@ghost
Copy link
Author

ghost commented Mar 21, 2025

i fork the github repo of go, this is the workflow i use:

on: push

jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@main
- run: |
cd src
bash all.bash
tar -cjvf go.tar.bz2 $H0ME/go

@seankhliao seankhliao added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Mar 21, 2025
@linsite
Copy link
Contributor

linsite commented Mar 21, 2025

being able to reproduce on the latest commit.

$ ../bin/go tool dist test cmd/link/internal/ld

##### Test execution environment.
# GOARCH: amd64
# CPU: Intel(R) Core(TM) i7-6700T CPU @ 2.80GHz
# GOOS: linux
# OS Version: Linux 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64

##### Testing packages.
--- FAIL: TestIssue72053 (0.45s)
    dwarf_test.go:2127: could not find debug_loc section
FAIL
FAIL    cmd/link/internal/ld    5.776s
FAIL
go tool dist: Failed: exit status 1

@ALTree
Copy link
Member

ALTree commented Mar 21, 2025

cc @thanm @randall77

@ALTree ALTree modified the milestones: Go1.26, Go1.25 Mar 21, 2025
@seankhliao seankhliao removed the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Mar 21, 2025
@ianlancetaylor
Copy link
Member

The test was reverted by https://go.dev/cl/659955.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

5 participants