CI: runtime upgrade async keeps failing
Closed this issue · 2 comments
haerdib commented
CI keeps failing due to the newly added runtime upgrade async example:
https://github.com/scs/substrate-api-client/actions/runs/5781854266/job/15670637648
Run docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c3f703c8af1b parity/substrate:latest "/usr/local/bin/subs…" 28 seconds ago Up 27 seconds 0.0.0.0:9933->9933/tcp, :::9933->9933/tcp, 0.0.0.0:9944->9944/tcp, :::9944->9944/tcp, 0.0.0.0:30333->30333/tcp, :::30333->30333/tcp magical_jones
Connection to 127.0.0.1 9944 port [tcp/*] succeeded!
Current spec_version: 268
Sending extrinsic to trigger runtime update
Cancelling wait for runtime update
[+] Extrinsic got included. Block Hash: 0xb39671ec33a3948641ba1043bc8f726c642870ad5254fa2d6be62719765ac1fa
Detected runtime update: false
New spec_version: 268
thread 'main' panicked at 'assertion failed: api.spec_version() == 1268', examples/examples/runtime_update_async.rs:102:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Process completed with exit code 101.
Maybe increasing the sleep time would help?
haerdib commented
It only passes eventually after several retries.
Niederb commented
Yes, increasing the timeout might help. I will test with a PR