difftreelog
Test node update only fix.
in: master
1 file changed
.github/workflows/node-only-update_v2.ymldiffbeforeafterboth165165166 - 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-before-${NOW}173 NOW=$(date +%s) && yarn testConnection --reporter mochawesome --reporter-options reportFilename=test-${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-before-*.json # Path to test results183 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-*.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 polkadot-launch process187 - name: Send SIGUSR1 to polkadotlaunch 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 echo "Polkadot-launch PID: $PID"193 #Send SIGUSR1 signal to $PID193 docker exec node-parachain kill -SIGUSR1 ${PID}194 docker exec node-parachain kill -SIGUSR1 ${PID}194 echo "SIGUSR1 sent to Polkadot-launch PID: $PID"195 echo "SIGUSR1 sent to Polkadot-launch PID: $PID"195 docker logs ${ContainerID}196196 197 # 🌗 All parachain collators restarted with the new binaries.197 - name: Get chain logs198 if: always() # run this step always199 run: |200 docker exec node-parachain cat /polkadot-launch/9944.log201 docker exec node-parachain cat /polkadot-launch/9945.log202 docker exec node-parachain cat /polkadot-launch/alice.log203 docker exec node-parachain cat /polkadot-launch/eve.log204 docker exec node-parachain cat /polkadot-launch/dave.log205 docker exec node-parachain cat /polkadot-launch/charlie.log 206198 - name: Check if docker logs consist messages related to testing of Node Parachain Upgrade.207 - name: Check if docker logs consist messages related to testing of Node Parachain Upgrade.199 if: success()208 if: success()241 shell: bash250 shell: bash242251243 - name: Run tests after Node Parachain upgrade252 - name: Run tests after Node Parachain upgrade244 if: success()245 working-directory: ${{ matrix.mainnet_branch }}/tests253 working-directory: tests246 run: |254 run: |247 yarn install255 yarn install248 yarn add mochawesome256 yarn add mochawesome249 node scripts/readyness.js257 node scripts/readyness.js250 echo "Ready to start tests"258 echo "Ready to start tests"251 yarn polkadot-types259 yarn polkadot-types252 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-after-${NOW}260 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}253 env:261 env:254 RPC_URL: http://127.0.0.1:9933/262 RPC_URL: http://127.0.0.1:9933/255263259 if: success() || failure() # run this step even if previous step failed267 if: success() || failure() # run this step even if previous step failed260 with:268 with:261 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created269 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created262 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-after-*.json # Path to test results270 path: tests/mochawesome-report/test-*.json # Path to test results263 reporter: mochawesome-json271 reporter: mochawesome-json264 fail-on-error: 'false'272 fail-on-error: 'false'265273