139 Commits

Author SHA1 Message Date
Clark Boylan
98ec32ebe7 Remove zl's from jenkins-logstash-client config
The zuul launcers are gone so we can't have the jenkins logstash client
listen to them for 0mq events anymore. This is fine we submit the jobs
directly from Zuulv3 now and just need this to act as a geard.

Future cleanup should replace this service with a standalone geard
instead.

Change-Id: I132f065d570054081a05b27a430cfd3a5a2ad461
2017-10-30 16:16:10 -07:00
Jenkins
e9e9fe4a40 Merge "Fix nova-conductor log collection for superconductor mode" 2017-09-13 21:20:43 +00:00
Matt Riedemann
cb08979145 Fix nova-conductor log collection for superconductor mode
The devstack change in Pike to run nova-conductor in a tiered
"superconductor" mode by default creates a couple of different
log files for the top-level conductor service and the cell-level
conductor service, so we need to index those as well.

Depends-On: I44fc11f09bb7283be0b068f5e02a424f3e5dafe2

Change-Id: Ic828dd95520b21246d46a8087e8579fc3820f5c7
2017-08-25 14:22:36 +00:00
James E. Blair
ec2388ef65 Remove zl07-zl09; add ze02-ze04
Remove configuration for some unneeded v2 launchers and replace them
with some v3 executors.

Change-Id: I1cdef87d3fde9928f9b04ee4cbf704d671c9bee0
2017-08-16 08:59:10 -07:00
Jenkins
94ddfd66ae Merge "Enable mqtt notifications from logstash gearman worker" 2017-08-02 18:19:18 +00:00
Clark Boylan
f050d9c2a8 Update the keystone files in logstash worker config
Over time the keystone log file location has evolved in part due to
keystone dropping support for eventlet and relying on wsgi servers to
host keystone. We have gone through the following iterations of log
locations:

  logs/screen-key.txt # Eventlet based log file
  logs/apache/keystone.txt # Apache + wsgi < pike location
  logs/screen-keystone.txt # Apache + uwsgi + system >= pike location

Since eventlet is completely gone at this point we drop all support the
the screen-key.txt log name. We add in support for screen-keystone.txt
which was missing and update the comments around apache/keystone.txt to
indicate it is < pike (so will only be present on older branches and in
grenade jobs).

Change-Id: I8b04a8ee6c6ab45ffac47119df307a86cd3c2c23
2017-07-24 09:38:09 -07:00
Paul Belanger
865cae6879
Add zl08.o.o and zl09.o.o
Bring online 2 more zuul-launchers to help run ansible-playbooks. This
should result in 150/jobs per launcher now.

Change-Id: I774dc8672a2370ff6b6bd0e6eaa8d50186c504a6
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-07-12 16:11:31 -04:00
Sagi Shnaidman
982db388db Set up new logstash index files for TripleO
Set up new files which will be indexed in logstash.

Change-Id: I704c7f6d44f99307adb75b1d0e9a2e274df7c807
2017-06-22 16:43:26 +03:00
Clark Boylan
bc0864e407 Index the subnode devstack log.
We apparently don't index this. Index it as sometimes devstack fails in
the subnode and we want to track that.

Change-Id: I68874c88d4e4b0ab84baa9a15485bde8f2b8ea94
2017-05-30 10:41:42 -07:00
Matthew Treinish
9f6089824b
Enable mqtt notifications from logstash gearman worker
This commit enables the mqtt notifications in the gearman worker. Most
of the setup was already there from our previous failed attempts to
leverage the logstash plugin directly. This just pivots that to use the
gearman worker instead.

Change-Id: I6becec12604c61fe50d3e6b9c7ed9f9e9be311ae
Depends-On: I0a17444cce18dd4b63f1f924e393483f6d8fe8eb
Depends-On: I43be3562780c61591ebede61f3a8929e8217f199
2017-05-03 15:57:30 -04:00
Matthew Treinish
b163c199ea
Enable firehose reporting on subunit workers
This commit enables the mqtt support in the subunit gearman worker so
the workers will report over mqtt when they process a subunit file.

Change-Id: Ifff2f57740f160e328c0548254e16b04e6ab6c4e
Depends-On: Ibd13b737eccf52863a69d20843cb7d50242f7bb9
2017-04-06 15:28:47 -04:00
Jenkins
877de17207 Merge "Index neutron functional and fullstack index logs in logstash" 2017-03-14 23:52:19 +00:00
Ihar Hrachyshka
a51f0d6eca Index neutron functional and fullstack index logs in logstash
Those files are generated by neutron post_test_hook.sh script and
contain all log messages from all functional / fullstack test cases,
merged into a single file.

This will help with capturing particular fail patterns for those jobs.
Without the patch, only console log is indexed.

Depends-On: I59c11085d1645283f329e5fb22cc2988e19e8298
Change-Id: I9ebbe249e8591b1cd84a8fa7c0314134c2898648
2017-03-06 19:40:35 +00:00
Michael Johnson
8ed1f913a7 Add octavia logs to jenkins-log-client.yaml
The octavia process logs were missing from the source-files list
in jenkins-log-client.yaml.  This patch corrects the file.

Change-Id: I65eef061ea56bf4730049fb8b0d29c7552b70c55
2017-02-03 22:14:21 +00:00
Kiall Mac Innes
e69d9c22e9 Add Designate logs to Logstash
Update the list of logfiles, and fix the job-filter patterns for
existing logfiles.

Change-Id: I3280328441610953edc627ccb2d7fb135627493e
2016-08-25 17:41:51 +01:00
Jenkins
1a4b653179 Merge "Collect 'karma.subunit' files" 2016-07-19 00:11:02 +00:00
Jenkins
f0109c04fc Merge "Removed q-vpn references" 2016-07-18 23:23:45 +00:00
Sagi Shnaidman
265f26196e Add relevant undercloud logs to logstash search
Add undercloud installation and image building logs to logstash
tracking because they are not shown in console log

Change-Id: I751712a74ab0736257d4af73c60d82b10333e97e
2016-07-10 16:44:45 +03:00
Clark Boylan
1a75db0e80 Don't retry console log downloads
With the switch to zuul launcher instead of jenkins we now get the zmq
finished event after all logs are done copying (unlike with jenkins
where the console log could show up later). As a result we don't need to
continue trying to download console logs until some EOF file string
shows up, instead we can download what is there and know it is
complete.

Change-Id: I789c073a2fab8863de833684bc64b3e5cb405cf8
2016-06-24 13:54:22 -07:00
James E. Blair
d1dd7418e7 Decomission jenkins05 - jenkins07
These are our final jenkins masters.

Change-Id: I89d0bb25088c9e3fa8bab51175b241302bd9a97d
Depends-On: I6c8c3ac41f2d5fb3887d86ec5e1ecddc8273109f
2016-06-16 13:31:37 -07:00
James E. Blair
7d1e82b384 Add zl05 - zl07
Change-Id: I2543f04459b829c98b7de5645c8e02c0cfebdc51
2016-06-15 14:55:24 -07:00
James E. Blair
5ea1a43d56 Decomission jenkins.openstack.org
Change-Id: Ibb6115ca391b76f9be26660c073447931dc283b0
2016-06-15 13:17:57 -07:00
James E. Blair
4e0a9ab7f8 Decomission jenkins03 and jenkins04
Change-Id: I890bd8e69706b656b4d2d04dd83e556cb26021fa
2016-06-15 13:13:37 -07:00
James E. Blair
ddb3a28c8b Add zl04
Change-Id: I40e390cc21e0b85eeb8b59ec570dedf5c7391abe
2016-06-13 09:56:11 -07:00
James E. Blair
25eacb1074 Add zl03
Change-Id: I4388329389707ab47bc3fa020f56ec2516201222
2016-06-13 09:53:04 -07:00
James E. Blair
ce6431e31e Decomission jenkins02
Change-Id: Ibe865c9d0b77b343aa2b7800fbef2d7e135f1957
Depends-On: Ic84951b371d45c95a7b99abb1d453de94caa64db
2016-06-10 15:39:24 -07:00
Tim Buckley
88fb169df0 Collect 'karma.subunit' files
This adds a rule to collect 'karma.subunit' files generated from
JavaScript tests in the gate. This should allow JavaScript tests
to be collected by subunit2sql.

