New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 702420 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

cautotest: can't reach live logs for running jobs on shardless hosts

Project Member Reported by ra...@google.com, Mar 16 2017

Issue description

It looks like when I attempt to access logs for jobs in flight, such as currently-running repair attempts, cautotest redirects me to Pantheon to look for logs even though the test has not yet been uploaded to Pantheon.

The proper behavior would be for the link to test logs to hit local storage for running tests and tests whose logs have not yet been collected by the gsoffloader.

This has been the case for awhile, but the Jetstream devices were previously on a shard. When I accessed the logs via the shard directly, that worked, so I think this may be an issue only on shardless hosts.

An example of an affected host is:
https://ubercautotest.corp.google.com/afe/#tab_id=view_host&object_id=5962
 
(venv) akeshet@akeshet:~$ atest shard list | grep gale
(venv) akeshet@akeshet:~$ atest shard list | grep whirlwind
chromeos-server82.cbf.corp.google.com  board:wizpig, board:falco_li, board:whirlwind, board:storm, board:earth, board:eureka, board:glados

Ok, gale is not sharded, but whirlwind is. Is this desired? Seems unlikely.

As for the gs_offloader log race, it's sort of known but low priority at the moment.

Comment 2 by ra...@google.com, Mar 17 2017

I don't think it is desired for gale to be not sharded if Whirlwind is on a shard. I think Whirlwind and Gale could/should be on the same shard.

Putting Gale on a shard would effectively solve the problem for me since I'd be able to access the logs from the shard and wouldn't need to worry about the gs_offloader log race.
Cc: chingcodes@chromium.org shuqianz@chromium.org
Owner: dgarr...@chromium.org
Sounds like we should add gale to a shard. I believe "atest shard add_boards ..." is the way to do this, though I don't see any documentation on our sites page that spells it out. Assigning to deputy, cc'ing shard expert.
The command to add a board to a shard is:
$ cd AUTOTEST
$ cli/atest shard add_boards -l <label> <shard>

For this specific case:
$ cli/atest shard add_boards -l 'board:gale' <shard_hostname_you_pick>
Owner: jrbarnette@chromium.org
Passing to current deputy.

Comment 6 by ra...@google.com, Apr 17 2017

One of my Gales is failing repairs today and I was somewhat inconvenienced by this issue.
Project Member

Comment 7 by sheriffbot@chromium.org, Jul 25 2017

Labels: Hotlist-Google
Status: Archived (was: Untriaged)

Sign in to add a comment