Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'alic/fix-upgrade-test' into 'master'
fix(consensus): [ICSUP-3714] Change upgrade cycle in upgrade_downgrade test We've been observing test failures on staging that should have happened on CI. This discrepancy was caused by the difference in upgrade cycle. - During qualification, we do a `mainnet` -> `RC` -> `mainnet` upgrade-downgrade roundtrip. - In this test however, we've been doing `RC` -> `mainnet` -> `RC`. Even though we're testing both upgrade directions, there's still subtle opportunities for failure. This MR fixes the upgrade cycle, so that we start from `mainnet`. Additionally, to verify that the changes work as expected, I've ran this patch on RC `1ad201eb530a5c572bc72d302160783e7fb4c60b` and attempted to downgrade to the mainnet version from that time (`ca5e5052886de781021506814d2c6502e375da48`). I could reproduce the failure we observed during qualification. - Bazel logs: https://dash.zh1-idx1.dfinity.network/invocation/d53b7724-cc17-4f4f-9280-8e67953ad487 - Kibana logs: [Upgrade failure messages](https://kibana.testnet.dfinity.network/app/discover#/?_g=(time:(from:now-1y,to:now))&_a=(columns:!(host.name,message,level),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,key:tags,negate:!f,params:(query:upgrade_downgrade_app_subnet_test--1698343603734),type:phrase),query:(match_phrase:(tags:upgrade_downgrade_app_subnet_test--1698343603734))),('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'35c5ba4b-6db5-42f6-a760-39ca89a177fe',key:message,negate:!f,params:(query:'Check%20for%20upgrade%20failed:%20Ok(Err(GenericError(%22Failed%20to%20upgrade:%20upgrade-install%20failed%22)))'),type:phrase),query:(match_phrase:(message:'Check%20for%20upgrade%20failed:%20Ok(Err(GenericError(%22Failed%20to%20upgrade:%20upgrade-install%20failed%22)))')))),grid:(columns:(host.name:(width:513))),index:'35c5ba4b-6db5-42f6-a760-39ca89a177fe',interval:auto,query:(language:kuery,query:'syslog.identifier:%22orchestrator%22%20'),sort:!(!('@timestamp',desc)))) See merge request dfinity-lab/public/ic!15563
- Loading branch information