about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2024-08-07 20:49:04 -0500
committerGitHub <noreply@github.com>2024-08-07 20:49:04 -0500
commitf4fe5c835aaa1ba93134e8e58f9398ffe4f1fd0d (patch)
treef7d4c1f76de9b8b6291b74f7219e5e72830a5b94
parentca5e8a7c4dd9daff576f3181745f496c80835d1c (diff)
parent5db9d432070087c13330e85221010671174025d5 (diff)
downloadrust-f4fe5c835aaa1ba93134e8e58f9398ffe4f1fd0d.tar.gz
rust-f4fe5c835aaa1ba93134e8e58f9398ffe4f1fd0d.zip
Rollup merge of #128797 - Jeff-A-Martin:fuchsia-test-runner, r=tmandry
Fuchsia Test Runner: enable ffx repository server

The default repository server setting has changed on Fuchsia (default is newly "false"). Now, in order to start the repository server, the config `repository.server.enabled` must be set to true.
-rwxr-xr-xsrc/ci/docker/scripts/fuchsia-test-runner.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ci/docker/scripts/fuchsia-test-runner.py b/src/ci/docker/scripts/fuchsia-test-runner.py
index 00269e68422..a5458b8645d 100755
--- a/src/ci/docker/scripts/fuchsia-test-runner.py
+++ b/src/ci/docker/scripts/fuchsia-test-runner.py
@@ -571,6 +571,19 @@ class TestEnvironment:
         )
 
         # Start repository server
+        # Note that we must first enable the repository server daemon.
+        check_call_with_logging(
+            [
+                ffx_path,
+                "config",
+                "set",
+                "repository.server.enabled",
+                "true",
+            ],
+            env=ffx_env,
+            stdout_handler=self.subprocess_logger.debug,
+            stderr_handler=self.subprocess_logger.debug,
+        )
         check_call_with_logging(
             [
                 ffx_path,