difftreelog
Merge pull request #660 from UniqueNetwork/fix/merge-929030
in: master
Fix/merge 929030
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.envdiffbeforeafterboth5UNIQUE_MAINNET_TAG=v9240105UNIQUE_MAINNET_TAG=v924010667KUSAMA_MAINNET_BRANCH=release-v0.9.267KUSAMA_MAINNET_BRANCH=release-v0.9.268QUARTZ_MAINNET_TAG=quartz-v924012-28QUARTZ_MAINNET_TAG=quartz-v924012-2-opal-runtime-feature9910UNQWND_MAINNET_BRANCH=release-v0.9.2410UNQWND_MAINNET_BRANCH=release-v0.9.241111.github/workflows/market-test_v2.ymldiffbeforeafterboth101011 market_test:11 market_test:12 # The type of runner that the job will run on12 # The type of runner that the job will run on13 runs-on: [self-hosted-ci,large]13 runs-on: [self-hosted-ci,medium]14 timeout-minutes: 138014 timeout-minutes: 180151516 name: ${{ matrix.network }} 16 name: ${{ matrix.network }} 171791 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.ymldiffbeforeafterboth49495050515152 timeout-minutes: 138052 timeout-minutes: 2880535354 name: ${{ matrix.network }}54 name: ${{ matrix.network }}5555165165166 - name: Run tests before Node Parachain upgrade166 - name: Run tests before Node Parachain upgrade167 working-directory: ${{ matrix.mainnet_branch }}/tests167 working-directory: ${{ matrix.mainnet_branch }}/tests168 run: |168 run: |169 yarn install169 yarn install170 yarn add mochawesome170 yarn add mochawesome171 echo "Ready to start tests"171 echo "Ready to start tests"172 yarn polkadot-types172 yarn polkadot-types173 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}173 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-before-${NOW}174 env:174 env:175 RPC_URL: http://127.0.0.1:9933/175 RPC_URL: http://127.0.0.1:9933/176176180 if: success() || failure() # run this step even if previous step failed180 if: success() || failure() # run this step even if previous step failed181 with:181 with:182 name: Tests before node upgrade ${{ matrix.network }} # Name of the check run which will be created182 name: Tests before node upgrade ${{ matrix.network }} # Name of the check run which will be created183 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-*.json # Path to test results183 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-before-*.json # Path to test results184 reporter: mochawesome-json184 reporter: mochawesome-json185 fail-on-error: 'false'185 fail-on-error: 'false'186186187 - name: Send SIGUSR1 to polkadotlaunch process187 - name: Send SIGUSR1 to polkadot-launch process188 if: success() || failure()188 if: success() || failure()189 run: |189 run: |190 #Get PID of polkadot-launch190 ContainerID=$(docker ps -aqf "name=node-parachain")191 PID=$(docker exec node-parachain pidof 'polkadot-launch')191 PID=$(docker exec node-parachain pidof 'polkadot-launch')192 echo "Polkadot-launch PID: $PID"192 sleep 30s193 #Send SIGUSR1 signal to $PID193 echo -e "Show logs of node-parachain container.\n"194 docker exec node-parachain kill -SIGUSR1 ${PID}194 docker logs ${ContainerID}195195 echo -e "\n"196 # 🌗 All parachain collators restarted with the new binaries.196 echo -e "Restart polkadot-launch process: $PID\n"197 docker exec node-parachain kill -SIGUSR1 ${PID}198 echo -e "SIGUSR1 sent to Polkadot-launch PID: $PID\n"199 echo -e "Get node-parachain logs:\n"200 docker logs -t -n 5 ${ContainerID}201 202 - name: Get chain logs203 if: failure() # run this step only at failure204 run: |205 docker exec node-parachain cat /polkadot-launch/9944.log206 docker exec node-parachain cat /polkadot-launch/9945.log207 docker exec node-parachain cat /polkadot-launch/alice.log208 docker exec node-parachain cat /polkadot-launch/eve.log209 docker exec node-parachain cat /polkadot-launch/dave.log210 docker exec node-parachain cat /polkadot-launch/charlie.log 211197 - name: Check if docker logs consist messages related to testing of Node Parachain Upgrade.212 - name: Check if docker logs consist messages related to testing of Node Parachain Upgrade.198 if: success()213 if: success()240 shell: bash255 shell: bash241256242 - name: Run tests after Node Parachain upgrade257 - name: Run tests after Node Parachain upgrade258 if: success()243 working-directory: tests259 working-directory: ${{ matrix.mainnet_branch }}/tests244 run: |260 run: |245 yarn install261 yarn install246 yarn add mochawesome262 yarn add mochawesome247 node scripts/readyness.js263 echo "Ready to start tests"248 echo "Ready to start tests"264 yarn polkadot-types249 yarn polkadot-types265 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-after-${NOW}250 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}251 env:266 env:252 RPC_URL: http://127.0.0.1:9933/267 RPC_URL: http://127.0.0.1:9933/253268257 if: success() || failure() # run this step even if previous step failed272 if: success() || failure() # run this step even if previous step failed258 with:273 with:259 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created274 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created260 path: tests/mochawesome-report/test-*.json # Path to test results275 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-after-*.json # Path to test results261 reporter: mochawesome-json276 reporter: mochawesome-json262 fail-on-error: 'false'277 fail-on-error: 'false'263278Cargo.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}