radius-project / radius

Radius is a cloud-native, portable application platform that makes app development easier for teams building cloud-native apps.
https://radapp.io
Apache License 2.0
1.5k stars 97 forks source link

Flaky test: `Test_E2E/confirm_value` #8057

Open ytimocin opened 2 days ago

ytimocin commented 2 days ago

Steps to reproduce

See logs: https://github.com/radius-project/radius/actions/runs/11827197453/job/32954839983?pr=7963

Observed behavior

=== Failed
=== FAIL: pkg/cli/prompt/text Test_E2E/confirm_value (0.00s)
    --- FAIL: Test_E2E/confirm_value (0.00s)
panic: interface conversion: tea.Model is nil, not text.Model [recovered]
    panic: interface conversion: tea.Model is nil, not text.Model

goroutine 51 [running]:
testing.tRunner.func1.2({0x7c0d60, 0xc000132540})
    /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1632 +0x3fc
testing.tRunner.func1()
    /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1635 +0x6b6
panic({0x7c0d60?, 0xc000132540?})
    /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/runtime/panic.go:785 +0x132
github.com/radius-project/radius/pkg/cli/prompt/text.Test_E2E.func7(0xc0001de1a0)
    /home/runner/work/radius/radius/pkg/cli/prompt/text/text_test.go:142 +0x47d
testing.tRunner(0xc0001de1a0, 0xc0001a0130)
    /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1690 +0x227
created by testing.(*T).Run in goroutine 22
    /home/runner/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.0.linux-amd64/src/testing/testing.go:1743 +0x826

=== FAIL: pkg/cli/prompt/text Test_E2E (0.06s)

Desired behavior

Test passes reliably.

Workaround

No response

rad Version

edge

Operating system

No response

Additional context

Related issue: #8044.

Would you like to support us?

AB#13695

radius-triage-bot[bot] commented 2 days ago

:wave: @ytimocin Thanks for filing this bug report.

A project maintainer will review this report and get back to you soon. If you'd like immediate help troubleshooting, please visit our Discord server.

For more information on our triage process please visit our triage overview