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 Answers
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
answered 2 years ago
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
EXPERT
Greg_B
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions