Automated Testing of Debian Packages - LORIA

[Pages:31]Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion

Automated Testing of Debian Packages

Holger Levsen ? debian@layer- Lucas Nussbaum ? lucas@

Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages

1 / 31

Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion

Summary

1 Introduction 2 Lintian and Linda 3 Rebuilding packages 4 Piuparts 5 Structuring QA 6 Conclusion

Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages

2 / 31

Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Debian's Quality Popcon data Automated Testing

Summary

1 Introduction Debian's Quality Popcon data Automated Testing

2 Lintian and Linda

3 Rebuilding packages

4 Piuparts

5 Structuring QA

Conclusion 6 Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages

3 / 31

Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Debian's Quality Popcon data Automated Testing

Debian's Quality

Ask around : considered quite good compared to other distros A lot of packages, all supported in the same way :

10316 source packages in etch/main 18167 binary packages in etch/main

Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages

4 / 31

Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Debian's Quality Popcon data Automated Testing

Packages installations according to popcon

percentage of packages

1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1

0 0

5000

10000 15000 20000 installations

25000

30000

18167 packages in etch/main (max : 27700 installations) 1591 packages have less than 10 installations 8985 packages have less than 100 installations 15321 packages have less than 1000 installations

Most packages don't have a lot of installations

Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages

5 / 31

Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Debian's Quality Popcon data Automated Testing

Automated Testing

A way to : give the same level of attention to all packages in Debian not only rely on humans to find bugs avoid regressions keep maintainers busy :-)

Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages

6 / 31

Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Introduction Example output Future work

Summary

1 Introduction

2 Lintian and Linda Introduction Example output Future work

3 Rebuilding packages

4 Piuparts

5 Structuring QA

Conclusion 6 Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages

7 / 31

Introduction Lintian and Linda Rebuilding packages Piuparts Structuring QA Conclusion Introduction Example output Future work

Lintian and Linda

Static checks on Debian packages Lintian : (mostly in) Perl, Linda : Python Easy to run them yourself Generates lots of warnings and errors (some false-positives, too) See (not up to date)

Holger Levsen and Lucas Nussbaum Automated Testing of Debian Packages

8 / 31

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download