* New pipeline to build images with the test suites
@ 2018-05-28 11:55 Ana Guerrero Lopez
2018-06-01 0:30 ` [kernelci] " Kevin Hilman
0 siblings, 1 reply; 3+ messages in thread
From: Ana Guerrero Lopez @ 2018-05-28 11:55 UTC (permalink / raw)
To: kernelci
Hi!
In a previous email, I said:
> On 05/16/2018 06:46 PM, Ana Guerrero Lopez wrote:
>>
>> I'm fine having a single image with these two test suites, if eventually
>> this not convenient we can always change it. However, now we have more
>> or less agreed on a job creating the "basic" images, how do you envisage
>> we should be creating the images with the test suites?
>>
>> My proposal is installing the build and run dependencies via extra_packages
>> in the Jenkinsfile and then building the test suite directly against the
>> new created image with script run by debos directly. This will avoid
>> the merge step, although the strip/crush might need a bit of work
>> for making sure the resulting ramdisk is still small.
>> The advantage is adding/modifying the test suites doesn't require a lot
>> of knowledge of jenkins or even debos.
I have sent a pull request in this sense:
https://github.com/kernelci/kernelci-build-staging/pull/28/
If you have any comments related to code, please comment directly in
github, for other discussion, I think it's easier to use the list.
I tried building this new pipeline in staging but it seems to be some
problems with loading the kvm module in the docker slaves:
[Build image for x86_64] + debos -t architecture:amd64 -t basename:20180528.0/x86_64 -t extra_packages:bash jenkins/debian/debos/stretch.yaml
[Build image for x86_64] Could not access KVM kernel module: Permission denied
[Build image for x86_64] failed to initialize KVM: Permission denied
[Build image for x86_64] open /tmp/fakemachine-777615409/result: no such file or directory
Maybe it's missing the nest parameter when loading the module?
Ana
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [kernelci] New pipeline to build images with the test suites
2018-05-28 11:55 New pipeline to build images with the test suites Ana Guerrero Lopez
@ 2018-06-01 0:30 ` Kevin Hilman
2018-06-01 12:32 ` Ana Guerrero Lopez
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Hilman @ 2018-06-01 0:30 UTC (permalink / raw)
To: Ana Guerrero Lopez; +Cc: kernelci
"Ana Guerrero Lopez" <ana.guerrero@collabora.com> writes:
> Hi!
>
> In a previous email, I said:
>
>> On 05/16/2018 06:46 PM, Ana Guerrero Lopez wrote:
>>>
>>> I'm fine having a single image with these two test suites, if eventually
>>> this not convenient we can always change it. However, now we have more
>>> or less agreed on a job creating the "basic" images, how do you envisage
>>> we should be creating the images with the test suites?
>>>
>>> My proposal is installing the build and run dependencies via extra_packages
>>> in the Jenkinsfile and then building the test suite directly against the
>>> new created image with script run by debos directly. This will avoid
>>> the merge step, although the strip/crush might need a bit of work
>>> for making sure the resulting ramdisk is still small.
>>> The advantage is adding/modifying the test suites doesn't require a lot
>>> of knowledge of jenkins or even debos.
>
> I have sent a pull request in this sense:
> https://github.com/kernelci/kernelci-build-staging/pull/28/
>
> If you have any comments related to code, please comment directly in
> github, for other discussion, I think it's easier to use the list.
My only question is what does "squeeze" mean here? With all the debian
context it's confusing as the first thing to come to mind is the debian
6.0 release.
I assume you're trying to capture that it's a rootfs for running tests,
but it's been minimized (squeezed) down?
> I tried building this new pipeline in staging but it seems to be some
> problems with loading the kvm module in the docker slaves:
>
> [Build image for x86_64] + debos -t architecture:amd64 -t basename:20180528.0/x86_64 -t extra_packages:bash jenkins/debian/debos/stretch.yaml
> [Build image for x86_64] Could not access KVM kernel module: Permission denied
> [Build image for x86_64] failed to initialize KVM: Permission denied
> [Build image for x86_64] open /tmp/fakemachine-777615409/result: no such file or directory
>
> Maybe it's missing the nest parameter when loading the module?
No, the builders need to be updated to expose /dev/kvm to the
'buildslave' user. I updated the ansible config to do this a couple
weeks ago, and I thought I ran it on all the builders, but builder10
didn't seem to get this change. I've re-run it so now builder10 is
updated.
Anyways, after that, I re-ran your "Debian testsuites rootfs builder"
and worked well, so I merged your PR.
I still don't like the name "squeezetests" but I don't want that kind of
bikeshedding to stop this from getting merged, but IMO that needs a
different name.
Maybe tests_min?
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [kernelci] New pipeline to build images with the test suites
2018-06-01 0:30 ` [kernelci] " Kevin Hilman
@ 2018-06-01 12:32 ` Ana Guerrero Lopez
0 siblings, 0 replies; 3+ messages in thread
From: Ana Guerrero Lopez @ 2018-06-01 12:32 UTC (permalink / raw)
To: kernelci
Hi!
On Thu, May 31, 2018 at 05:30:34PM -0700, Kevin Hilman wrote:
[...]
> Anyways, after that, I re-ran your "Debian testsuites rootfs builder"
> and worked well, so I merged your PR.
Thanks for looking at this Kevin.
> I still don't like the name "squeezetests" but I don't want that kind of
> bikeshedding to stop this from getting merged, but IMO that needs a
> different name.
>
> Maybe tests_min?
It should have been stretchtests, I sent a fixup PR.
In any case, I don't have any strong preference about naming, so I'm fine
if others want to change it to something else.
Cheers,
Ana
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-01 12:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-28 11:55 New pipeline to build images with the test suites Ana Guerrero Lopez
2018-06-01 0:30 ` [kernelci] " Kevin Hilman
2018-06-01 12:32 ` Ana Guerrero Lopez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox