Add OOBE delta test and skip rialto failure.

The test is failing on one device (veyron_rialto) because it has its own
OOBE that it automatically starts stepping through. We will skip the
test on this device.

Add a test to force OOBE with a delta payload.

BUG=None
TEST=autoupdate_ForcedOOBEUpdate and autoupdate_ForcedOOBEUpdate.delta
pass. Test is skipped on rialto.

Change-Id: I516660cfda28bd901043cbf1e594eb06c59936e2
Reviewed-on: https://chromium-review.googlesource.com/882213
Commit-Ready: David Haddock <dhaddock@chromium.org>
Tested-by: David Haddock <dhaddock@chromium.org>
Reviewed-by: David Haddock <dhaddock@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
diff --git a/server/site_tests/autoupdate_ForcedOOBEUpdate/autoupdate_ForcedOOBEUpdate.py b/server/site_tests/autoupdate_ForcedOOBEUpdate/autoupdate_ForcedOOBEUpdate.py
index 6520eb0..adb62b7 100644
--- a/server/site_tests/autoupdate_ForcedOOBEUpdate/autoupdate_ForcedOOBEUpdate.py
+++ b/server/site_tests/autoupdate_ForcedOOBEUpdate/autoupdate_ForcedOOBEUpdate.py
@@ -6,6 +6,7 @@
 import os
 import time
 
+from autotest_lib.client.common_lib import error
 from autotest_lib.client.common_lib import lsbrelease_utils
 from autotest_lib.server import autotest
 from autotest_lib.server.cros.update_engine import update_engine_test
@@ -84,10 +85,16 @@
             time.sleep(1)
 
 
-    def run_once(self, host, job_repo_url=None):
+    def run_once(self, host, full_payload=True, job_repo_url=None):
         self._host = host
+
+        # veyron_rialto is a medical device with a different OOBE that auto
+        # completes so this test is not valid on that device.
+        if 'veyron_rialto' in self._host.get_board():
+            raise error.TestNAError('Rialto has a custom OOBE. Skipping test.')
+
         update_url = self.get_update_url_for_test(job_repo_url,
-                                                  full_payload=True,
+                                                  full_payload=full_payload,
                                                   critical_update=True)
         logging.info('Update url: %s', update_url)
         before = self._get_chromeos_version()