New issue
Advanced search Search tips

Issue 703224 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
okr



Sign in to add a comment

Verify Sponge record in test push

Project Member Reported by dshi@chromium.org, Mar 20 2017

Issue description

Lab recently had a long period of missing Sponge results due to several bugs (tracked in bug 701948). It's critical to verify Sponge results can be successfully created in the lab. Test push run could be a good place to verify Sponge is still working after push.
 

Comment 1 by aut...@google.com, Apr 4 2017

Labels: -current-issue OKR
Is the requirement to actually check that it's created? Or just that we tried to create it? 

Comment 2 by dshi@chromium.org, Apr 4 2017

To check if the sponge record is created. We store the sponge record url in tko_test_attributes. So the verify code only need to retrieve that url and try to see if it can be resolved. One trick is that Sponge is on google3, might need sso to access it.

A workaround for that can be using Sponge HTTP API (go/sponge-http-api). Some sample code can be found in project chromeos/autotest-private-utils (https://chrome-internal.googlesource.com/chromeos/autotest-private-utils/+/master).

We can add a method in sponge/upload_utils.py like find_record(id), and test push can use that to check if a record exists.
Status: Archived (was: Untriaged)
This bug is very old, is Untriaged, and has no owner.  If it is still relevant, reopen as Untriaged or open a new bug

Sign in to add a comment