Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15290
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Andrey Rakhmatullin <wrar@wrar.name> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Do unit tests on Debian Servers/Build system? |
| Date | Thu, 02 Nov 2023 08:50:02 +0100 |
| Message-ID | <HvACK-2xjU-19@gated-at.bofh.it> (permalink) |
| References | <Hvw65-2uou-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Nov 2 07:40:00 2023 |
| Old-Return-Path | <wrar@wrar.name> |
| X-Amavis-Spam-Status | No, score=-7.2 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/21227 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/ZUNSO0--VV8kaKYC@durkon.wrar.name |
| Approved | robomod@news.nic.it |
| Lines | 32 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 2 Nov 2023 08:39:39 +0100 |
| X-Original-Message-ID | <ZUNSO0--VV8kaKYC@durkon.wrar.name> |
| X-Original-References | <9989555fab0e72c2cc101cc681744295@posteo.de> |
| Xref | csiph.com linux.debian.maint.python:15290 |
Show key headers only | View raw
On Thu, Nov 02, 2023 at 02:53:48AM +0000, c.buhtz@posteo.jp wrote:
> Hello,
>
> I try to understand some basics about debian packaging Python applications
> and the upload and test process.
> My question in short: When (at which time point in the process of packaging
> python applications for Debian) do the Python unit tests run?
As a part of the build process they run when the package is built.
As a part of autopkgtests then run when autopkgtests for the package are
triggered, so after it's uploaded and when its deps/revdeps (?) are
uploaded.
> I know about the Salsa instance. Maintainers do create deb files out of it
> and then upload them to the official package repository.
Maintainers don't upload debs, debs are built on buildds.
> Starting from tracker.debian.org I can link to a lot of status packages
> indicating success or problems; e.g. Linitian, CI, ...
> No where I was able to find an indicator about if unit tests are successful
> or not.
Tests that run as a part of the build process fail the build ("buildd:
logs" on the tracker page).
Tests that run as a part of autopkgtests fail the autopkgtest (debci on
the tracker page, but also will have its own block if something fails).
> Do such tests to run at the Debian Servers? Or do the maintainers only start
> them at their own local machines? Is this a manual step in the process?
> If they run automatically when do they run? Before or after the deb files is
> created? If it is the latter then the test_*.py files need to be contained
> in the deb file I assume.
Autopkgtests have access to the source package so they don't need tests in
the binary packages.
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Do unit tests on Debian Servers/Build system? c.buhtz@posteo.jp - 2023-11-02 04:00 +0100 Re: Do unit tests on Debian Servers/Build system? Andrey Rakhmatullin <wrar@wrar.name> - 2023-11-02 08:50 +0100
csiph-web