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


Groups > linux.debian.kernel > #81377 > unrolled thread

Bug#1059765: linux: isolation-machine autopkgtest fails for multiple reasons

Started byBastian Blank <waldi@debian.org>
First post2023-12-31 18:40 +0100
Last post2024-01-02 07:30 +0100
Articles 5 — 2 participants

Back to article view | Back to linux.debian.kernel

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#1059765: linux: isolation-machine autopkgtest fails for multiple reasons Bastian Blank <waldi@debian.org> - 2023-12-31 18:40 +0100
    Bug#1059765: linux: isolation-machine autopkgtest fails for multiple reasons Paul Gevers <elbrus@debian.org> - 2023-12-31 19:40 +0100
    Bug#1059765: linux: isolation-machine autopkgtest fails for multiple reasons Bastian Blank <waldi@debian.org> - 2024-01-01 22:40 +0100
      Bug#1059765: linux: isolation-machine autopkgtest fails for multiple reasons Bastian Blank <waldi@debian.org> - 2024-01-02 00:20 +0100
      Bug#1059765: linux: isolation-machine autopkgtest fails for multiple reasons Paul Gevers <elbrus@debian.org> - 2024-01-02 07:30 +0100

#81377 — Bug#1059765: linux: isolation-machine autopkgtest fails for multiple reasons

FromBastian Blank <waldi@debian.org>
Date2023-12-31 18:40 +0100
SubjectBug#1059765: linux: isolation-machine autopkgtest fails for multiple reasons
Message-ID<HR7X3-hs7X-7@gated-at.bofh.it>
On Sun, Dec 31, 2023 at 04:47:28PM +0100, Paul Gevers wrote:
> Recently I added some isolation-machine support to ci.debian.net and one of
> the first packages I tried to run the test for is src:linux.

Do you have a handy script available to try this by hand?  I was just
looking at this test (to unravel the loop logic and replace it with one
test per kernel), but I'm not sure if this ever worked before.

Bastian

-- 
Earth -- mother of the most beautiful women in the universe.
		-- Apollo, "Who Mourns for Adonais?" stardate 3468.1

[toc] | [next] | [standalone]


#81378

FromPaul Gevers <elbrus@debian.org>
Date2023-12-31 19:40 +0100
Message-ID<HR8T7-hsJ3-1@gated-at.bofh.it>
In reply to#81377

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

Hi Bastian,

On 31-12-2023 18:33, Bastian Blank wrote:
> Do you have a handy script available to try this by hand?  I was just
> looking at this test (to unravel the loop logic and replace it with one
> test per kernel), but I'm not sure if this ever worked before.

It was nearly completely attached at the bottom of the e-mail. Writing 
it out and providing a patch (from memory, so untested) as well.

# in path with src:linux unpacked
# Apply patch
export ADT_REBOOT_MARK=step0 # or whatever number matches your kernel
export AUTOPKGTEST_TMP=$(mktemp -d)
chmod a+x debian/tests/selftests
debian/tests/selftests

Paul

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


#81398

FromBastian Blank <waldi@debian.org>
Date2024-01-01 22:40 +0100
Message-ID<HRyaS-88g-5@gated-at.bofh.it>
In reply to#81377
On Sun, Dec 31, 2023 at 06:33:29PM +0100, Bastian Blank wrote:
> On Sun, Dec 31, 2023 at 04:47:28PM +0100, Paul Gevers wrote:
> > Recently I added some isolation-machine support to ci.debian.net and one of
> > the first packages I tried to run the test for is src:linux.
> Do you have a handy script available to try this by hand?  I was just
> looking at this test (to unravel the loop logic and replace it with one
> test per kernel), but I'm not sure if this ever worked before.

Turns out this requires more work.  Currently it is not possible to
build some tests.

Plan:
- get vmlinux.h working
- build a linux-selftests package
- from there run tests

Do we have serial of the machines?  Otherwise running those tests is not
adviced anyway, as we will have no way to see if something breaks.

Bastian

-- 
Lots of people drink from the wrong bottle sometimes.
		-- Edith Keeler, "The City on the Edge of Forever",
		   stardate unknown

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


#81399

FromBastian Blank <waldi@debian.org>
Date2024-01-02 00:20 +0100
Message-ID<HRzJD-9fT-1@gated-at.bofh.it>
In reply to#81398
On Mon, Jan 01, 2024 at 10:33:10PM +0100, Bastian Blank wrote:
> Turns out this requires more work.  Currently it is not possible to
> build some tests.

I'll remove the current selftest stuff.

This needs much more work, too much work for now.  The runner does not
support recursive test selection.  Many tests fail instead of skipping
itself on missing requirements.

Bastian

-- 
Immortality consists largely of boredom.
		-- Zefrem Cochrane, "Metamorphosis", stardate 3219.8

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


#81401

FromPaul Gevers <elbrus@debian.org>
Date2024-01-02 07:30 +0100
Message-ID<HRGrL-dqz-1@gated-at.bofh.it>
In reply to#81398

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

Hi

On 01-01-2024 22:33, Bastian Blank wrote:
> Do we have serial of the machines?

Do you mean of the system where the VM's run, or of the VM itself? IIRC 
the qemu backend of autopkgtest is talking to the VM over serial, but if 
you want to be sure, I'll need to check.

Paul

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web