Bug#825488: ci.debian.net: Please run tests for contrib packages too

2018-05-11 Thread Paul Gevers
Hi Petter,

On 22-03-18 22:34, Paul Gevers wrote:
> So, albeit not automatically in the ci.d.n framework yet, you as a DD
> can at least trigger the tests (e.g. after uploading).

The migration software is now triggering those tests in testing (whereas
ci.d.n itself only triggers tests in unstable). I guess for your purpose
that is enough. I understand your desire to run these tests on ci.d.n
isn't going to be fulfilled until we have something stronger than
containers (like your request in bug 834572)

Paul



signature.asc
Description: OpenPGP digital signature


Bug#825488: ci.debian.net: Please run tests for contrib packages too

2018-03-22 Thread Paul Gevers
On Wed, 21 Sep 2016 16:33:07 +0200 Petter Reinholdtsen 
wrote:
> [Antonio Terceiro 2016-07-07]
> > debci needs code changes to make the automatically generated testbeds
> > actually include contrib in sources.list. I have the beginnings of
> > that stashed locally, but it's not ready yet. If you want to work on
> > it I can send you the current patch.
> 
> Did you get any further?  As I mentioned earlier, I would love to see
> the current draft.

Using the new and fresh API¹, I requested a DD key and submitted
zfs-linux for testing. The results are available², it fails.

So, albeit not automatically in the ci.d.n framework yet, you as a DD
can at least trigger the tests (e.g. after uploading).

Paul

¹ https://ci.debian.net/doc/file.API.html
² https://ci.debian.net/packages/z/zfs-linux/unstable/amd64/



signature.asc
Description: OpenPGP digital signature


Bug#825488: ci.debian.net: Please run tests for contrib packages too

2016-09-21 Thread Antonio Terceiro
On Wed, Sep 21, 2016 at 04:33:07PM +0200, Petter Reinholdtsen wrote:
> [Antonio Terceiro 2016-07-07]
> > debci needs code changes to make the automatically generated testbeds
> > actually include contrib in sources.list. I have the beginnings of
> > that stashed locally, but it's not ready yet. If you want to work on
> > it I can send you the current patch.
> 
> Did you get any further?  As I mentioned earlier, I would love to see
> the current draft.

no; the last state of what I had is attached. it is not tested, and
probably does not work yet.

> We have recently had problems with the zfs packages in Debian (kernel
> version build issues) which I suspect would have been discovered earlier
> if ci.debian.org was running the zfs test. :)

sure, however testing anything other than main is not high on my
priority list, so if you can come up with a tested and working patch it
will make things faster.
diff --git a/backends/lxc/create-testbed b/backends/lxc/create-testbed
index ce307c8..243a2a1 100755
--- a/backends/lxc/create-testbed
+++ b/backends/lxc/create-testbed
@@ -87,9 +87,12 @@ if [ "$distro" = debian ]; then
   else
 buildd_suite="buildd-$debci_suite-proposed-updates"
   fi
+  if ! grep -q contrib "${rootfs}/etc/apt/sources.list"; then
+sed -i -e 's/main/main contrib/' "${rootfs}/etc/apt/sources.list"
+  fi
   cat > "${rootfs}/etc/apt/sources.list.d/buildd.list"  "${debci_chroot_path}/etc/apt/sources.list.d/sources.list"
 
+  # add contrib
+  if ! grep -q contrib "${debci_chroot_path}/etc/apt/sources.list"; then
+sed -i -e 's/main/main contrib/' "${debci_chroot_path}/etc/apt/sources.list"
+  fi
+
   # FIXME duplicates logic in bin/debci-setup-chdist
   if grep -q debian "${debci_chroot_path}/etc/apt/sources.list"; then
 if [ "$debci_suite" = unstable ]; then
@@ -56,8 +61,8 @@ create_chroot() {
   buildd_suite="buildd-$debci_suite-proposed-updates"
 fi
 cat > "${debci_chroot_path}/etc/apt/sources.list.d/buildd.list"  "$TARGET/etc/apt/sources.list"
   buildd_suite=buildd-$SUITE-proposed-updates
 fi
 cat >> "$TARGET/etc/apt/sources.list" 

Bug#825488: ci.debian.net: Please run tests for contrib packages too

2016-09-21 Thread Petter Reinholdtsen
[Antonio Terceiro 2016-07-07]
> debci needs code changes to make the automatically generated testbeds
> actually include contrib in sources.list. I have the beginnings of
> that stashed locally, but it's not ready yet. If you want to work on
> it I can send you the current patch.

Did you get any further?  As I mentioned earlier, I would love to see
the current draft.

We have recently had problems with the zfs packages in Debian (kernel
version build issues) which I suspect would have been discovered earlier
if ci.debian.org was running the zfs test. :)

-- 
Happy hacking
Petter Reinholdtsen



Bug#825488: ci.debian.net: Please run tests for contrib packages too

2016-08-17 Thread Petter Reinholdtsen
[Antonio Terceiro 2016-07-07]
> debci needs code changes to make the automatically generated testbeds
> actually include contrib in sources.list. I have the beginnings of that
> stashed locally, but it's not ready yet. If you want to work on it I can
> send you the current patch.

Hi, any news on this?  I would be happy to have a look to make sure zfs
is tested regularly in Debian.  We just uploaded a new version and it
would be great if we could be sure it keeps working until the release
happen. :)

-- 
Happy hacking
Petter Reinholdtsen



Bug#825488: ci.debian.net: Please run tests for contrib packages too

2016-07-07 Thread Petter Reinholdtsen
[Antonio Terceiro]
> it can happen

Very good to hear. :)

> debci needs code changes to make the automatically generated testbeds
> actually include contrib in sources.list. I have the beginnings of that
> stashed locally, but it's not ready yet. If you want to work on it I can
> send you the current patch.

I lack the setup to test it, but I would be happy to take a look. :)

-- 
Happy hacking
Petter Reinholdtsne



Bug#825488: ci.debian.net: Please run tests for contrib packages too

2016-07-07 Thread Antonio Terceiro
On Thu, Jul 07, 2016 at 10:21:55AM +0200, Petter Reinholdtsen wrote:
> 
> [Petter Reinholdtsen]
> > The zfs-linux package include some autopkgtest scripts inherited from
> > Ubuntu.  These scripts are not executed on Debian.  I asked terceiro
> > on #debian-qa, and he said packages in contrib are not tested by
> > default.  Would you be willing to change the setup for ci.debian.org
> > to also test packages in contrib?
> 
> Any opinion on running autopkgtest scripts for packages in contrib?

it can happen

> Could zfs-linux be tested while we wait for a more generic solution?

debci needs code changes to make the automatically generated testbeds
actually include contrib in sources.list. I have the beginnings of that
stashed locally, but it's not ready yet. If you want to work on it I can
send you the current patch.


signature.asc
Description: PGP signature


Bug#825488: ci.debian.net: Please run tests for contrib packages too

2016-07-07 Thread Petter Reinholdtsen

[Petter Reinholdtsen]
> The zfs-linux package include some autopkgtest scripts inherited from
> Ubuntu.  These scripts are not executed on Debian.  I asked terceiro
> on #debian-qa, and he said packages in contrib are not tested by
> default.  Would you be willing to change the setup for ci.debian.org
> to also test packages in contrib?

Any opinion on running autopkgtest scripts for packages in contrib?
Could zfs-linux be tested while we wait for a more generic solution?

-- 
Happy hacking
Petter Reinholdtsen



Bug#825488: ci.debian.net: Please run tests for contrib packages too

2016-05-27 Thread Petter Reinholdtsen
Package: debci
Version: 1.0.1
X-Debbugs-CC: pkg-zfsonlinux-de...@lists.alioth.debian.org

The zfs-linux package include some autopkgtest scripts inherited from
Ubuntu.  These scripts are not executed on Debian.  I asked terceiro on
#debian-qa, and he said packages in contrib are not tested by default.
Would you be willing to change the setup for ci.debian.org to also test
packages in contrib?

-- 
Happy hacking
Petter Reinholdtsen