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

testing: mint unit tests consistently fail #974

Closed
jharveyb opened this issue Jun 25, 2024 · 3 comments
Closed

testing: mint unit tests consistently fail #974

jharveyb opened this issue Jun 25, 2024 · 3 comments
Assignees
Labels
bug Something isn't working needs triage

Comments

@jharveyb
Copy link
Collaborator

From #971

--- FAIL: TestBatchedAssetIssuance (11.88s)
    test_sqlite.go:11: Creating new SQLite DB handle for testing: /tmp/TestBatchedAssetIssuance3571172735/001/tmp.db
    --- FAIL: TestBatchedAssetIssuance/basic_asset_creation (1.60s)
        planter_test.go:959: 
            	Error Trace:	/home/runner/work/taproot-assets/taproot-assets/tapgarden/planter_test.go:959
            	            				/home/runner/work/taproot-assets/taproot-assets/tapgarden/planter_test.go:1097
            	            				/home/runner/work/taproot-assets/taproot-assets/tapgarden/planter_test.go:1829
            	Error:      	Received unexpected error:
            	            	got empty confirmation event in batch
            	Test:       	TestBatchedAssetIssuance/basic_asset_creation
    test_sqlite.go:11: Creating new SQLite DB handle for testing: /tmp/TestBatchedAssetIssuance3571172735/002/tmp.db
    test_sqlite.go:11: Creating new SQLite DB handle for testing: /tmp/TestBatchedAssetIssuance3571172735/003/tmp.db
    test_sqlite.go:11: Creating new SQLite DB handle for testing: /tmp/TestBatchedAssetIssuance3571172735/004/tmp.db
    test_sqlite.go:11: Creating new SQLite DB handle for testing: /tmp/TestBatchedAssetIssuance3571172735/005/tmp.db
    test_sqlite.go:11: Creating new SQLite DB handle for testing: /tmp/TestBatchedAssetIssuance3571172735/006/tmp.db
FAIL
FAIL	github.com/lightninglabs/taproot-assets/tapgarden	17.647s
FAIL
@jharveyb
Copy link
Collaborator Author

Seems to be showing up as a consistent failure now, not a flake. Current theory is as an issue with setting MockChainBridge.errConf.

@dstadulis dstadulis changed the title flake: mint unit tests testing: mint unit tests consistently fail Jul 8, 2024
@jharveyb
Copy link
Collaborator Author

I don't see this popping up any more in CI, and I couldn't reproduce it locally over 100 runs of the tapgarden unit tests with the normal test runner nor with the race detector.

I do see some potential issues with testFinalizeBatch though, will keep digging.

@jharveyb
Copy link
Collaborator Author

jharveyb commented Aug 6, 2024

Closed by #1031 for now.

@jharveyb jharveyb closed this as completed Aug 6, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Taproot-Assets Project Board Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants