Skip to content

x/pkgsite/cmd/pkgsite: TestServer failures #65412

Closed
@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "golang.org/x/pkgsite/cmd/pkgsite" && test == "TestServer"

Issue created automatically to collect these failures.

Example (log):

2024/01/31 19:27:55 Info: go/packages.Load(["all"]) loaded 1 packages from C:\Users\gopher\AppData\Local\Temp\1\TestServer3327158733\001 in 126.9651ms
2024/01/31 19:27:55 Info: FetchDataSource: fetching example.com/testmod@v0.0.0
2024/01/31 19:27:55 Info: FetchDataSource: fetching std@latest
2024/01/31 19:27:55 Info: FetchDataSource: fetched std@latest using *fetch.modCacheModuleGetter in 0s with error FetchModule("std", "latest"): modCacheGetter.Info("std", "latest"): modCacheModuleGetter.latestVersion("std"): path: malformed module path "std": missing dot in first path element: invalid argument
2024/01/31 19:27:55 Info: FetchDataSource: fetched example.com/testmod@v0.0.0 using *fetch.goPackagesModuleGetter in 1.947ms with error <nil>
2024/01/31 19:27:55 Info: FetchDataSource: fetching example.com/testmod@latest
2024/01/31 19:27:55 Info: FetchDataSource: fetched example.com/testmod@latest using *fetch.goPackagesModuleGetter in 973.3µs with error <nil>
2024/01/31 19:27:55 Info: FetchDataSource: fetching example.com/testmod@v0.0.0
2024/01/31 19:27:55 Info: FetchDataSource: fetched example.com/testmod@v0.0.0 using *fetch.goPackagesModuleGetter in 978.8µs with error <nil>
2024/01/31 19:27:55 Error: Server.GetLatestInfo: FetchDataSource.GetLatestInfo(ctx, "example.com/testmod", "example.com/testmod"): proxy.Client.Info("example.com/testmod", "latest"): Client.readBody("example.com/testmod", "latest", "info"): executeRequest(ctx, "https://127.0.0.1:49742/example.com/testmod/@latest"): "404 page not found\n": not found
...
2024/01/31 19:28:00 Info: FetchDataSource: fetched std@latest using *fetch.modCacheModuleGetter in 0s with error FetchModule("std", "latest"): modCacheGetter.Info("std", "latest"): modCacheModuleGetter.latestVersion("std"): path: malformed module path "std": missing dot in first path element: invalid argument
2024/01/31 19:28:00 Info: returning 424 (Failed Dependency) for error 424 (Failed Dependency): <nil> (epage=&{{   <nil> false false   false false    }  <h3 class="Error-message">This page is not supported by this datasource.</h3> <nil>})
2024/01/31 19:28:00 Info: go/packages.Load(["all"]) loaded 1 packages from C:\Users\gopher\AppData\Local\Temp\1\TestServer3327158733\001 in 136.7346ms
2024/01/31 19:28:00 Info: FetchDataSource: fetching example.com/testmod@v0.0.0
2024/01/31 19:28:00 Info: FetchDataSource: fetching std@latest
2024/01/31 19:28:00 Info: FetchDataSource: fetched std@latest using *fetch.modCacheModuleGetter in 0s with error FetchModule("std", "latest"): modCacheGetter.Info("std", "latest"): modCacheModuleGetter.latestVersion("std"): path: malformed module path "std": missing dot in first path element: invalid argument
2024/01/31 19:28:00 Info: FetchDataSource: fetched example.com/testmod@v0.0.0 using *fetch.goPackagesModuleGetter in 1.9512ms with error <nil>
2024/01/31 19:28:00 Info: returning 424 (Failed Dependency) for error 424 (Failed Dependency): <nil> (epage=&{{   <nil> false false   false false    }  <h3 class="Error-message">This page is not supported by this datasource.</h3> <nil>})
--- FAIL: TestServer (7.13s)
    testing.go:1225: TempDir RemoveAll cleanup: remove C:\Users\gopher\AppData\Local\Temp\1\TestServer3327158733\001: The process cannot access the file because it is being used by another process.

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions