Google STS TradeFed fails with error: Failed to run command: com.android.tradefed.config.ConfigurationException: Can not find local config sts
Google STS TradeFed fails with error: Failed to run command: com.android.tradefed.config.ConfigurationException: Can not find local config sts
这与 Google STS 有关。与 CTS 和 VTS 类似,Google Trade Federation harness 用于 运行 这些测试。但是,与 CTS 和 VTS 不同,STS 套件在调用 run sts
命令时失败:
sts-tf > run sts
Failed to run command: com.android.tradefed.config.ConfigurationException: Can not find local config sts.
com.android.tradefed.config.ConfigurationException: Can not find local config sts.
at com.android.tradefed.config.ConfigurationFactory$ConfigLoader.findConfigName(ConfigurationFactory.java:346)
at com.android.tradefed.config.ConfigurationFactory$ConfigLoader.getConfigurationDef(ConfigurationFactory.java:269)
at com.android.tradefed.config.ConfigurationFactory.getConfigurationDef(ConfigurationFactory.java:492)
at com.android.tradefed.config.ConfigurationFactory.internalCreateConfigurationFromArgs(ConfigurationFactory.java:600)
at com.android.tradefed.config.ConfigurationFactory.createConfigurationFromArgs(ConfigurationFactory.java:528)
at com.android.tradefed.command.CommandScheduler.createConfiguration(CommandScheduler.java:1255)
at com.android.tradefed.command.CommandScheduler.internalAddCommand(CommandScheduler.java:1287)
at com.android.tradefed.command.CommandScheduler.addCommand(CommandScheduler.java:1168)
at com.android.tradefed.command.Console.run(Console.java:704)
at com.android.tradefed.command.Console.run(Console.java:687)
at com.android.tradefed.command.Console.executeCmdRunnable(Console.java:926)
at com.android.tradefed.command.Console.run(Console.java:1028)
at com.android.compatibility.common.tradefed.command.CompatibilityConsole.run(CompatibilityConsole.java:105)
没有关于它期望的“本地配置”的线索。一些 Google 搜索让我找到了这个:
https://android.googlesource.com/platform/tools/tradefederation/+/master/src/com/android/tradefed/config/ConfigurationFactory.java#346
有人知道这里有什么问题吗?
谢谢。
你能尝试 运行 它作为 sts-engbuild 吗?
完整的命令是这样的。
run sts-engbuild -d -o -s <Serial_ID>
这与 Google STS 有关。与 CTS 和 VTS 类似,Google Trade Federation harness 用于 运行 这些测试。但是,与 CTS 和 VTS 不同,STS 套件在调用 run sts
命令时失败:
sts-tf > run sts
Failed to run command: com.android.tradefed.config.ConfigurationException: Can not find local config sts.
com.android.tradefed.config.ConfigurationException: Can not find local config sts.
at com.android.tradefed.config.ConfigurationFactory$ConfigLoader.findConfigName(ConfigurationFactory.java:346)
at com.android.tradefed.config.ConfigurationFactory$ConfigLoader.getConfigurationDef(ConfigurationFactory.java:269)
at com.android.tradefed.config.ConfigurationFactory.getConfigurationDef(ConfigurationFactory.java:492)
at com.android.tradefed.config.ConfigurationFactory.internalCreateConfigurationFromArgs(ConfigurationFactory.java:600)
at com.android.tradefed.config.ConfigurationFactory.createConfigurationFromArgs(ConfigurationFactory.java:528)
at com.android.tradefed.command.CommandScheduler.createConfiguration(CommandScheduler.java:1255)
at com.android.tradefed.command.CommandScheduler.internalAddCommand(CommandScheduler.java:1287)
at com.android.tradefed.command.CommandScheduler.addCommand(CommandScheduler.java:1168)
at com.android.tradefed.command.Console.run(Console.java:704)
at com.android.tradefed.command.Console.run(Console.java:687)
at com.android.tradefed.command.Console.executeCmdRunnable(Console.java:926)
at com.android.tradefed.command.Console.run(Console.java:1028)
at com.android.compatibility.common.tradefed.command.CompatibilityConsole.run(CompatibilityConsole.java:105)
没有关于它期望的“本地配置”的线索。一些 Google 搜索让我找到了这个: https://android.googlesource.com/platform/tools/tradefederation/+/master/src/com/android/tradefed/config/ConfigurationFactory.java#346
有人知道这里有什么问题吗?
谢谢。
你能尝试 运行 它作为 sts-engbuild 吗?
完整的命令是这样的。
run sts-engbuild -d -o -s <Serial_ID>