golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.87k stars 752 forks source link

Test steps in Github action time out #2165

Closed hyangah closed 2 years ago

hyangah commented 2 years ago

Since early last week, github workflows on ubuntu started to timeout after integration tests. That had been blocking Nightly releases.

From the log, I see the extension host complet, but for some reason the github action step doesn't terminate and eventually the whole workflow times out.

https://github.com/golang/vscode-go/actions/runs/2053117203

[main 2022-03-28T15:20:34.538Z] Waiting for extension host with pid 25501 to exit.
[main 2022-03-28T15:20:34.553Z] Extension host with pid 25501 exited with code: 0, signal: null.
Exit code:   0
Done

[GFX1-]: glxtest: libEGL missing
[GFX1-]: glxtest: libEGL missing

(firefox:25973): Gtk-WARNING **: 15:20:46.940: Error loading theme icon 'dialog-warning' for stock: Icon 'dialog-warning' not present in theme Yaru
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default
Error: The operation was canceled.

I think https://github.com/golang/vscode-go/actions/runs/2035789043 is the first incident that we caught.

Even in this run - the same run but with go1.16 and go1.17, one succeeded and another failed. https://github.com/golang/vscode-go/runs/5680761701?check_suite_focus=true https://github.com/golang/vscode-go/runs/5680761754?check_suite_focus=true

gopherbot commented 2 years ago

Change https://go.dev/cl/398594 mentions this issue: test/gopls/survey: stub vscode.env.openExternal