message: nctl/upgrade tests: wait for nodes to sync to genesis in scenario 1
diff: # Synopsis.
  # ----------------------------------------------------------------
  -# 1. Start v1 running at current mainnet commit.
  +# 1. Start network from pre-built stage.
  # 2. Execute some deploys to populate global state a little
  # 3. Upgrade all running nodes to v2
  # 4. Assert v2 nodes run & the chain advances (new blocks are generated)
  @@ -301,6 +301,25 @@ function _step_08()
  log "HASH MATCH :: $NODE_ID :: HASH = $NX_STATE_ROOT_HASH :: N1 HASH = $N1_STATE_ROOT_HASH"
  fi
  done
  +
  + log "Waiting for all nodes to sync to genesis"
  + TIMEOUT=300
  + for NODE_ID in $(seq 1 "$(get_count_of_nodes)")
  + do
  + log "Waiting for node $NODE_ID to sync to genesis (timeout=$TIMEOUT sec)"
  + RETRY_COUNT=1
  + LOWEST_AVAILABLE_BLOCK=$(get_node_lowest_available_block "$NODE_ID")
  + while [ -z "$LOWEST_AVAILABLE_BLOCK" ] || [ "$LOWEST_AVAILABLE_BLOCK" -ne 0 ]; do
  + if [ "$RETRY_COUNT" -gt $TIMEOUT ]; then
  + log "ERROR :: NODE-$NODE_ID RETRY :: Failed to sync to genesis within $TIMEOUT seconds; lowest available block $LOWEST_AVAILABLE_BLOCK"
  + exit 1
  + else
  + LOWEST_AVAILABLE_BLOCK=$(get_node_lowest_available_block "$NODE_ID")
  + sleep 1
  + ((RETRY_COUNT=RETRY_COUNT+1))
  + fi
  + done
  + done
  }
  # Step 09: Run NCTL health checks
  