How to Install and Uninstall python-subunit2sql-doc Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 12,2024

1. Install "python-subunit2sql-doc" package

Please follow the guidelines below to install python-subunit2sql-doc on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install python-subunit2sql-doc

2. Uninstall "python-subunit2sql-doc" package

Here is a brief guide to show you how to uninstall python-subunit2sql-doc on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove python-subunit2sql-doc $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-subunit2sql-doc package on Ubuntu 21.10 (Impish Indri)

Package: python-subunit2sql-doc
Architecture: all
Version: 1.10.0-4
Priority: optional
Section: universe/doc
Source: python-subunit2sql
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 4654
Depends: libjs-sphinxdoc (>= 1.0)
Filename: pool/universe/p/python-subunit2sql/python-subunit2sql-doc_1.10.0-4_all.deb
Size: 2327192
MD5sum: fbbfbdfaf3bbb2096860832081462f29
SHA1: 71eac5897ddeda9e26ca3026f4484d7ef3c6bab3
SHA256: c358d0d8d97a4b1d43de0d77b3db1eb9477f0ee472c21544b25bb8319a7ebd84
SHA512: cb0fa32ddccf581a0ff817dd0281131f13a27d60a6f6925a368fe77ae159b1eb89eaa1a5069e16de3166ba1f129d7f7cf77e4547f26b0ba12ac5bb552760e278
Homepage: https://github.com/openstack-infra/subunit2sql
Description-en: subunit file/stream to DB - doc
subunit2SQL is a tool for storing test results data in a SQL database. Like
it's name implies it was originally designed around converting subunit streams
to data in a SQL database and the packaged utilities assume a subunit stream
as the input format. However, the data model used for the DB does not preclude
using any test result format. Additionally the analysis tooling built on top
of a database is data format agnostic. However if you choose to use a
different result format as an input for the database additional tooling using
the DB API would need to be created to parse a different test result output
format. It's also worth pointing out that subunit has several language library
bindings available. So as a user you could create a small filter to convert a
different format to subunit. Creating a filter should be fairly easy and then
you don't have to worry about writing a tool like :ref:`subunit2sql` to use a
different format.
.
For multiple distributed test runs that are generating subunit output it is
useful to store the results in a unified repository. This is the motivation for
the testrepository project which does a good job for centralizing the results
from multiple test runs.
.
However, imagine something like the OpenStack CI system where the same basic
test suite is normally run several hundreds of times a day. To provide useful
introspection on the data from those runs and to build trends over time the
test results need to be stored in a format that allows for easy querying.
Using a SQL database makes a lot of sense for doing this, which was the
original motivation for the project.
.
At a high level subunit2SQL uses alembic migrations to setup a DB schema that
can then be used by the subunit2sql tool to parse subunit streams and populate
the DB. Then there are tools for interacting with the stored data in the
subunit2sql-graph command as well as the sql2subunit command to create a
subunit stream from data in the database. Additionally, subunit2sql provides a
Python DB API that can be used to query information from the stored data to
build other tooling.
.
This package contains the documentation.
Description-md5: 7c34b52923e5c722803a5ea88734c1bb