Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13139

Re: gotchas when running tests via pybuild?

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod
From Diane Trout <diane@ghic.org>
Newsgroups linux.debian.maint.python
Subject Re: gotchas when running tests via pybuild?
Date Fri, 22 Jan 2021 20:10:01 +0100
Message-ID <BA9YJ-4JF-15@gated-at.bofh.it> (permalink)
References <BA8gh-3Cp-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Jan 22 19:07:44 2021
Old-Return-Path <diane@ghic.org>
X-Amavis-Spam-Status No, score=-10.57 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RDNS_NONE=0.793, SARE_MSGID_LONG40=0.637] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
Content-Type multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-j3a84q+krgWTQ0iCATAm"
User-Agent Evolution 3.38.2-1
MIME-Version 1.0
X-Mailing-List <debian-python@lists.debian.org> archive/latest/18915
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/862512fef2e2b4230ac4b1910347b3963bf90347.camel@ghic.org
Approved robomod@news.nic.it
Lines 53
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 22 Jan 2021 11:07:23 -0800
X-Original-Message-ID <862512fef2e2b4230ac4b1910347b3963bf90347.camel@ghic.org>
X-Original-References <YAsGDm7sRWBOgmmu@debian.org>
Xref csiph.com linux.debian.maint.python:13139

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

On Fri, 2021-01-22 at 14:06 -0300, Antonio Terceiro wrote:
> Does anybody have an insight on cases like this? Are there any
> details
> that I'm missing?

I occasionally have tests behave differently between the buildd and
autopkgtest runner.

Things that I have encountered.

The pybuild tests are run after the package is built in
${src}/.pybuild, the autopkgtests are run on the installed package, so
if the package depends on scripts being installed, they might fail in
the builder.

There might also be different arguments to the test runner (or even
different test runners) between what pybuild decided to do and what's
done in debian/tests/control.

Maybe those ideas might help?
Diane

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

gotchas when running tests via pybuild? Antonio Terceiro <terceiro@debian.org> - 2021-01-22 18:20 +0100
  Re: gotchas when running tests via pybuild? Diane Trout <diane@ghic.org> - 2021-01-22 20:10 +0100
  Re: gotchas when running tests via pybuild? Thomas Goirand <zigo@debian.org> - 2021-01-24 11:30 +0100

csiph-web