Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Migrations flaky when run against staging #79

Open
Tracked by #55
peterjgilbert opened this issue Apr 30, 2019 · 2 comments
Open
Tracked by #55

Migrations flaky when run against staging #79

peterjgilbert opened this issue Apr 30, 2019 · 2 comments

Comments

@peterjgilbert
Copy link
Member

peterjgilbert commented Apr 30, 2019

Full logs attached. Some highlights:

Using network 'development'.

Error: while migrating ConfidentialWasmCounter: The contract code couldn't be stored, please check your gas limit.
    at /usr/src/app/node_modules/truffle-oasis/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
    at process._tickCallback (internal/process/next_tick.js:68:7)

  1) Contract: Builtins
       "before all" hook: prepare suite:
     Error: while migrating ConfidentialCounter: The contract code couldn't be stored, please check your gas limit.
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
      at process._tickCallback (internal/process/next_tick.js:68:7)

  2) Contract: TestEvent-PubSub
       "before all" hook: prepare suite:
     Error: while migrating Migrations: The contract code couldn't be stored, please check your gas limit.
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
      at process._tickCallback (internal/process/next_tick.js:68:7)

  1) Contract: Counter Contracts
       should estimate gas for deploy transactions the same as gas used for a Rust contract with [provider=http]:
     Uncaught Error: The contract code couldn't be stored, please check your gas limit.
      at Object.callback (node_modules/web3-core-method/src/index.js:333:46)
      at sendTxCallback (node_modules/web3-core-method/src/index.js:484:29)
      at node_modules/web3-core/node_modules/web3-core-requestmanager/src/index.js:147:9
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-provider/wrapper.js:112:1
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:159:9
      at node_modules/async/internal/once.js:12:16
      at replenish (node_modules/async/internal/eachOfLimit.js:61:25)
      at node_modules/async/internal/eachOfLimit.js:71:9
      at eachLimit (node_modules/async/eachLimit.js:43:36)
      at node_modules/async/internal/doLimit.js:9:16
      at end (node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:134:5)
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/subproviders/provider.js:19:5
      at XMLHttpRequest.request.onreadystatechange (node_modules/web3-providers-http/src/index.js:77:13)
      at XMLHttpRequestEventTarget.dispatchEvent (node_modules/xhr2/lib/xhr2.js:64:18)
      at XMLHttpRequest._setReadyState (node_modules/xhr2/lib/xhr2.js:354:12)
      at XMLHttpRequest._onHttpResponseEnd (node_modules/xhr2/lib/xhr2.js:509:12)
      at IncomingMessage.<anonymous> (node_modules/xhr2/lib/xhr2.js:469:24)
      at endReadableNT (_stream_readable.js:1125:12)
      at process._tickCallback (internal/process/next_tick.js:63:19)

  2) Contract: BasicTVM
       "before all" hook: prepare suite:
     Error: while migrating Counter: The contract code couldn't be stored, please check your gas limit.
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
      at process._tickCallback (internal/process/next_tick.js:68:7)

  3) Contract: Failure Cases
       "before all" hook: prepare suite:
     Error: Transaction execution error with cause: Invalid transaction nonce: expected 53, found 52
      at ProviderError.ExtendableError (node_modules/truffle-oasis/build/webpack:/packages/truffle-error/index.js:10:1)
      at new ProviderError (node_modules/truffle-oasis/build/webpack:/packages/truffle-provider/error.js:17:1)
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-provider/wrapper.js:75:1
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-provider/wrapper.js:107:1
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:157:9
      at node_modules/async/internal/once.js:12:16
      at replenish (node_modules/async/internal/eachOfLimit.js:61:25)
      at node_modules/async/internal/eachOfLimit.js:71:9
      at eachLimit (node_modules/async/eachLimit.js:43:36)
      at node_modules/async/internal/doLimit.js:9:16
      at end (node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:134:5)
      at node_modules/async/internal/once.js:12:16
      at next (node_modules/async/waterfall.js:21:29)
      at node_modules/async/internal/onlyOnce.js:12:16
      at node_modules/async/internal/once.js:12:16
      at next (node_modules/async/waterfall.js:21:29)
      at node_modules/async/internal/onlyOnce.js:12:16
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/subproviders/hooked-wallet.js:460:23
      at node_modules/async/internal/once.js:12:16
      at next (node_modules/async/waterfall.js:21:29)
      at node_modules/async/internal/onlyOnce.js:12:16
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/subproviders/hooked-wallet.js:488:21
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:157:9
      at node_modules/async/internal/once.js:12:16
      at replenish (node_modules/async/internal/eachOfLimit.js:61:25)
      at node_modules/async/internal/eachOfLimit.js:71:9
      at eachLimit (node_modules/async/eachLimit.js:43:36)
      at node_modules/async/internal/doLimit.js:9:16
      at end (node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:134:5)
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/subproviders/provider.js:18:32
      at XMLHttpRequest.request.onreadystatechange (node_modules/web3-providers-http/src/index.js:77:13)
      at XMLHttpRequestEventTarget.dispatchEvent (node_modules/xhr2/lib/xhr2.js:64:18)
      at XMLHttpRequest._setReadyState (node_modules/xhr2/lib/xhr2.js:354:12)
      at XMLHttpRequest._onHttpResponseEnd (node_modules/xhr2/lib/xhr2.js:509:12)
      at IncomingMessage.<anonymous> (node_modules/xhr2/lib/xhr2.js:469:24)
      at endReadableNT (_stream_readable.js:1125:12)
      at process._tickCallback (internal/process/next_tick.js:63:19)

  4) Contract: Confidential Cross Contract Calls
       "before all" hook: prepare suite:
     Error: while migrating Counter: Transaction execution error with cause: Invalid transaction nonce: expected 56, found 55
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
      at process._tickCallback (internal/process/next_tick.js:68:7)

  5) Contract: Builtins
       "before all" hook: prepare suite:
     Error: while migrating Migrations: Transaction execution error with cause: Invalid transaction nonce: expected 57, found 56
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
      at process._tickCallback (internal/process/next_tick.js:68:7)

  6) Contract: BulkStorage
       "before all" hook: prepare suite:
     Error: Transaction execution error with cause: Invalid transaction nonce: expected 59, found 58
      at ProviderError.ExtendableError (node_modules/truffle-oasis/build/webpack:/packages/truffle-error/index.js:10:1)
      at new ProviderError (node_modules/truffle-oasis/build/webpack:/packages/truffle-provider/error.js:17:1)
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-provider/wrapper.js:75:1
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-provider/wrapper.js:107:1
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:157:9
      at node_modules/async/internal/once.js:12:16
      at replenish (node_modules/async/internal/eachOfLimit.js:61:25)
      at node_modules/async/internal/eachOfLimit.js:71:9
      at eachLimit (node_modules/async/eachLimit.js:43:36)
      at node_modules/async/internal/doLimit.js:9:16
      at end (node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:134:5)
      at node_modules/async/internal/once.js:12:16
      at next (node_modules/async/waterfall.js:21:29)
      at node_modules/async/internal/onlyOnce.js:12:16
      at node_modules/async/internal/once.js:12:16
      at next (node_modules/async/waterfall.js:21:29)
      at node_modules/async/internal/onlyOnce.js:12:16
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/subproviders/hooked-wallet.js:460:23
      at node_modules/async/internal/once.js:12:16
      at next (node_modules/async/waterfall.js:21:29)
      at node_modules/async/internal/onlyOnce.js:12:16
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/subproviders/hooked-wallet.js:488:21
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:157:9
      at node_modules/async/internal/once.js:12:16
      at replenish (node_modules/async/internal/eachOfLimit.js:61:25)
      at node_modules/async/internal/eachOfLimit.js:71:9
      at eachLimit (node_modules/async/eachLimit.js:43:36)
      at node_modules/async/internal/doLimit.js:9:16
      at end (node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/index.js:134:5)
      at node_modules/truffle-hdwallet-provider/node_modules/web3-provider-engine/subproviders/provider.js:18:32
      at XMLHttpRequest.request.onreadystatechange (node_modules/web3-providers-http/src/index.js:77:13)
      at XMLHttpRequestEventTarget.dispatchEvent (node_modules/xhr2/lib/xhr2.js:64:18)
      at XMLHttpRequest._setReadyState (node_modules/xhr2/lib/xhr2.js:354:12)
      at XMLHttpRequest._onHttpResponseEnd (node_modules/xhr2/lib/xhr2.js:509:12)
      at IncomingMessage.<anonymous> (node_modules/xhr2/lib/xhr2.js:469:24)
      at endReadableNT (_stream_readable.js:1125:12)
      at process._tickCallback (internal/process/next_tick.js:63:19)

  7) Contract: TestEvent-PubSub
       "before all" hook: prepare suite:
     Error: while migrating Migrations: Transaction execution error with cause: Invalid transaction nonce: expected 60, found 59
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
      at process._tickCallback (internal/process/next_tick.js:68:7)

  8) Contract: Confidential Contracts
       "before all" hook: prepare suite:
     Error: while migrating Migrations: Transaction execution error with cause: Invalid transaction nonce: expected 61, found 60
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
      at process._tickCallback (internal/process/next_tick.js:68:7)

  9) Contract: Deploy Header
       "before all" hook: prepare suite:
     Error: while migrating Counter: The contract code couldn't be stored, please check your gas limit.
      at node_modules/truffle-oasis/build/webpack:/packages/truffle-deployer/src/deployment.js:364:1
      at process._tickCallback (internal/process/next_tick.js:68:7)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant