Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rules_webtesting test timeout on Bazel CI server #204

Closed
achew22 opened this issue Feb 22, 2018 · 1 comment
Closed

rules_webtesting test timeout on Bazel CI server #204

achew22 opened this issue Feb 22, 2018 · 1 comment

Comments

@achew22
Copy link
Member

achew22 commented Feb 22, 2018

In the bazel-watcher project, I have been trying to make my integration tests more realistic. To this end I moved them to operate a real browser against the SUT. Unfortunately the test is timing out and I'm not sure what has gone wrong. Do you have anything you could point me to to help me debug this?

TIMEOUT: //e2e/live_reload:go_default_test_chromium-native (Summary)
      /private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/e2e/live_reload/go_default_test_chromium-native/test.log
INFO: From Testing //e2e/live_reload:go_default_test_chromium-native:
==================== Test output for //e2e/live_reload:go_default_test_chromium-native:
GTEST_TMP_DIR=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/_tmp/0fe57cab7d42fe3819b5cccb0209c585
TEST_INFRASTRUCTURE_FAILURE_FILE=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/e2e/live_reload/go_default_test_chromium-native/test.infrastructure_failure
TEST_SRCDIR=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/bin/e2e/live_reload/go_default_test_chromium-native.runfiles
RUNFILES_MANIFEST_FILE=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/bin/e2e/live_reload/go_default_test_chromium-native.runfiles/MANIFEST
WEB_TEST_METADATA=__main__/e2e/live_reload/go_default_test_chromium-native.gen.json
JAVA_RUNFILES=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/bin/e2e/live_reload/go_default_test_chromium-native.runfiles
TMPDIR=/var/folders/sp/kj32dh7s4r748mbkl2bvkz640000gn/T/
TEST_UNUSED_RUNFILES_LOG_FILE=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/e2e/live_reload/go_default_test_chromium-native/test.unused_runfiles_log
TEST_LOGSPLITTER_OUTPUT_FILE=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/e2e/live_reload/go_default_test_chromium-native/test.raw_splitlogs/test.splitlogs
TEST_BINARY=e2e/live_reload/go_default_test_chromium-native
USER=ci
TEST_UNDECLARED_OUTPUTS_DIR=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/e2e/live_reload/go_default_test_chromium-native/test.outputs
RUNFILES_DIR=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/bin/e2e/live_reload/go_default_test_chromium-native.runfiles
TEST_TIMEOUT=900
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
PATH=.:/Users/ci/node/node-v8.9.4-darwin-x64/bin:/usr/bin:/bin:/usr/sbin:/sbin
TEST_TEMPDIR=test_tempdir.iCKTTb
PWD=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/bin/e2e/live_reload/go_default_test_chromium-native.runfiles/__main__
TEST_WARNINGS_OUTPUT_FILE=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/e2e/live_reload/go_default_test_chromium-native/test.warnings
TZ=UTC
TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/e2e/live_reload/go_default_test_chromium-native/test.outputs_manifest
SHLVL=2
DISABLE_X_DISPLAY=1
RUN_UNDER_RUNFILES=1
TEST_SIZE=large
TEST_TMPDIR=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/_tmp/0fe57cab7d42fe3819b5cccb0209c585
TEST_WORKSPACE=__main__
XML_OUTPUT_FILE=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/e2e/live_reload/go_default_test_chromium-native/test.xml
PYTHON_RUNFILES=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/bin/e2e/live_reload/go_default_test_chromium-native.runfiles
TEST_PREMATURE_EXIT_FILE=/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/bazel-out/darwin-fastbuild/testlogs/e2e/live_reload/go_default_test_chromium-native/test.exited_prematurely
BASH_FUNC_rlocation%%=() {  if is_absolute "$1"; then
 echo "$1";
 else
 echo "$(dirname $RUNFILES_MANIFEST_FILE)/$1";
 fi
}
BASH_FUNC_is_absolute%%=() {  [[ "$1" = /* ]] || [[ "$1" =~ ^[a-zA-Z]:[/\\].* ]]
}
_=/usr/bin/printenv
2018/02/01 18:28:43 launching HTTP server at: localhost:54347
Starting ChromeDriver 2.33.506106 (8a06c39c4582fbfbab6966dbb1c38a9173bfb1a2) on port 54346
Only local connections are allowed.
2018/02/01 18:28:58 Creating session

2018/02/01 18:29:00 Caps: {OSSCaps:map[chromeOptions:map[args:[--no-sandbox] binary:/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/_tmp/0fe57cab7d42fe3819b5cccb0209c585/chrome-mac.zip483332071/chrome-mac/Chromium.app/Contents/MacOS/chromium] browserName:chrome webdriver.logging.profiler.enabled:true] Always:map[browserName:chrome chromeOptions:map[args:[--no-sandbox] binary:/private/var/tmp/_bazel_ci/2524ef1d14c6c9bacede7aa4fd0df798/execroot/__main__/_tmp/0fe57cab7d42fe3819b5cccb0209c585/chrome-mac.zip483332071/chrome-mac/Chromium.app/Contents/MacOS/chromium]] First:[]}
Terminated: 15
================================================================================

https://ci.bazel.build/blue/organizations/jenkins/PR%2Fbazel-watcher/detail/bazel-watcher/179/

@DrMarcII
Copy link
Contributor

I haven't had much luck using the native browsers on ci.bazel.build; currently I only run Sauce-based browsers there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants