Skip to content

lkp: add initial opensuse support

Luis R. Rodriguez oe-lkp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/install.sh: fix shell adapt_packages()distro/adaptation/archlinux distro/adaptation/fedora distro/depends/lkp-dev +1 more+14 -41 reply
2/4distro: add initial opensuse supportREADME.md distro/adaptation/opensuse distro/installer/opensuse +1 more+41 -01 reply
3/4lib/install.*: make package dependency list uniqlib/install.rb lib/install.sh+2 -21 reply
4/4.gitignore: add bin/event/wakeup.gitignore+1 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchYe Xiaolong
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] lkp: add initial opensuse support

I received a failed test results notice from 0-day LKP test suite using trinity, however it was pretty hard to get reproduce given the LKP did not have OpenSUSE support to start off with, but the second issue I've stubmled upon is beyond me -- running either:

./bin/lkp qemu -k ~mcgrof/linux-next/arch/x86/boot/bzImage job-script

or

lkp qemu jobs/trinity.yaml

ends up creating calling a few subroutines or files which are clearly not present, then tries to create a cpio archive but clearly there are a few files which LKP tree expects you to have and are not present such as lkp and lkp/scheduled.

This is a run on OpenSUSE, first we install the dependencies for trinity.yaml deps:

 # lkp install jobs/trinity.yaml 

Then we try to run it:

 # lkp qemu jobs/trinity.yaml 
jobs/trinity.yaml: line 1: suite:: command not found
jobs/trinity.yaml: line 2: testcase:: command not found
jobs/trinity.yaml: line 4: runtime:: command not found
jobs/trinity.yaml: line 6: kmsg:: command not found
jobs/trinity.yaml: line 7: rootfs:: command not found
jobs/trinity.yaml: line 9: trinity:: command not found
make: Entering directory '/home/mcgrof/devel/lkp-tests/bin/event'
klcc    -c -o wakeup.o wakeup.c
klcc  -static -o wakeup wakeup.o
rm -f wakeup.o
strip wakeup
make: Leaving directory '/home/mcgrof/devel/lkp-tests/bin/event'
cpio: lkp: Cannot stat: No such file or directory
cpio: lkp/scheduled: Cannot stat: No such file or directory
cpio: blank line ignored
cpio: File /dev/mqueue/���� shrunk by 20 bytes, padding with zeros

This never complets, it just sits there.

Either way these patches help start to add OpenSUSE support.

Luis R. Rodriguez (4):
lib/install.sh: fix shell adapt_packages()
distro: add initial opensuse support lib/install.*: make package dependency list uniq .gitignore: add bin/event/wakeup

 .gitignore                  |  1 +
 README.md                   | 22 ++++++++++++++++++++++
 distro/adaptation/archlinux |  2 +-
 distro/adaptation/fedora    |  2 +-
 distro/adaptation/opensuse  | 14 ++++++++++++++
 distro/depends/lkp-dev      |  4 ++++
 distro/installer/opensuse   |  3 +++
 lib/install.rb              |  2 +-
 lib/install.sh              | 14 +++++++++++---
 9 files changed, 58 insertions(+), 6 deletions(-)
 create mode 100644 distro/adaptation/opensuse
 create mode 100755 distro/installer/opensuse
Signature · 1 line
2.11.0