AWS IoT Device Tester for AWS IoT Greengrass V2 Test failed with error: failed to validate lambda publish: timed out

0

I am using IDT v4.5.3 with test suite GGV2Q_2.3.1 with Greengrass nucleus v2.5.5. When running the lambdadeployment test I am getting the following error, "Test failed with error: failed to validate lambda publish: timed out". Any suggestions for debugging this issue?

已提問 2 年前檢視次數 293 次
2 個答案
1

If you set up folder permission as recommended in above comment sudo chmod 755 folder-name, you can also try with --timeout-multiplier command, which also can be found in the troubleshooting page.

AWS
已回答 2 年前
0

I've seen this error reported before for older GG nucleus versions. Besides the error you reported, I think you may also have a Error: Could not find or load main class in your idt-ggv2-lambda-function-idt.log file. If so, I think the root cause may be folder permissions.

https://docs.aws.amazon.com/greengrass/v2/developerguide/idt-troubleshooting.html#test-timeout

If the MQTT or Lambda component logs contain Access denied errors, your Greengrass installation folder might not have the correct file permissions. Run the following command for each folder in the installation path that you defined in your userdata.json file. sudo chmod 755 folder-name

profile pictureAWS
專家
Greg_B
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南