<h3 dir="auto">System information</h3>
<ul dir="auto">
<li>
<p dir="auto"><strong>Have I written custom code (as opposed to using a stock example script provided in TensorFlow)</strong>:<br>
No</p>
</li>
<li>
<p dir="auto"><strong>OS Platform and Distribution (e.g., Linux Ubuntu 16.04)</strong>:</p>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ uname -a
Linux precision 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.2
DISTRIB_CODENAME=sonya
DISTRIB_DESCRIPTION=&quot;Linux Mint 18.2 Sonya&quot;"><pre class="notranslate"><code class="notranslate">$ uname -a
Linux precision 4.15.0-34-generic #37~16.04.1-Ubuntu SMP Tue Aug 28 10:44:06 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=18.2
DISTRIB_CODENAME=sonya
DISTRIB_DESCRIPTION="Linux Mint 18.2 Sonya"
</code></pre></div>
<p dir="auto">CPU: Intel(R) Xeon(R) CPU E3-1505M v6 @ 3.00GHz<br>
Mem: 32GB<br>
Storage: 500GB</p>
<ul dir="auto">
<li>
<p dir="auto"><strong>Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device</strong>:<br>
No</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow installed from (source or binary)</strong>:<br>
Building from source</p>
</li>
<li>
<p dir="auto"><strong>TensorFlow version (use command below)</strong>:</p>
<p dir="auto">Issue occurs on both the latest 1.11.0 release branch and on latest master (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/573985cacba7ba36032fe3ac55f4ca9b52e08033/hovercard" href="https://github.com/tensorflow/tensorflow/commit/573985cacba7ba36032fe3ac55f4ca9b52e08033"><tt>573985c</tt></a> currently)</p>
</li>
<li>
<p dir="auto"><strong>Python version</strong>:</p>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ /usr/bin/python3 -V
Python 3.5.2"><pre class="notranslate"><code class="notranslate">$ /usr/bin/python3 -V
Python 3.5.2
</code></pre></div>
<ul dir="auto">
<li><strong>Bazel version (if compiling from source)</strong>:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ bazel version
Build label: 0.17.2
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Sep 21 10:31:42 2018 (1537525902)
Build timestamp: 1537525902
Build timestamp as int: 1537525902"><pre class="notranslate"><code class="notranslate">$ bazel version
Build label: 0.17.2
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Sep 21 10:31:42 2018 (1537525902)
Build timestamp: 1537525902
Build timestamp as int: 1537525902
</code></pre></div>
<ul dir="auto">
<li><strong>GCC/Compiler version (if compiling from source)</strong>:</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)"><pre class="notranslate"><code class="notranslate">$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.10' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.10)
</code></pre></div>
<ul dir="auto">
<li>
<p dir="auto"><strong>CUDA/cuDNN version</strong>:<br>
N/A</p>
</li>
<li>
<p dir="auto"><strong>GPU model and memory</strong>:</p>
</li>
</ul>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# Quadro M1200, 4GB (3D acceleration)
# Intel HD Graphics 630 (primary vga)
lspci | grep -iP '(vga|3d)'
00:02.0 VGA compatible controller: Intel Corporation Device 591d (rev 04)
01:00.0 3D controller: NVIDIA Corporation Device 13b6 (rev a2)"><pre class="notranslate"><code class="notranslate"># Quadro M1200, 4GB (3D acceleration)
# Intel HD Graphics 630 (primary vga)
lspci | grep -iP '(vga|3d)'
00:02.0 VGA compatible controller: Intel Corporation Device 591d (rev 04)
01:00.0 3D controller: NVIDIA Corporation Device 13b6 (rev a2)
</code></pre></div>
<ul dir="auto">
<li><strong>Exact command to reproduce</strong>:</li>
</ul>
<p dir="auto"><code class="notranslate">bazel test -c opt --action_env PATH="$PATH" -- //tensorflow/... -//tensorflow/compiler/... -//tensorflow/contrib/lite/...</code></p>
<p dir="auto">or</p>
<p dir="auto"><code class="notranslate">bazel test --test_verbose_timeout_warnings -c opt --action_env PATH="$PATH" -- //tensorflow/python/keras:data_utils_test</code></p>
<p dir="auto">(I added --action_env because I was having some issues getting bazel to find my installed python3)</p>
<h3 dir="auto">Describe the problem</h3>
<p dir="auto">This is the only test that fails for me when building from source.  It seems timeouts in this test have been a problem before, per a commit by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jlebar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jlebar">@jlebar</a>: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/7a60167ba7718c23b0ed70d079bbb446f63a4fd9/hovercard" href="https://github.com/tensorflow/tensorflow/commit/7a60167ba7718c23b0ed70d079bbb446f63a4fd9"><tt>7a60167</tt></a></p>
<h3 dir="auto">Source code / logs</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ bazel test --test_verbose_timeout_warnings -c opt --action_env PATH=&quot;$PATH&quot; -- //tensorflow/python/keras:data_utils_test

