<div dir="ltr">Hi Tim, <div><br></div><div>poll_request.sh was running with -u option only.</div><div>Few tests that you put executed successfully.</div><div>One test failed because of permission.</div><div>I have changed the ownership of /fuego-rw/buildzone from </div><div>root to jenkins.</div><div><br></div><div>We have kept ttc.conf under /fuego-ro/conf/ folder inside old container</div><div>just to get Functional.reboot working first then will move the same </div><div> to a more generic folder /usr/test inside the new container(built already</div><div>with /usr/test volume mounted, need to configure for jenkins job).</div><div>I did a git pull and tried the Functional.reboot test multiple times, </div><div>it's working fine.</div><div><br></div><div>Logs for the same :</div><div><br></div><div><pre id="gmail-out" class="gmail-console-output" style="box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51)"><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">Running as SYSTEM
Building on master in workspace /var/lib/jenkins/jobs/poll_requests_on_server/workspace
[workspace] $ /bin/sh -xe /tmp/jenkins6221678271780851761.sh
+ /fuego-core/scripts/poll_requests.sh -u -d 12h -w 120
== Polling server "<a href="http://fuegotest.org/cgi-bin">fuegotest.org/cgi-bin</a>" for requests ==
Processing requests for any board
Installing new tests or upgrading tests is allowed.
Waiting 120 seconds between polls of the server.
Running for 12h
Type Ctrl-C to exit
Checking 
Running request: request-2021-01-22_06:42:55.57-pptlab:rpi
</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">Trying to get request 'request-2021-01-22_06:42:55.57-pptlab:rpi' from server
Checking for (possibly newer) test Functional.reboot on server.
Executing test Functional.reboot on board rpi (using spec default)
Running test 'Functional.reboot' on board 'rpi' using spec 'default'
===== doing fuego phase: pre_test =====
</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">===== doing fuego phase: build =====
The test is already built
Fuego test_build duration=0 seconds
===== doing fuego phase: deploy =====
===== doing fuego phase: snapshot =====
Firmware revision: 5.4.83-v7-77+
</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">===== doing fuego phase: run =====
-------------------------------------------------
TAP version 13
1..3
Calling target_reboot for board rpi...
</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">Connection to 192.168.3.123 closed by remote host.
</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px"># uptime of board=37 (seconds)
# duration of reboot=44 (seconds)
ok 1 - software reboot with target_reboot
# BOARD_CONTROL=ttc
ok 2 - board has BOARD_CONTROL setting
Calling ov_board_control_reboot for board rpi...
</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">comunicating with relay board 

Serial<id=0x7f6d516eb210, open=True>(port='/dev/ttyUSB0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=3.0, xonxoff=False, rtscts=False, dsrdtr=False)
Checking for ping..

('Data read is :', 'R')


<function ping at 0x7f6d517012a8>
Sleeping for 3 secs 
        
Resetting the RPI board

RELAY1_OFF_COMMAND: 0x31

usb device turned OFF successfully

Sleeping for 2 secs

RELAY1_ON_COMMAND: 0x51

usb device turned ON successfully 

Closing Serial Port
</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px"># uptime of board=56 (seconds)
# duration of reboot=67 (seconds)
ok 3 - hardware reboot with ov_board_control_reboot
-------------------------------------------------
===== doing fuego phase: post_test =====
scp: /home/pi/test/fuego.Functional.reboot/Functional.reboot.log: No such file or directory
INFO: the test did not produce a test log on the target
</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">run/
run/run.json
</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px">scp: /tmp/fuego.Functional.reboot/rpi.10.10.before: No such file or directory
Warning: no matching Jenkins job found. Not populating Jenkins build directory
Packaging run 'Functional.reboot-default-10-rpi'
Run packaged successfully, and is at: /tmp/run-Functional.reboot-default-10-on-pptlab:rpi.frp
Run package run-Functional.reboot-default-10-on-pptlab:rpi.frp was accepted by the server.
Run Functional.reboot-default-10-rpi put to server</pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px"><br></pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px"><br></pre><pre style="box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif" style="">Please put requests now.</font></pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif"><br></font></pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif">Thanks and regards,</font></pre><pre style="font-size:0.95em;box-sizing:inherit;white-space:pre-wrap;margin-top:0px;margin-bottom:0px"><font face="arial, sans-serif">Pooja More</font></pre></pre></div><div><font face="arial, sans-serif"> </font></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 22, 2021 at 6:08 AM <<a href="mailto:Tim.Bird@sony.com">Tim.Bird@sony.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Pooja,<br>
<br>
Can you please double-check that the poll_request.sh script is getting run with the '-u' option?<br>
I have tried updating the Functional.fuego_lab_check test (by putting a new one on <a href="http://fuegotest.org" rel="noreferrer" target="_blank">fuegotest.org</a>)<br>
and running an updated one, and trying to force an upgrade in your lab by submitting a request<br>
with version="latest".  However, the request ends up running an old broken version of <br>
Functional.fuego_lab_check.  So something is going wrong.<br>
<br>
Can you also please do a 'git pull' of fuego-core?  That will at least upgrade the 'fuego_lab_check'<br>
test to the current version (which has some important fixes).  Once that test can be upgraded<br>
remotely, it will give me data I can use to diagnose problems in your lab remotely (like<br>
check directory permissions inside the container)<br>
<br>
Thanks,<br>
 -- Tim<br>
<br>
</blockquote></div>

<br>




<p><span lang="EN-IN">This
message contains confidential information and is intended only for the
individual(s) named.</span><span lang="EN-IN"> </span>If you are not the intended
recipient, you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this mail and attached file/s is strictly
prohibited<span lang="EN-IN">. Please notify the
sender immediately and delete this e-mail from your system. E-mail transmission
cannot be guaranteed to be secured or error-free as information could be
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain
viruses. The sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a result of e-mail
transmission.</span></p>