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


Groups > linux.debian.bugs.dist > #1091798 > unrolled thread

Bug#968679: debci: self-service multipackage pinning does not work as documented

Started byDrew Parsons <dparsons@debian.org>
First post2022-02-02 12:40 +0100
Last post2022-02-04 15:10 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#968679: debci: self-service multipackage pinning does not work as documented Drew Parsons <dparsons@debian.org> - 2022-02-02 12:40 +0100
    Bug#968679: debci: self-service multipackage pinning does not work as documented Paul Gevers <elbrus@debian.org> - 2022-02-02 19:30 +0100
      Bug#968679: debci: self-service multipackage pinning does not work as documented Drew Parsons <dparsons@debian.org> - 2022-02-04 01:10 +0100
        Bug#968679: debci: self-service multipackage pinning does not work as documented Antonio Terceiro <terceiro@debian.org> - 2022-02-04 12:30 +0100
          Bug#968679: debci: self-service multipackage pinning does not work as documented Drew Parsons <dparsons@debian.org> - 2022-02-04 13:30 +0100
            Bug#968679: debci: self-service multipackage pinning does not work as documented Antonio Terceiro <terceiro@debian.org> - 2022-02-04 15:10 +0100

#1091798 — Bug#968679: debci: self-service multipackage pinning does not work as documented

FromDrew Parsons <dparsons@debian.org>
Date2022-02-02 12:40 +0100
SubjectBug#968679: debci: self-service multipackage pinning does not work as documented
Message-ID<DMm9s-5vk-3@gated-at.bofh.it>
Package: debci
Version: 3.4
Followup-For: Bug #968679

This bug is still live.

I've tried to test src:pytest-mpi from experimental, using
src:python-sybil from experimental.

With or without spaces in the pin line, the test fails to launch,
with error message "Target Sources (main/source/Sources) is configured
multiple times": 


W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 and /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
...
autopkgtest [11:36:00]: ERROR: "sh -ec mkdir -p /etc/apt/preferences.d; PKGS=""; PKGS="$PKGS $(apt-cache showsrc pytest-mpi | awk '/^Package-List:/ { show=1; next } (/^ / && show==1) { print $1; next } { show=0 }' |sort -u | tr '\n' ' ')"; printf "Package: $PKGS\nPin: release a=experimental\nPin-Priority: 995\n" > /etc/apt/preferences.d/autopkgtest-experimental; " failed with stderr "W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 and /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4

[toc] | [next] | [standalone]


#1091838

FromPaul Gevers <elbrus@debian.org>
Date2022-02-02 19:30 +0100
Message-ID<DMsyd-XX-1@gated-at.bofh.it>
In reply to#1091798

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

Hi Drew,

On 02-02-2022 12:37, Drew Parsons wrote:
> Package: debci
> Version: 3.4
> Followup-For: Bug #968679
> 
> This bug is still live.
> 
> I've tried to test src:pytest-mpi from experimental, using
> src:python-sybil from experimental.
> 
> With or without spaces in the pin line, the test fails to launch,
> with error message "Target Sources (main/source/Sources) is configured
> multiple times":
> 
> 
> W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 and /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
> ...
> autopkgtest [11:36:00]: ERROR: "sh -ec mkdir -p /etc/apt/preferences.d; PKGS=""; PKGS="$PKGS $(apt-cache showsrc pytest-mpi | awk '/^Package-List:/ { show=1; next } (/^ / && show==1) { print $1; next } { show=0 }' |sort -u | tr '\n' ' ')"; printf "Package: $PKGS\nPin: release a=experimental\nPin-Priority: 995\n" > /etc/apt/preferences.d/autopkgtest-experimental; " failed with stderr "W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 and /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
> 

I just tried with:

src:pytest-mpi, src:python-sybil, experimental

and

src:pytest-mpi,src:python-sybil, experimental

Both worked.

Did you maybe miss this line on the page: """Note: each suite can be 
only present once. please separate by line."""

Paul

[toc] | [prev] | [next] | [standalone]


#1091984

FromDrew Parsons <dparsons@debian.org>
Date2022-02-04 01:10 +0100
Message-ID<DMUkO-PL-9@gated-at.bofh.it>
In reply to#1091838
On 2022-02-02 19:21, Paul Gevers wrote:
>> Followup-For: Bug #968679
>> 
>> This bug is still live.
>> 
> 
> I just tried with:
> 
> src:pytest-mpi, src:python-sybil, experimental
> 
> and
> 
> src:pytest-mpi,src:python-sybil, experimental
> 
> Both worked.
> 
> Did you maybe miss this line on the page: """Note: each suite can be
> only present once. please separate by line."""


Well, no.  I even copied&pasted the lines you've given here, it's still 
failing to work, in the same way.
Is it some kind of permissions configuration error, if it works for you 
and not for me?

This is the full debci output from the last attempt:

autopkgtest [23:58:01]: starting date: 2022-02-03
autopkgtest [23:58:01]: version 5.19
autopkgtest [23:58:01]: host ci-worker13; command line: 
/usr/bin/autopkgtest --no-built-binaries '--setup-commands=echo 
'"'"'pytest-mpi unstable/amd64'"'"' > /var/tmp/debci.pkg 2>&1 || true' 
'--setup-commands=echo '"'"'Acquire::Retries "10";'"'"' > 
/etc/apt/apt.conf.d/75retry 2>&1 || true' --user debci --apt-upgrade 
--add-apt-release=experimental 
--pin-packages=experimental=src:pytest-mpi 
--add-apt-release=experimental 
--pin-packages=experimental=src:python-sybil --output-dir 
/tmp/tmp.K9p1hcSGlj/autopkgtest-incoming/unstable/amd64/p/pytest-mpi/18927884 
pytest-mpi -- lxc --sudo --name ci-034-e8032c86 
autopkgtest-unstable-amd64
autopkgtest [23:58:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup
Get:1 http://deb.debian.org/debian experimental InRelease [75.4 kB]
Get:2 http://deb.debian.org/debian experimental/contrib Sources [4,180 
B]
Get:3 http://deb.debian.org/debian experimental/main Sources [376 kB]
Get:4 http://deb.debian.org/debian experimental/non-free Sources [3,884 
B]
Get:5 http://deb.debian.org/debian experimental/contrib amd64 Packages 
[6,200 B]
Get:6 http://deb.debian.org/debian experimental/non-free amd64 Packages 
[14.1 kB]
Get:7 http://deb.debian.org/debian experimental/main amd64 Packages [406 
kB]
Fetched 886 kB in 1s (1,327 kB/s)
Reading package lists...
Hit:1 http://deb.debian.org/debian experimental InRelease
Reading package lists...
W: Target Sources (main/source/Sources) is configured multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
W: Target Sources (contrib/source/Sources) is configured multiple times 
in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
W: Target Sources (non-free/source/Sources) is configured multiple times 
in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
W: Target Packages (main/binary-amd64/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (contrib/binary-amd64/Packages) is configured 
multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (contrib/binary-all/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (non-free/binary-amd64/Packages) is configured 
multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (non-free/binary-all/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Sources (main/source/Sources) is configured multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
W: Target Sources (contrib/source/Sources) is configured multiple times 
in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
W: Target Sources (non-free/source/Sources) is configured multiple times 
in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
W: Target Packages (main/binary-amd64/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (contrib/binary-amd64/Packages) is configured 
multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (contrib/binary-all/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (non-free/binary-amd64/Packages) is configured 
multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (non-free/binary-all/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
autopkgtest [23:58:16]: ERROR: "sh -ec mkdir -p /etc/apt/preferences.d; 
PKGS=""; PKGS="$PKGS $(apt-cache showsrc pytest-mpi | awk 
'/^Package-List:/ { show=1; next } (/^ / && show==1) { print $1; next } 
{ show=0 }' |sort -u | tr '\n' ' ')"; printf "Package: $PKGS\nPin: 
release a=experimental\nPin-Priority: 995\n" > 
/etc/apt/preferences.d/autopkgtest-experimental; " failed with stderr 
"W: Target Sources (main/source/Sources) is configured multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
W: Target Sources (contrib/source/Sources) is configured multiple times 
in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
W: Target Sources (non-free/source/Sources) is configured multiple times 
in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4
W: Target Packages (main/binary-amd64/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (main/binary-all/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (contrib/binary-amd64/Packages) is configured 
multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (contrib/binary-all/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (non-free/binary-amd64/Packages) is configured 
multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
W: Target Packages (non-free/binary-all/Packages) is configured multiple 
times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
"

[toc] | [prev] | [next] | [standalone]


#1092017

FromAntonio Terceiro <terceiro@debian.org>
Date2022-02-04 12:30 +0100
Message-ID<DN4WS-7e2-5@gated-at.bofh.it>
In reply to#1091984

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

On Fri, Feb 04, 2022 at 01:02:58AM +0100, Drew Parsons wrote:
> On 2022-02-02 19:21, Paul Gevers wrote:
> > > Followup-For: Bug #968679
> > > 
> > > This bug is still live.
> > > 
> > 
> > I just tried with:
> > 
> > src:pytest-mpi, src:python-sybil, experimental
> > 
> > and
> > 
> > src:pytest-mpi,src:python-sybil, experimental
> > 
> > Both worked.
> > 
> > Did you maybe miss this line on the page: """Note: each suite can be
> > only present once. please separate by line."""
> 
> 
> Well, no.  I even copied&pasted the lines you've given here, it's still
> failing to work, in the same way.
> Is it some kind of permissions configuration error, if it works for you and
> not for me?
> 
> This is the full debci output from the last attempt:
>
> autopkgtest [23:58:01]: starting date: 2022-02-03
> autopkgtest [23:58:01]: version 5.19
> autopkgtest [23:58:01]: host ci-worker13; command line: /usr/bin/autopkgtest
> --no-built-binaries '--setup-commands=echo '"'"'pytest-mpi
> unstable/amd64'"'"' > /var/tmp/debci.pkg 2>&1 || true'
> '--setup-commands=echo '"'"'Acquire::Retries "10";'"'"' >
> /etc/apt/apt.conf.d/75retry 2>&1 || true' --user debci --apt-upgrade
> --add-apt-release=experimental --pin-packages=experimental=src:pytest-mpi
> --add-apt-release=experimental --pin-packages=experimental=src:python-sybil
> --output-dir
> /tmp/tmp.K9p1hcSGlj/autopkgtest-incoming/unstable/amd64/p/pytest-mpi/18927884
> pytest-mpi -- lxc --sudo --name ci-034-e8032c86 autopkgtest-unstable-amd64
[...]

--add-apt-release=experimental is added twice to the autopkgtest
command line, and this generates warnings like

> W: Target Packages (non-free/binary-all/Packages) is configured multiple
> times in
> /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 and
> /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3

This is something that we need to fix, but doesn't the job work even
with those warnings?

[toc] | [prev] | [next] | [standalone]


#1092023

FromDrew Parsons <dparsons@debian.org>
Date2022-02-04 13:30 +0100
Message-ID<DN5SV-7N2-3@gated-at.bofh.it>
In reply to#1092017
On 2022-02-04 12:05, Antonio Terceiro wrote:
> On Fri, Feb 04, 2022 at 01:02:58AM +0100, Drew Parsons wrote:
...
> --add-apt-release=experimental is added twice to the autopkgtest
> command line, and this generates warnings like
> 
>> W: Target Packages (non-free/binary-all/Packages) is configured 
>> multiple
>> times in
>> /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1 
>> and
>> /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
> 
> This is something that we need to fix, but doesn't the job work even
> with those warnings?


No, it gets marked as "tmpfail" and does not proceed.

e.g. 
https://ci.debian.net/data/autopkgtest/unstable/amd64/p/pytest-mpi/18927884/log.gz
at https://ci.debian.net/packages/p/pytest-mpi/unstable/amd64/

The error state is reported in the log as

autopkgtest [23:58:16]: ERROR: "sh -ec mkdir -p /etc/apt/preferences.d; 
PKGS=""; PKGS="$PKGS $(apt-cache showsrc pytest-mpi | awk 
'/^Package-List:/ { show=1; next } (/^ / && show==1) { print $1; next } 
{ show=0 }' |sort -u | tr '\n' ' ')"; printf "Package: $PKGS\nPin: 
release a=experimental\nPin-Priority: 995\n" > 
/etc/apt/preferences.d/autopkgtest-experimental; " failed with stderr 
"W: Target Sources (main/source/Sources) is configured multiple times in 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 
and 
/etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4

[toc] | [prev] | [next] | [standalone]


#1092027

FromAntonio Terceiro <terceiro@debian.org>
Date2022-02-04 15:10 +0100
Message-ID<DN7rH-mB-3@gated-at.bofh.it>
In reply to#1092023

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

On Fri, Feb 04, 2022 at 01:25:32PM +0100, Drew Parsons wrote:
> On 2022-02-04 12:05, Antonio Terceiro wrote:
> > On Fri, Feb 04, 2022 at 01:02:58AM +0100, Drew Parsons wrote:
> ...
> > --add-apt-release=experimental is added twice to the autopkgtest
> > command line, and this generates warnings like
> > 
> > > W: Target Packages (non-free/binary-all/Packages) is configured
> > > multiple
> > > times in
> > > /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:1
> > > and
> > > /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:3
> > 
> > This is something that we need to fix, but doesn't the job work even
> > with those warnings?
> 
> 
> No, it gets marked as "tmpfail" and does not proceed.
> 
> e.g. https://ci.debian.net/data/autopkgtest/unstable/amd64/p/pytest-mpi/18927884/log.gz
> at https://ci.debian.net/packages/p/pytest-mpi/unstable/amd64/
> 
> The error state is reported in the log as
> 
> autopkgtest [23:58:16]: ERROR: "sh -ec mkdir -p /etc/apt/preferences.d;
> PKGS=""; PKGS="$PKGS $(apt-cache showsrc pytest-mpi | awk '/^Package-List:/
> { show=1; next } (/^ / && show==1) { print $1; next } { show=0 }' |sort -u |
> tr '\n' ' ')"; printf "Package: $PKGS\nPin: release
> a=experimental\nPin-Priority: 995\n" >
> /etc/apt/preferences.d/autopkgtest-experimental; " failed with stderr "W:
> Target Sources (main/source/Sources) is configured multiple times in
> /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:2 and
> /etc/apt/sources.list.d/autopkgtest-add-apt-release-experimental.list:4

ack. Indeed. I have a fix for this in git.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web