-
Notifications
You must be signed in to change notification settings - Fork 89
Occasional clang-tidy specific flakes in CI #187
Copy link
Copy link
Closed
Description
Occasionally clang-tidy seems to flake in CI with cryptic messages.
I suspect the machine is running out of resources.
Example log tail:
[1]
INFO: From CcConfigureMakeRule external/envoy/bazel/foreign_cc/gperftools_build/include:
[2,421 / 3,292] Compiling external/envoy/test/mocks/upstream/cluster_info.cc; 17s processwrapper-sandbox ... (36 actions running)
[2,627 / 3,292] Compiling external/envoy/test/mocks/upstream/mocks.cc; 37s processwrapper-sandbox ... (36 actions, 35 running)
Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/build/tmp/_bazel_bazel/f85b6fb5740e6e8c7efea142eec4b6e8/server/jvm.out')
Traceback (most recent call last):
File "tools/gen_compilation_database.py", line 83, in <module>
generateCompilationDatabase(args)
File "tools/gen_compilation_database.py", line 11, in generateCompilationDatabase
subprocess.check_call(["bazel", "build"] + args.bazel_targets)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['bazel', 'build', '//source/exe/...', '//test/...']' returned non-zero exit status 37
Exited with code 1
CircleCI received exit code 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels