difftreelog
Merge branch 'develop' into tests/parallel-ci
in: master
15 files changed
.docker/Dockerfile-try-runtimediffbeforeafterboth46 echo "Fork from: $REPLICA_FROM\n" && \46 echo "Fork from: $REPLICA_FROM\n" && \47 cargo build --features=$FEATURE --release47 cargo build --features=$FEATURE --release48 48 4950CMD cargo run --features=try-runtime,$FEATURE --release -- try-runtime on-runtime-upgrade live --uri $REPLICA_FROM49CMD cargo run --features=try-runtime,$FEATURE --release -- try-runtime --no-spec-name-check on-runtime-upgrade live --uri $REPLICA_FROM5150.github/workflows/market-test_v2.ymldiffbeforeafterboth91 rm -rf .env91 rm -rf .env92 cp .env.docker .env92 cp .env.docker .env9394# Temporary disable node readyness check. Have to dig into the script logic.95# - name: Wait for chain up and running96# working-directory: tests97# run: |98# yarn install99# node scripts/readyness.js100# echo "Ready to start tests"101# env:102# RPC_URL: http://127.0.0.1:9933/9310394 - name: Wait for chain up and running104 - name: Wait for chain up and running95 working-directory: tests96 run: |105 run: |97 yarn install106 sleep 1200s98 node scripts/readyness.js107 echo "Ready to start Market e2e tests"99 echo "Ready to start tests"100108101 - name: Show content of .env file and Generate accounts109 - name: Show content of .env file and Generate accounts102 working-directory: qa-tests110 working-directory: qa-tests.github/workflows/node-only-update_v2.ymldiffbeforeafterboth164162165 - name: Run tests before Node Parachain upgrade163 - name: Run tests before Node Parachain upgrade166 working-directory: ${{ matrix.mainnet_branch }}/tests164 working-directory: ${{ matrix.mainnet_branch }}/tests167 run: |165 run: |168 yarn install166 yarn install169 yarn add mochawesome167 yarn add mochawesome170 echo "Ready to start tests"168 echo "Ready to start tests"171 yarn polkadot-types169 yarn polkadot-types172 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}170 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-before-${NOW}173 env:171 env:174 RPC_URL: http://127.0.0.1:9933/172 RPC_URL: http://127.0.0.1:9933/175173179 if: success() || failure() # run this step even if previous step failed177 if: success() || failure() # run this step even if previous step failed180 with:178 with:181 name: Tests before node upgrade ${{ matrix.network }} # Name of the check run which will be created179 name: Tests before node upgrade ${{ matrix.network }} # Name of the check run which will be created182 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-*.json # Path to test results180 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-before-*.json # Path to test results183 reporter: mochawesome-json181 reporter: mochawesome-json184 fail-on-error: 'false'182 fail-on-error: 'false'185225 222 226 - name: Send SIGUSR1 to polkadot-launch process223 - name: Send SIGUSR1 to polkadot-launch process227 if: success() || failure()224 if: success() || failure()228 run: |225 run: |229 #Get PID of polkadot-launch226 #Get PID of polkadot-launch230 ContainerID=$(docker ps -aqf "name=node-parachain")227 ContainerID=$(docker ps -aqf "name=node-parachain")231 PID=$(docker exec node-parachain pidof 'polkadot-launch')228 PID=$(docker exec node-parachain pidof 'polkadot-launch')232 echo "Polkadot-launch PID: $PID"229 sleep 30s230 echo -e "Show logs of node-parachain container.\n"231 docker logs ${ContainerID}232 echo -e "\n"233 #Send SIGUSR1 signal to $PID233 echo -e "Restart polkadot-launch process: $PID\n"234 docker exec node-parachain kill -SIGUSR1 ${PID}234 docker exec node-parachain kill -SIGUSR1 ${PID}235 echo "SIGUSR1 sent to Polkadot-launch PID: $PID"235 echo "SIGUSR1 sent to Polkadot-launch PID: $PID"236 docker logs ${ContainerID}236 docker logs ${ContainerID}237 237 238 - name: Get chain logs in case of docker image crashed after Polkadot Launch restart238 - name: Get chain logs in case of docker image crashed after Polkadot Launch restart239 if: failure() # run this step only at failure239 if: failure() # run this step only at failure245 docker exec node-parachain cat /polkadot-launch/dave.log245 docker exec node-parachain cat /polkadot-launch/dave.log246 docker exec node-parachain cat /polkadot-launch/charlie.log 246 docker exec node-parachain cat /polkadot-launch/charlie.log 247247248 # 🌗 All parachain collators restarted with the new binaries.249 - name: Check if docker logs consist messages related to testing of Node Parachain Upgrade.248 - name: Check if docker logs consist messages related to testing of Node Parachain Upgrade.250 if: success()249 if: success()251 run: |250 run: |294 ## TODO: Remove next two blocks before switch to Parrallel & Sequental tests. Uncoment commented blocks.293 ## TODO: Remove next two blocks before switch to Parrallel & Sequental tests. Uncoment commented blocks.295 - name: Run tests after Node Parachain upgrade294 - name: Run tests after Node Parachain upgrade296 working-directory: ${{ matrix.mainnet_branch }}/tests295 working-directory: ${{ matrix.mainnet_branch }}/tests297 run: |296 run: |298 yarn install297 yarn install299 yarn add mochawesome298 yarn add mochawesome300 node scripts/readyness.js299 echo "Ready to start tests"301 echo "Ready to start tests"300 yarn polkadot-types302 yarn polkadot-types301 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-after-${NOW}303 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}304 env:302 env:305 RPC_URL: http://127.0.0.1:9933/303 RPC_URL: http://127.0.0.1:9933/306304310 if: success() || failure() # run this step even if previous step failed308 if: success() || failure() # run this step even if previous step failed311 with:309 with:312 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created310 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created313 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-*.json # Path to test results311 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-after-*.json # Path to test results314 reporter: mochawesome-json312 reporter: mochawesome-json315 fail-on-error: 'false'313 fail-on-error: 'false'316314Cargo.lockdiffbeforeafterboth6710 "up-sponsorship",6710 "up-sponsorship",6711]6711]67126713[[package]]6714name = "pallet-unique-scheduler-v2"6715version = "0.1.0"6716dependencies = [6717 "frame-benchmarking",6718 "frame-support",6719 "frame-system",6720 "log",6721 "pallet-preimage",6722 "parity-scale-codec 3.2.1",6723 "scale-info",6724 "sp-core",6725 "sp-io",6726 "sp-runtime",6727 "sp-std",6728 "substrate-test-utils",6729]671267306713[[package]]6731[[package]]6714name = "pallet-utility"6732name = "pallet-utility"857685948577[[package]]8595[[package]]8578name = "quartz-runtime"8596name = "quartz-runtime"8579version = "0.9.27"8597version = "0.9.29"8580dependencies = [8598dependencies = [8581 "app-promotion-rpc",8599 "app-promotion-rpc",8582 "cumulus-pallet-aura-ext",8600 "cumulus-pallet-aura-ext",125681258612569[[package]]12587[[package]]12570name = "unique-runtime"12588name = "unique-runtime"12571version = "0.9.27"12589version = "0.9.29"12572dependencies = [12590dependencies = [12573 "app-promotion-rpc",12591 "app-promotion-rpc",12574 "cumulus-pallet-aura-ext",12592 "cumulus-pallet-aura-ext",README.mddiffbeforeafterboth92```92```93git clone https://github.com/paritytech/polkadot.git93git clone https://github.com/paritytech/polkadot.git94cd polkadot94cd polkadot95git checkout release-v0.9.2795git checkout release-v0.9.2996cargo build --release96cargo build --release97```97```9898runtime/common/construct_runtime/mod.rsdiffbeforeafterboth57 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,57 Inflation: pallet_inflation::{Pallet, Call, Storage} = 60,58 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,58 Unique: pallet_unique::{Pallet, Call, Storage, Event<T>} = 61,595960 #[runtimes(opal)]60 // #[runtimes(opal)]61 Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,61 // Scheduler: pallet_unique_scheduler::{Pallet, Call, Storage, Event<T>} = 62,626263 Configuration: pallet_configuration::{Pallet, Call, Storage} = 63,63 Configuration: pallet_configuration::{Pallet, Call, Storage} = 63,6464runtime/common/mod.rsdiffbeforeafterboth21pub mod instance;21pub mod instance;22pub mod runtime_apis;22pub mod runtime_apis;2324#[cfg(feature = "scheduler")]23pub mod scheduler;25pub mod scheduler;2624pub mod sponsoring;27pub mod sponsoring;runtime/opal/Cargo.tomldiffbeforeafterboth168 "pallet-foreign-assets/std"168 "pallet-foreign-assets/std"169]169]170limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']170limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']171opal-runtime = ['refungible', 'scheduler', 'rmrk', 'app-promotion', 'foreign-assets']171opal-runtime = ['refungible', 'rmrk', 'app-promotion', 'foreign-assets']172172173refungible = []173refungible = []174scheduler = []174scheduler = []runtime/opal/src/lib.rsdiffbeforeafterboth50 spec_name: create_runtime_str!(RUNTIME_NAME),50 spec_name: create_runtime_str!(RUNTIME_NAME),51 impl_name: create_runtime_str!(RUNTIME_NAME),51 impl_name: create_runtime_str!(RUNTIME_NAME),52 authoring_version: 1,52 authoring_version: 1,53 spec_version: 927030,53 spec_version: 929030,54 impl_version: 0,54 impl_version: 0,55 apis: RUNTIME_API_VERSIONS,55 apis: RUNTIME_API_VERSIONS,56 transaction_version: 2,56 transaction_version: 2,runtime/quartz/Cargo.tomldiffbeforeafterboth10license = 'GPLv3'10license = 'GPLv3'11name = 'quartz-runtime'11name = 'quartz-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version = '0.9.27'13version = '0.9.29'141415[package.metadata.docs.rs]15[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']16targets = ['x86_64-unknown-linux-gnu']runtime/quartz/src/lib.rsdiffbeforeafterboth50 spec_name: create_runtime_str!(RUNTIME_NAME),50 spec_name: create_runtime_str!(RUNTIME_NAME),51 impl_name: create_runtime_str!(RUNTIME_NAME),51 impl_name: create_runtime_str!(RUNTIME_NAME),52 authoring_version: 1,52 authoring_version: 1,53 spec_version: 927030,53 spec_version: 929030,54 impl_version: 0,54 impl_version: 0,55 apis: RUNTIME_API_VERSIONS,55 apis: RUNTIME_API_VERSIONS,56 transaction_version: 2,56 transaction_version: 2,runtime/unique/Cargo.tomldiffbeforeafterboth10license = 'GPLv3'10license = 'GPLv3'11name = 'unique-runtime'11name = 'unique-runtime'12repository = 'https://github.com/UniqueNetwork/unique-chain'12repository = 'https://github.com/UniqueNetwork/unique-chain'13version = '0.9.27'13version = '0.9.29'141415[package.metadata.docs.rs]15[package.metadata.docs.rs]16targets = ['x86_64-unknown-linux-gnu']16targets = ['x86_64-unknown-linux-gnu']runtime/unique/src/lib.rsdiffbeforeafterboth50 spec_name: create_runtime_str!(RUNTIME_NAME),50 spec_name: create_runtime_str!(RUNTIME_NAME),51 impl_name: create_runtime_str!(RUNTIME_NAME),51 impl_name: create_runtime_str!(RUNTIME_NAME),52 authoring_version: 1,52 authoring_version: 1,53 spec_version: 927030,53 spec_version: 929030,54 impl_version: 0,54 impl_version: 0,55 apis: RUNTIME_API_VERSIONS,55 apis: RUNTIME_API_VERSIONS,56 transaction_version: 2,56 transaction_version: 2,tests/scripts/readyness.jsdiffbeforeafterboth25 }25 }26 catch(e) {26 catch(e) {27 await sleep(10000);27 await sleep(10000);28 console.log(e);28 }29 }29 }30 }30}31}tests/src/eth/proxyContract.test.tsdiffbeforeafterbothno changes