Skip to content
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

Custom binary - tests failure #131

Open
prashantkhoje opened this issue Apr 19, 2022 · 1 comment
Open

Custom binary - tests failure #131

prashantkhoje opened this issue Apr 19, 2022 · 1 comment

Comments

@prashantkhoje
Copy link

I'm launching a cockroachdb docker container using image from https://hub.docker.com/r/cockroachdb/cockroach.
Then i'm building and testing cockroach-go:

#!/bin/bash -ex

# Dependency installation
microdnf install -y git wget make gcc-c++

#Set variables
PACKAGE_URL=https://github.com/cockroachdb/cockroach-go
#PACKAGE_VERSION is configurable can be passed as an argument.
#PACKAGE_VERSION=${1:-e0a95dfd547c}
PACKAGE_VERSION=${1:-v2.2.8}
PACKAGE_NAME=cockroach-go
OS_NAME=$(cat /etc/os-release | grep ^PRETTY_NAME | cut -d= -f2)

#Install go package and update go path if not installed
GO_VERSION=1.16.1
GO_ARCH=ppc64le
if ! command -v go &> /dev/null
then
curl -O https://dl.google.com/go/go$GO_VERSION.linux-$GO_ARCH.tar.gz
tar -C /usr/local -xzf go$GO_VERSION.linux-$GO_ARCH.tar.gz
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOROOT/bin:$GOPATH/bin:$PATH
export GO111MODULE=auto
rm -f go$GO_VERSION.linux-$GO_ARCH.tar.gz
fi

# Check if package exists
if [ -d $PACKAGE_NAME ] ; then
  rm -rf $PACKAGE_NAME
  echo "$PACKAGE_NAME  | $PACKAGE_VERSION | $OS_NAME | GitHub | Removed existing package if any"
fi

# Download the repos
git clone $PACKAGE_URL

# Build and Test
cd $PACKAGE_NAME
git checkout $PACKAGE_VERSION
ret=$?
if [ $ret -eq 0 ] ; then
 echo "---------------------------$PACKAGE_VERSION found to checkout--------------------- "
else
 echo "---------------------------$PACKAGE_VERSION not found-----------------------------"
 exit
fi

# Ensure go.mod file exists
[ ! -f go.mod ] && go mod init $PACKAGE_NAME
go mod tidy

if ! go build -v ./...; then
    echo "------------------$PACKAGE_NAME: build failed-------------------------"
    exit 1
fi

export COCKROACH_BINARY=/cockroach/cockroach
$COCKROACH_BINARY --version
if ! go test -v ./...; then
    echo "------------------$PACKAGE_NAME: test failed-------------------------"
    exit 1
else
    echo "$PACKAGE_NAME  |  $PACKAGE_VERSION | GitHub  | Pass |  Both_Build_and_Test_Success" 
    exit 0
fi

The tests don't pass consistently.
Similar failures are observed on ppc64le platform.

@prashantkhoje
Copy link
Author

log:

# docker container run --network=host -P --entrypoint "" -it -v `pwd`:/cockroachdb --workdir /cockroach-go --name cockroach-dockerdb-v20.2.17 cockroachdb/cockroach:v20.2.17 /bin/bash

+ microdnf install -y git wget patch diffutils unzip gcc-c++ make cmake

(microdnf:17): librhsm-WARNING **: 09:38:31.832: Found 0 entitlement certificates

(microdnf:17): librhsm-WARNING **: 09:38:31.834: Found 0 entitlement certificates
Downloading metadata...
Downloading metadata...
Downloading metadata...
Package                                                         Repository          Size
Installing:                                                                             
 binutils-2.30-108.el8_5.1.x86_64                               ubi-8-baseos      6.1 MB
 cmake-3.20.2-4.el8.x86_64                                      ubi-8-appstream  12.4 MB
 cmake-data-3.20.2-4.el8.noarch                                 ubi-8-appstream   1.8 MB
 cmake-filesystem-3.20.2-4.el8.x86_64                           ubi-8-appstream  45.6 kB
 cmake-rpm-macros-3.20.2-4.el8.noarch                           ubi-8-appstream  44.9 kB
 cpp-8.5.0-4.el8_5.x86_64                                       ubi-8-appstream  10.9 MB
 cracklib-2.9.6-15.el8.x86_64                                   ubi-8-baseos     95.5 kB
 cracklib-dicts-2.9.6-15.el8.x86_64                             ubi-8-baseos      4.1 MB
 diffutils-3.6-6.el8.x86_64                                     ubi-8-baseos    367.4 kB
 emacs-filesystem-1:26.1-7.el8.noarch                           ubi-8-baseos     71.3 kB
 expat-2.2.5-4.el8_5.3.x86_64                                   ubi-8-baseos    115.5 kB
 gcc-8.5.0-4.el8_5.x86_64                                       ubi-8-appstream  24.6 MB
 gcc-c++-8.5.0-4.el8_5.x86_64                                   ubi-8-appstream  12.8 MB
 gdbm-1:1.18-1.el8.x86_64                                       ubi-8-baseos    132.9 kB
 gdbm-libs-1:1.18-1.el8.x86_64                                  ubi-8-baseos     62.0 kB
 git-2.27.0-1.el8.x86_64                                        ubi-8-appstream 168.3 kB
 git-core-2.27.0-1.el8.x86_64                                   ubi-8-appstream   5.9 MB
 git-core-doc-2.27.0-1.el8.noarch                               ubi-8-appstream   2.6 MB
 glibc-devel-2.28-164.el8_5.3.x86_64                            ubi-8-baseos      1.1 MB
 glibc-headers-2.28-164.el8_5.3.x86_64                          ubi-8-baseos    491.7 kB
 glibc-langpack-en-2.28-164.el8_5.3.x86_64                      ubi-8-baseos    848.4 kB
 groff-base-1.22.3-18.el8.x86_64                                ubi-8-baseos      1.1 MB
 gzip-1.9-12.el8.x86_64                                         ubi-8-baseos    170.7 kB
 isl-0.16.1-6.el8.x86_64                                        ubi-8-appstream 861.3 kB
 kernel-headers-4.18.0-348.20.1.el8_5.x86_64                    ubi-8-baseos      8.7 MB
 less-530-1.el8.x86_64                                          ubi-8-baseos    168.1 kB
 libedit-3.1-23.20170329cvs.el8.x86_64                          ubi-8-baseos    104.5 kB
 libfdisk-2.32.1-28.el8.x86_64                                  ubi-8-baseos    256.6 kB
 libgomp-8.5.0-4.el8_5.x86_64                                   ubi-8-baseos    210.9 kB
 libmetalink-0.1.3-7.el8.x86_64                                 ubi-8-baseos     32.8 kB
 libmpc-1.1.0-9.1.el8.x86_64                                    ubi-8-appstream  62.4 kB
 libnsl2-1.2.0-2.20180605git4a062cf.el8.x86_64                  ubi-8-baseos     59.1 kB
 libpkgconf-1.4.2-1.el8.x86_64                                  ubi-8-baseos     35.6 kB
 libpwquality-1.4.4-3.el8.x86_64                                ubi-8-baseos    109.5 kB
 libsemanage-2.9-6.el8.x86_64                                   ubi-8-baseos    169.2 kB
 libstdc++-devel-8.5.0-4.el8_5.x86_64                           ubi-8-appstream   2.1 MB
 libtirpc-1.1.4-5.el8.x86_64                                    ubi-8-baseos    114.7 kB
 libutempter-1.1.6-14.el8.x86_64                                ubi-8-baseos     32.6 kB
 libuv-1:1.41.1-1.el8_4.x86_64                                  ubi-8-appstream 160.0 kB
 libxcrypt-devel-4.1.1-6.el8.x86_64                             ubi-8-baseos     25.8 kB
 make-1:4.2.1-10.el8.x86_64                                     ubi-8-baseos    509.6 kB
 ncurses-6.1-9.20180224.el8.x86_64                              ubi-8-baseos    396.4 kB
 openssh-8.0p1-10.el8.x86_64                                    ubi-8-baseos    534.5 kB
 openssh-clients-8.0p1-10.el8.x86_64                            ubi-8-baseos    683.8 kB
 pam-1.3.1-15.el8.x86_64                                        ubi-8-baseos    755.7 kB
 patch-2.7.6-11.el8.x86_64                                      ubi-8-baseos    141.4 kB
 perl-Carp-1.42-396.el8.noarch                                  ubi-8-baseos     30.9 kB
 perl-Encode-4:2.97-3.el8.x86_64                                ubi-8-baseos      1.5 MB
 perl-Errno-1.28-420.el8.x86_64                                 ubi-8-baseos     78.1 kB
 perl-Error-1:0.17025-2.el8.noarch                              ubi-8-appstream  47.2 kB
 perl-Exporter-5.72-396.el8.noarch                              ubi-8-baseos     34.8 kB
 perl-File-Path-2.15-2.el8.noarch                               ubi-8-baseos     39.0 kB
 perl-File-Temp-0.230.600-1.el8.noarch                          ubi-8-baseos     64.1 kB
 perl-Getopt-Long-1:2.50-4.el8.noarch                           ubi-8-baseos     64.5 kB
 perl-Git-2.27.0-1.el8.noarch                                   ubi-8-appstream  79.4 kB
 perl-HTTP-Tiny-0.074-1.el8.noarch                              ubi-8-baseos     59.6 kB
 perl-IO-1.38-420.el8.x86_64                                    ubi-8-baseos    145.4 kB
 perl-IO-Socket-IP-0.39-5.el8.noarch                            ubi-8-appstream  48.0 kB
 perl-MIME-Base64-3.15-396.el8.x86_64                           ubi-8-baseos     31.4 kB
 perl-Mozilla-CA-20160104-7.module+el8.3.0+6498+9eecfe51.noarch ubi-8-appstream  15.8 kB
 perl-PathTools-3.74-1.el8.x86_64                               ubi-8-baseos     92.2 kB
 perl-Pod-Escapes-1:1.07-395.el8.noarch                         ubi-8-baseos     21.0 kB
 perl-Pod-Perldoc-3.28-396.el8.noarch                           ubi-8-baseos     90.2 kB
 perl-Pod-Simple-1:3.35-395.el8.noarch                          ubi-8-baseos    218.3 kB
 perl-Pod-Usage-4:1.69-395.el8.noarch                           ubi-8-baseos     35.3 kB
 perl-Scalar-List-Utils-3:1.49-2.el8.x86_64                     ubi-8-baseos     69.4 kB
 perl-Socket-4:2.027-3.el8.x86_64                               ubi-8-baseos     60.2 kB
 perl-Storable-1:3.11-3.el8.x86_64                              ubi-8-baseos    100.7 kB
 perl-Term-ANSIColor-4.06-396.el8.noarch                        ubi-8-baseos     47.1 kB
 perl-Term-Cap-1.17-395.el8.noarch                              ubi-8-baseos     23.4 kB
 perl-TermReadKey-2.37-7.el8.x86_64                             ubi-8-appstream  41.2 kB
 perl-Text-ParseWords-3.30-395.el8.noarch                       ubi-8-baseos     18.4 kB
 perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch                   ubi-8-baseos     24.7 kB
 perl-Time-Local-1:1.280-1.el8.noarch                           ubi-8-baseos     34.3 kB
 perl-Unicode-Normalize-1.25-396.el8.x86_64                     ubi-8-baseos     83.8 kB
 perl-constant-1.33-396.el8.noarch                              ubi-8-baseos     26.0 kB
 perl-interpreter-4:5.26.3-420.el8.x86_64                       ubi-8-baseos      6.6 MB
 perl-libs-4:5.26.3-420.el8.x86_64                              ubi-8-baseos      1.6 MB
 perl-macros-4:5.26.3-420.el8.x86_64                            ubi-8-baseos     74.0 kB
 perl-parent-1:0.237-1.el8.noarch                               ubi-8-baseos     20.5 kB
 perl-podlators-4.11-1.el8.noarch                               ubi-8-baseos    120.8 kB
 perl-threads-1:2.21-2.el8.x86_64                               ubi-8-baseos     62.7 kB
 perl-threads-shared-1.58-2.el8.x86_64                          ubi-8-baseos     48.8 kB
 pkgconf-1.4.2-1.el8.x86_64                                     ubi-8-baseos     39.0 kB
 pkgconf-m4-1.4.2-1.el8.noarch                                  ubi-8-baseos     17.5 kB
 pkgconf-pkg-config-1.4.2-1.el8.x86_64                          ubi-8-baseos     15.6 kB
 platform-python-3.6.8-41.el8.x86_64                            ubi-8-baseos     86.9 kB
 platform-python-pip-9.0.3-20.el8.noarch                        ubi-8-baseos      1.8 MB
 platform-python-setuptools-39.2.0-6.el8.noarch                 ubi-8-baseos    647.5 kB
 python3-libs-3.6.8-41.el8.x86_64                               ubi-8-baseos      8.2 MB
 python3-pip-wheel-9.0.3-20.el8.noarch                          ubi-8-baseos      1.1 MB
 python3-setuptools-wheel-39.2.0-6.el8.noarch                   ubi-8-baseos    295.8 kB
 shadow-utils-2:4.6-14.el8.x86_64                               ubi-8-baseos      1.3 MB
 unzip-6.0-45.el8_4.x86_64                                      ubi-8-baseos    199.9 kB
 util-linux-2.32.1-28.el8.x86_64                                ubi-8-baseos      2.6 MB
 vim-filesystem-2:8.0.1763-16.el8_5.12.noarch                   ubi-8-appstream  51.7 kB
 wget-1.19.5-10.el8.x86_64                                      ubi-8-appstream 751.3 kB
Upgrading:                                                                              
 chkconfig-1.19.1-1.el8.x86_64                                  ubi-8-baseos    203.1 kB
  replacing chkconfig-1.13-2.el8.x86_64                                                 
 glibc-2.28-164.el8_5.3.x86_64                                  ubi-8-baseos      3.8 MB
  replacing glibc-2.28-151.el8.x86_64                                                   
 glibc-common-2.28-164.el8_5.3.x86_64                           ubi-8-baseos      1.4 MB
  replacing glibc-common-2.28-151.el8.x86_64                                            
 glibc-minimal-langpack-2.28-164.el8_5.3.x86_64                 ubi-8-baseos     59.5 kB
  replacing glibc-minimal-langpack-2.28-151.el8.x86_64                                  
 libblkid-2.32.1-28.el8.x86_64                                  ubi-8-baseos    222.4 kB
  replacing libblkid-2.32.1-27.el8.x86_64                                               
 libgcc-8.5.0-4.el8_5.x86_64                                    ubi-8-baseos     81.4 kB
  replacing libgcc-8.4.1-1.el8.x86_64                                                   
 libmount-2.32.1-28.el8.x86_64                                  ubi-8-baseos    239.2 kB
  replacing libmount-2.32.1-27.el8.x86_64                                               
 libsmartcols-2.32.1-28.el8.x86_64                              ubi-8-baseos    180.9 kB
  replacing libsmartcols-2.32.1-27.el8.x86_64                                           
 libstdc++-8.5.0-4.el8_5.x86_64                                 ubi-8-baseos    463.6 kB
  replacing libstdc++-8.4.1-1.el8.x86_64                                                
 libuuid-2.32.1-28.el8.x86_64                                   ubi-8-baseos     98.3 kB
  replacing libuuid-2.32.1-27.el8.x86_64                                                
 libxcrypt-4.1.1-6.el8.x86_64                                   ubi-8-baseos     74.5 kB
  replacing libxcrypt-4.1.1-4.el8.x86_64                                                
 ncurses-base-6.1-9.20180224.el8.noarch                         ubi-8-baseos     83.1 kB
  replacing ncurses-base-6.1-7.20180224.el8.noarch                                      
 ncurses-libs-6.1-9.20180224.el8.x86_64                         ubi-8-baseos    341.8 kB
   replacing ncurses-libs-6.1-7.20180224.el8.x86_64                                     
Transaction Summary:
 Installing:       97 packages
 Reinstalling:      0 packages
 Upgrading:        13 packages
 Obsoleting:        0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Enabling module streams:
    perl-libwww-perl:6.34


Downloading packages...
Running transaction test...
Updating: libgcc;8.5.0-4.el8_5;x86_64;ubi-8-baseos
Installing: cmake-filesystem;3.20.2-4.el8;x86_64;ubi-8-appstream
Installing: python3-pip-wheel;9.0.3-20.el8;noarch;ubi-8-baseos
Installing: emacs-filesystem;1:26.1-7.el8;noarch;ubi-8-baseos
Installing: python3-setuptools-wheel;39.2.0-6.el8;noarch;ubi-8-baseos
Updating: glibc-common;2.28-164.el8_5.3;x86_64;ubi-8-baseos
Updating: glibc;2.28-164.el8_5.3;x86_64;ubi-8-baseos
Installing: glibc-langpack-en;2.28-164.el8_5.3;x86_64;ubi-8-baseos
Updating: libxcrypt;4.1.1-6.el8;x86_64;ubi-8-baseos
Updating: libuuid;2.32.1-28.el8;x86_64;ubi-8-baseos
Updating: libstdc++;8.5.0-4.el8_5;x86_64;ubi-8-baseos
Installing: expat;2.2.5-4.el8_5.3;x86_64;ubi-8-baseos
Updating: libblkid;2.32.1-28.el8;x86_64;ubi-8-baseos
Installing: gdbm-libs;1:1.18-1.el8;x86_64;ubi-8-baseos
Installing: libtirpc;1.1.4-5.el8;x86_64;ubi-8-baseos
Installing: libmpc;1.1.0-9.1.el8;x86_64;ubi-8-appstream
Updating: chkconfig;1.19.1-1.el8;x86_64;ubi-8-baseos
Installing: libnsl2;1.2.0-2.20180605git4a062cf.el8;x86_64;ubi-8-baseos
Installing: binutils;2.30-108.el8_5.1;x86_64;ubi-8-baseos
Installing: cpp;8.5.0-4.el8_5;x86_64;ubi-8-appstream
Installing: libfdisk;2.32.1-28.el8;x86_64;ubi-8-baseos
Updating: libmount;2.32.1-28.el8;x86_64;ubi-8-baseos
Installing: libmetalink;0.1.3-7.el8;x86_64;ubi-8-baseos
Installing: groff-base;1.22.3-18.el8;x86_64;ubi-8-baseos
Installing: libstdc++-devel;8.5.0-4.el8_5;x86_64;ubi-8-appstream
Installing: libpkgconf;1.4.2-1.el8;x86_64;ubi-8-baseos
Installing: pkgconf;1.4.2-1.el8;x86_64;ubi-8-baseos
Installing: libgomp;8.5.0-4.el8_5;x86_64;ubi-8-baseos
Installing: make;1:4.2.1-10.el8;x86_64;ubi-8-baseos
Installing: gzip;1.9-12.el8;x86_64;ubi-8-baseos
Installing: cracklib;2.9.6-15.el8;x86_64;ubi-8-baseos
Installing: cracklib-dicts;2.9.6-15.el8;x86_64;ubi-8-baseos
Installing: libpwquality;1.4.4-3.el8;x86_64;ubi-8-baseos
Installing: pam;1.3.1-15.el8;x86_64;ubi-8-baseos
Installing: libsemanage;2.9-6.el8;x86_64;ubi-8-baseos
Installing: shadow-utils;2:4.6-14.el8;x86_64;ubi-8-baseos
Installing: libutempter;1.1.6-14.el8;x86_64;ubi-8-baseos
Installing: isl;0.16.1-6.el8;x86_64;ubi-8-appstream
Installing: libuv;1:1.41.1-1.el8_4;x86_64;ubi-8-appstream
Updating: libsmartcols;2.32.1-28.el8;x86_64;ubi-8-baseos
Updating: ncurses-base;6.1-9.20180224.el8;noarch;ubi-8-baseos
Updating: ncurses-libs;6.1-9.20180224.el8;x86_64;ubi-8-baseos
Installing: less;530-1.el8;x86_64;ubi-8-baseos
Installing: libedit;3.1-23.20170329cvs.el8;x86_64;ubi-8-baseos
Installing: util-linux;2.32.1-28.el8;x86_64;ubi-8-baseos
Installing: openssh;8.0p1-10.el8;x86_64;ubi-8-baseos
Installing: openssh-clients;8.0p1-10.el8;x86_64;ubi-8-baseos
Installing: git-core;2.27.0-1.el8;x86_64;ubi-8-appstream
Installing: git-core-doc;2.27.0-1.el8;noarch;ubi-8-appstream
Installing: gdbm;1:1.18-1.el8;x86_64;ubi-8-baseos
Installing: python3-libs;3.6.8-41.el8;x86_64;ubi-8-baseos
Installing: platform-python;3.6.8-41.el8;x86_64;ubi-8-baseos
Installing: platform-python-setuptools;39.2.0-6.el8;noarch;ubi-8-baseos
Installing: platform-python-pip;9.0.3-20.el8;noarch;ubi-8-baseos
Installing: cmake-rpm-macros;3.20.2-4.el8;noarch;ubi-8-appstream
Installing: ncurses;6.1-9.20180224.el8;x86_64;ubi-8-baseos
Installing: perl-Pod-Escapes;1:1.07-395.el8;noarch;ubi-8-baseos
Installing: perl-Time-Local;1:1.280-1.el8;noarch;ubi-8-baseos
Installing: perl-Mozilla-CA;20160104-7.module+el8.3.0+6498+9eecfe51;noarch;ubi-8-appstream
Installing: perl-IO-Socket-IP;0.39-5.el8;noarch;ubi-8-appstream
Installing: perl-Term-ANSIColor;4.06-396.el8;noarch;ubi-8-baseos
Installing: perl-Pod-Simple;1:3.35-395.el8;noarch;ubi-8-baseos
Installing: perl-Term-Cap;1.17-395.el8;noarch;ubi-8-baseos
Installing: perl-HTTP-Tiny;0.074-1.el8;noarch;ubi-8-baseos
Installing: perl-File-Temp;0.230.600-1.el8;noarch;ubi-8-baseos
Installing: perl-podlators;4.11-1.el8;noarch;ubi-8-baseos
Installing: perl-Pod-Perldoc;3.28-396.el8;noarch;ubi-8-baseos
Installing: perl-Text-ParseWords;3.30-395.el8;noarch;ubi-8-baseos
Installing: perl-Pod-Usage;4:1.69-395.el8;noarch;ubi-8-baseos
Installing: perl-Storable;1:3.11-3.el8;x86_64;ubi-8-baseos
Installing: perl-MIME-Base64;3.15-396.el8;x86_64;ubi-8-baseos
Installing: perl-Getopt-Long;1:2.50-4.el8;noarch;ubi-8-baseos
Installing: perl-Errno;1.28-420.el8;x86_64;ubi-8-baseos
Installing: perl-Socket;4:2.027-3.el8;x86_64;ubi-8-baseos
Installing: perl-Encode;4:2.97-3.el8;x86_64;ubi-8-baseos
Installing: perl-macros;4:5.26.3-420.el8;x86_64;ubi-8-baseos
Installing: perl-parent;1:0.237-1.el8;noarch;ubi-8-baseos
Installing: perl-Carp;1.42-396.el8;noarch;ubi-8-baseos
Installing: perl-Exporter;5.72-396.el8;noarch;ubi-8-baseos
Installing: perl-libs;4:5.26.3-420.el8;x86_64;ubi-8-baseos
Installing: perl-Scalar-List-Utils;3:1.49-2.el8;x86_64;ubi-8-baseos
Installing: perl-threads-shared;1.58-2.el8;x86_64;ubi-8-baseos
Installing: perl-threads;1:2.21-2.el8;x86_64;ubi-8-baseos
Installing: perl-PathTools;3.74-1.el8;x86_64;ubi-8-baseos
Installing: perl-IO;1.38-420.el8;x86_64;ubi-8-baseos
Installing: perl-File-Path;2.15-2.el8;noarch;ubi-8-baseos
Installing: perl-Text-Tabs+Wrap;2013.0523-395.el8;noarch;ubi-8-baseos
Installing: perl-Unicode-Normalize;1.25-396.el8;x86_64;ubi-8-baseos
Installing: perl-constant;1.33-396.el8;noarch;ubi-8-baseos
Installing: perl-interpreter;4:5.26.3-420.el8;x86_64;ubi-8-baseos
Installing: perl-Error;1:0.17025-2.el8;noarch;ubi-8-appstream
Installing: perl-TermReadKey;2.37-7.el8;x86_64;ubi-8-appstream
Installing: perl-Git;2.27.0-1.el8;noarch;ubi-8-appstream
Installing: git;2.27.0-1.el8;x86_64;ubi-8-appstream
Installing: vim-filesystem;2:8.0.1763-16.el8_5.12;noarch;ubi-8-appstream
Installing: cmake-data;3.20.2-4.el8;noarch;ubi-8-appstream
Installing: cmake;3.20.2-4.el8;x86_64;ubi-8-appstream
Installing: kernel-headers;4.18.0-348.20.1.el8_5;x86_64;ubi-8-baseos
Installing: glibc-headers;2.28-164.el8_5.3;x86_64;ubi-8-baseos
Installing: pkgconf-m4;1.4.2-1.el8;noarch;ubi-8-baseos
Installing: pkgconf-pkg-config;1.4.2-1.el8;x86_64;ubi-8-baseos
Installing: glibc-devel;2.28-164.el8_5.3;x86_64;ubi-8-baseos
Installing: libxcrypt-devel;4.1.1-6.el8;x86_64;ubi-8-baseos
Installing: gcc;8.5.0-4.el8_5;x86_64;ubi-8-appstream
Installing: gcc-c++;8.5.0-4.el8_5;x86_64;ubi-8-appstream
Installing: wget;1.19.5-10.el8;x86_64;ubi-8-appstream
Installing: patch;2.7.6-11.el8;x86_64;ubi-8-baseos
Installing: diffutils;3.6-6.el8;x86_64;ubi-8-baseos
Installing: unzip;6.0-45.el8_4;x86_64;ubi-8-baseos
Updating: glibc-minimal-langpack;2.28-164.el8_5.3;x86_64;ubi-8-baseos
Cleanup: libmount;2.32.1-27.el8;x86_64;installed
Cleanup: libstdc++;8.4.1-1.el8;x86_64;installed
Cleanup: libblkid;2.32.1-27.el8;x86_64;installed
Cleanup: libsmartcols;2.32.1-27.el8;x86_64;installed
Cleanup: libuuid;2.32.1-27.el8;x86_64;installed
Cleanup: ncurses-libs;6.1-7.20180224.el8;x86_64;installed
Cleanup: chkconfig;1.13-2.el8;x86_64;installed
Cleanup: libxcrypt;4.1.1-4.el8;x86_64;installed
Cleanup: ncurses-base;6.1-7.20180224.el8;noarch;installed
Cleanup: glibc-minimal-langpack;2.28-151.el8;x86_64;installed
Cleanup: glibc;2.28-151.el8;x86_64;installed
Cleanup: glibc-common;2.28-151.el8;x86_64;installed
Cleanup: libgcc;8.4.1-1.el8;x86_64;installed
Complete.
+ PACKAGE_URL=https://github.com/cockroachdb/cockroach-go
+ PACKAGE_VERSION=v2.2.8
+ PACKAGE_NAME=cockroach-go
++ cat /etc/os-release
++ grep '^PRETTY_NAME'
++ cut -d= -f2
+ OS_NAME='"Red Hat Enterprise Linux 8.4 (Ootpa)"'
+ GO_VERSION=1.16.1
+ GO_ARCH=amd64
+ command -v go
+ curl -O https://dl.google.com/go/go1.16.1.linux-amd64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  4  123M    4 6191k    0     0  12.2M      0  0:00:10 --:--:--  0:00:10 12.2M
 67  123M   67 83.5M    0     0  61.9M      0  0:00:01  0:00:01 --:--:-- 61.9M
 86  123M   86  106M    0     0  45.1M      0  0:00:02  0:00:02 --:--:-- 45.1M
100  123M  100  123M    0     0  39.5M      0  0:00:03  0:00:03 --:--:-- 39.5M
+ tar -C /usr/local -xzf go1.16.1.linux-amd64.tar.gz
+ export GOROOT=/usr/local/go
+ GOROOT=/usr/local/go
+ export GOPATH=/root/go
+ GOPATH=/root/go
+ export PATH=/usr/local/go/bin:/root/go/bin:/cockroach:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ PATH=/usr/local/go/bin:/root/go/bin:/cockroach:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export GO111MODULE=auto
+ GO111MODULE=auto
+ rm -f go1.16.1.linux-amd64.tar.gz
+ '[' -d cockroach-go ']'
+ git clone https://github.com/cockroachdb/cockroach-go
Cloning into 'cockroach-go'...
+ cd cockroach-go
+ git checkout v2.2.8
Note: switching to 'v2.2.8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at e1659d1 Merge pull request #126 from cockroachdb/retries
+ ret=0
+ '[' 0 -eq 0 ']'
+ echo '---------------------------v2.2.8 found to checkout--------------------- '
---------------------------v2.2.8 found to checkout--------------------- 
+ '[' '!' -f go.mod ']'
+ go mod tidy
go: downloading github.com/jmoiron/sqlx v1.3.1
go: downloading github.com/lib/pq v1.10.0
go: downloading gorm.io/gorm v1.21.4
go: downloading gorm.io/driver/postgres v1.0.8
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/jackc/pgx/v4 v4.10.1
go: downloading github.com/gofrs/flock v0.8.1
go: downloading github.com/go-sql-driver/mysql v1.5.0
go: downloading github.com/mattn/go-sqlite3 v1.14.6
go: downloading github.com/jinzhu/now v1.1.1
go: downloading golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf
go: downloading gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
go: downloading github.com/jackc/pgconn v1.8.0
go: downloading github.com/jackc/pgproto3 v1.1.0
go: downloading github.com/jackc/pgproto3/v2 v2.0.6
go: downloading github.com/jackc/puddle v1.1.3
go: downloading golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
go: downloading github.com/stretchr/testify v1.5.1
go: downloading github.com/jackc/pgio v1.0.0
go: downloading github.com/jackc/pgtype v1.6.2
go: downloading github.com/cockroachdb/apd v1.1.0
go: downloading github.com/gofrs/uuid v3.2.0+incompatible
go: downloading github.com/shopspring/decimal v1.2.0
go: downloading github.com/jinzhu/inflection v1.0.0
go: downloading github.com/kr/pretty v0.1.0
go: downloading github.com/jackc/chunkreader v1.0.0
go: downloading github.com/jackc/pgpassfile v1.0.0
go: downloading github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b
go: downloading golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
go: downloading github.com/jackc/chunkreader/v2 v2.0.1
go: downloading golang.org/x/text v0.3.5
go: downloading github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/kr/text v0.1.0
+ go build -v ./...
github.com/lib/pq/oid
golang.org/x/xerrors/internal
github.com/jackc/pgconn/internal/ctxwatch
github.com/lib/pq/scram
gorm.io/gorm/utils
gorm.io/gorm/clause
github.com/jinzhu/inflection
gorm.io/gorm/logger
github.com/lib/pq
github.com/jinzhu/now
github.com/jackc/chunkreader/v2
github.com/jackc/pgio
github.com/jackc/pgpassfile
gorm.io/gorm/schema
github.com/jackc/pgproto3/v2
github.com/jackc/pgservicefile
golang.org/x/crypto/pbkdf2
golang.org/x/text/internal/tag
golang.org/x/text/internal/language
golang.org/x/text/transform
gorm.io/gorm
golang.org/x/text/internal/language/compact
github.com/cockroachdb/cockroach-go/v2/crdb
golang.org/x/text/unicode/norm
golang.org/x/text/language
golang.org/x/text/runes
golang.org/x/text/unicode/bidi
golang.org/x/text/internal
golang.org/x/text/width
golang.org/x/text/secure/bidirule
golang.org/x/text/cases
golang.org/x/xerrors
github.com/jmoiron/sqlx/reflectx
github.com/cockroachdb/cockroach-go/v2/crdb/crdbgorm
github.com/pkg/errors
github.com/jackc/pgtype
github.com/jackc/pgx/v4/internal/sanitize
github.com/jmoiron/sqlx
github.com/cockroachdb/cockroach-go/v2/testserver/version
github.com/gofrs/flock
golang.org/x/text/secure/precis
github.com/cockroachdb/cockroach-go/v2/testserver
github.com/jackc/pgconn
github.com/cockroachdb/cockroach-go/v2/crdb/crdbsqlx
github.com/jackc/pgconn/stmtcache
github.com/jackc/pgx/v4
github.com/cockroachdb/cockroach-go/v2/crdb/crdbpgx
+ export COCKROACH_BINARY=/cockroach/cockroach
+ COCKROACH_BINARY=/cockroach/cockroach
+ /cockroach/cockroach --version
cockroach version details:
Build Tag:        v20.2.17
Build Time:       2021/10/11 17:17:07
Distribution:     CCL
Platform:         linux amd64 (x86_64-unknown-linux-gnu)
Go Version:       go1.13.14
C Compiler:       gcc 6.3.0
Build Commit ID:  ca0995de060c4a7ac34f146277397f8627ca32be
Build Type:       release
(use '/cockroach/cockroach version --build-tag' to display only the build tag)
+ go test -v ./...
=== RUN   TestMaxRetriesExceededError
--- PASS: TestMaxRetriesExceededError (0.00s)
=== RUN   TestExecuteTx
2022/04/19 09:39:11 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:11 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver083628483/listen-url
2022/04/19 09:39:11 process 1800 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver083628483/listen-url
--- PASS: TestExecuteTx (0.78s)
=== RUN   TestConfigureRetries
--- PASS: TestConfigureRetries (0.00s)
PASS
ok  	github.com/cockroachdb/cockroach-go/v2/crdb	0.793s
=== RUN   TestExecuteTx
2022/04/19 09:39:12 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:12 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver906659606/listen-url
2022/04/19 09:39:12 process 2034 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver906659606/listen-url

2022/04/19 09:39:12 �[31;1m/cockroachdb/cockroach-go/crdb/crdbgorm/gorm_test.go:97 �[35;1mERROR: restart transaction: TransactionRetryWithProtoRefreshError: WriteTooOldError: write at timestamp 1650361152.910427241,0 too old; wrote at 1650361152.911351345,1 (SQLSTATE 40001)
�[0m�[33m[5.162ms] �[34;1m[rows:0]�[0m UPDATE "accounts" SET "id"=1,"balance"=200 WHERE "id" = 1
--- PASS: TestExecuteTx (0.50s)
PASS
ok  	github.com/cockroachdb/cockroach-go/v2/crdb/crdbgorm	0.525s
=== RUN   TestExecuteTx
2022/04/19 09:39:12 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:12 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver292844239/listen-url
2022/04/19 09:39:12 process 2107 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver292844239/listen-url
--- PASS: TestExecuteTx (0.51s)
PASS
ok  	github.com/cockroachdb/cockroach-go/v2/crdb/crdbpgx	0.525s
=== RUN   TestExecuteTx
2022/04/19 09:39:12 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:12 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver436843308/listen-url
2022/04/19 09:39:12 process 2091 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver436843308/listen-url
--- PASS: TestExecuteTx (0.48s)
PASS
ok  	github.com/cockroachdb/cockroach-go/v2/crdb/crdbsqlx	0.496s
=== RUN   TestRunServer
=== RUN   TestRunServer/Insecure
2022/04/19 09:39:13 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:13 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver373808117/listen-url
2022/04/19 09:39:13 process 2149 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver373808117/listen-url
=== RUN   TestRunServer/InsecureWithCustomizedMemSize
2022/04/19 09:39:13 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:13 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver373808117/listen-url exited with status -1: signal: killed
2022/04/19 09:39:13 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:13 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.30 --listening-url-file=/tmp/cockroach-testserver057682128/listen-url
2022/04/19 09:39:13 process 2177 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.30 --listening-url-file=/tmp/cockroach-testserver057682128/listen-url
=== RUN   TestRunServer/SecureClientCert
2022/04/19 09:39:13 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:13 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver033112559/certs --ca-key=/tmp/cockroach-testserver033112559/certs/ca.key
2022/04/19 09:39:13 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.30 --listening-url-file=/tmp/cockroach-testserver057682128/listen-url exited with status -1: signal: killed
2022/04/19 09:39:13 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:13 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver033112559/certs --ca-key=/tmp/cockroach-testserver033112559/certs/ca.key
2022/04/19 09:39:14 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver033112559/certs --ca-key=/tmp/cockroach-testserver033112559/certs/ca.key
2022/04/19 09:39:14 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver033112559/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver033112559/listen-url
2022/04/19 09:39:14 process 2242 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver033112559/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver033112559/listen-url
=== RUN   TestRunServer/SecurePassword
2022/04/19 09:39:14 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:14 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver423899266/certs --ca-key=/tmp/cockroach-testserver423899266/certs/ca.key
2022/04/19 09:39:14 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver033112559/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver033112559/listen-url exited with status -1: signal: killed
2022/04/19 09:39:14 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:14 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver423899266/certs --ca-key=/tmp/cockroach-testserver423899266/certs/ca.key
2022/04/19 09:39:15 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver423899266/certs --ca-key=/tmp/cockroach-testserver423899266/certs/ca.key
2022/04/19 09:39:15 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver423899266/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver423899266/listen-url
2022/04/19 09:39:15 process 2308 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver423899266/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver423899266/listen-url
=== RUN   TestRunServer/InsecureTenantStoreOnDisk
2022/04/19 09:39:16 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:16 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver423899266/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver423899266/listen-url exited with status -1: signal: killed
2022/04/19 09:39:16 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:16 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver035888633 --listening-url-file=/tmp/cockroach-testserver035888633/listen-url
2022/04/19 09:39:16 process 2335 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver035888633 --listening-url-file=/tmp/cockroach-testserver035888633/listen-url
=== RUN   TestRunServer/SecureTenantStoreOnDisk
2022/04/19 09:39:16 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:16 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver049163012/certs --ca-key=/tmp/cockroach-testserver049163012/certs/ca.key
2022/04/19 09:39:16 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver035888633 --listening-url-file=/tmp/cockroach-testserver035888633/listen-url exited with status -1: signal: killed
2022/04/19 09:39:16 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:16 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver049163012/certs --ca-key=/tmp/cockroach-testserver049163012/certs/ca.key
2022/04/19 09:39:17 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver049163012/certs --ca-key=/tmp/cockroach-testserver049163012/certs/ca.key
2022/04/19 09:39:17 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver049163012/certs --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver049163012 --listening-url-file=/tmp/cockroach-testserver049163012/listen-url
2022/04/19 09:39:17 process 2402 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver049163012/certs --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver049163012 --listening-url-file=/tmp/cockroach-testserver049163012/listen-url
=== RUN   TestRunServer/InsecureTenant
2022/04/19 09:39:17 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:17 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver049163012/certs --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver049163012 --listening-url-file=/tmp/cockroach-testserver049163012/listen-url exited with status -1: signal: killed
2022/04/19 09:39:17 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:17 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver899063443/listen-url
2022/04/19 09:39:17 process 2431 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver899063443/listen-url
2022/04/19 09:39:18 cockroach-go tenantserver executing: /cockroach/cockroach mt start-proxy --listen-addr localhost:40441 --routing-rule localhost:39895 --listen-cert /tmp/cockroach-testserver899063443/certs/node.crt --listen-key /tmp/cockroach-testserver899063443/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:18 cockroach-go tenantserver: process 2445 started: mt start-proxy --listen-addr localhost:40441 --routing-rule localhost:39895 --listen-cert /tmp/cockroach-testserver899063443/certs/node.crt --listen-key /tmp/cockroach-testserver899063443/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:18 executing: /cockroach/cockroach mt start-sql --insecure --logtostderr --tenant-id=2 --kv-addrs=localhost:39485 --sql-addr=localhost:39895 --http-addr=:0
2022/04/19 09:39:18 process 2446 started: /cockroach/cockroach mt start-sql --insecure --logtostderr --tenant-id=2 --kv-addrs=localhost:39485 --sql-addr=localhost:39895 --http-addr=:0
2022/04/19 09:39:18 cockroach-go testserver: WaitForInit: Trying again after error: dial tcp [::1]:39895: connect: connection refused
=== RUN   TestRunServer/SecureTenant
2022/04/19 09:39:18 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:18 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver165083862/certs --ca-key=/tmp/cockroach-testserver165083862/certs/ca.key
2022/04/19 09:39:18 cockroach-go testserver: command /cockroach/cockroach mt start-sql --insecure --logtostderr --tenant-id=2 --kv-addrs=localhost:39485 --sql-addr=localhost:39895 --http-addr=:0 exited with status -1: signal: killed
2022/04/19 09:39:18 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:18 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver899063443/listen-url exited with status -1: signal: killed
2022/04/19 09:39:18 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:18 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver165083862/certs --ca-key=/tmp/cockroach-testserver165083862/certs/ca.key
2022/04/19 09:39:19 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver165083862/certs --ca-key=/tmp/cockroach-testserver165083862/certs/ca.key
2022/04/19 09:39:19 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver165083862/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver165083862/listen-url
2022/04/19 09:39:19 process 2530 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver165083862/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver165083862/listen-url
2022/04/19 09:39:19 cockroach-go tenantserver executing: /cockroach/cockroach mt cert create-tenant-client 2 --certs-dir=/tmp/cockroach-testserver165083862/certs --ca-key=/tmp/cockroach-testserver165083862/certs/ca.key
2022/04/19 09:39:19 cockroach-go tenantserver executing: /cockroach/cockroach mt start-proxy --listen-addr localhost:33415 --routing-rule localhost:37203 --listen-cert /tmp/cockroach-testserver165083862/certs/node.crt --listen-key /tmp/cockroach-testserver165083862/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:19 cockroach-go tenantserver: process 2557 started: mt start-proxy --listen-addr localhost:33415 --routing-rule localhost:37203 --listen-cert /tmp/cockroach-testserver165083862/certs/node.crt --listen-key /tmp/cockroach-testserver165083862/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:19 executing: /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver165083862/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:37401 --sql-addr=localhost:37203 --http-addr=:0
2022/04/19 09:39:19 process 2558 started: /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver165083862/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:37401 --sql-addr=localhost:37203 --http-addr=:0
2022/04/19 09:39:19 cockroach-go testserver: WaitForInit: Trying again after error: dial tcp [::1]:37203: connect: connection refused
=== RUN   TestRunServer/SecureTenantCustomPassword
2022/04/19 09:39:20 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:20 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver725203517/certs --ca-key=/tmp/cockroach-testserver725203517/certs/ca.key
2022/04/19 09:39:20 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver165083862/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver165083862/listen-url exited with status -1: signal: killed
2022/04/19 09:39:20 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:20 cockroach-go testserver: command /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver165083862/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:37401 --sql-addr=localhost:37203 --http-addr=:0 exited with status -1: signal: killed
2022/04/19 09:39:20 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:20 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver725203517/certs --ca-key=/tmp/cockroach-testserver725203517/certs/ca.key
2022/04/19 09:39:20 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver725203517/certs --ca-key=/tmp/cockroach-testserver725203517/certs/ca.key
2022/04/19 09:39:20 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver725203517/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver725203517/listen-url
2022/04/19 09:39:20 process 2638 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver725203517/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver725203517/listen-url
2022/04/19 09:39:21 cockroach-go tenantserver executing: /cockroach/cockroach mt cert create-tenant-client 2 --certs-dir=/tmp/cockroach-testserver725203517/certs --ca-key=/tmp/cockroach-testserver725203517/certs/ca.key
2022/04/19 09:39:21 cockroach-go tenantserver executing: /cockroach/cockroach mt start-proxy --listen-addr localhost:45981 --routing-rule localhost:44847 --listen-cert /tmp/cockroach-testserver725203517/certs/node.crt --listen-key /tmp/cockroach-testserver725203517/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:21 cockroach-go tenantserver: process 2666 started: mt start-proxy --listen-addr localhost:45981 --routing-rule localhost:44847 --listen-cert /tmp/cockroach-testserver725203517/certs/node.crt --listen-key /tmp/cockroach-testserver725203517/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:21 executing: /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver725203517/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:38371 --sql-addr=localhost:44847 --http-addr=:0
2022/04/19 09:39:21 process 2667 started: /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver725203517/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:38371 --sql-addr=localhost:44847 --http-addr=:0
2022/04/19 09:39:21 cockroach-go testserver: WaitForInit: Trying again after error: dial tcp [::1]:44847: connect: connection refused
2022/04/19 09:39:21 cockroach-go testserver: WaitForInit: Trying again after error: dial tcp [::1]:44847: connect: connection refused
=== RUN   TestRunServer/InsecureNonStable
2022/04/19 09:39:22 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:22 cockroach-go testserver: command /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver725203517/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:38371 --sql-addr=localhost:44847 --http-addr=:0 exited with status -1: signal: killed
2022/04/19 09:39:22 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:22 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver725203517/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver725203517/listen-url exited with status -1: signal: killed
2022/04/19 09:39:22 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:22 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver659628664/listen-url
2022/04/19 09:39:22 process 2707 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver659628664/listen-url
=== RUN   TestRunServer/InsecureWithCustomizedMemSizeNonStable
2022/04/19 09:39:22 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:22 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver659628664/listen-url exited with status -1: signal: killed
2022/04/19 09:39:22 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:22 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.30 --listening-url-file=/tmp/cockroach-testserver350333303/listen-url
2022/04/19 09:39:22 process 2735 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.30 --listening-url-file=/tmp/cockroach-testserver350333303/listen-url
=== RUN   TestRunServer/SecureClientCertNonStable
2022/04/19 09:39:22 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:22 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver168935018/certs --ca-key=/tmp/cockroach-testserver168935018/certs/ca.key
2022/04/19 09:39:22 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.30 --listening-url-file=/tmp/cockroach-testserver350333303/listen-url exited with status -1: signal: killed
2022/04/19 09:39:22 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:23 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver168935018/certs --ca-key=/tmp/cockroach-testserver168935018/certs/ca.key
2022/04/19 09:39:23 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver168935018/certs --ca-key=/tmp/cockroach-testserver168935018/certs/ca.key
2022/04/19 09:39:23 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver168935018/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver168935018/listen-url
2022/04/19 09:39:23 process 2803 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver168935018/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver168935018/listen-url
=== RUN   TestRunServer/SecurePasswordNonStable
2022/04/19 09:39:23 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:23 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver770904257/certs --ca-key=/tmp/cockroach-testserver770904257/certs/ca.key
2022/04/19 09:39:23 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver168935018/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver168935018/listen-url exited with status -1: signal: killed
2022/04/19 09:39:23 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:24 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver770904257/certs --ca-key=/tmp/cockroach-testserver770904257/certs/ca.key
2022/04/19 09:39:24 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver770904257/certs --ca-key=/tmp/cockroach-testserver770904257/certs/ca.key
2022/04/19 09:39:25 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver770904257/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver770904257/listen-url
2022/04/19 09:39:25 process 2871 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver770904257/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver770904257/listen-url
=== RUN   TestRunServer/InsecureTenantStoreOnDiskNonStable
2022/04/19 09:39:25 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:25 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver770904257/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver770904257/listen-url exited with status -1: signal: killed
2022/04/19 09:39:25 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:25 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver057631020 --listening-url-file=/tmp/cockroach-testserver057631020/listen-url
2022/04/19 09:39:25 process 2898 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver057631020 --listening-url-file=/tmp/cockroach-testserver057631020/listen-url
=== RUN   TestRunServer/SecureTenantStoreOnDiskNonStable
2022/04/19 09:39:26 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:26 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver566947483/certs --ca-key=/tmp/cockroach-testserver566947483/certs/ca.key
2022/04/19 09:39:26 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver057631020 --listening-url-file=/tmp/cockroach-testserver057631020/listen-url exited with status -1: signal: killed
2022/04/19 09:39:26 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:26 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver566947483/certs --ca-key=/tmp/cockroach-testserver566947483/certs/ca.key
2022/04/19 09:39:26 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver566947483/certs --ca-key=/tmp/cockroach-testserver566947483/certs/ca.key
2022/04/19 09:39:26 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver566947483/certs --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver566947483 --listening-url-file=/tmp/cockroach-testserver566947483/listen-url
2022/04/19 09:39:26 process 2965 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver566947483/certs --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver566947483 --listening-url-file=/tmp/cockroach-testserver566947483/listen-url
=== RUN   TestRunServer/SecureTenantThroughProxyNonStable
2022/04/19 09:39:27 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:27 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver468833086/certs --ca-key=/tmp/cockroach-testserver468833086/certs/ca.key
2022/04/19 09:39:27 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver566947483/certs --host=localhost --port=0 --http-port=0 --store=path=/tmp/cockroach-testserver566947483 --listening-url-file=/tmp/cockroach-testserver566947483/listen-url exited with status -1: signal: killed
2022/04/19 09:39:27 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:27 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver468833086/certs --ca-key=/tmp/cockroach-testserver468833086/certs/ca.key
2022/04/19 09:39:28 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver468833086/certs --ca-key=/tmp/cockroach-testserver468833086/certs/ca.key
2022/04/19 09:39:28 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver468833086/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver468833086/listen-url
2022/04/19 09:39:28 process 3032 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver468833086/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver468833086/listen-url
2022/04/19 09:39:28 cockroach-go tenantserver executing: /cockroach/cockroach mt cert create-tenant-client 2 --certs-dir=/tmp/cockroach-testserver468833086/certs --ca-key=/tmp/cockroach-testserver468833086/certs/ca.key
2022/04/19 09:39:29 cockroach-go tenantserver executing: /cockroach/cockroach mt start-proxy --listen-addr localhost:41495 --routing-rule localhost:44121 --listen-cert /tmp/cockroach-testserver468833086/certs/node.crt --listen-key /tmp/cockroach-testserver468833086/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:29 cockroach-go tenantserver: process 3060 started: mt start-proxy --listen-addr localhost:41495 --routing-rule localhost:44121 --listen-cert /tmp/cockroach-testserver468833086/certs/node.crt --listen-key /tmp/cockroach-testserver468833086/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:29 executing: /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver468833086/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:44903 --sql-addr=localhost:44121 --http-addr=:0
2022/04/19 09:39:29 process 3061 started: /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver468833086/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:44903 --sql-addr=localhost:44121 --http-addr=:0
2022/04/19 09:39:29 cockroach-go testserver: WaitForInit: Trying again after error: dial tcp [::1]:44121: connect: connection refused
2022/04/19 09:39:29 cockroach-go testserver: WaitForInit: Trying again after error: dial tcp [::1]:44121: connect: connection refused
    testserver_test.go:185: dial tcp [::1]:41495: connect: connection refused
=== RUN   TestRunServer/SecureTenantThroughProxyCustomPasswordNonStable
2022/04/19 09:39:29 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:29 cockroach-go testserver executing: /cockroach/cockroach cert create-ca --certs-dir=/tmp/cockroach-testserver733597061/certs --ca-key=/tmp/cockroach-testserver733597061/certs/ca.key
2022/04/19 09:39:29 cockroach-go testserver: command /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver468833086/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:44903 --sql-addr=localhost:44121 --http-addr=:0 exited with status -1: signal: killed
2022/04/19 09:39:29 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:29 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver468833086/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver468833086/listen-url exited with status -1: signal: killed
2022/04/19 09:39:29 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:29 cockroach-go testserver executing: /cockroach/cockroach cert create-node localhost --certs-dir=/tmp/cockroach-testserver733597061/certs --ca-key=/tmp/cockroach-testserver733597061/certs/ca.key
2022/04/19 09:39:29 cockroach-go testserver executing: /cockroach/cockroach cert create-client root --also-generate-pkcs8-key --certs-dir=/tmp/cockroach-testserver733597061/certs --ca-key=/tmp/cockroach-testserver733597061/certs/ca.key
2022/04/19 09:39:30 executing: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver733597061/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver733597061/listen-url
2022/04/19 09:39:30 process 3142 started: /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver733597061/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver733597061/listen-url
2022/04/19 09:39:30 cockroach-go tenantserver executing: /cockroach/cockroach mt cert create-tenant-client 2 --certs-dir=/tmp/cockroach-testserver733597061/certs --ca-key=/tmp/cockroach-testserver733597061/certs/ca.key
2022/04/19 09:39:30 cockroach-go tenantserver executing: /cockroach/cockroach mt start-proxy --listen-addr localhost:38613 --routing-rule localhost:34125 --listen-cert /tmp/cockroach-testserver733597061/certs/node.crt --listen-key /tmp/cockroach-testserver733597061/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:30 cockroach-go tenantserver: process 3169 started: mt start-proxy --listen-addr localhost:38613 --routing-rule localhost:34125 --listen-cert /tmp/cockroach-testserver733597061/certs/node.crt --listen-key /tmp/cockroach-testserver733597061/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:30 executing: /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver733597061/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:44147 --sql-addr=localhost:34125 --http-addr=:0
2022/04/19 09:39:30 process 3170 started: /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver733597061/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:44147 --sql-addr=localhost:34125 --http-addr=:0
2022/04/19 09:39:30 cockroach-go testserver: WaitForInit: Trying again after error: dial tcp [::1]:34125: connect: connection refused
    testserver_test.go:185: dial tcp [::1]:38613: connect: connection refused
--- FAIL: TestRunServer (18.07s)
    --- PASS: TestRunServer/Insecure (0.27s)
    --- PASS: TestRunServer/InsecureWithCustomizedMemSize (0.27s)
    --- PASS: TestRunServer/SecureClientCert (1.12s)
    --- PASS: TestRunServer/SecurePassword (1.37s)
    --- PASS: TestRunServer/InsecureTenantStoreOnDisk (0.43s)
    --- PASS: TestRunServer/SecureTenantStoreOnDisk (1.32s)
    --- PASS: TestRunServer/InsecureTenant (0.56s)
    --- PASS: TestRunServer/SecureTenant (1.62s)
    --- PASS: TestRunServer/SecureTenantCustomPassword (2.21s)
    --- PASS: TestRunServer/InsecureNonStable (0.24s)
    --- PASS: TestRunServer/InsecureWithCustomizedMemSizeNonStable (0.23s)
    --- PASS: TestRunServer/SecureClientCertNonStable (1.16s)
    --- PASS: TestRunServer/SecurePasswordNonStable (1.59s)
    --- PASS: TestRunServer/InsecureTenantStoreOnDiskNonStable (0.60s)
    --- PASS: TestRunServer/SecureTenantStoreOnDiskNonStable (1.21s)
    --- FAIL: TestRunServer/SecureTenantThroughProxyNonStable (2.13s)
    --- FAIL: TestRunServer/SecureTenantThroughProxyCustomPasswordNonStable (1.73s)
=== RUN   TestPGURLWhitespace
2022/04/19 09:39:31 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:31 cockroach-go testserver: command /cockroach/cockroach mt start-sql --certs-dir=/tmp/cockroach-testserver733597061/certs --logtostderr --tenant-id=2 --kv-addrs=localhost:44147 --sql-addr=localhost:34125 --http-addr=:0 exited with status -1: signal: killed
2022/04/19 09:39:31 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:31 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --certs-dir=/tmp/cockroach-testserver733597061/certs --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver733597061/listen-url exited with status -1: signal: killed
2022/04/19 09:39:31 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:31 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver768875296/listen-url
2022/04/19 09:39:31 process 3211 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver768875296/listen-url
--- PASS: TestPGURLWhitespace (0.24s)
=== RUN   TestTenant
2022/04/19 09:39:31 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:39:31 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver645617151/listen-url
2022/04/19 09:39:31 process 3239 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver645617151/listen-url
2022/04/19 09:39:31 cockroach-go tenantserver executing: /cockroach/cockroach mt start-proxy --listen-addr localhost:33673 --routing-rule localhost:42929 --listen-cert /tmp/cockroach-testserver645617151/certs/node.crt --listen-key /tmp/cockroach-testserver645617151/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:31 cockroach-go tenantserver: process 3253 started: mt start-proxy --listen-addr localhost:33673 --routing-rule localhost:42929 --listen-cert /tmp/cockroach-testserver645617151/certs/node.crt --listen-key /tmp/cockroach-testserver645617151/certs/node.key --listen-metrics=:0 --skip-verify
2022/04/19 09:39:31 executing: /cockroach/cockroach mt start-sql --insecure --logtostderr --tenant-id=2 --kv-addrs=localhost:43113 --sql-addr=localhost:42929 --http-addr=:0
2022/04/19 09:39:31 process 3254 started: /cockroach/cockroach mt start-sql --insecure --logtostderr --tenant-id=2 --kv-addrs=localhost:43113 --sql-addr=localhost:42929 --http-addr=:0
2022/04/19 09:39:31 cockroach-go testserver: WaitForInit: Trying again after error: dial tcp [::1]:42929: connect: connection refused
2022/04/19 09:39:31 cockroach-go testserver: WaitForInit: Trying again after error: dial tcp [::1]:42929: connect: connection refused
--- PASS: TestTenant (0.51s)
=== RUN   TestFlockOnDownloadedCRDB
=== RUN   TestFlockOnDownloadedCRDB/DownloadPassed
2022/04/19 09:39:31 cockroach-go testserver: command /cockroach/cockroach mt start-sql --insecure --logtostderr --tenant-id=2 --kv-addrs=localhost:43113 --sql-addr=localhost:42929 --http-addr=:0 exited with status -1: signal: killed
2022/04/19 09:39:31 cockroach-go testserver process state: signal: killed
2022/04/19 09:39:31 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver645617151/listen-url exited with status -1: signal: killed
2022/04/19 09:39:31 cockroach-go testserver process state: signal: killed
    testserver_test.go:322: invalid character '<' looking for beginning of value
=== RUN   TestFlockOnDownloadedCRDB/DownloadKilled
2022/04/19 09:40:13 GET https://binaries.cockroachdb.com/cockroach-v21.2.9.linux-amd64.tgz
2022/04/19 09:40:14 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:40:14 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver135040338/listen-url
2022/04/19 09:40:14 process 3298 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver135040338/listen-url
2022/04/19 09:40:14 Using custom cockroach binary: /cockroach/cockroach
2022/04/19 09:40:14 cockroach-go testserver: command /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver135040338/listen-url exited with status -1: signal: killed
2022/04/19 09:40:14 cockroach-go testserver process state: signal: killed
2022/04/19 09:40:14 executing: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver127612041/listen-url
2022/04/19 09:40:14 process 3326 started: /cockroach/cockroach start-single-node --logtostderr --insecure --host=localhost --port=0 --http-port=0 --store=type=mem,size=0.20 --listening-url-file=/tmp/cockroach-testserver127612041/listen-url
--- FAIL: TestFlockOnDownloadedCRDB (42.64s)
    --- FAIL: TestFlockOnDownloadedCRDB/DownloadPassed (10.09s)
    --- PASS: TestFlockOnDownloadedCRDB/DownloadKilled (32.55s)
FAIL
FAIL	github.com/cockroachdb/cockroach-go/v2/testserver	61.465s
?   	github.com/cockroachdb/cockroach-go/v2/testserver/version	[no test files]
FAIL
+ echo '------------------cockroach-go: test failed-------------------------'
------------------cockroach-go: test failed-------------------------
+ exit 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant