[CentOS-devel] Bazel test cases timing out on CentOS 7.

Tru Huynh

tru at centos.org
Fri May 19 16:45:09 UTC 2017


On Fri, May 19, 2017 at 07:16:18PM +0530, Atul Sowani wrote:
> Bazel is a build system used by many current project (TensorFlow one of
> them): https://github.com/bazelbuild/bazel
> 

I discovered that when building tensorflow.
https://people.centos.org/~tru/bazel-centos7 quick and dirty

bazel will download the internet into your ~/.cache/bazel and does its mess there.

imho, should be asked in the github/bazel, no idea what the test is
doing...

$ wget https://github.com/bazelbuild/bazel/releases/download/0.4.5/bazel-0.4.5-dist.zip
$ unzip -d bazel-0.4.5-dist bazel-0.4.5-dist.zip
# DO put a -d XXXXX otherwise you will be sorry...
$ cd bazel-0.4.5-dist && bazel test //src/test/shell/bazel:bazel_coverage_test
...
..........
WARNING: Sandboxed execution is not supported on your system and thus hermeticity of actions cannot be guaranteed. See http://bazel.build/docs/bazel-user-manual.html#sandboxing for more information. You can turn off this warning via --ignore_unsupported_sandboxing.
INFO: Found 1 test target...
INFO: From Compiling third_party/ijar/platform_utils.cc:
third_party/ijar/platform_utils.cc: In function 'bool devtools_ijar::write_file(const char*, mode_t, const void*, size_t)':
third_party/ijar/platform_utils.cc:66:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (write(fd, data, size) != size) {
                                ^
INFO: From Compiling third_party/ijar/ijar.cc:
third_party/ijar/ijar.cc: In member function 'virtual bool devtools_ijar::JarStripperProcessor::Accept(const char*, devtools_ijar::u4)':
third_party/ijar/ijar.cc:66:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (filename_len >= CLASS_EXTENSION_LENGTH) {
                       ^
TIMEOUT: //src/test/shell/bazel:bazel_coverage_test (see /home/tru/.cache/bazel/_bazel_tru/350854196609f07e0af44ce02f5d2839/execroot/bazel/bazel-out/local-fastbuild/testlogs/src/test/shell/bazel/bazel_coverage_test/test.log).
Target //src/test/shell/bazel:bazel_coverage_test up-to-date:
  bazel-bin/src/test/shell/bazel/bazel_coverage_test
INFO: Elapsed time: 634.627s, Critical Path: 582.47s
//src/test/shell/bazel:bazel_coverage_test                              TIMEOUT in 1 out of 2 in 305.0s
  /home/tru/.cache/bazel/_bazel_tru/350854196609f07e0af44ce02f5d2839/execroot/bazel/bazel-out/local-fastbuild/testlogs/src/test/shell/bazel/bazel_coverage_test/test.log

Executed 1 out of 1 test: 1 fails locally.

Cheers

Tru

-- 
Tru Huynh 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20170519/4cead0c7/attachment-0004.sig>


More information about the CentOS-devel mailing list