Hello, Milosz
It's a very simple hardware connection, for example, the serial port is "/dev/ttyUSB0", I set "telnet xxx 9999" in device, then I use uboot/nfs in lava job.
1. Sometimes when I submit my job to lava, it's just ok.
2. But sometimes when I submit my job to lava, in uboot operation, for example, "tftpboot xxx image", it will tells me "Connection closed", I don't know why. But when I submit a job to lava at once, then it's ok this time!
3. I guess some issue with something, I'm not sure it's lava issue or my board issue. Then I set a failure_retry: 10, to let lava retry it for me. Strange, never success. But if manual retry it in hand, it's high probability that I could retry successfully.
On Mon, May 18, 2020 at 4:56 PM Milosz Wasilewski < milosz.wasilewski@linaro.org> wrote:
Peter,
On Mon, 18 May 2020 at 09:52, Peter Lucas peterlucas073@gmail.com wrote:
Dear Sir/Madam,
I'm new to LAVA. I'm still in initial stage to use lava in our farm. I
use customized board with Qualcomm's chip.
Recently I met a question, a very simple job, sometimes when I start to
operate uboot, the serial have chance to be closed. They I set retry in lava job, let it retry a lots of times, but looks never successfully open the serial again.
I don't quite understand your use case. Do you manually close the serial connection? Could you describe your setup (hardware connections) in a bit more detail?
milosz
But, after job finish, I quickly open the serial in manual, it's ok!
I search your code a lot, and found in shell.py there is one comments, I
want to know is this the reason that I failed to retry for serial? When will you fix it?
# FIXME: deliberately closing the connection (and starting a new one)
needs to be supported.
Cheers, Peter _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users