Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: run unit tests (btcd unit-cover) failure due to build tag mismatch #7362

Closed
Roasbeef opened this issue Jan 26, 2023 · 1 comment · Fixed by #7252
Closed

[bug]: run unit tests (btcd unit-cover) failure due to build tag mismatch #7362

Roasbeef opened this issue Jan 26, 2023 · 1 comment · Fixed by #7252
Labels
bug Unintended code behaviour tests

Comments

@Roasbeef
Copy link
Member

Background

A test run for one of my PRs failed with:

Error: cannot read source of file "/home/runner/work/lnd/lnd/kvdb/postgres/db_conn_set.go": open /home/runner/work/lnd/lnd/kvdb/postgres/db_conn_set.go: no such file or directory
Error: Error: The process '/home/runner/work/_actions/shogo82148/actions-goveralls/v1/bin/goveralls_linux_amd64' failed with exit code 1

It looks like the postgres file it thinks should be there isn't (due to lack of a set build tag?), so even though the tests pass, it fails on sending out the coverage report.

@Roasbeef Roasbeef added bug Unintended code behaviour tests needs triage labels Jan 26, 2023
@guggero
Copy link
Collaborator

guggero commented Jan 26, 2023

Will be fixed by bumping the kvdb tag in the main go module (done by #7252). See #7251 (comment).

@guggero guggero linked a pull request Jan 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unintended code behaviour tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants