cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.07k stars 3.8k forks source link

internal/rsg: (unknown) failed under stress #22292

Closed cockroach-teamcity closed 6 years ago

cockroach-teamcity commented 6 years ago

SHA: https://github.com/cockroachdb/cockroach/commits/b9416fc1db1f87ef8871c75980efcdb1e249474b

Parameters:

TAGS=
GOFLAGS=

Stress build found a failed test: https://teamcity.cockroachdb.com/viewLog.html?buildId=501622&tab=buildLog

GOPATH set to /go
Running make with -j8
git submodule update --init
mkdir -p ./pkg/sql/parser/gen
awk -f ./pkg/sql/parser/help.awk < pkg/sql/parser/sql.y > pkg/sql/parser/help_messages.go.tmp || rm pkg/sql/parser/help_messages.go.tmp
awk -f ./pkg/sql/parser/all_keywords.awk < pkg/sql/parser/sql.y > pkg/sql/lex/keywords.go.tmp || rm pkg/sql/lex/keywords.go.tmp
awk -f ./pkg/sql/parser/reserved_keywords.awk < pkg/sql/parser/sql.y > pkg/sql/lex/reserved_keywords.go.tmp || rm pkg/sql/lex/reserved_keywords.go.tmp
set -euo pipefail; \
TYPES=$(awk '/func.*sqlSymUnion/ {print $(NF - 1)}' ./pkg/sql/parser/sql.y | sed -e 's/[]\/$*.^|[]/\\&/g' | tr '\n' '|' | sed -E '$s/.$//'); \
sed -E "s_(type|token) <($TYPES)>_\1 <union> /* <\2> */_" < ./pkg/sql/parser/sql.y | \
awk -f ./pkg/sql/parser/replace_help_rules.awk > pkg/sql/parser/gen/sql.y
go run pkg/cmd/docgen/{main,diagrams}.go grammar bnf docs/generated/sql/bnf --quiet
mv -f pkg/sql/parser/help_messages.go.tmp pkg/sql/parser/help_messages.go
mv -f pkg/sql/lex/keywords.go.tmp pkg/sql/lex/keywords.go
mv -f pkg/sql/lex/reserved_keywords.go.tmp pkg/sql/lex/reserved_keywords.go
gofmt -s -w pkg/sql/parser/help_messages.go
gofmt -s -w pkg/sql/lex/keywords.go
gofmt -s -w pkg/sql/lex/reserved_keywords.go
mv -f pkg/sql/parser/helpmap_test.go.tmp pkg/sql/parser/helpmap_test.go
gofmt -s -w pkg/sql/parser/helpmap_test.go
mkdir -p bin
touch bin/.submodules-initialized
cd /go/src/github.com/cockroachdb/cockroach/c-deps/jemalloc && autoconf
rm -rf /go/native/x86_64-pc-linux-gnu/snappy
rm -rf /go/native/x86_64-pc-linux-gnu/cryptopp
rm -rf /go/native/x86_64-pc-linux-gnu/libroach
mkdir -p /go/native/x86_64-pc-linux-gnu/cryptopp
mkdir -p /go/native/x86_64-pc-linux-gnu/libroach
mkdir -p /go/native/x86_64-pc-linux-gnu/snappy
cd /go/native/x86_64-pc-linux-gnu/cryptopp && cmake  /go/src/github.com/cockroachdb/cockroach/c-deps/cryptopp
cd /go/native/x86_64-pc-linux-gnu/libroach && cmake  /go/src/github.com/cockroachdb/cockroach/c-deps/libroach -DCMAKE_BUILD_TYPE=Release \
    -DPROTOBUF_LIB=/go/native/x86_64-pc-linux-gnu/protobuf/libprotobuf.a -DROCKSDB_LIB=/go/native/x86_64-pc-linux-gnu/rocksdb/librocksdb.a \
    -DJEMALLOC_LIB=/go/native/x86_64-pc-linux-gnu/jemalloc/lib/libjemalloc.a -DSNAPPY_LIB=/go/native/x86_64-pc-linux-gnu/snappy/libsnappy.a \
    -DCRYPTOPP_LIB=/go/native/x86_64-pc-linux-gnu/cryptopp/libcryptopp.a
cd /go/native/x86_64-pc-linux-gnu/snappy && cmake  /go/src/github.com/cockroachdb/cockroach/c-deps/snappy
-- The C compiler identification is Clang 3.8.0
-- The C compiler identification is Clang 3.8.0
github.com/cockroachdb/cockroach/pkg/cmd/returncheck
-- The C compiler identification is Clang 3.8.0
-- The CXX compiler identification is Clang 3.8.0
-- Check for working C compiler: /usr/bin/cc
github.com/cockroachdb/cockroach/pkg/cmd/protoc-gen-gogoroach
-- The CXX compiler identification is Clang 3.8.0
-- Check for working C compiler: /usr/bin/cc
-- The CXX compiler identification is Clang 3.8.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
[  1%] Generating /go/src/github.com/cockroachdb/cockroach/c-deps/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc
-- Detecting C compiler ABI info - done
-- Detecting C compiler ABI info - done
-- Detecting C compile features
rm -rf /go/native/x86_64-pc-linux-gnu/jemalloc
mkdir -p /go/native/x86_64-pc-linux-gnu/jemalloc
-- Detecting C compile features
-- Detecting C compiler ABI info - done
-- Detecting C compile features
cd /go/native/x86_64-pc-linux-gnu/jemalloc && /go/src/github.com/cockroachdb/cockroach/c-deps/jemalloc/configure  --enable-prof
Scanning dependencies of target libprotoc
[  2%] Building CXX object CMakeFiles/libprotoc.dir/go/src/github.com/cockroachdb/cockroach/c-deps/protobuf/src/google/protobuf/compiler/js/well_known_types_embed.cc.o
[  3%] Linking CXX static library libprotoc.a
github.com/cockroachdb/cockroach/vendor/github.com/golang/dep/cmd/dep
github.com/cockroachdb/cockroach/vendor/github.com/client9/misspell/cmd/misspell
github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/crlfmt
github.com/cockroachdb/cockroach/vendor/github.com/cockroachdb/stress
github.com/cockroachdb/cockroach/vendor/github.com/golang/lint/golint
github.com/cockroachdb/cockroach/vendor/github.com/google/pprof
github.com/cockroachdb/cockroach/vendor/github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
github.com/cockroachdb/cockroach/vendor/github.com/jteeuwen/go-bindata/go-bindata
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
checking for xsltproc... false
checking for gcc... no
-- Detecting C compile features - done
checking for cc... cc
-- Check for working CXX compiler: /usr/bin/c++
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
[  4%] Linking CXX executable protoc
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
checking whether the C compiler works... github.com/cockroachdb/cockroach/vendor/github.com/kisielk/errcheck
github.com/cockroachdb/cockroach/vendor/github.com/mattn/goveralls
github.com/cockroachdb/cockroach/vendor/github.com/mibk/dupl
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... -- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
github.com/cockroachdb/cockroach/vendor/github.com/wadey/gocovmerge
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
github.com/cockroachdb/cockroach/vendor/golang.org/x/perf/cmd/benchstat
no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... github.com/cockroachdb/cockroach/vendor/golang.org/x/tools/cmd/goimports
yes
checking whether cc accepts -g... github.com/cockroachdb/cockroach/vendor/golang.org/x/tools/cmd/goyacc
yes
checking for cc option to accept ISO C89... github.com/cockroachdb/cockroach/vendor/golang.org/x/tools/cmd/stringer
github.com/cockroachdb/cockroach/pkg/sql/opt/optgen/cmd/langgen
none needed
checking whether compiler is cray... github.com/cockroachdb/cockroach/pkg/sql/opt/optgen/cmd/optgen
no
checking whether compiler supports -std=gnu11... -- Detecting CXX compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
yes
checking whether compiler supports -Wall... yes
checking whether compiler supports -Werror=declaration-after-statement... yes
checking whether compiler supports -Wshorten-64-to-32... yes
-- Looking for sys/types.h - found
-- Looking for stdint.h
checking whether compiler supports -Wsign-compare... yes
checking whether compiler supports -pipe... -- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.12") 
-- Looking for pthread.h
-- Looking for stdint.h - found
-- Looking for stddef.h
yes
checking whether compiler supports -g3... yes
checking how to run the C preprocessor... touch bin/.bootstrap
set -euo pipefail; \
  ret=$(cd ./pkg/sql/parser/gen && goyacc -p sql -o sql.go.tmp sql.y); \
  if expr "$ret" : ".*conflicts" >/dev/null; then \
    echo "$ret"; exit 1; \
  fi
touch bin/.docgen_bnfs
-- Detecting CXX compile features - done
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
cc -E
-- Looking for sys/types.h - found
-- Looking for stdint.h
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... -- Check size of unsigned short - done
-- Using unsigned short
/bin/grep -E
checking for ANSI C header files... -- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
rm -rf /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos
rm -rf /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protosccl
find ./pkg -name node_modules -prune -o -type f -name '*.pb.go' -exec rm {} +
mkdir -p /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos
mkdir -p /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protosccl
build/werror.sh /go/native/x86_64-pc-linux-gnu/protobuf/protoc -I./pkg:./vendor/github.com/gogo/protobuf:./vendor/github.com/gogo/protobuf/protobuf --cpp_out=lite:/go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos ./pkg/roachpb/data.proto ./pkg/roachpb/internal.proto ./pkg/roachpb/metadata.proto ./pkg/storage/engine/enginepb/file_registry.proto ./pkg/storage/engine/enginepb/mvcc.proto ./pkg/storage/engine/enginepb/mvcc3.proto ./pkg/storage/engine/enginepb/rocksdb.proto ./pkg/util/hlc/legacy_timestamp.proto ./pkg/util/hlc/timestamp.proto ./pkg/util/unresolved_addr.proto
build/werror.sh /go/native/x86_64-pc-linux-gnu/protobuf/protoc -I./pkg:./vendor/github.com/gogo/protobuf:./vendor/github.com/gogo/protobuf/protobuf --cpp_out=lite:/go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protosccl ./pkg/ccl/baseccl/encryption_options.proto ./pkg/ccl/storageccl/engineccl/enginepbccl/key_registry.proto
set -e; for dir in ./pkg/acceptance/cluster/ ./pkg/build/ ./pkg/ccl/baseccl/ ./pkg/ccl/sqlccl/ ./pkg/ccl/storageccl/engineccl/enginepbccl/ ./pkg/ccl/utilccl/licenseccl/ ./pkg/config/ ./pkg/gossip/ ./pkg/internal/client/ ./pkg/roachpb/ ./pkg/rpc/ ./pkg/server/diagnosticspb/ ./pkg/server/serverpb/ ./pkg/server/status/ ./pkg/settings/cluster/ ./pkg/sql/distsqlrun/ ./pkg/sql/jobs/ ./pkg/sql/pgwire/pgerror/ ./pkg/sql/sqlbase/ ./pkg/sql/stats/ ./pkg/storage/ ./pkg/storage/engine/enginepb/ ./pkg/storage/storagebase/ ./pkg/ts/tspb/ ./pkg/util/ ./pkg/util/hlc/ ./pkg/util/log/ ./pkg/util/protoutil/ ./pkg/util/tracing/; do \
  build/werror.sh /go/native/x86_64-pc-linux-gnu/protobuf/protoc -I./pkg:./vendor/github.com/gogo/protobuf:./vendor/github.com/gogo/protobuf/protobuf:./vendor/github.com/coreos:./vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --plugin=bin/protoc-gen-gogoroach --gogoroach_out=Mgoogle/api/annotations.proto=github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/google/api,Mgoogle/protobuf/timestamp.proto=github.com/gogo/protobuf/types,,plugins=grpc,import_prefix=github.com/cockroachdb/cockroach/pkg/:./pkg $dir/*.proto; \
done
sed -i -E '/gogoproto/d' /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protosccl/ccl/baseccl/encryption_options.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protosccl/ccl/storageccl/engineccl/enginepbccl/key_registry.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protosccl/ccl/baseccl/encryption_options.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protosccl/ccl/storageccl/engineccl/enginepbccl/key_registry.pb.cc
-- Looking for stdint.h - found
-- Looking for stddef.h
touch bin/.cpp_ccl_protobuf_sources
find ./pkg -name node_modules -prune -o -type f -name '*.pb.gw.go' -exec rm {} +
-- Check if the system is big endian - little endian
-- Looking for byteswap.h
build/werror.sh /go/native/x86_64-pc-linux-gnu/protobuf/protoc -I./pkg:./vendor/github.com/gogo/protobuf:./vendor/github.com/gogo/protobuf/protobuf:./vendor/github.com/coreos:./vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --grpc-gateway_out=logtostderr=true,request_context=true:./pkg ./pkg/server/serverpb/admin.proto ./pkg/server/serverpb/status.proto ./pkg/server/serverpb/authentication.proto
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
-- Configuring done
CMake Error at CMakeLists.txt:24 (add_library):
  Cannot find source file:

    protos/roachpb/data.pb.cc

  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

CMake Error: Cannot determine link language for target "roach".
CMake Error: CMake can not determine linker language for target: roach
-- Generating done
-- Build files have been written to: /go/native/x86_64-pc-linux-gnu/libroach
Makefile:612: recipe for target '/go/native/x86_64-pc-linux-gnu/libroach/Makefile' failed
make: *** [/go/native/x86_64-pc-linux-gnu/libroach/Makefile] Error 1
make: *** Deleting file '/go/native/x86_64-pc-linux-gnu/libroach/Makefile'
make: *** Waiting for unfinished jobs....
sed -i -E '/gogoproto/d' /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/roachpb/data.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/roachpb/internal.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/roachpb/metadata.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/storage/engine/enginepb/file_registry.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/storage/engine/enginepb/mvcc.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/storage/engine/enginepb/mvcc3.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/storage/engine/enginepb/rocksdb.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/util/hlc/legacy_timestamp.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/util/hlc/timestamp.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/util/unresolved_addr.pb.h /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/roachpb/data.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/roachpb/internal.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/roachpb/metadata.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/storage/engine/enginepb/file_registry.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/storage/engine/enginepb/mvcc.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/storage/engine/enginepb/mvcc3.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/storage/engine/enginepb/rocksdb.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/util/hlc/legacy_timestamp.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/util/hlc/timestamp.pb.cc /go/src/github.com/cockroachdb/cockroach/c-deps/libroach/protos/util/unresolved_addr.pb.cc
yes
checking for sys/types.h... -- Looking for stddef.h - found
-- Check size of unsigned short
touch bin/.cpp_protobuf_sources
-- Looking for byteswap.h - found
-- Looking for sys/endian.h
yes
checking for sys/stat.h... -- Looking for sys/endian.h - not found
-- Looking for sys/mman.h
build/werror.sh /go/native/x86_64-pc-linux-gnu/protobuf/protoc -I./pkg:./vendor/github.com/gogo/protobuf:./vendor/github.com/gogo/protobuf/protobuf:./vendor/github.com/coreos:./vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis --grpc-gateway_out=logtostderr=true,request_context=true:./pkg ./pkg/ts/tspb/timeseries.proto
yes
checking for stdlib.h... -- Check size of unsigned short - done
-- Using unsigned short
sed -i -E 's!golang.org/x/net/context!context!g' ./pkg/server/serverpb/admin.pb.gw.go ./pkg/server/serverpb/status.pb.gw.go ./pkg/server/serverpb/authentication.pb.gw.go ./pkg/ts/tspb/timeseries.pb.gw.go
gofmt -s -w ./pkg/server/serverpb/admin.pb.gw.go ./pkg/server/serverpb/status.pb.gw.go ./pkg/server/serverpb/authentication.pb.gw.go ./pkg/ts/tspb/timeseries.pb.gw.go
yes
checking for string.h... goimports -w ./pkg/server/serverpb/admin.pb.gw.go ./pkg/server/serverpb/status.pb.gw.go ./pkg/server/serverpb/authentication.pb.gw.go ./pkg/ts/tspb/timeseries.pb.gw.go
-- Looking for sys/mman.h - found
-- Looking for sys/resource.h
yes
checking for memory.h... -- Check if the system is big endian - little endian
-- Performing Test COMPILER_OPT_ARCH_NATIVE_SUPPORTED
yes
checking for strings.h... touch bin/.gw_protobuf_sources
-- Looking for sys/resource.h - found
-- Looking for sys/time.h
yes
checking for inttypes.h... yes
checking for stdint.h... -- Performing Test COMPILER_OPT_ARCH_NATIVE_SUPPORTED - Success
-- Looking for pthread.h
-- Looking for sys/time.h - found
-- Looking for sys/uio.h
yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... -- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for sys/uio.h - found
-- Looking for unistd.h
no
checking size of void *... -- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for unistd.h - found
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for zlibVersion in z
8
checking size of int... -- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
4
checking size of long... -- Looking for zlibVersion in z - not found
-- Looking for lzo1x_1_15_compress in lzo2
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
8
checking size of long long... -- Compiler: 
-- Flags:  -march=native
-- Build type: RelWithDebInfo
-- 
-- The following OPTIONAL packages have been found:

 * Threads

-- Configuring done
-- Looking for lzo1x_1_15_compress in lzo2 - not found
-- Performing Test HAVE_BUILTIN_EXPECT
8
checking size of intmax_t... -- Generating done
-- Build files have been written to: /go/native/x86_64-pc-linux-gnu/cryptopp
8
checking build system type... -- Performing Test HAVE_BUILTIN_EXPECT - Success
-- Performing Test HAVE_BUILTIN_CTZ
x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether pause instruction is compilable... yes
checking for ar... ar
checking malloc.h usability... -- Performing Test HAVE_BUILTIN_CTZ - Success
-- Looking for mmap
yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking whether malloc_usable_size definition can use const argument... no
checking for library containing log... -- Looking for mmap - found
-- Looking for sysconf
-lm
checking whether __attribute__ syntax is compilable... -- Looking for sysconf - found
-- Configuring done
-- Generating done
-- Build files have been written to: /go/native/x86_64-pc-linux-gnu/snappy
yes
checking whether compiler supports -fvisibility=hidden... yes
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... no
checking whether tls_model attribute is compilable... yes
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... no
checking whether alloc_size attribute is compilable... no
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... no
checking whether format(gnu_printf, ...) attribute is compilable... no
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... no
checking whether format(printf, ...) attribute is compilable... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ld... /usr/bin/ld
checking for autoconf... /usr/bin/autoconf
checking for memalign... yes
checking for valloc... yes
checking whether compiler supports -O3... yes
checking whether compiler supports -funroll-loops... yes
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking for _Unwind_Backtrace in -lgcc... yes
checking configured backtracing method... libgcc
checking for sbrk... yes
checking whether utrace(2) is compilable... no
checking whether valgrind is compilable... no
checking whether a program using __builtin_unreachable is compilable... yes
checking whether a program using __builtin_ffsl is compilable... yes
checking LG_PAGE... 12
Missing VERSION file, and unable to generate it; creating bogus VERSION
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking whether pthread_atfork(3) is compilable... yes
checking for library containing clock_gettime... none required
checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable... yes
checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable... yes
checking whether mach_absolute_time() is compilable... no
checking whether compiler supports -Werror... yes
checking whether syscall(2) is compilable... yes
checking for secure_getenv... yes
checking for issetugid... no
checking for _malloc_thread_cleanup... no
checking for _pthread_mutex_init_calloc_cb... no
checking for TLS... yes
checking whether C11 atomics is compilable... yes
checking whether atomic(9) is compilable... no
checking whether Darwin OSAtomic*() is compilable... no
checking whether madvise(2) is compilable... yes
checking whether madvise(..., MADV_FREE) is compilable... no
checking whether madvise(..., MADV_DONTNEED) is compilable... yes
checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable... yes
checking whether to force 32-bit __sync_{add,sub}_and_fetch()... no
checking whether to force 64-bit __sync_{add,sub}_and_fetch()... no
checking for __builtin_clz... yes
checking whether Darwin os_unfair_lock_*() is compilable... no
checking whether Darwin OSSpin*() is compilable... no
checking whether glibc malloc hook is compilable... yes
checking whether glibc memalign hook is compilable... yes
checking whether pthreads adaptive mutexes is compilable... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating jemalloc.pc
config.status: creating doc/html.xsl
config.status: creating doc/manpages.xsl
config.status: creating doc/jemalloc.xml
config.status: creating include/jemalloc/jemalloc_macros.h
config.status: creating include/jemalloc/jemalloc_protos.h
config.status: creating include/jemalloc/jemalloc_typedefs.h
config.status: creating include/jemalloc/internal/jemalloc_internal.h
config.status: creating test/test.sh
config.status: creating test/include/test/jemalloc_test.h
config.status: creating config.stamp
config.status: creating bin/jemalloc-config
config.status: creating bin/jemalloc.sh
config.status: creating bin/jeprof
config.status: creating include/jemalloc/jemalloc_defs.h
config.status: creating include/jemalloc/internal/jemalloc_internal_defs.h
config.status: creating test/include/test/jemalloc_test_defs.h
config.status: executing include/jemalloc/internal/private_namespace.h commands
config.status: executing include/jemalloc/internal/private_unnamespace.h commands
config.status: executing include/jemalloc/internal/public_symbols.txt commands
config.status: executing include/jemalloc/internal/public_namespace.h commands
config.status: executing include/jemalloc/internal/public_unnamespace.h commands
config.status: executing include/jemalloc/internal/size_classes.h commands
sed -i '/import _/d' ./pkg/acceptance/cluster/testconfig.pb.go ./pkg/build/info.pb.go ./pkg/ccl/baseccl/encryption_options.pb.go ./pkg/ccl/sqlccl/backup.pb.go ./pkg/ccl/storageccl/engineccl/enginepbccl/key_registry.pb.go ./pkg/ccl/utilccl/licenseccl/license.pb.go ./pkg/config/system.pb.go ./pkg/config/zone.pb.go ./pkg/gossip/gossip.pb.go ./pkg/internal/client/lease.pb.go ./pkg/roachpb/api.pb.go ./pkg/roachpb/app_stats.pb.go ./pkg/roachpb/csv.pb.go ./pkg/roachpb/data.pb.go ./pkg/roachpb/errors.pb.go ./pkg/roachpb/internal.pb.go ./pkg/roachpb/internal_raft.pb.go ./pkg/roachpb/metadata.pb.go ./pkg/rpc/heartbeat.pb.go ./pkg/server/diagnosticspb/diagnostics.pb.go ./pkg/server/serverpb/admin.pb.go ./pkg/server/serverpb/authentication.pb.go ./pkg/server/serverpb/init.pb.go ./pkg/server/serverpb/status.pb.go ./pkg/server/status/status.pb.go ./pkg/settings/cluster/cluster_version.pb.go ./pkg/sql/distsqlrun/api.pb.go ./pkg/sql/distsqlrun/data.pb.go ./pkg/sql/distsqlrun/processors.pb.go ./pkg/sql/jobs/jobs.pb.go ./pkg/sql/pgwire/pgerror/errors.pb.go ./pkg/sql/sqlbase/encoded_datum.pb.go ./pkg/sql/sqlbase/privilege.pb.go ./pkg/sql/sqlbase/structured.pb.go ./pkg/sql/stats/histogram.pb.go ./pkg/storage/api.pb.go ./pkg/storage/engine/enginepb/file_registry.pb.go ./pkg/storage/engine/enginepb/mvcc.pb.go ./pkg/storage/engine/enginepb/mvcc3.pb.go ./pkg/storage/engine/enginepb/rocksdb.pb.go ./pkg/storage/lease_status.pb.go ./pkg/storage/liveness.pb.go ./pkg/storage/log.pb.go ./pkg/storage/raft.pb.go ./pkg/storage/storagebase/proposer_kv.pb.go ./pkg/storage/storagebase/state.pb.go ./pkg/ts/tspb/timeseries.pb.go ./pkg/util/hlc/legacy_timestamp.pb.go ./pkg/util/hlc/timestamp.pb.go ./pkg/util/log/log.pb.go ./pkg/util/protoutil/clone.pb.go ./pkg/util/tracing/recorded_span.pb.go ./pkg/util/unresolved_addr.pb.go
config.status: executing include/jemalloc/jemalloc_protos_jet.h commands
config.status: executing include/jemalloc/jemalloc_rename.h commands
config.status: executing include/jemalloc/jemalloc_mangle.h commands
config.status: executing include/jemalloc/jemalloc_mangle_jet.h commands
config.status: executing include/jemalloc/jemalloc.h commands
sed -i -E 's!import (fmt|math) "github.com/cockroachdb/cockroach/pkg/(fmt|math)"! !g' ./pkg/acceptance/cluster/testconfig.pb.go ./pkg/build/info.pb.go ./pkg/ccl/baseccl/encryption_options.pb.go ./pkg/ccl/sqlccl/backup.pb.go ./pkg/ccl/storageccl/engineccl/enginepbccl/key_registry.pb.go ./pkg/ccl/utilccl/licenseccl/license.pb.go ./pkg/config/system.pb.go ./pkg/config/zone.pb.go ./pkg/gossip/gossip.pb.go ./pkg/internal/client/lease.pb.go ./pkg/roachpb/api.pb.go ./pkg/roachpb/app_stats.pb.go ./pkg/roachpb/csv.pb.go ./pkg/roachpb/data.pb.go ./pkg/roachpb/errors.pb.go ./pkg/roachpb/internal.pb.go ./pkg/roachpb/internal_raft.pb.go ./pkg/roachpb/metadata.pb.go ./pkg/rpc/heartbeat.pb.go ./pkg/server/diagnosticspb/diagnostics.pb.go ./pkg/server/serverpb/admin.pb.go ./pkg/server/serverpb/authentication.pb.go ./pkg/server/serverpb/init.pb.go ./pkg/server/serverpb/status.pb.go ./pkg/server/status/status.pb.go ./pkg/settings/cluster/cluster_version.pb.go ./pkg/sql/distsqlrun/api.pb.go ./pkg/sql/distsqlrun/data.pb.go ./pkg/sql/distsqlrun/processors.pb.go ./pkg/sql/jobs/jobs.pb.go ./pkg/sql/pgwire/pgerror/errors.pb.go ./pkg/sql/sqlbase/encoded_datum.pb.go ./pkg/sql/sqlbase/privilege.pb.go ./pkg/sql/sqlbase/structured.pb.go ./pkg/sql/stats/histogram.pb.go ./pkg/storage/api.pb.go ./pkg/storage/engine/enginepb/file_registry.pb.go ./pkg/storage/engine/enginepb/mvcc.pb.go ./pkg/storage/engine/enginepb/mvcc3.pb.go ./pkg/storage/engine/enginepb/rocksdb.pb.go ./pkg/storage/lease_status.pb.go ./pkg/storage/liveness.pb.go ./pkg/storage/log.pb.go ./pkg/storage/raft.pb.go ./pkg/storage/storagebase/proposer_kv.pb.go ./pkg/storage/storagebase/state.pb.go ./pkg/ts/tspb/timeseries.pb.go ./pkg/util/hlc/legacy_timestamp.pb.go ./pkg/util/hlc/timestamp.pb.go ./pkg/util/log/log.pb.go ./pkg/util/protoutil/clone.pb.go ./pkg/util/tracing/recorded_span.pb.go ./pkg/util/unresolved_addr.pb.go
===============================================================================
jemalloc version   : 0.0.0-0-g0000000000000000000000000000000000000000
library revision   : 2

CONFIG             : --enable-prof
CC                 : cc
CONFIGURE_CFLAGS   : -std=gnu11 -Wall -Werror=declaration-after-statement -Wshorten-64-to-32 -Wsign-compare -pipe -g3 -fvisibility=hidden -O3 -funroll-loops
SPECIFIED_CFLAGS   : 
EXTRA_CFLAGS       : 
CPPFLAGS           : -D_GNU_SOURCE -D_REENTRANT
LDFLAGS            : 
EXTRA_LDFLAGS      : 
LIBS               : -lm  -lgcc -lm -lpthread
RPATH_EXTRA        : 

XSLTPROC           : false
XSLROOT            : 

PREFIX             : /usr/local
BINDIR             : /usr/local/bin
DATADIR            : /usr/local/share
INCLUDEDIR         : /usr/local/include
LIBDIR             : /usr/local/lib
MANDIR             : /usr/local/share/man

srcroot            : /go/src/github.com/cockroachdb/cockroach/c-deps/jemalloc/
abs_srcroot        : /go/src/github.com/cockroachdb/cockroach/c-deps/jemalloc/
objroot            : 
abs_objroot        : /go/native/x86_64-pc-linux-gnu/jemalloc/

JEMALLOC_PREFIX    : 
JEMALLOC_PRIVATE_NAMESPACE
                   : je_
install_suffix     : 
malloc_conf        : 
autogen            : 0
cc-silence         : 1
debug              : 0
code-coverage      : 0
stats              : 1
prof               : 1
prof-libunwind     : 0
prof-libgcc        : 1
prof-gcc           : 0
tcache             : 1
thp                : 1
fill               : 1
utrace             : 0
valgrind           : 0
xmalloc            : 0
munmap             : 0
lazy_lock          : 0
tls                : 1
cache-oblivious    : 1
===============================================================================
sed -i -E 's!cockroachdb/cockroach/pkg/(etcd)!coreos/\1!g' ./pkg/acceptance/cluster/testconfig.pb.go ./pkg/build/info.pb.go ./pkg/ccl/baseccl/encryption_options.pb.go ./pkg/ccl/sqlccl/backup.pb.go ./pkg/ccl/storageccl/engineccl/enginepbccl/key_registry.pb.go ./pkg/ccl/utilccl/licenseccl/license.pb.go ./pkg/config/system.pb.go ./pkg/config/zone.pb.go ./pkg/gossip/gossip.pb.go ./pkg/internal/client/lease.pb.go ./pkg/roachpb/api.pb.go ./pkg/roachpb/app_stats.pb.go ./pkg/roachpb/csv.pb.go ./pkg/roachpb/data.pb.go ./pkg/roachpb/errors.pb.go ./pkg/roachpb/internal.pb.go ./pkg/roachpb/internal_raft.pb.go ./pkg/roachpb/metadata.pb.go ./pkg/rpc/heartbeat.pb.go ./pkg/server/diagnosticspb/diagnostics.pb.go ./pkg/server/serverpb/admin.pb.go ./pkg/server/serverpb/authentication.pb.go ./pkg/server/serverpb/init.pb.go ./pkg/server/serverpb/status.pb.go ./pkg/server/status/status.pb.go ./pkg/settings/cluster/cluster_version.pb.go ./pkg/sql/distsqlrun/api.pb.go ./pkg/sql/distsqlrun/data.pb.go ./pkg/sql/distsqlrun/processors.pb.go ./pkg/sql/jobs/jobs.pb.go ./pkg/sql/pgwire/pgerror/errors.pb.go ./pkg/sql/sqlbase/encoded_datum.pb.go ./pkg/sql/sqlbase/privilege.pb.go ./pkg/sql/sqlbase/structured.pb.go ./pkg/sql/stats/histogram.pb.go ./pkg/storage/api.pb.go ./pkg/storage/engine/enginepb/file_registry.pb.go ./pkg/storage/engine/enginepb/mvcc.pb.go ./pkg/storage/engine/enginepb/mvcc3.pb.go ./pkg/storage/engine/enginepb/rocksdb.pb.go ./pkg/storage/lease_status.pb.go ./pkg/storage/liveness.pb.go ./pkg/storage/log.pb.go ./pkg/storage/raft.pb.go ./pkg/storage/storagebase/proposer_kv.pb.go ./pkg/storage/storagebase/state.pb.go ./pkg/ts/tspb/timeseries.pb.go ./pkg/util/hlc/legacy_timestamp.pb.go ./pkg/util/hlc/timestamp.pb.go ./pkg/util/log/log.pb.go ./pkg/util/protoutil/clone.pb.go ./pkg/util/tracing/recorded_span.pb.go ./pkg/util/unresolved_addr.pb.go
sed -i -E 's!github.com/cockroachdb/cockroach/pkg/(bytes|encoding/binary|errors|fmt|io|math|github\.com|(google\.)?golang\.org)!\1!g' ./pkg/acceptance/cluster/testconfig.pb.go ./pkg/build/info.pb.go ./pkg/ccl/baseccl/encryption_options.pb.go ./pkg/ccl/sqlccl/backup.pb.go ./pkg/ccl/storageccl/engineccl/enginepbccl/key_registry.pb.go ./pkg/ccl/utilccl/licenseccl/license.pb.go ./pkg/config/system.pb.go ./pkg/config/zone.pb.go ./pkg/gossip/gossip.pb.go ./pkg/internal/client/lease.pb.go ./pkg/roachpb/api.pb.go ./pkg/roachpb/app_stats.pb.go ./pkg/roachpb/csv.pb.go ./pkg/roachpb/data.pb.go ./pkg/roachpb/errors.pb.go ./pkg/roachpb/internal.pb.go ./pkg/roachpb/internal_raft.pb.go ./pkg/roachpb/metadata.pb.go ./pkg/rpc/heartbeat.pb.go ./pkg/server/diagnosticspb/diagnostics.pb.go ./pkg/server/serverpb/admin.pb.go ./pkg/server/serverpb/authentication.pb.go ./pkg/server/serverpb/init.pb.go ./pkg/server/serverpb/status.pb.go ./pkg/server/status/status.pb.go ./pkg/settings/cluster/cluster_version.pb.go ./pkg/sql/distsqlrun/api.pb.go ./pkg/sql/distsqlrun/data.pb.go ./pkg/sql/distsqlrun/processors.pb.go ./pkg/sql/jobs/jobs.pb.go ./pkg/sql/pgwire/pgerror/errors.pb.go ./pkg/sql/sqlbase/encoded_datum.pb.go ./pkg/sql/sqlbase/privilege.pb.go ./pkg/sql/sqlbase/structured.pb.go ./pkg/sql/stats/histogram.pb.go ./pkg/storage/api.pb.go ./pkg/storage/engine/enginepb/file_registry.pb.go ./pkg/storage/engine/enginepb/mvcc.pb.go ./pkg/storage/engine/enginepb/mvcc3.pb.go ./pkg/storage/engine/enginepb/rocksdb.pb.go ./pkg/storage/lease_status.pb.go ./pkg/storage/liveness.pb.go ./pkg/storage/log.pb.go ./pkg/storage/raft.pb.go ./pkg/storage/storagebase/proposer_kv.pb.go ./pkg/storage/storagebase/state.pb.go ./pkg/ts/tspb/timeseries.pb.go ./pkg/util/hlc/legacy_timestamp.pb.go ./pkg/util/hlc/timestamp.pb.go ./pkg/util/log/log.pb.go ./pkg/util/protoutil/clone.pb.go ./pkg/util/tracing/recorded_span.pb.go ./pkg/util/unresolved_addr.pb.go
sed -i -E 's!golang.org/x/net/context!context!g' ./pkg/acceptance/cluster/testconfig.pb.go ./pkg/build/info.pb.go ./pkg/ccl/baseccl/encryption_options.pb.go ./pkg/ccl/sqlccl/backup.pb.go ./pkg/ccl/storageccl/engineccl/enginepbccl/key_registry.pb.go ./pkg/ccl/utilccl/licenseccl/license.pb.go ./pkg/config/system.pb.go ./pkg/config/zone.pb.go ./pkg/gossip/gossip.pb.go ./pkg/internal/client/lease.pb.go ./pkg/roachpb/api.pb.go ./pkg/roachpb/app_stats.pb.go ./pkg/roachpb/csv.pb.go ./pkg/roachpb/data.pb.go ./pkg/roachpb/errors.pb.go ./pkg/roachpb/internal.pb.go ./pkg/roachpb/internal_raft.pb.go ./pkg/roachpb/metadata.pb.go ./pkg/rpc/heartbeat.pb.go ./pkg/server/diagnosticspb/diagnostics.pb.go ./pkg/server/serverpb/admin.pb.go ./pkg/server/serverpb/authentication.pb.go ./pkg/server/serverpb/init.pb.go ./pkg/server/serverpb/status.pb.go ./pkg/server/status/status.pb.go ./pkg/settings/cluster/cluster_version.pb.go ./pkg/sql/distsqlrun/api.pb.go ./pkg/sql/distsqlrun/data.pb.go ./pkg/sql/distsqlrun/processors.pb.go ./pkg/sql/jobs/jobs.pb.go ./pkg/sql/pgwire/pgerror/errors.pb.go ./pkg/sql/sqlbase/encoded_datum.pb.go ./pkg/sql/sqlbase/privilege.pb.go ./pkg/sql/sqlbase/structured.pb.go ./pkg/sql/stats/histogram.pb.go ./pkg/storage/api.pb.go ./pkg/storage/engine/enginepb/file_registry.pb.go ./pkg/storage/engine/enginepb/mvcc.pb.go ./pkg/storage/engine/enginepb/mvcc3.pb.go ./pkg/storage/engine/enginepb/rocksdb.pb.go ./pkg/storage/lease_status.pb.go ./pkg/storage/liveness.pb.go ./pkg/storage/log.pb.go ./pkg/storage/raft.pb.go ./pkg/storage/storagebase/proposer_kv.pb.go ./pkg/storage/storagebase/state.pb.go ./pkg/ts/tspb/timeseries.pb.go ./pkg/util/hlc/legacy_timestamp.pb.go ./pkg/util/hlc/timestamp.pb.go ./pkg/util/log/log.pb.go ./pkg/util/protoutil/clone.pb.go ./pkg/util/tracing/recorded_span.pb.go ./pkg/util/unresolved_addr.pb.go
gofmt -s -w ./pkg/acceptance/cluster/testconfig.pb.go ./pkg/build/info.pb.go ./pkg/ccl/baseccl/encryption_options.pb.go ./pkg/ccl/sqlccl/backup.pb.go ./pkg/ccl/storageccl/engineccl/enginepbccl/key_registry.pb.go ./pkg/ccl/utilccl/licenseccl/license.pb.go ./pkg/config/system.pb.go ./pkg/config/zone.pb.go ./pkg/gossip/gossip.pb.go ./pkg/internal/client/lease.pb.go ./pkg/roachpb/api.pb.go ./pkg/roachpb/app_stats.pb.go ./pkg/roachpb/csv.pb.go ./pkg/roachpb/data.pb.go ./pkg/roachpb/errors.pb.go ./pkg/roachpb/internal.pb.go ./pkg/roachpb/internal_raft.pb.go ./pkg/roachpb/metadata.pb.go ./pkg/rpc/heartbeat.pb.go ./pkg/server/diagnosticspb/diagnostics.pb.go ./pkg/server/serverpb/admin.pb.go ./pkg/server/serverpb/authentication.pb.go ./pkg/server/serverpb/init.pb.go ./pkg/server/serverpb/status.pb.go ./pkg/server/status/status.pb.go ./pkg/settings/cluster/cluster_version.pb.go ./pkg/sql/distsqlrun/api.pb.go ./pkg/sql/distsqlrun/data.pb.go ./pkg/sql/distsqlrun/processors.pb.go ./pkg/sql/jobs/jobs.pb.go ./pkg/sql/pgwire/pgerror/errors.pb.go ./pkg/sql/sqlbase/encoded_datum.pb.go ./pkg/sql/sqlbase/privilege.pb.go ./pkg/sql/sqlbase/structured.pb.go ./pkg/sql/stats/histogram.pb.go ./pkg/storage/api.pb.go ./pkg/storage/engine/enginepb/file_registry.pb.go ./pkg/storage/engine/enginepb/mvcc.pb.go ./pkg/storage/engine/enginepb/mvcc3.pb.go ./pkg/storage/engine/enginepb/rocksdb.pb.go ./pkg/storage/lease_status.pb.go ./pkg/storage/liveness.pb.go ./pkg/storage/log.pb.go ./pkg/storage/raft.pb.go ./pkg/storage/storagebase/proposer_kv.pb.go ./pkg/storage/storagebase/state.pb.go ./pkg/ts/tspb/timeseries.pb.go ./pkg/util/hlc/legacy_timestamp.pb.go ./pkg/util/hlc/timestamp.pb.go ./pkg/util/log/log.pb.go ./pkg/util/protoutil/clone.pb.go ./pkg/util/tracing/recorded_span.pb.go ./pkg/util/unresolved_addr.pb.go
touch bin/.go_protobuf_sources
knz commented 6 years ago

Nikhil is there any way that data.pb.cc gets removed somewhere concurrently with its build?

benesch commented 6 years ago

Fixed by #22521!