-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
omicron-dev -- db-run not working on Helios #475
Comments
FYI @teisenbe |
I can go take a look, sorry about that |
(I'll revert the version check for now) |
No worries, I'll see if I can scrape together some extra info for debugging: Running Build Tag: v20.2.5
Build Time: 2021/03/17 21:00:51
Distribution: OSS
Platform: illumos amd64 (x86_64-pc-solaris2.11)
Go Version: go1.16.2
C Compiler: gcc 9.3.0
Build Commit ID: 162c5ac4968cf31c0ed54cd29aa8aeccd66247bb
Build Type: release Notably, the build tag is not 21.1.10 - it's 20.2.5. Also, running: Usage:
cockroach version [flags]
Flags:
-h, --help help for version
Global Flags:
--logtostderr Severity[=DEFAULT] logs at or above this threshold go to stderr (default NONE)
--no-color disable standard error log colorization
--vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging (significantly hurts performance)
ERROR: unknown flag: --build-tag
Failed running "version" ... so, although the check might be sorta broken right now, there is actually a mismatch in CRDB versions here! |
oh, huh, I wonder if build tag is a new argument in CRDB |
Oh, huh. Off by just one minor rev: |
I can't reproduce over here. Running
I'm not sure how it'd end up trying to fetch such an old version given how recent the version check logic is. Any chance you have local changes to |
@smklein can you paste the full output of
That looks right to me but it's different than you saw. |
$ ./tools/ci_download_cockroachdb
+ set -o errexit
+++ dirname ./tools/ci_download_cockroachdb
++ cd ./tools
++ pwd
+ SOURCE_DIR=/home/smklein/omicron/tools
++ basename ./tools/ci_download_cockroachdb
+ ARG0=ci_download_cockroachdb
++ cat /home/smklein/omicron/tools/cockroachdb_version
+ CIDL_VERSION=v21.1.10
+ source /home/smklein/omicron/tools/cockroachdb_checksums
++ CIDL_MD5_DARWIN=cab1998101cc7138c52c312aff0776dc
++ CIDL_MD5_LINUX=d0aab99810ddf37b2f6d183077df262d
++ CIDL_MD5_ILLUMOS=499b7f9a80028c993b87808556c29425
+ CIDL_ASSEMBLE_DIR=./cockroachdb
+ CIDL_URL_COCKROACH=https://binaries.cockroachdb.com
+ CIDL_URL_ILLUMOS=https://illumos.org/downloads
+ main
+ [[ 0 != 0 ]]
+ CIDL_OS=solaris2.11
+ [[ 0 != 0 ]]
+ configure_os solaris2.11
+ echo 'current directory: /home/smklein/omicron'
current directory: /home/smklein/omicron
+ echo 'configuring based on OS: "solaris2.11"'
configuring based on OS: "solaris2.11"
+ case "$1" in
+ CIDL_BUILD=illumos
+ CIDL_SUFFIX=tar.gz
+ CIDL_MD5=499b7f9a80028c993b87808556c29425
+ CIDL_MD5FUNC=do_md5sum
+ CIDL_URL_BASE=https://illumos.org/downloads
+ CIDL_ASSEMBLE=do_assemble_illumos
+ CIDL_DIR=cockroach-v21.1.10.illumos
+ CIDL_FILE=cockroach-v21.1.10.illumos.tar.gz
+ CIDL_URL=https://illumos.org/downloads/cockroach-v21.1.10.illumos.tar.gz
+ echo 'URL: https://illumos.org/downloads/cockroach-v21.1.10.illumos.tar.gz'
URL: https://illumos.org/downloads/cockroach-v21.1.10.illumos.tar.gz
+ echo 'Local file: cockroach-v21.1.10.illumos.tar.gz'
Local file: cockroach-v21.1.10.illumos.tar.gz
+ do_download_curl https://illumos.org/downloads/cockroach-v21.1.10.illumos.tar.gz cockroach-v21.1.10.illumos.tar.gz
+ curl --silent --show-error --fail --location --output cockroach-v21.1.10.illumos.tar.gz https://illumos.org/downloads/cockroach-v21.1.10.illumos.tar.gz
++ do_md5sum cockroach-v21.1.10.illumos.tar.gz
++ md5sum
++ awk '{print $1}'
+ calculated_md5=499b7f9a80028c993b87808556c29425
+ [[ 499b7f9a80028c993b87808556c29425 != \4\9\9\b\7\f\9\a\8\0\0\2\8\c\9\9\3\b\8\7\8\0\8\5\5\6\c\2\9\4\2\5 ]]
+ do_untar cockroach-v21.1.10.illumos.tar.gz
+ tar xzf cockroach-v21.1.10.illumos.tar.gz
+ do_assemble_illumos cockroach-v21.1.10.illumos
+ cp -r cockroach-v21.1.10 ./cockroachdb
+ ./cockroachdb/bin/cockroach version
Build Tag: v20.2.5
Build Time: 2021/03/17 21:00:51
Distribution: OSS
Platform: illumos amd64 (x86_64-pc-solaris2.11)
Go Version: go1.16.2
C Compiler: gcc 9.3.0
Build Commit ID: 162c5ac4968cf31c0ed54cd29aa8aeccd66247bb
Build Type: release |
Oh interesting. It tried downloading 21.1.10, but got 20.2.5? I wonder if the last bits of the script behave incorrectly on Helios |
I'm gonna check out an old rev to get 20.2.5 and then go back to main and try to repro Edit: Didn't even have to get that far. Just checking out an old rev is enough. The same issue happens, just that it fails to replace 21.1.10 with the older 20.2.5 |
Ugh, okay, I just |
I saw this last night on broadway. |
Just saw the same behavior leftwo describes. I'll send a patch for the script |
Since #427 landed, if I attempt to run:
I see the following:
This is true even after re-running the
./tools/ci_download_cockroachdb
script.The text was updated successfully, but these errors were encountered: