Hi Team, Good day to you!
I'm making a dispatcher setup to connect new devices and run tests. In order to do this, I have connected all the required hardware correctly and created configuration files by following Lava documentation. I Am able to control the device with the relay board automatically and can login using telnet. I'm trying to run my initial test job definition, It downloads the image but fails to flash the image on device with the below message:
- {"dt": "2022-08-22T09:07:45.799863", "lvl": "debug", "msg": "Calling: 'nice' 'flash' 'pk_raspi-unit1' '{package}'"} - {"dt": "2022-08-22T09:07:45.809654", "lvl": "debug", "msg": ">> /var/lib/lava/dispatcher/tmp/466/deploy-flasher-p2k8tvri /var/lib/lava/dispatcher/tmp/466/deploy-flasher-p2k8tvri\r"} - {"dt": "2022-08-22T09:07:45.811510", "lvl": "debug", "msg": ">> \r"} - {"dt": "2022-08-22T09:07:45.811674", "lvl": "debug", "msg": ">> 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21\r"} - {"dt": "2022-08-22T09:07:45.811955", "lvl": "debug", "msg": ">> p7zip Version 16.02 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (806EB),ASM,AES-NI)\r"} - {"dt": "2022-08-22T09:07:45.812045", "lvl": "debug", "msg": ">> \r"} - {"dt": "2022-08-22T09:07:45.812121", "lvl": "debug", "msg": ">> Scanning the drive for archives:\r"} - {"dt": "2022-08-22T09:07:45.812195", "lvl": "debug", "msg": ">> 0M Scan\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\r"} - {"dt": "2022-08-22T09:07:45.812266", "lvl": "debug", "msg": ">> ERROR: No more files\r"} - {"dt": "2022-08-22T09:07:45.812366", "lvl": "debug", "msg": ">> {package}\r"} - {"dt": "2022-08-22T09:07:45.812434", "lvl": "debug", "msg": ">> \r"} - {"dt": "2022-08-22T09:07:45.812712", "lvl": "debug", "msg": ">> \r"} - {"dt": "2022-08-22T09:07:45.812790", "lvl": "debug", "msg": ">> \r"} - {"dt": "2022-08-22T09:07:45.812860", "lvl": "debug", "msg": ">> System ERROR:\r"} - {"dt": "2022-08-22T09:07:45.812929", "lvl": "debug", "msg": ">> Unknown error -2147024872\r"} - {"dt": "2022-08-22T09:07:45.813221", "lvl": "debug", "msg": "Returned 2 in 0 seconds"} - {"dt": "2022-08-22T09:07:45.813306", "lvl": "error", "msg": "Unable to run 'nice' '['flash', 'pk_raspi-unit1', '{package}']'"} - {"dt": "2022-08-22T09:07:45.813411", "lvl": "exception", "msg": "Unable to flash the device"}
Any suggestion to overcome the issue would be very helpful. Attached log file
Best Regards.
On Mon, Aug 22, 2022 at 10:37 AM pawanKumar pawan4749@gmail.com wrote:
Hi Team, Good day to you!
I'm making a dispatcher setup to connect new devices and run tests. In order to do this, I have connected all the required hardware correctly and created configuration files by following Lava documentation. I Am able to control the device with the relay board automatically and can login using telnet. I'm trying to run my initial test job definition, It downloads the image but fails to flash the image on device with the below message:
- {"dt": "2022-08-22T09:07:45.799863", "lvl": "debug", "msg": "Calling: 'nice' 'flash' 'pk_raspi-unit1' '{package}'"}
- {"dt": "2022-08-22T09:07:45.809654", "lvl": "debug", "msg": ">> /var/lib/lava/dispatcher/tmp/466/deploy-flasher-p2k8tvri /var/lib/lava/dispatcher/tmp/466/deploy-flasher-p2k8tvri\r"}
- {"dt": "2022-08-22T09:07:45.811510", "lvl": "debug", "msg": ">> \r"}
- {"dt": "2022-08-22T09:07:45.811674", "lvl": "debug", "msg": ">> 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21\r"}
- {"dt": "2022-08-22T09:07:45.811955", "lvl": "debug", "msg": ">> p7zip Version 16.02 (locale=C.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (806EB),ASM,AES-NI)\r"}
- {"dt": "2022-08-22T09:07:45.812045", "lvl": "debug", "msg": ">> \r"}
- {"dt": "2022-08-22T09:07:45.812121", "lvl": "debug", "msg": ">> Scanning the drive for archives:\r"}
- {"dt": "2022-08-22T09:07:45.812195", "lvl": "debug", "msg": ">> 0M Scan\b\b\b\b\b\b\b\b\b \b\b\b\b\b\b\b\b\b\r"}
- {"dt": "2022-08-22T09:07:45.812266", "lvl": "debug", "msg": ">> ERROR: No more files\r"}
- {"dt": "2022-08-22T09:07:45.812366", "lvl": "debug", "msg": ">> {package}\r"}
- {"dt": "2022-08-22T09:07:45.812434", "lvl": "debug", "msg": ">> \r"}
- {"dt": "2022-08-22T09:07:45.812712", "lvl": "debug", "msg": ">> \r"}
- {"dt": "2022-08-22T09:07:45.812790", "lvl": "debug", "msg": ">> \r"}
- {"dt": "2022-08-22T09:07:45.812860", "lvl": "debug", "msg": ">> System ERROR:\r"}
- {"dt": "2022-08-22T09:07:45.812929", "lvl": "debug", "msg": ">> Unknown error -2147024872\r"}
- {"dt": "2022-08-22T09:07:45.813221", "lvl": "debug", "msg": "Returned 2 in 0 seconds"}
- {"dt": "2022-08-22T09:07:45.813306", "lvl": "error", "msg": "Unable to run 'nice' '['flash', 'pk_raspi-unit1', '{package}']'"}
- {"dt": "2022-08-22T09:07:45.813411", "lvl": "exception", "msg": "Unable to flash the device"}
Any suggestion to overcome the issue would be very helpful. Attached log file
check what flasher script in your device dictionary does. It looks like it calls p7zip for some reason. This is specific to your instance and your device dictionary. I'm afraid there is no way anyone else can help you.
Best Regards, Milosz
Best Regards.
Lava-users mailing list -- lava-users@lists.lavasoftware.org To unsubscribe send an email to lava-users-leave@lists.lavasoftware.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
lava-users@lists.lavasoftware.org