-
Notifications
You must be signed in to change notification settings - Fork 85
Conversation
rootfs-builder/suse/Dockerfile.in
Outdated
@@ -0,0 +1,20 @@ | |||
# | |||
# Copyright (c) 2018 Intel Corporation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SuSE? 😄
rootfs-builder/suse/config.sh
Outdated
@@ -0,0 +1,8 @@ | |||
# This is a configuration file add extra variables to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs an SPDX license header.
<specification>openSUSE Leap Kata</specification> | ||
</description> | ||
<preferences> | ||
<version>1.0.0</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OOI, what is this version for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a way to track the version of the config file itself
rootfs-builder/suse/config.xml
Outdated
<type image="vmx" filesystem="ext4" bootloader="grub2" /> | ||
</preferences> | ||
<repository type="rpm-md" alias="Leap_15_0"> | ||
<source path="obs://openSUSE:Leap:15.0/standard"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally, the two versions in this line and the one above (15
) would be a parameter (and the file could be config.xml.in
or something) to make this easy to update.
tests/test_images.sh
Outdated
@@ -401,6 +400,12 @@ test_distro_alpine() | |||
run_test "${name}" "" "alpine" "no" "init" | |||
} | |||
|
|||
test_distro_ubuntu() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test_distro_suse()
maybe 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.....right 😳
Thanks @marcov - this is looking good! |
c3d5d93
to
b17fd4a
Compare
@jodh-intel tests are timing out? |
Seems that getting stuck on:
Sent a rebuild on the centos job, maybe it was a transient error. |
still stuck I can reproduce locally:
|
For me generating the builder image is fine. But I get some slowdowns when bulding a rootfs with |
081228e
to
e2bfc7b
Compare
Hi @marcov - any further thoughts on this? Could you try re-pushing as all the CI's are "build triggered" only :( |
Hi @jodh-intel, the Travis CI jobs were partly failing because of lack of ppc64le support. |
Some more insights about the failures:
|
OOI, why do we need to pull in non-oss packages?!? Or maybe we don't in which case can we disable that repo? |
non-oss repos are enabled by default in the opensuse docker image. Let's try to disable them, and also make sure Also, I temporarily disabled testing for other distros to avoid wasting resources while debugging this. |
86545a7
to
04fe4ba
Compare
Still failing:
This looks pretty strange - You could try adding in some debug code before the call to
|
@jodh-intel Unluckily there's no curl in the opensuse/leap vanilla image. |
@marcov - |
trying with a static build of curl |
@jodh-intel Whoa 😮
|
Weird. The only difference between those files from the headers are:
|
... but |
2beef6e
to
d77e6c1
Compare
Ping @marcov 😄 |
@jodh-intel I'd love to have this merged. The issues are 2:
For 1., having parallel build support #170 could be a temp solution while we figure out what's the problem. |
@marcov - ack and thanks for the summary. |
Found the cause, and this is now fixed upstream :) |
Ouch - good fix @marcov |
Given that the fix to zypper will take a while to land into openSUSE Leap repositories, I added as "workaround" |
Let's see if the bad mirror is gone /test |
nope, it's still around 😢 |
Is there any way to blacklist this bad mirror I wonder? |
@jodh-intel: There isn't. |
Trying with HTTPS /test |
Add support for building a rootfs image based on openSUSE Leap. Fixes: kata-containers#33 Signed-off-by: Marco Vedovati <mvedovati@suse.com>
/test |
Tests on euleros are failing since some days (locally on my machine too).
|
Finally an all tests are green. |
@marcov I think given that is not stable when is working or not we have a few options:
|
@kata-containers/builder please take a look. @kata-containers/documentation an ack is required here. |
@jcvenegas I did some investigation about the About your proposal, I'd prefer going for 2, and have somewhere in the test config a list of distros that are allowed to fail. Failure can be captured in the log but will not impact the green/red CI result. |
Fixes: #33