[Fuego] Please switch server to fuegotest.org (was RE: poll request scheduling)

Pooja Sanjay More pooja.sm at pathpartnertech.com
Wed Jan 6 07:08:38 UTC 2021


Hi,

We have tested test-requests from fserver after pulling the latest changes.
Tests are working fine and also updates test results on fserver.

Thanks and regards,
Pooja More

On Tue, Jan 5, 2021 at 4:02 AM <Tim.Bird at sony.com> wrote:

> Hey everyone,
>
> I'm back from vacation.  Sorry this took so long to respond to,
> but I was away from work since Dec. 22.  Please see my comments
> inline below.
>
> > -----Original Message-----
> > From: Pooja Sanjay More <pooja.sm at pathpartnertech.com>
> >
> > Hi Tim,
> >
> > We checked with the IT team on the result upload issue and it was indeed
> a firewall
> > configuration which was blocking it. This issue has been resolved now
> and we have
> > successfully verified the result object updates on the server.
>
> That is very good to hear!  Thanks for getting this resolved on your end.
>
> >
> >
> > Logs for a test :
> >
> >
> > root at cpu-366U:~# ftc put-request pptlab:rpi Functional.hello_world
> > Request was accepted by the server.
> > request_id=request-2020-12-24_12:39:23.93-pptlab:rpi
> >
> > root at cpu-366U:~# ftc run-request --put-run
> request-2020-12-24_12:39:23.93-pptlab:rpi
> > Trying to get request 'request-2020-12-24_12:39:23.93-pptlab:rpi' from
> server
> > Executing test Functional.hello_world on board rpi (using spec default)
> > Running test 'Functional.hello_world' on board 'rpi' using spec 'default'
> > ===== doing fuego phase: pre_test =====
> > ===== 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-52+
> > ===== doing fuego phase: run =====
> > -------------------------------------------------
> > Hello World!
> >
> > This is a test program, to demonstrate test success and failure
> > Test result: SUCCESS
> > -------------------------------------------------
> > ===== doing fuego phase: post_test =====
> > ===== doing fuego phase: processing =====
> > log_compare: pattern 'SUCCESS' found 1 times (expected greater or equal
> than 1)
> > chart config not found. Using default values.
> > Fuego: requested test phases complete!
> > Packaging run 'Functional.hello_world-default-130-rpi'
> > run/
> > run/machine-snapshot.txt
> > run/syslog.before.txt
> > run/devlog.txt
> > run/testlog.txt
> > run/run.json
> > run/syslog.after.txt
> > run/prolog.sh
> > run/spec.json
> > run/build.xml
> > run/consolelog.txt
> > Run packaged successfully, and is at:
> /tmp/run-Functional.hello_world-default-130-on-pptlab:rpi.frp
> > Run package run-Functional.hello_world-default-130-on-pptlab:rpi.frp was
> accepted by the server.
> > Run Functional.hello_world-default-130-rpi put to server
>
> This looks good.
>
> >
> > Fserver Output:
> >
> >
> >
> >
> > We ran multiple tests and found that when there are tests which do not
> have test.yaml files
> > give an error for  "eprint".
> >
> >
> >
> >
> >
> > eprint() was not defined in ftc. We added it to ftc then it is working
> fine.
> >
> > Changes in ftc:
> >
> > diff --git a/scripts/ftc b/scripts/ftc
> > index ae9ab2f..e70847d 100755
> > --- a/scripts/ftc
> > +++ b/scripts/ftc
> > @@ -616,6 +616,9 @@ def wprint(msg):
> >      global ll_warning
> >      if ll_warning:
> >          print("### WARNING: " + msg)
> > +# always print errors
> > +def eprint(msg):
> > +    print("!!! ERROR: " + msg)
> >
> >  class config_class:
> >      def __init__(self, config_path):
> >
> > Patch file is attached below.
>
> I applied the patch.  It was not a well-formed patch for integration with
> the project.  It was missing the author, commit text, signed-off-by line
> and other meta-information required for a good commit.
>
> I added this material, and added my own "Signed-off-by" line.  Please
> note that I added a "Signed-off-by" line for you (Pooja).  Please let
> me know if there is any problem with this.  Since the code looks like it
> was taken from parser/common.py, I guessed that it was OK to add
> your signed-off-by for the patch.
>
> I found some other bugs in my testing, and added some other patches.
> These have all been pushed to the master branch on bitbucket.
>
> Please 'git pull' the latest material, and let me know if you see any
> problems.
>
> It is really nice to get these bugs fixed.  Thanks
> for the testing and the patch!!
>
> I have some other comments that I'll put in another thread.
>
> Thanks,
>  -- Tim
>
>

-- 






This
message contains confidential information and is intended only 
for the
individual(s) named. 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. 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/fuego/attachments/20210106/46522789/attachment.html>


More information about the Fuego mailing list