Greengrass IDT 失败 [错误:126] 在您的设备上找不到 libc。

0

【以下的问题经过翻译处理】 我有一台Linux(armv7l)设备,我正在运行GGC服务,但在执行IDT时遇到错误:

原因:错误:126 DependenciesNotPresentError:以下依赖关系不存在:找不到设备上的libc。

此测试的运行也会在失败时删除用户和组(ggc_user和ggc_group)。

我作为root用户运行测试。Greengrass依赖性检查器报告所有所需依赖项都已满足。

以下是配置文件:

[{ "id": "TP", "sku": "sku1234", "features": [{ "name": "os", "value": "linux" }, { "name": "arch", "value": "armv7l" }], "kernelConfigLocation": "", "greengrassLocation": "", "devices": [{ "id": "TP_DEV_Group_core", "connectivity": { "protocol": "ssh", "ip": "10.6.10.145", "auth": { "method": "password", "credentials": { "user": "root", "password": "<password>" } } } }] }]

========== 测试摘要 ========== 执行时间:31秒 测试已完成:6 测试通过:5 测试失败:1 测试跳过:0 ——————————————————————————————————————————————————————————————————————————————————————————————————————————

测试组: ggcdependencies:失败 版本:通过

失败的测试: 组名称:ggcdependencies 测试名称:Test System Configs Dependencies system_configs_check 原因:[错误:126] DependenciesNotPresentError:以下依赖项不存在:找不到设备上的libc。有关Greengrass所需依赖项的更多信息,请参见<https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-gs.html>。有关日志和故障排除节的IDT用户指南:https://docs.aws.amazon.com/greengrass/latest/developerguide/device-tester-for-greengrass-ug.html获取更多信息。 ———————————————— AWS IoT Device Tester Report路径:/Users/jessecox/Dropbox/Greengrass_Development/idt/devicetester_greengrass_mac/results/f35e71a2-1c78-11ea-9e9c-a860b6004763/awsiotdevicetester_report.xml Test Execution Logs路径:/Users/jessecox/Dropbox/Greengrass_Development/idt/devicetester_greengrass_mac/results/f35e71a2-1c78-11ea-9e9c-a860b6004763/logs  Aggregated JUnit Report路径:/Users/jessecox/Dropbox/Greengrass_Development/idt/devicetester_greengrass_mac/results/f35e71a2-1c78-11ea-9e9c-a860b6004763/GGQ_Report.xml

profile picture
EXPERTE
gefragt vor 5 Monaten51 Aufrufe
1 Antwort
0

【以下的回答经过翻译处理】 你好,

IDT需要在“/lib”目录下寻找libc文件。我们运行以下命令来确认:find /lib** -name 'libc.so**'

请你在你的设备上运行此命令并确认该目录下是否存在libc文件。

谢谢。

profile picture
EXPERTE
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen