Release check tool development

Description

We need a tool that will check a release build statically - without installing anything.

In the release we have following:

  • rpm packages

  • deb packages

  • binary tarballs

  • source files of all the above

The idea is to create a python script that will check things like:

  • are all the packages signed

  • do all packages required even exist (and for all distributions and for all arch's)

  • does binary tarball includes all the files needed, check the filesize also

  • do the packages include required files

  • extra files in the release directories (no extra files should exist - error if they do)

For this to work we'll need to create some parametrization - possibly config file with rules but it can be in a script itself.

From the time I started to work here we had all those errors: unsigned packages, missing libraries in the packages and also faulty binary tarballs (latest example is PXC).
It will take some time to produce initial rules, but once it's done it should provide more stable releases.

Smart Checklist

Activity

roel.vandepaar January 14, 2019 at 10:47 AM
Edited

Also see thread;

 co-assign

roel.vandepaar May 3, 2018 at 1:34 AM
Edited

This should be tied in with end-of-[build job or pipeline]-auto-package-testing. ,  and  added to watch list too.

Tomislav Plavcic May 2, 2018 at 9:17 AM

Moving to PQA project.

Tomislav Plavcic October 26, 2015 at 11:09 AM

I meant this to be a part of jenkins release build job - so there's no further testing of any kind if this doesn't succeed - means something is broken on level 1.

roel.vandepaar October 24, 2015 at 5:13 AM
Edited

- why not integrate this into packaging testing script (bash, automated, https://github.com/Percona-QA/packaging-testing)? This would avoid dual-checks/downloads etc.

I have been thinking for some time to integrate this into Jenkins and then handoff for further expansion.

Thoughts?

Details

Assignee

Reporter

Priority

Components

Labels

Time tracking

6m logged

Smart Checklist

Created October 22, 2015 at 3:58 PM
Updated October 2, 2024 at 10:21 AM