- Newest
- Most votes
- Most comments
Based on the information provided, it appears you're encountering issues with the AWS IoT Greengrass qualification tests, specifically with the component and MQTT test groups. The errors suggest there might be problems with user permissions or authentication on your Windows device under test (DUT).
Here are some steps you can try to resolve the issue:
-
Verify file permissions: Ensure that the ggc_user has full access to the Greengrass installation directory and all its subdirectories. You may need to explicitly grant read, write, and execute permissions to the ggc_user for the C:\greengrass directory and its contents.
-
Check user account settings: Although the ggc_user is part of the Administrators group, there might be some Group Policy or security settings preventing it from running certain commands. Try temporarily adding the user to the "Power Users" group to see if it resolves the issue.
-
Run Greengrass as a specific user: Instead of using --component-default-user, try running the Greengrass process as the ggc_user explicitly. You can do this by using the "runas" command or by configuring the Greengrass service to run as ggc_user.
-
Verify Java installation: Ensure that Java is correctly installed and accessible to the ggc_user. Check if the JAVA_HOME environment variable is set correctly for the ggc_user.
-
Check for antivirus interference: Temporarily disable any antivirus software to see if it's interfering with the Greengrass processes.
-
Review Greengrass logs: Check the Greengrass system logs (usually located in C:\greengrass\v2\logs) for any additional error messages that might provide more context.
-
Ensure correct configuration: Double-check your device configuration in the userdata.json file used by the Device Tester. Make sure all paths and settings are correct for your Windows environment.
-
Run dependency checks: Before running the full test suite, try running the dependency checker test group (coredependencies) to ensure all necessary dependencies are correctly installed and configured.
If these steps don't resolve the issue, you may need to review the full Device Tester logs to identify any other potential problems. Consider also checking for any known issues or updates for the version of AWS IoT Device Tester and AWS IoT Greengrass you're using.
Sources
Troubleshooting IDT for AWS IoT Greengrass V2 - AWS IoT Greengrass
Use IDT to run the AWS IoT Greengrass qualification suite - AWS IoT Greengrass
Run the AWS IoT Greengrass qualification suite - AWS IoT Greengrass
Did you set up the user on the device, including setting the user and password in windows credential manager first? The setup instructions before running tests are at https://docs.aws.amazon.com/greengrass/v2/developerguide/device-config-setup.html#configure-windows-user-for-idt
e.g. Replace password below with the user's password that you set, and run
psexec -s cmd /c cmdkey /generic:ggc_user /user:ggc_user /pass:password
answered 2 years ago
Relevant content
asked 8 years ago
- AWS OFFICIALUpdated 3 years ago

Which version of IDT or the test suite is this?