IDT for Greengrass fails to run the sample test suite on Windows.

0

IDT version: v4.7.0 with test suite GGV2Q_2.5.0 for Windows

Greengrass version: v2.9.4

Currently, I am exploring AWS IoT Device Tester for AWS IoT Greengrass V2. In particular, now I'm going through a tutorial on how to Build and run the sample IDT test suite. I completed all the prerequisites from the guide but got stuck on the step Use IDT to run the sample test suite. I failed to start tests trying to run a test suite or a particular test when Windows is a host machine OS. I always get the error

[ERROR] [2023-03-09 12:21:44]: Test failed to start executionId=92421d27-be6c-11ed-8909-e86a646ef7fe testCaseId=test_ping error=exec: "python3": executable file not found in %PATH%

but I am sure that it is there.

PS D:\Edu\aws\greengrass\devicetester_greengrass_v2_win\bin> python3 --version
Python 3.9.13

What can be the reason for this error?

Notes:

  • I successfully run the AWS IoT Greengrass qualification suite when Windows is a host machine OS.
  • I successfully run both the AWS IoT Greengrass qualification suite and sample test suite from the tutorial when Linux is a host machine OS.
  • I guess it could be related to my Python being installed from the Microsoft store. It seems, for some reason, the IDT can't recognize the Python executable installed from the Microsoft Store, although the Path environment variable was set to its executable file. I installed another Python 3.11.2 from https://www.python.org/downloads/, set the path to its executable, and successfully launched tests.

Vadzim
質問済み 1年前146ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