New issue
Advanced search Search tips

Issue 909936 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2
Cc:
Components:
EstimatedDays: ----
NextAction: 2018-12-19
OS: Fuchsia
Pri: 1
Type: Bug-Regression

Blocking:
issue 909074



Sign in to add a comment

[Fuchsia] Some test steps fail due to SSH connection to Fuchsia guest timing out

Project Member Reported by w...@chromium.org, Nov 28

Issue description

Run https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Fuchsia%20x64/24486 for example failed both mojo_unittests and webrunner_unittests, with the output like:

2018-11-28 14:40:32,167:INFO:root:Connecting to Fuchsia using SSH.
2018-11-28 14:41:38,337:ERROR:root:Timeout limit reached.
2018-11-28 14:41:38,338:INFO:root:Shutting down QEMU.
Traceback (most recent call last):
  File "/b/s/w/ir/build/fuchsia/test_runner.py", line 117, in <module>
    sys.exit(main())
  File "/b/s/w/ir/build/fuchsia/test_runner.py", line 91, in main
    target.Start()
  File "/b/s/w/ir/build/fuchsia/qemu_target.py", line 160, in Start
    self._WaitUntilReady();
  File "/b/s/w/ir/build/fuchsia/target.py", line 158, in _WaitUntilReady
    raise FuchsiaTargetException('Couldn\'t connect using SSH.')
target.FuchsiaTargetException: Couldn't connect using SSH.

We should run with --system-log-file=- to get the test step output to include the kernel logs, to help diagnose this.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Dec 4

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/27ef067f3e84148ac67a281036750db8b508ad97

commit 27ef067f3e84148ac67a281036750db8b508ad97
Author: Wez <wez@chromium.org>
Date: Tue Dec 04 02:12:27 2018

[Fuchsia] Dump the kernel serial log output, by default, if SSH fails.

Always log kernel serial output to a temporary file on the host, so that
if we're unable to establish connectivity to the QEMU guest then we can
dump the contents of that file for diagnostic use.

Bug:  909936 , 869753
Change-Id: Ie44ea6f6d0ccaedbae6994651ec13568ad241a40
Reviewed-on: https://chromium-review.googlesource.com/c/1359483
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#613393}
[modify] https://crrev.com/27ef067f3e84148ac67a281036750db8b508ad97/build/fuchsia/qemu_target.py

Issue 908404 has been merged into this issue.
Blocking: 909074
NextAction: 2018-12-10
Status: ExternalDependency (was: Started)
Log output shows that the "netstack" service is crashing during startup - filed Fuchsia bug NET-2026 for that.
The NextAction date has arrived: 2018-12-10
NextAction: 2018-12-19
Patch for NET-2026 is up for review; should have landed & rolled by next week.
The NextAction date has arrived: 2018-12-19
Status: Fixed (was: ExternalDependency)

Sign in to add a comment