Skip to content

FAIL: TestAccessiblePrompter/AuthToken_-_blank_input_returns_error #10916

@pdostal

Description

@pdostal

Describe the bug

Hello,
we're building gh for openSUSE a SUSE Linux and new error in tests just appeared:

[   91s] ?   	github.com/cli/cli/v2/internal/keyring	[no test files]
[   93s] --- FAIL: TestAccessiblePrompter (1.04s)
[   93s]     --- FAIL: TestAccessiblePrompter/AuthToken_-_blank_input_returns_error (1.00s)
[   93s]         expect.go:76: Failed to find [" \r\n\r\n"] in "\r\nPaste your authentication token: 12345abcdefg\r\n\r\n\r\n": read |0: i/o timeout
[   93s] FAIL
[   93s] FAIL	github.com/cli/cli/v2/internal/prompter	1.049s

Affected version

v2.72.0

Steps to reproduce the behavior

cd /home/abuild/rpmbuild/BUILD
cd cli-2.72.0
GOFLAGS='-buildmode=pie -trimpath -mod=vendor -modcacherw'
make test

Expected vs actual behavior

The previous version (v2.70.0 in our case) passed the tests just fine.
I'm aware that this is new functionality and that the error might be specific to Open Build Service which we use for packaging.

Logs

The full log is available on build.opensuse.org/package/live_build_log/home:pdostal:branches:devel:tools:scm/gh/openSUSE_Tumbleweed/x86_64

Metadata

Metadata

Labels

accessibilitybugSomething isn't workingneeds-investigationCLI team needs to investigatep3Affects a small number of users or is largely cosmetic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions