Skip to main content

Command to Read a subunit file or stream and put the data in a SQL DB

Project description

subunit2SQL like it’s name implies is a tool used for converting subunit streams to data in a SQL database. The motivation is that 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.

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. SQL databases make a lot of sense for doing this.

subunit2SQL uses alembic migrations to setup a DB schema that can then be used by the subunit2sql binary to parse subunit streams and populate the DB. Additional it provides a DB API that can be used to query information from the results stored to build other tooling.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subunit2sql-0.1.tar.gz (20.6 kB view details)

Uploaded Source

File details

Details for the file subunit2sql-0.1.tar.gz.

File metadata

  • Download URL: subunit2sql-0.1.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for subunit2sql-0.1.tar.gz
Algorithm Hash digest
SHA256 597efed955cbad166226146b550ef0018530f1cc5924f465d0ef010b34c33f25
MD5 331758403c59e6eb3b2d6af2e59f3667
BLAKE2b-256 473a3bb835e36a1ae21b97699c86ba3c906d1b96ae68a08b4daac902d3eea67c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page