• Re: Need information where tests can be found for linux-base Debian pac

    From Ben Hutchings@21:1/5 to Sai.Sathujoda@toshiba-tsip.com on Wed Sep 18 16:00:02 2024
    On Wed, 2024-09-18 at 06:17 +0000, Sai.Sathujoda@toshiba-tsip.com wrote:
    Hi,

    I work for CIP (Civil Infrastructure Platform) project which is one of the Debian based distribution. We are working for IEC-62443-4-2 assessment.
    The IEC standard has requirement that all packages included in the image should have some tests.

    This page lists your name as maintainers of linux-base package Debian -- Details of package linux-base in bookworm<https://packages.debian.org/bookworm/linux-base>

    Could you please tell me the location of tests for this package which are executed either as part of CI or manually ?
    Tests in either upstream or Debian are acceptable.

    Thank you in advance.

    As this package is mostly useful during installation/upgrade/removal of
    kernel packages, I don't think it is needed in your images.

    There are some tests in lib/t but they don't cover everything. They do
    get run in CI.

    Ben.

    --
    Ben Hutchings - Debian developer, member of kernel, installer and LTS
    teams

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmbq3CUACgkQ57/I7JWG EQnUFhAAqkFC3oGuRlxOO91m/z/89G8YPz2xGACHKKhke0YmU9Bfl1JiRG477mYi 2soUe0oCYLBPvVHqKi3JZStKrSLrwSk5NhZGoqMnm2hTQ4Q1wFN8PC/en2bhiqWN yvEOLMzLGf+D4j22RgBJc3qDGfv2LYln1YBCj+4iSn3dJXUxbfdbQf11mnhgrWhW UYJCNPrXVcF2TAnskjlZrjeY5EoDkXyoBTIeDDLK59WhmnSG/L+uu8Y/nyM+3vKo uTHgdKaZnTQ9BofH0+wovs5X57oGiT3jQQ3519KaH/R+xSrLgUVx2MBX9XL+wc1w kw29crqfK/PLyyOYvGMGP6qYjmZ9eLm2c6AsxpFfUJv2Voh1g6Z5XdmmIcc0aUZb DjWX+DQgVFrkWFoF+cysR5NlyPbT+sBF4rPI99TFiFeuR5C5+uAx7LkW7nXj9JEH 2Dw2uxiRdXVqixO0/F3b1e31kMyiuFBzX4ZIe+avc07q3BeK4KTZ4punwWsCdg5j 4EMmWYh9qqwQowJrr4CmGy836IjdBiBwaa2rjgM2q4WxFaTCLvVOMcvoIVYcQxsJ EvPDrhhs29grdkqrLxx17WR8JAu4zaKZjlFRuIfWRBwAD/Gcyg3awDf/iaC7Uc+X Ic27E3qaReKkCeM69ylG8JfqBI/xbEk0xqg1G4+I2kWk6zcTnI0=
    =1OhB
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ben Hutchings@21:1/5 to All on Mon Oct 28 21:30:01 2024
    On Mon, 2024-10-28 at 11:04 +0000, Sai.Sathujoda@toshiba-tsip.com
    wrote:
    Hello,

    Sorry for the delayed response. Thank you for the information.

    I noticed that tests available in lib/t as part of CI in build job. https://salsa.debian.org/kernel-team/linux-base/-/jobs/5886385#L918.

    Can you please provide your opinion on running these tests as part of autopkgtest since more Debian packages are running tests as part of autopkgtests. This could assist others with similar requirements and ensure a more thorough validation of the
    package.
    [...]

    They are unit tests for the Perl library that's part of linux-base, and
    are run during every build (unless the "nocheck" build profile is
    used). I don't think running them again through autopkgtests would
    improve validation.

    If you could contribute autopkgtest test cases for the *commands* in linux-base, that would actually improve validation of the package and I
    would appreciate that.

    Ben.

    --
    Ben Hutchings - Debian developer, member of kernel, installer and LTS
    teams

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAmcf89AACgkQ57/I7JWG EQn5rw/+PZIHp8jwpF1MF3PfM5Wrgyd2OpwnJmdpYg+KQPlBYWgMetP5DU2Ry7pZ TMY6UuK2deoDjB8/DoGXlY+OtNsWt0k5F5amMiw6up0rWb+jU0omZTnSaD9gI4aZ I0rnZFsgeGrPhfcomWlDGnemwh1mNnIchZYQy0vWjlqPPda8+5fKU+Fmo12430MS QGQoVDWVaJA6ejXPbfy5n7eTTn/oLUu/I/EGqk1qqZGjaIDhkA6kjbJce3rxweNh W5TlyPvuirrD4taIanzogRu+Q3nIcYm15c8OBKJC+/BAF3GfwiKLsb7KU2uzscWU eiqHDC2atDgGP8oKphmenH5IG07JYThYSu+GVabq3eKSvS22XuXmKWWXrfuY+UqM nLki8Gh9VjCKczhW8Ngkp1BEb4SnsPemuD08woIFBPC2hQRedkgAeEtBEbv0ZmJW xf71egjDUEX7UUQiU62e4c91ic42SsW1cE3ILrNCc/4b3pPbhqtVJ71qHjWP461G udY8067ux1na6NFGPJQl055Yyv/vIqg7isgjhO0bl9MyZOQYFcqKXKqHWtgeND6h gFS5cE6bpW2A6cRB3rr9YIM7HmhUQ3dV91nRyPB2Vm9VgffrvRuAIibEigfcK2Mt 4DDE1M7mQxjBH4kt29cFxWHhQZsksGnixmBEYunZTNcF52/15F8=
    =QaAU
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)