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]: Resource test intermitency #64

Open
1 task done
mvandeberg opened this issue Feb 27, 2023 · 1 comment
Open
1 task done

[BUG]: Resource test intermitency #64

mvandeberg opened this issue Feb 27, 2023 · 1 comment
Labels
bug Something isn't working task

Comments

@mvandeberg
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Rarely the resource integration test fails.

=== RUN   TestResource
    resource_test.go:56: Generating key for alice
    resource_test.go:60: Generating key for bob
    resource_test.go:64: Generating key for the resource contract
    integration.go:638: Waiting 1s for chain to be ready...
    integration.go:638: Waiting 2s for chain to be ready...
    integration.go:638: Waiting 4s for chain to be ready...
    integration.go:638: Waiting 5s for chain to be ready...
    integration.go:638: Waiting 5s for chain to be ready...
    integration.go:90: Uploading Name Service contract
    integration.go:94: Overriding get_contract_name
    integration.go:98: Overriding get_contract_address
    resource_test.go:79: Uploading KOIN contract
    resource_test.go:83: Uploading Resource contract
    resource_test.go:86: Minting 50M tKOIN to alice
disk_storage:{resource_supply:8332061253  block_budget:39600  block_limit:524288}  network_bandwidth:{resource_supply:55157213404  block_budget:262144  block_limit:1048576}  compute_bandwidth:{resource_supply:12098466059839  block_budget:57500000  block_limit:287500000}
testConsumption = [
   [106, 562, 519379],
    resource_test.go:307: 
        	Error Trace:	resource_test.go:307
        	Error:      	Not equal: 
        	            	expected: 0xb00e4bda981
        	            	actual  : 0xb00e4bda96b
        	Test:       	TestResource
--- FAIL: TestResource (18.22s)
FAIL
FAIL	[secure]-integration-tests/tests/resource	18.242s
FAIL
Failed during integration test: tests/resource/

Expected behavior

It should not fail due to non-determinism

Steps to reproduce

No response

Environment

- OS:

Anything else?

No response

@mvandeberg mvandeberg added the bug Something isn't working label Feb 27, 2023
@koinos-ci
Copy link

This issue is stale because it has been open for 30 days with no activity.

@mvandeberg mvandeberg added task and removed stale labels Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working task
Projects
None yet
Development

No branches or pull requests

2 participants