From: Willian Rampazzo <wrampazz@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>
Cc: "Fam Zheng" <fam@euphon.net>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"KONRAD Frederic" <frederic.konrad@adacore.com>,
qemu-devel <qemu-devel@nongnu.org>,
"Fabien Chouteau" <chouteau@adacore.com>,
"Kamil Rytarowski" <kamil@netbsd.org>,
qemu-ppc@nongnu.org, "Cleber Rosa" <crosa@redhat.com>,
"Hervé Poussineau" <hpoussin@reactos.org>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH-for-5.1 7/8] .travis.yml: Run fetch-acceptance-assets before check-acceptance
Date: Mon, 6 Apr 2020 14:55:48 -0300 [thread overview]
Message-ID: <CAKJDGDZePOW6Hg9P5WMoP93U2kGEO1=CGF0W7X-G-E7bid_8kQ@mail.gmail.com> (raw)
In-Reply-To: <4b9c706f-b9b0-35c6-457f-e03f746c9287@redhat.com>
On Mon, Apr 6, 2020 at 12:39 PM Philippe Mathieu-Daudé
<philmd@redhat.com> wrote:
>
> On 4/6/20 5:31 PM, Alex Bennée wrote:
> >
> > Philippe Mathieu-Daudé <philmd@redhat.com> writes:
> >
> >> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> >> ---
> >> .travis.yml | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/.travis.yml b/.travis.yml
> >> index 2fd63eceaa..c6b32da447 100644
> >> --- a/.travis.yml
> >> +++ b/.travis.yml
> >> @@ -317,7 +317,7 @@ jobs:
> >> dist: bionic
> >> env:
> >> - CONFIG="--enable-tools --target-list=aarch64-softmmu,alpha-softmmu,arm-softmmu,m68k-softmmu,microblaze-softmmu,mips-softmmu,mips64el-softmmu,nios2-softmmu,or1k-softmmu,ppc-softmmu,ppc64-softmmu,s390x-softmmu,sparc-softmmu,x86_64-softmmu,xtensa-softmmu"
> >> - - TEST_CMD="make check-acceptance"
> >> + - TEST_CMD="travis_retry make -j1 fetch-acceptance-assets
> >> check-acceptance DEBUG=1"
> >
> > You could use TEST_BUILD_CMD for the fetching of acceptance tests - can
> > that be done in parallel?
If by `parallel` you mean running it with other targets, the
fetch-acceptance-assets target can run at any time before the
check-acceptance runs, concurrently with different targets. Now, if by
`parallel` you mean fetch more than one asset at a time, right now it
is not supported by Avocado, assets are fetched one by one, but it is
an excellent idea. I have added it to my list.
>
> I'd say calling fetch-acceptance-assets parallelized is what seems to
> break this Travis job (which is why I enforced -j1), but I'll refer to
> Willian here.
>
As I mentioned above, no problem with running it in parallel to other
targets. The errors we saw when you were testing are not related to
the parallel run. It should be fixed in the next release of Avocado.
> >
> > Also no point in -j1 here - it's implied.
>
> You are right, I wanted to be sure this still work even if the globlal
> script running the tests is updated. But the correct fix is probably to
> use .NOTPARALLEL in the fetch-acceptance-assets rule in the previous patch.
>
> >
> >> - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-acceptance"
> >> after_script:
> >> - python3 -c 'import json; r = json.load(open("tests/results/latest/results.json")); [print(t["logfile"]) for t in r["tests"] if t["status"] not in ("PASS", "SKIP")]' | xargs cat
> >
> >
>
next prev parent reply other threads:[~2020-04-06 18:35 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-03 17:29 [PATCH-for-5.0 0/8] Acceptance tests queue Philippe Mathieu-Daudé
2020-04-03 17:29 ` [PATCH-for-5.0 1/8] Acceptance test: Fix to EXEC migration Philippe Mathieu-Daudé
2020-04-03 17:29 ` [PATCH-for-5.0 2/8] tests/acceptance/ppc_prep_40p: Use cdn.netbsd.org hostname Philippe Mathieu-Daudé
2020-04-03 17:29 ` [PATCH-for-5.0 3/8] tests/acceptance/ppc_prep_40p: Use mirror for ftp.software.ibm.com Philippe Mathieu-Daudé
2020-04-06 13:54 ` Wainer dos Santos Moschetta
2020-04-06 14:07 ` Willian Rampazzo
2020-04-03 17:29 ` [PATCH-for-5.0 4/8] tests/acceptance/machine_sparc_leon3: Disable HelenOS test Philippe Mathieu-Daudé
2020-04-03 17:29 ` [PATCH-for-5.0 5/8] .travis.yml: Cache acceptance-test assets Philippe Mathieu-Daudé
2020-04-06 14:16 ` Wainer dos Santos Moschetta
2020-04-06 15:29 ` Alex Bennée
2020-04-03 17:29 ` [PATCH-for-5.1 6/8] tests/Makefile: Add fetch-acceptance-assets rule Philippe Mathieu-Daudé
2020-04-06 15:41 ` Alex Bennée
2020-04-06 18:11 ` Willian Rampazzo
2020-04-06 18:22 ` Alex Bennée
2020-04-03 17:29 ` [PATCH-for-5.1 7/8] .travis.yml: Run fetch-acceptance-assets before check-acceptance Philippe Mathieu-Daudé
2020-04-06 15:31 ` Alex Bennée
2020-04-06 15:39 ` Philippe Mathieu-Daudé
2020-04-06 17:55 ` Willian Rampazzo [this message]
2020-04-06 18:21 ` Alex Bennée
2020-04-06 18:39 ` Willian Rampazzo
2020-04-03 17:29 ` [NOTFORMERGE PATCH 8/8] Kludge for Avocado issue #3661 Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKJDGDZePOW6Hg9P5WMoP93U2kGEO1=CGF0W7X-G-E7bid_8kQ@mail.gmail.com' \
--to=wrampazz@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=chouteau@adacore.com \
--cc=crosa@redhat.com \
--cc=ehabkost@redhat.com \
--cc=fam@euphon.net \
--cc=frederic.konrad@adacore.com \
--cc=hpoussin@reactos.org \
--cc=kamil@netbsd.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).