Skip to content

Instantly share code, notes, and snippets.

@NunoAlexandre
Created June 3, 2022 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NunoAlexandre/f9e1e1ec141de8e830bbe0c7c3ad2a8b to your computer and use it in GitHub Desktop.
Save NunoAlexandre/f9e1e1ec141de8e830bbe0c7c3ad2a8b to your computer and use it in GitHub Desktop.
~/centrifuge/centrifuge-chain polkadot-v0.9.22-fudge
λ cargo test -p runtime-integration-tests
Compiling polkadot-runtime v0.9.22 (https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b959)
Compiling development-runtime v0.10.2 (/Users/n/centrifuge/centrifuge-chain/runtime/development)
Compiling kusama-runtime v0.9.22 (https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b959)
Compiling altair-runtime v0.10.14 (/Users/n/centrifuge/centrifuge-chain/runtime/altair)
Compiling centrifuge-runtime v0.10.6 (/Users/n/centrifuge/centrifuge-chain/runtime/centrifuge)
Compiling rococo-runtime v0.9.22 (https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b959)
Compiling polkadot-client v0.9.22 (https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b959)
Compiling polkadot-service v0.9.22 (https://github.com/paritytech/polkadot?branch=release-v0.9.22#17c7b959)
Compiling cumulus-relay-chain-interface v0.1.0 (https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0)
Compiling cumulus-primitives-parachain-inherent v0.1.0 (https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0)
Compiling cumulus-relay-chain-inprocess-interface v0.1.0 (https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0)
Compiling cumulus-pallet-parachain-system v0.1.0 (https://github.com/paritytech/cumulus?branch=polkadot-v0.9.22#ebdfbea0)
Compiling xcm-emulator v0.1.0 (https://github.com/shaunxw/xcm-simulator?branch=master#5a04d628)
Compiling fudge-core v0.0.7 (https://github.com/centrifuge/fudge?rev=149a19fc57fd209fd957543dc5777cfc5b69f8b6#149a19fc)
Compiling fudge v0.0.7 (https://github.com/centrifuge/fudge?rev=149a19fc57fd209fd957543dc5777cfc5b69f8b6#149a19fc)
Compiling runtime-integration-tests v0.1.0 (/Users/n/centrifuge/centrifuge-chain/runtime/integration-tests)
warning: the feature `destructuring_assignment` has been stable since 1.59.0 and no longer requires an attribute to enable
--> runtime/integration-tests/src/lib.rs:2:12
|
2 | #![feature(destructuring_assignment)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
warning: `runtime-integration-tests` (lib test) generated 1 warning
Finished test [unoptimized + debuginfo] target(s) in 58.03s
Running unittests src/lib.rs (target/debug/deps/runtime_integration_tests-a2443adec05783e2)
running 14 tests
test xcm::xcm_transfers::currency_id_convert::convert_unkown_multilocation ... ok
test xcm::xcm_transfers::currency_id_convert::convert_kusd ... ok
test xcm::xcm_transfers::currency_id_convert::convert_air ... ok
test xcm::xcm_transfers::currency_id_convert::convert_unsupported_currency ... ok
test xcm::xcm_transfers::currency_id_convert::convert_ksm ... ok
test xcm::xcm_transfers::transfer_ksm_to_relay_chain ... ok
test xcm::xcm_transfers::transfer_from_relay_chain ... ok
test xcm::xcm_transfers::transfer_air_to_sibling ... ok
test xcm::xcm_transfers::transfer_kusd_to_development ... ok
test xcm::xcm_transfers::transfer_air_sibling_to_altair ... ok
test pools::utils::accounts::tests::keyring_works ... ok
test pools::env::env_works ... FAILED
test pools::env::extrinsics_works ... FAILED
Jun 03 11:35:32.131 ERROR runtime: panicked at 'Timestamp slot must match `CurrentSlot`', /Users/n/.cargo/git/checkouts/substrate-7e08433d4c370a21/616d33e/frame/babe/src/lib.rs:865:9
Jun 03 11:35:32.198 ERROR runtime: panicked at 'Timestamp must be updated once in the block', /Users/n/.cargo/git/checkouts/substrate-7e08433d4c370a21/616d33e/frame/timestamp/src/lib.rs:175:13
test pools::pool_starts::create_init_and_price ... FAILED
failures:
---- pools::env::env_works stdout ----
thread 'pools::env::env_works' panicked at 'Nuno: Should be fine', runtime/integration-tests/src/pools/utils/env.rs:699:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- pools::env::extrinsics_works stdout ----
thread 'pools::env::extrinsics_works' panicked at 'Should work', runtime/integration-tests/src/pools/utils/env.rs:774:18
---- pools::pool_starts::create_init_and_price stdout ----
thread 'pools::pool_starts::create_init_and_price' panicked at 'called `Result::unwrap()` on an `Err` value: RuntimeApiError(Application(Execution(AbortedDueToTrap(MessageWithBacktrace { message: "Trap: Unreachable", backtrace: None }))))', /Users/n/.cargo/git/checkouts/fudge-665fee1078ebbc96/149a19f/core/src/builder/core.rs:358:93
failures:
pools::env::env_works
pools::env::extrinsics_works
pools::pool_starts::create_init_and_price
test result: FAILED. 11 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 37.87s
error: test failed, to rerun pass '-p runtime-integration-tests --lib'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment