[Avocado-devel] remote machine detect avocado failed

Kevin Chen chenxlbr at gmail.com
Wed Sep 26 16:09:51 UTC 2018


I had resolved this problem.The reason is my board use shell from
busybox, not the standard bash. I change the shell from sh to bash.The
host avocado doesn't shows the 'not detect avocado error' message.
But I got another error, and I havn't any hint about that.


On Sat, Sep 8, 2018 at 9:54 AM Kevin Chen <chenxlbr at gmail.com> wrote:
>
> Hi Alan,
>
> Thanks again. I will try to debug the avocado and Yocto. Maybe the
> dependencies is a right point.
> On Fri, Sep 7, 2018 at 5:48 PM Alan Martinovic
> <alan.martinovic at senic.com> wrote:
> >
> > Hey Kevin,
> > I also don't know much about avocado, but this might be a Yocto related problem.
> > Would perhaps suggest you drop the remote feature for now, and as a first
> > step debug it by logging to the imx6 and checking what state avocado is there.
> >
> > It might be throwing exceptions on missing dependencies or something...
> >
> > Be Well,
> > Alan
> >
> > On Fri, Sep 7, 2018 at 3:35 AM, Kevin Chen <chenxlbr at gmail.com> wrote:
> >>
> >> Hi Cleber,
> >>
> >> I write an bb file for Yocto to build the avocado-framework. Below is
> >> my recipe code:
> >>
> >> SRC_URI = "git://github.com/avocado-framework/avocado.git;protocol=https"
> >>
> >> # Modify these as desired
> >> #PV = "63.0+git${SRCPV}"
> >> SRCREV = "c6ac5529063018ca6df308f8495c71697747e255"
> >>
> >> S = "${WORKDIR}/git"
> >>
> >> inherit setuptools
> >>
> >> # WARNING: the following rdepends are determined through basic analysis of the
> >> # python sources, and might not be 100% accurate.
> >> RDEPENDS_${PN} += "python-argparse python-codecs python-compression
> >> python-core python-crypt python-datetime python-difflib
> >> python-distutils python-        fcntl python-html python-importlib
> >> python-io python-json python-lang python-logging python-math
> >> python-multiprocessing python-netclient python-pickle
> >> python-pprint python-re python-shell python-sqlite3 python-stringold
> >> python-subprocess python-textutils python-threading python-unittest
> >> python-xml         python-six python-setuptools python-lxml
> >> python-requests python-stevedore "
> >>
> >>
> >> The c6ac5529063018ca6df308f8495c71697747e255 is the commit id of
> >> version 62. It's failed on 63 version.
> >>
> >> On Fri, Sep 7, 2018 at 3:39 AM Cleber Rosa <crosa at redhat.com> wrote:
> >> >
> >> >
> >> >
> >> > On 08/31/2018 11:05 PM, Kevin Chen wrote:
> >> > > Can anyone give some hints about that issue?
> >> > > On Tue, Aug 14, 2018 at 10:32 PM Kevin Chen <chenxlbr at gmail.com> wrote:
> >> > >>
> >> > >> Hi everyone,
> >> > >>
> >> > >> I am newer on avocado.Now, I am using remote mode to execute an simple
> >> > >> test on remote machine. My remote machine is a nxp imx6 board. The
> >> > >> host and remote machine are installed avocado 62 version. Below is the
> >> > >> error on the host machine:
> >> > >>
> >> > >> Avocado job failed: JobError: Remote machine does not seem to have
> >> > >> avocado installed
> >> > >>
> >> > >> I asm confuse about that.I can run some test with avocado on serial
> >> > >> port.And also execute same test through ssh way.Did I missing
> >> > >> something?Please give me hint. Thanks.
> >> > >>
> >> > >>
> >> > >> ---
> >> > >> Kevin Chen
> >> > >> ShenZhen Guangdong, China
> >> > >
> >> > >
> >> > >
> >> >
> >> > Kevin,
> >> >
> >> > Could you share details about how you've installed Avocado on the remote
> >> > machine (the nxp imx6 board)?
> >> >
> >> > Thanks.
> >> >
> >> > --
> >> > Cleber Rosa
> >> > [ Sr Software Engineer - Virtualization Team - Red Hat ]
> >> > [ Avocado Test Framework - avocado-framework.github.io ]
> >> > [  7ABB 96EB 8B46 B94D 5E0F  E9BB 657E 8D33 A5F2 09F3  ]
> >>
> >>
> >>
> >> --
> >>
> >> ---
> >> Kevin Chen
> >> ShenZhen Guangdong, China
> >>
> >
>
>
> --
>
> ---
> Kevin Chen
> ShenZhen Guangdong, China



-- 

---
Kevin Chen
ShenZhen Guangdong, China




More information about the Avocado-devel mailing list