crostini: Register LXD server component even when using DLC

To force the test VM to use a preloaded test container image,
instead of the production image, we register the
cros-crostini-image-server-url component. This was not being done when
the install mode was set to DLC, causing DLC tests to use the prod
container image. This causes several tests which require certain
pre-installed packages in the container to fail.

BUG=chromium:1128743
TEST=AudioBasic, AudioPlaybackConfigurations, CopyPaste, DragDrop,
GPUEnabled, SecureCopyPaste, VmcExtraDisk, Webserver

Disallow-Recycled-Builds: test-failures
Change-Id: I83fc2879a3d555c60c8b9d4741270e862ab6adc1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/2620348
Commit-Queue: Fergus Dall <sidereal@google.com>
Commit-Queue: Matthew Warton <mwarton@google.com>
Tested-by: Fergus Dall <sidereal@google.com>
Auto-Submit: Fergus Dall <sidereal@google.com>
Reviewed-by: Matthew Warton <mwarton@google.com>
Reviewed-by: Judy Wu <jinrongwu@google.com>
1 file changed
tree: 2ba33a7c49ad727cf429a6f664f2bdda1470bfbe
  1. android/
  2. helpers/
  3. src/
  4. tools/
  5. vars/
  6. .gitignore
  7. LICENSE
  8. OWNERS
  9. PRESUBMIT.cfg
  10. PRESUBMIT.py
  11. README.md
  12. unblocked_terms.txt
README.md

Tast (tests)

This repository contains integration tests that are run by Tast.

Directory structure

  • helpers/ - Source code for binaries executed by tests.
    • local/ - Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros by the tast-local-helpers-cros package.
  • src/chromiumos/tast/
    • local/ - Code related to local (i.e. on-device or “client”) tests.
      • bundles/ - Local test bundles.
        • cros/ - The “cros” local test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by local tests.
    • remote/ - Code related to remote (i.e. off-device or “server”) tests.
      • bundles/ - Remote test bundles.
        • cros/ - The “cros” remote test bundle, containing standard Chrome OS tests. Tests are packaged by category.
      • ... - Packages used only by remote tests.

Shared code, the main tast executable, the local_test_runner and remote_test_runner executables responsible for running bundles, and documentation are located in the tast repository.

GoDoc