Skip to content

cmd/go: TestScript/build_cache_pgo failures #81780

Open

Description

@gopherbot
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/build_cache_pgo"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/build_cache_pgo
=== PAUSE TestScript/build_cache_pgo
=== CONT  TestScript/build_cache_pgo
    script_test.go:141: 2026-09-27T03:16:25Z
    script_test.go:143: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1234942769\tmpdir1023591262\build_cache_pgo2571988248
    script_test.go:165: 
        PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1234942769\tmpdir1023591262\testbin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\cache\tools\bin;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\bin;C:\Users\swarming\.swarming\w\ir\cache\cipd_client;C:\Users\swarming\.swarming\w\ir\cache\cipd_client\bin;C:\Users\swarming\.swarming\cipd_cache\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\swarming\AppData\Local\Programs\Python\Python313-arm64\Scripts\;C:\Users\swarming\AppData\Local\Programs\Python\Python313-arm64\;C:\Users\swarming\AppData\Local\Programs\Python\Launcher\;C:\Users\swarming\AppData\Local\Microsoft\WindowsApps;C:\Users\swarming\.swarming\w\ir\cache\tools\cc\windows\gcc64\bin
        USERPROFILE=/no-home
        CCACHE_DISABLE=1
        GOARCH=arm64
...
        matched: "C:\\Users\\swarming\\.swarming\\w\\ir\\x\\w\\goroot\\pkg\\tool\\windows_arm64\\preprofile.exe" -o "$WORK\\b002\\pgo.preprofile" -i "C:\\Users\\swarming\\.swarming\\w\\ir\\x\\t\\cmd-go-test-1234942769\\tmpdir1023591262\\build_cache_pgo2571988248\\gopath\\src\\default.pgo"
        # ... building a different package should not run preprofile again, instead
        # using a profile from cache.
        #
        # Note we can't directly look for $GOCACHE in the regex below because the
        # Windows slashes would need to be escaped. Instead just look for the "gocache"
        # component (specified above) as an approximation. (0.030s)
        > go build -x -pgo=default.pgo lib2.go
    script_test.go:165: FAIL: testdata\script\build_cache_pgo.txt:23: go build -x -pgo=default.pgo lib2.go: exit status 1
--- FAIL: TestScript/build_cache_pgo (0.94s)

— watchflakes

Activity

  1. gopherbot commented on Sep 27, 2026

    @gopherbot
    ContributorAuthor

    Found new dashboard test flakes for:

    #!watchflakes
    default <- pkg == "cmd/go" && test == "TestScript/build_cache_pgo"
    
    2026-09-25 17:27 gotip-windows-arm64 go@53d7fa81 cmd/go.TestScript/build_cache_pgo (log)
    === RUN   TestScript/build_cache_pgo
    === PAUSE TestScript/build_cache_pgo
    === CONT  TestScript/build_cache_pgo
        script_test.go:141: 2026-09-27T03:16:25Z
        script_test.go:143: $WORK=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1234942769\tmpdir1023591262\build_cache_pgo2571988248
        script_test.go:165: 
            PATH=C:\Users\swarming\.swarming\w\ir\x\t\cmd-go-test-1234942769\tmpdir1023591262\testbin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\x\w\goroot\bin;C:\Users\swarming\.swarming\w\ir\cache\tools\bin;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages;C:\Users\swarming\.swarming\w\ir\bbagent_utility_packages\bin;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages;C:\Users\swarming\.swarming\w\ir\cipd_bin_packages\bin;C:\Users\swarming\.swarming\w\ir\cache\cipd_client;C:\Users\swarming\.swarming\w\ir\cache\cipd_client\bin;C:\Users\swarming\.swarming\cipd_cache\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Users\swarming\AppData\Local\Programs\Python\Python313-arm64\Scripts\;C:\Users\swarming\AppData\Local\Programs\Python\Python313-arm64\;C:\Users\swarming\AppData\Local\Programs\Python\Launcher\;C:\Users\swarming\AppData\Local\Microsoft\WindowsApps;C:\Users\swarming\.swarming\w\ir\cache\tools\cc\windows\gcc64\bin
            USERPROFILE=/no-home
            CCACHE_DISABLE=1
            GOARCH=arm64
    ...
            matched: "C:\\Users\\swarming\\.swarming\\w\\ir\\x\\w\\goroot\\pkg\\tool\\windows_arm64\\preprofile.exe" -o "$WORK\\b002\\pgo.preprofile" -i "C:\\Users\\swarming\\.swarming\\w\\ir\\x\\t\\cmd-go-test-1234942769\\tmpdir1023591262\\build_cache_pgo2571988248\\gopath\\src\\default.pgo"
            # ... building a different package should not run preprofile again, instead
            # using a profile from cache.
            #
            # Note we can't directly look for $GOCACHE in the regex below because the
            # Windows slashes would need to be escaped. Instead just look for the "gocache"
            # component (specified above) as an approximation. (0.030s)
            > go build -x -pgo=default.pgo lib2.go
        script_test.go:165: FAIL: testdata\script\build_cache_pgo.txt:23: go build -x -pgo=default.pgo lib2.go: exit status 1
    --- FAIL: TestScript/build_cache_pgo (0.94s)
    

    — watchflakes

  2. added
    AutomationIssues created by gopherbot or watchflakes automation.
    on Sep 27, 2026
  3. prattmic commented on Sep 29, 2026

    @prattmic
    Member

    cc @golang/windows windows-arm64 timeout

  4. added
    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
    on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AutomationIssues created by gopherbot or watchflakes automation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions