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
질문됨 일 년 전148회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