Hello All,
I recently ported Amazon FreeRTOS to my custom hardware. All of the demos and most of the tests have run successfully. The IDT MQTT tests are failing and I’m not sure why, especially since the demos are running.
I’m using FreeRTOS version 201912.00 and the compatible version of IDT.
The log of the Full_MQTT test failure is pasted below.
time=“2020-02-21T06:32:52-08:00” level=info msg=“AFQP Suite Info” hostArch=amd64 hostName=XXXX hostOs=linux
time=“2020-02-21T06:32:52-08:00” level=info msg=“Getting version file url …”
time=“2020-02-21T06:32:53-08:00” level=info msg=“Validation result for test group”
time=“2020-02-21T06:32:53-08:00” level=info msg="{“userData”:{“sourcePath”:"",“vendorPath”:"",“buildTool”:{“Command”:""},“flashTool”:{“Command”:""},“clientWifiConfig”:{“wifiSSID”:"",“wifiPassword”:"",“wifiSecurityType”:""},“testWifiConfig”:{“wifiSSID”:"",“wifiPassword”:"",“wifiSecurityType”:""},“otaConfiguration”:{“otaFirmwareFilePath”:"",“deviceFirmwareFileName”:"",“awsSignerPlatform”:"",“awsSignerCertificateArn”:"",“awsUntrustedSignerCertificateArn”:"",“awsSignerCertificateFileName”:"",“compileCodesignerCertificate”:""},“cmakeConfiguration”:{“boardName”:"",“vendorName”:"",“afrToolchainPath”:"",“compilerName”:"",“cmakeToolchainPath”:"",“cmakeInstallation”:"",“compilerInfo”:""},“echoserverConfiguration”:{“securePortForSecureSocket”:"",“insecurePortForSecureSocket”:"",“insecurePortForWiFi”:""}},“setup”:{“awsCredential”:{“accessKey”:"",“secretKey”:"",“region”:""},“productVersion”:""},“resource”:{“privateKeyPath”:"",“username”:"",“ip”:"",“bleDevice”:""}}"
time=“2020-02-21T06:32:57-08:00” level=info msg=“AFQP Suite Info” hostArch=amd64 hostName=SparkNUC hostOs=linux
time=“2020-02-21T06:32:57-08:00” level=info msg=“Getting version file url …”
time=“2020-02-21T06:32:57-08:00” level=info msg=“Test setup start …”
time=“2020-02-21T06:32:57-08:00” level=info msg=“Copying source code to /XXX/devicetester_afreertos_linux/6f2-6glcid…”
time=“2020-02-21T06:32:59-08:00” level=info msg=“Copying source code finished”
time=“2020-02-21T06:32:59-08:00” level=info msg=“Setting client wifi config …”
time=“2020-02-21T06:32:59-08:00” level=info msg=“Applying policy retrieved from /XXX/devicetester_afreertos_linux/tests/AFQ_1/policies/thingPolicy.json.\n”
time=“2020-02-21T06:32:59-08:00” level=error msg=“failed to create thing with error open : no such file or directory”
time=“2020-02-21T06:32:59-08:00” level=info msg=“Cleaning test resources”
time=“2020-02-21T06:32:59-08:00” level=error msg=“Execution failed due to error: failed to setup environment with error: open : no such file or directory”
It’s not clear which file or directory is missing. Running the test individually with additional verbosity and through strace yields no clues. I suspect the test is failing to create the thing due to policy issues.
I would greatly appreciate any help.
Cheers,
-John