mercredi 5 juin 2019

Is there any existing maintained mechanism to get links to kernel source code suitable for use by automated testing systems?

It is a good idea for developers for software on any OS to test against any newly released OS patches. The linux distros make this rather challenging given the large number of them and the high degree of regular change for each of them. This even applies to the kernel itself with major kernel releases every few months and existing kernels getting patches for bugs and security vulnerabilities as well as back ports to long term support kernels.

To assist with automating testing against these multitude of continually changing linux based OS systems, I consider it desirable to have some 'auto redirecting links' that can be automatically polled to both identify if a new test environment has been produced and obtained the latest source / binary kernel / distribution.

Example of such a systems are:

  • A webbot that regularly checks https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/ image checksums to see if an updated image is available.
  • A host of small VMs, each running a different distribution regularly checking for updates for all relevant packages used by your software and producing a new test OS environment every time something has updated that day.

Any detected change can then have a centrally hosted pollable notification of the change and a link to the new environment to feed your automated continuous integration test systems.

I have asked a couple senior linux kernel developers if they already have something in their release process that could be used to do this for their recent stable / long term support kernels but unfortunately they indicated that there was not.

I have also not had much luck googling for a public central host for this information; there are definitely case by case sources for this information, or ways to automate identification. It is the all-in-one-place potential that holds the greatest value for automated testing.

Before I add creating an 'all-in-one' (hopefully public but that depends on who ends up paying for it) onto my todo list; are there any maintained such central hosts for this information that I could use and contribute to know to the stack overflow professional test engineers?

Aucun commentaire:

Enregistrer un commentaire