[Avocado-devel] Multiplex configuration failing

Cleber Rosa crosa at redhat.com
Thu Nov 19 01:51:16 UTC 2015


Interesting!

Lukáš Doktor (cc'd here), besides having been working in the multiplexer code, has also been
working a lot with ppc64.

Lukáš, can you try to reproduce and chase this bug on ppc64?

Thanks,
CR.

----- Original Message -----
> From: "Olav Philipp Henschel" <olavph at linux.vnet.ibm.com>
> To: avocado-devel at redhat.com
> Sent: Wednesday, November 18, 2015 5:24:21 PM
> Subject: Re: [Avocado-devel] Multiplex configuration failing
> 
> Thanks, Cleber, I thinks that clarifies the doc, but that's not my issue.
> I've executed the same command (./avocado multiplex --tree
> ../examples/mux-environment.yaml) in another machine (x86_64) and it worked.
> It might be a problem with ppc64 architecture.
> 
> Olav
> 
> 
> On 18-11-2015 17:03, Cleber Rosa wrote:
> > Olav,
> >
> > FIY: https://github.com/avocado-framework/avocado/pull/883
> >
> > Thanks,
> > CR.
> >
> > ----- Original Message -----
> >> From: "Cleber Rosa" <crosa at redhat.com>
> >> To: "Olav Philipp Henschel" <olavph at linux.vnet.ibm.com>
> >> Cc: avocado-devel at redhat.com
> >> Sent: Wednesday, November 18, 2015 4:54:39 PM
> >> Subject: Re: [Avocado-devel] Multiplex configuration failing
> >>
> >> Hi Olav,
> >>
> >> Are you including the line numbers? If so, you shouldn't!
> >>
> >> This is how an example file should really look like (without the markers):
> >>
> >> --- start here <---
> >> hw:
> >>      cpu: !mux
> >>          intel:
> >>              cpu_CFLAGS: '-march=core2'
> >>          amd:
> >>              cpu_CFLAGS: '-march=athlon64'
> >>          arm:
> >>              cpu_CFLAGS: '-mabi=apcs-gnu -march=armv8-a -mtune=arm8'
> >>      disk: !mux
> >>          scsi:
> >>              disk_type: 'scsi'
> >>          virtio:
> >>              disk_type: 'virtio'
> >> distro: !mux
> >>      fedora:
> >>          init: 'systemd'
> >>      mint:
> >>          init: 'systemv'
> >> env: !mux
> >>      debug:
> >>          opt_CFLAGS: '-O0 -g'
> >>      prod:
> >>          opt_CFLAGS: '-O2'
> >>
> >> ---> end here <---
> >>
> >> This runs fine on my system (using the latest master), and produces:
> >>
> >> avocado multiplex --tree /tmp/example.mux
> >>   ┗━━ run
> >>        ┣━━ hw
> >>        ┃    ┣━━ cpu
> >>        ┃    ┃    ╠══ intel
> >>        ┃    ┃    ╠══ amd
> >>        ┃    ┃    ╚══ arm
> >>        ┃    ┗━━ disk
> >>        ┃         ╠══ scsi
> >>        ┃         ╚══ virtio
> >>        ┣━━ distro
> >>        ┃    ╠══ fedora
> >>        ┃    ╚══ mint
> >>        ┗━━ env
> >>             ╠══ debug
> >>             ╚══ prod
> >>
> >> I will fix the docs to make it clearer that line numbers are not a part of
> >> the example file.
> >>
> >> ----- Original Message -----
> >>> From: "Olav Philipp Henschel" <olavph at linux.vnet.ibm.com>
> >>> To: avocado-devel at redhat.com
> >>> Sent: Wednesday, November 18, 2015 3:55:40 PM
> >>> Subject: [Avocado-devel] Multiplex configuration failing
> >>>
> >>> Hi,
> >>>
> >>> I am trying to create a multiplex configuration file by following the
> >>> guide in
> >>> http://avocado-framework.readthedocs.org/en/latest/MultiplexConfig.html
> >>> I cannot do it even with simple files. When I try the command using an
> >>> example file provided with avocado:
> >>>
> >>> ./avocado multiplex --tree ../examples/mux-environment.yaml
> >>>
> >>> It outputs:
> >>>
> >>> Invalid multiplex file '../examples/mux-environment.yaml': unacceptable
> >>> character #x0000: control characters are not allowed
> >>>     in "../examples/mux-environment.yaml", position 484
> >>>
> >>> That position is always the character count of the file, i.e. EOF
> >>> position.
> >>>
> >>>
> >>> Any help is appreciated,
> >>> Olav P. Henschel
> >>> IBM Brazil
> >>>
> >>> _______________________________________________
> >>> Avocado-devel mailing list
> >>> Avocado-devel at redhat.com
> >>> https://www.redhat.com/mailman/listinfo/avocado-devel
> >>>
> >> _______________________________________________
> >> Avocado-devel mailing list
> >> Avocado-devel at redhat.com
> >> https://www.redhat.com/mailman/listinfo/avocado-devel
> >>
> > _______________________________________________
> > Avocado-devel mailing list
> > Avocado-devel at redhat.com
> > https://www.redhat.com/mailman/listinfo/avocado-devel
> 
> _______________________________________________
> Avocado-devel mailing list
> Avocado-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/avocado-devel
>




More information about the Avocado-devel mailing list