Change-Id: I8f5c4997355b01049718799036796ddec1747e4c
2016-06-09 13:45:42 -06:00
James E. Blair
814207dcb9 Add zl02
Change-Id: I37945bf64bb2cb82aaedc5cf5fd176e0d13d1211
2016-06-09 10:48:49 -07:00
Jenkins
7a8de3a17a Merge "Decommission jenkins01" 2016-06-08 22:45:40 +00:00
James E. Blair
d952ffc642 Decommission jenkins01
Remove jenkins01 from nodepool, zuul, and log processing.

Change-Id: I16d329588f3a2dd0043771db1668fac12a15e5d9
Depends-On: I57167afb08a91237c1d5fe7a38544561c8f0968a
2016-06-07 15:10:45 -07:00
James E. Blair
3cdddf1752 Add zlstatic01
This adds the static node zuul launcher, zlstatic01, into production
so that it can communicate with zuul, be graphed by cacti, and
send events to the logstash zmq listeners.

Change-Id: I3cc083c38d4e8c3dfb847f73d4edd0572c48f96b
2016-06-07 14:44:33 -07:00
James E. Blair
4dbcdd8a9c Subscribe logstash to zl01
Change-Id: I6e671f0f45ce76c94f6c62c6697d98c68c379e71
2016-06-06 10:38:10 -07:00
Jenkins
2125c0a657 Merge "Refresh log files for tripleo project" 2016-05-30 14:27:02 +00:00
Sagi Shnaidman
a4710d4a1a Refresh log files for tripleo project
Updated relevant log files for TripleO

Change-Id: I18519620befcab9bc0b98924be36e7c41bbd7d8c
2016-05-24 16:16:23 +03:00
Ihar Hrachyshka
99f25eee4b Removed q-vpn references
The last gate that was producing the log was kilo. Since it's EOL now,
remove the reference.

Change-Id: Ibb855c4e667bca319f2ea2663a299914cbf505b9
2016-04-29 13:04:29 -07:00
Matthew Treinish
034df25289
Add post queue jobs to subunit collection
This commit adds the post queue to the subunit collection for the
gearman client.

Change-Id: I48555e3300cf8be16cbd8d9769137a4130ba2115
2016-04-29 11:30:52 -04:00
Matthew Treinish
6b74d687a4
Update subunit2sql conf path
The puppet-subunit2sql module updated where it puts config file to
be in /etc/subunit2sql instead of /etc/logstash. But we missed updating
the worker yaml config file. This patch corrects the oversight.

Change-Id: Ibb4d2eee7deb7876fc17c49dade8d4ae1236ca3e
2016-04-08 14:49:31 -04:00
Matthew Treinish
4ed867508a
Add a job filter for old side subunit files
This commit adds back the job filter on the old side subunit stream
from grenade runs. The subunit stream will only end up under logs/old
if it's a grenade run. So to be more efficient lets filter looking
for a subunit stream there only to grenade jobs.

Change-Id: I5a6c9b17f923526745507a131658f581a9d94e0a
2016-02-17 11:40:07 -05:00
Matthew Treinish
eb44d78d57
Remove retry-get param from subunit file collection
This commit removes the retry-get parameters from the subunit file
collection in the logstash gearman client. These were cargo-culted
from elsewhere in the yaml file and doesn't add anything useful in
this case. The param is only there to workaround jenkins limitations
with the console log uploading.

Change-Id: Ic751d5e295e605b20386ad9cde6500bae44f34d8
2016-02-16 15:54:13 -05:00
Matthew Treinish
30ad231a19
Remove job filters and add missing paths to subunit collection
This commit will enable collection of subunit results from all subunit
emitting jobs in the gate and periodic pipelines. Now that we prune
the database to only 6 months of history we should have plenty of
headroom for the extra data generated by non-tempest-dsvm jobs.
(hopefully)

Depends-On: I58a640f804313e1e4b80680f0e39b86d76cb29da
Change-Id: If5691af792409f02352f25b1498dd78294a7cd74
2016-02-11 17:57:29 -05:00
Matthew Treinish
178d1817ae
Update subunit job name selection regex
This commit updates the selection regex to be a bit more general an
ensure that the subunit streams from all the gate tempest jobs are
being picked up. There are certain jobs that don't start with
gate-tempest-dsvm or gate-grenade-dsvm that we wanted to collect
results for. For example the puppet jobs will be named something like:

gate-puppet-openstack-integration-scenario001-tempest-dsvm-centos7

and those would not be picked up with the old regex.

Change-Id: If68978679a9ebb6252663691b1850918db913990
2015-12-04 17:54:20 -05:00
Joshua Hesketh
3e1aa44182 Fix regex for periodic job collection (part2)
Some periodic jobs don't start with any prefix. Make it optional.

Change-Id: Ibc26bcd1247dc4297c53bb93c93229fd1c8fa3e7
2015-11-10 15:33:16 +11:00
Matthew Treinish
ab85caa5d6
Fix regex for periodic job subunit collection
This commit fixes the regex on periodic job subunit collection filter
so it'll actually have matches. The jobs don't have a gate-* name on
the periodic queue, so we shouldn't assume they do.

Change-Id: I6f2d78b4b7d8cdb1d15dea0ad4b638c30b229f2b
2015-11-09 18:37:33 -05:00
Matthew Treinish
653a1f8269
Add periodic tempest jobs to subunit2sql collection
This commit expands the test result collection to also include
periodic jobs. The data rate for this is relatively low and there
shouldn't be any issues with data purity because the jobs only
run with merged code, so the tests should pass.

Change-Id: I29f930c15fff124cb2c4934a84a999d3ce1a18cb
2015-10-29 22:02:26 -04:00
Matt Riedemann
003a56b1ff Index manila service logs for debugging manila runs in the gate
The elastic-recheck uncategorized bugs page has manila jobs in it
so we need to be able to index the manila service logs in logstash.

For example: http://goo.gl/k1bjUX

Change-Id: I3360858a5a704bc1304c2bc00792ea15f2b924f2
Related-Bug: #1491325
2015-09-02 14:46:58 -07:00
Matt Riedemann
db7e48ef45 Index screen-c-bak logs for logstash
With the recent ceph gate blocker with backups it'd be good to be able
to query for failures in the cinder backup logs, so let's add it to the
logstash index.

Example log: http://goo.gl/4IIWai

Related-Bug: #1476416

Change-Id: Ie5f63e3a4acb5cfef97292cd7c8a009d86ee703a
2015-07-21 07:38:40 -07:00
Joe Gordon
687b4a7467 Add subnode logs to logstash
Enable us to use logstash.openstack.org to help debug multinode failures
that occur on the subnode.

Change-Id: I3629f4827abec68b731ce47048dab553908662d2
Depends-On: Icf842ec12e87ccd208c551870312c8e4b62613bd
2015-07-16 14:02:44 -07:00
Matt Riedemann
b0590ecbc0 Index cells logs
We've been trying to get the cells job in the check queue passing
consistently and it's been a game of whack-a-mole with regressions, so
when we're trying to debug new failures it'd be super helpful to
actually have logstash for the cells logs.

This adds the cells logs and only indexes them for the cells job(s)
which is the only time they should appear.

Change-Id: Id4450b7cb5d3303f9cb031c3e77fc17cfff97890
2015-04-09 15:51:31 -07:00
Jenkins
fd3490c5de Merge "Adding tripleo-ci files to be indexed by logstash" 2015-02-11 01:02:46 +00:00
Sean Dague
894b4c822d update indexer for apache logs
Apache logs aren't getting indexed after changes to where they exist
in devstack-gate. This means the horizon logs are lost, and that
keystone logs aren't getting indexed at all on the main jobs.

Change-Id: I1ef5084d6bf4dc9f74f4e4b51e00e97573074e38
2015-02-06 11:44:17 -05:00