I could see that, 'mqttpubsub' and 'cloudcomponent' test groups are being failed when running running test suite GGV2Q_2.4.1 on Greengrass 2.7.0 using IDT 4.5.1. On checking the logs, you noticed that the TES component responded with expired AWS credentials.
To begin with can you please confirm if the clock on the device is correct. Also, to further investigate the issue, I would need to take a look at the IDT and Greengrass logs generated pertaining to this specific issue. You can create a technical case using AWS Support console and share us all the above mentioned logs.
Maybe the credentials are expiring before the tests are able to complete? You can try the following things:
- Request a longer expiration period for the temporary credentials. The default is 15 minutes. The max can be up to 12 hours usually. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_request.html#api_getsessiontoken for more info.
- Run only one of the failing test cases, as it should run more quickly than running multiple test cases back to back (if that's what you were doing before), to see if the test case is only failing because of the timeout. You can do this by providing a group-id and test-id (test case id) arguments to the run-suite command. See https://docs.aws.amazon.com/greengrass/v2/developerguide/run-tests.html for more info.
[Greengrass][IDT] test component and MQTT failed with general infoasked 7 months ago
[Greengrass][IDT][Raspi] Deployment did not reach COMPLETEDasked 2 months ago
AWS IoT Device Tester for AWS IoT Greengrass V2 Test failed with error: failed to validate lambda publish: timed outasked 7 months ago
IDT 4.5.11 Error in retrieving AwsCredentials from TESasked 14 days ago
AWS IoT Device Tester for AWS IoT Greengrass V2 Proxy Configurationasked 4 months ago
Greengrass IDT failing [Error: 126] Failed to find libc on your deviceAccepted Answerasked 3 years ago
AWS IDT problem [Error: 106] problemasked 3 years ago
Running AWS IoT Device Tester for AWS IoT Greengrass V2 on a Ubuntu PC behind a proxyasked a month ago
[Greengrass][IDT] question for Greengrass v2 IDT testing error on component/mqtt tests on our AIOT deviceasked 5 months ago
[Greengrass][IDT] question for Greengrass v2 IDT 4.5.8 testing errors for suspected java compatibility issue on mqtt/component testsasked 2 months ago