New issue
Advanced search Search tips

Issue 817539 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Add an autotest for EOL

Project Member Reported by dhadd...@chromium.org, Feb 28 2018

Issue description

The test team does this manually on every milestone to ensure that the DUTs are approaching end of life behave correctly.

I want to add an autotest to this for us.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 2 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/7c9b30e6bcf8ceadb8da26a902728884bd5e3946

commit 7c9b30e6bcf8ceadb8da26a902728884bd5e3946
Author: David Haddock <dhaddock@chromium.org>
Date: Fri Mar 02 03:13:49 2018

Add a test for end of life (EOL) / Autoupdate expiration (AUE).

This test ensures that when the DUT receives an omaha response
containing EOL that the status changes and a notification is shown to
the users.

To do this I added functionaly to nano_omaha_devserver to return end of
life response.

BUG= chromium:817539 
TEST=autoupdate_Cellular.delta
TEST=autoupdate_EOL

Change-Id: Ib29504e3f64c2dec7a60e7e11c8f9bc2a2f42f53
Reviewed-on: https://chromium-review.googlesource.com/941513
Commit-Ready: David Haddock <dhaddock@chromium.org>
Tested-by: David Haddock <dhaddock@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>

[add] https://crrev.com/7c9b30e6bcf8ceadb8da26a902728884bd5e3946/client/site_tests/autoupdate_EOL/autoupdate_EOL.py
[modify] https://crrev.com/7c9b30e6bcf8ceadb8da26a902728884bd5e3946/client/cros/update_engine/nano_omaha_devserver.py
[add] https://crrev.com/7c9b30e6bcf8ceadb8da26a902728884bd5e3946/client/site_tests/autoupdate_EOL/control

Status: Fixed (was: Assigned)
Results look great:
https://stainless.corp.google.com/search?test=%5Eautoupdate%5C_EOL%24&exclude_non_release=true&exclude_cts=true&col=build&row=model&view=matrix&first_date=2018-03-20&last_date=2018-03-26

I'll follow up on failures on daisy and astronaut in a new bug when I get some time to investigate 

Status: Verified (was: Fixed)

Sign in to add a comment