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

Fri May 19 17:56:59 UTC 2017
Atul Sowani <sowani at gmail.com>

Tru, Anssi, thanks for confirming the issue. I will check for that cached
bazel files.

BTW, yum update on my original centos installation did just nothing, hence
I was forced to use the alternate kernel.

Best regards,
Atul.

On May 19, 2017 10:15 PM, "Tru Huynh" <tru at centos.org> wrote:

> 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/350854196609f07e0af44ce02f5d28
> 39/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/350854196609f07e0af44ce02f5d28
> 39/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
>
> _______________________________________________
> CentOS-devel mailing list
> CentOS-devel at centos.org
> https://lists.centos.org/mailman/listinfo/centos-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-devel/attachments/20170519/51487310/attachment-0008.html>