3 Commits

Author SHA1 Message Date
Matthew Treinish
32cb330367 Revert "Add support to the subunit workers to reuse zuul uuids"
With grenade jobs this breaks the unique constraint on the runs table for the id column.

This reverts commit 811e5a717c41fa865f4ef9ffed6a74eec2002290.

Change-Id: I723c0415b83e3b33106e8d3557013678b666fac6
2015-01-29 19:21:27 +00:00
Matthew Treinish
811e5a717c Add support to the subunit workers to reuse zuul uuids
The latest subunit2sql release, 0.2.1, added support for setting the
id for a run. This commit adds support to the gearman workers for
doing this using the zuul build_uuids. This way if an event has a
build_uuid set in the metadata the id column for the row will match
zuul's. This will be useful for when eventually want to correlate
data between zuul and subunit2sql.

Change-Id: Ic4aa13a6c92c3bc759e080fdc4c2e07ff8b881bd
2014-12-23 12:54:18 -05:00
Matthew Treinish
9a06307c40 Add subunit2sql gearman workers
This adds a new gearman worker to process the subunit files from
the gate job runs. It will use subunit2sql to connect to a sql
server and process the data from the subunit file. The
log-gearman-client is modified to allow for pushing subunit jobs
to gearman, and the worker model for processsing logs is borrowed
to process the subunit files.

Change-Id: I83103eb6afc22d91f916583c36c0e956c23a64b3
2014-10-29 13:03:49 -04:00