golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
123.46k stars 17.59k forks source link

x/website/internal/gitfs: TestGitHub failures #59222

Open gopherbot opened 1 year ago

gopherbot commented 1 year ago
#!watchflakes
post <- pkg == "golang.org/x/website/internal/gitfs" && test == "TestGitHub"

Issue created automatically to collect these failures.

Example (log):

Counting objects: 1   
Counting objects: 480, done

Finding sources:   1% (3/480)   
Finding sources:   2% (8/480)   
Finding sources:   3% (12/480)   
Finding sources:   4% (17/480)   
Finding sources:   5% (22/480)   
Finding sources:   6% (27/480)   
Finding sources:   7% (32/480)   
...
--- FAIL: TestGitHub (30.03s)
    git_test.go:38: handshake: Get "https://github.com/rsc/quote/info/refs?service=git-upload-pack": dial tcp 140.82.112.4:443: i/o timeout
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package main

import "fmt"

func greeting() {
    println(1)
    fmt.Println("hello, git32 ")
}

watchflakes

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/website/internal/gitfs" && test == "TestGitHub"
2023-03-20 20:35 linux-386-longtest website@710879a4 go@e4abe90b x/website/internal/gitfs.TestGitHub (log) Counting objects: 1 Counting objects: 480, done Finding sources: 1% (3/480) Finding sources: 2% (8/480) Finding sources: 3% (12/480) Finding sources: 4% (17/480) Finding sources: 5% (22/480) Finding sources: 6% (27/480) Finding sources: 7% (32/480) ... --- FAIL: TestGitHub (30.03s) git_test.go:38: handshake: Get "https://github.com/rsc/quote/info/refs?service=git-upload-pack": dial tcp 140.82.112.4:443: i/o timeout // Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "fmt" func greeting() { println(1) fmt.Println("hello, git32 ") }

watchflakes

gopherbot commented 1 year ago

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "golang.org/x/website/internal/gitfs" && test == "TestGitHub"
2023-03-24 18:05 windows-amd64-longtest website@2f994f81 go@3ed8a1e6 x/website/internal/gitfs.TestGitHub (log) Counting objects: 1 Counting objects: 480, done Finding sources: 1% (3/480) Finding sources: 2% (8/480) Finding sources: 3% (12/480) Finding sources: 4% (17/480) Finding sources: 5% (22/480) Finding sources: 6% (27/480) Finding sources: 7% (32/480) ... --- FAIL: TestGitHub (10.04s) git_test.go:38: handshake: Get "https://github.com/rsc/quote/info/refs?service=git-upload-pack": net/http: TLS handshake timeout // Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "fmt" func greeting() { println(1) fmt.Println("hello, git32 ") }

watchflakes

findleyr commented 1 year ago

I'm not sure what to do with this issue: the test already runs only on longtest builders, and requires access to github. Test flakes due to I/O or upstream connectivity issues seem to be WAI.

I guess I'll leave this bug open to catch the flakes. Unless there is an apparent builder or configuration issue (which I don't see here), this bug is unactionable.