...

TIMEOUT: //tensorflow/python/keras:data_utils_test (Summary)
      /home/calid/.cache/bazel/_bazel_calid/d95f42fa008125d605be7949a2399f3e/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/keras/data_utils_test/test.log
[1 / 2] 1 / 1 tests, 1 failed;  1 action; last test: .../python/keras:data_utils_test
Target //tensorflow/python/keras:data_utils_test up-to-date:
[2 / 2] 1 / 1 tests, 1 failed; no action; last  bazel-bin/tensorflow/python/keras/data_utils_test
[2 / 2] 1 / 1 tests, 1 failed; no action; lastINFO: Elapsed time: 915.423s, Critical Path: 915.01s
[2 / 2] 1 / 1 tests, 1 failed; no action; lastINFO: 1 process: 1 local.
[2 / 2] 1 / 1 tests, 1 failed; no action; lastINFO: Build completed, 1 test FAILED, 2 total actions
//tensorflow/python/keras:data_utils_test                               TIMEOUT in 915.0s
  /home/calid/.cache/bazel/_bazel_calid/d95f42fa008125d605be7949a2399f3e/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/keras/data_utils_test/test.log

INFO: Build completed, 1 test FAILED, 2 total actions

$ cat /home/calid/.cache/bazel/_bazel_calid/d95f42fa008125d605be7949a2399f3e/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/keras/data_utils_test/test.log
exec ${PAGER:-/usr/bin/less} &quot;$0&quot; || exit 1
Executing tests from //tensorflow/python/keras:data_utils_test
-----------------------------------------------------------------------------
Terminated"><pre class="notranslate"><code class="notranslate">$ bazel test --test_verbose_timeout_warnings -c opt --action_env PATH="$PATH" -- //tensorflow/python/keras:data_utils_test

...

TIMEOUT: //tensorflow/python/keras:data_utils_test (Summary)
      /home/calid/.cache/bazel/_bazel_calid/d95f42fa008125d605be7949a2399f3e/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/keras/data_utils_test/test.log
[1 / 2] 1 / 1 tests, 1 failed;  1 action; last test: .../python/keras:data_utils_test
Target //tensorflow/python/keras:data_utils_test up-to-date:
[2 / 2] 1 / 1 tests, 1 failed; no action; last  bazel-bin/tensorflow/python/keras/data_utils_test
[2 / 2] 1 / 1 tests, 1 failed; no action; lastINFO: Elapsed time: 915.423s, Critical Path: 915.01s
[2 / 2] 1 / 1 tests, 1 failed; no action; lastINFO: 1 process: 1 local.
[2 / 2] 1 / 1 tests, 1 failed; no action; lastINFO: Build completed, 1 test FAILED, 2 total actions
//tensorflow/python/keras:data_utils_test                               TIMEOUT in 915.0s
  /home/calid/.cache/bazel/_bazel_calid/d95f42fa008125d605be7949a2399f3e/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/keras/data_utils_test/test.log

INFO: Build completed, 1 test FAILED, 2 total actions

$ cat /home/calid/.cache/bazel/_bazel_calid/d95f42fa008125d605be7949a2399f3e/execroot/org_tensorflow/bazel-out/k8-opt/testlogs/tensorflow/python/keras/data_utils_test/test.log
exec ${PAGER:-/usr/bin/less} "$0" || exit 1
Executing tests from //tensorflow/python/keras:data_utils_test
-----------------------------------------------------------------------------
Terminated
</code></pre></div>
<p dir="auto">The classify_image.py example isn't working because inception v3 is larger than 64MB</p>
<p dir="auto">[libprotobuf ERROR google/protobuf/src/google/protobuf/io/coded_stream.cc:207] A protocol message was rejected because it was too big (more than 67108864 bytes).  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.</p>