Commit Graph

61 Commits

Author SHA1 Message Date
Pooja Jadhav 37d6b13a5a Removal of tripleo-jobs-gerrit python file with its tests
This patch removes tripleo-jobs-gerrit.py and its test file
because its blocking patch[1], locally tox py36/py39 working fine
but on zuul side its failing with timed_out[2] consistently and also
these files dont have any other usages as per codesearch except its
tests[3].

[1]https://review.opendev.org/c/openstack/tripleo-ci/+/856051
[2]https://review.opendev.org/c/openstack/tripleo-ci/+/856051/9#message-a31598fc16bada0cba8868b4a49b1ab1bc6b9dc6
[3]https://codesearch.opendev.org/?q=tripleo-jobs-gerrit&i=nope&literal=nope&files=&excludeFiles=&repos=

Co-Authored-By: Dariusz Smigiel <dsmigiel@redhat.com>

Change-Id: I782865575380a79dc5155d500530d03c3199508e
2022-09-28 07:01:37 +00:00
Sorin Sbarnea cc0d019446 Add py39 support
- update setup.cfg to advertise supported platforms
- fix tox.ini file use version agnostic envlist
- add openstack-tox-py39 job
- minor fix on test file which wrongly assumed that pop
  returns a new dictionary
- added type to release dictionary, which is what would
  have prevented previous item from being introduced.

Change-Id: I60b80ebe41a66d39e6f1a51a3d00c0b9292d42fd
2021-04-12 18:42:38 +01:00
Sorin Sbarnea e5217e01a4 Refactored tox jobs
- assure we test triple-jobs-gerrit.py file
- fix division by zero bug with above file
- simplified tox.ini file
- prevent accidental regression on CI by checking number of passed tests
- removed test_molecule.py file which was the precursor of what later
  become pytest-molecule

Change-Id: Id6ffb9df88a376bcd3c8a0d77b2d378fca8da115
2020-03-27 13:39:35 +00:00
Sorin Sbarnea f78da2885a lint: enable black
Assures consistent formatting of our python codebase without having
to rely on humans to do it, or to debate during reviews.

Change-Id: I1e62cc755fa60e453dea865f436241ecae330771
2020-03-24 13:17:31 +00:00
Sorin Sbarnea b6611fd03a Fixed flake8 and broken gate
Flake8 went broken recently, adopts correct calling method to avoid
regression and fixes broken rules.

Also removes openstack-tox-pep8 from gate which was a guaranteed
failure when triggered as pep8 was removed.

Change-Id: Iba03d3051952f461bb16299a6d32475b2be43041
2020-01-27 19:21:48 +00:00
Jason E. Rist 08dee62629 Retiring TripleO-UI
The TripleO-UI related tripleo-ci stuff is being removed because
of the retirement of TripleO-UI.

Change-Id: I1a7ca305a6885c5faeea6db874edf84cf91f6ddd
2019-05-24 16:17:20 -06:00
Wes Hayutin 407ffce875 update openstack.org -> opendev.org
Change-Id: I3c943d837fc2deeadbdefddeca6532f702d22e32
2019-04-22 13:31:45 -06:00
Dan Prince 763e6149ca Sync the cireport with the latest job/projects
Misc updates to the ci report so it tracks the latest projects
and job names.

Change-Id: If8f42f377add164cdd0eb5d44a494bca1b0397de
2019-02-01 09:33:31 -05:00
Marios Andreou 8b6c08aaf8 Remove tripleo-ci-centos-7-3nodes-multinode job
This was removed from tht https://review.openstack.org/#/c/608311
so lets also remove the job definition

Change-Id: I83c91e22b91fce7232e1b9124b9d969e099b314a
Depends-On: I9c2cda2bf330c1ec93e756708e9d927595dadfd8
2018-11-01 08:44:04 +00:00
Sorin Sbarnea 04e2fcf4d8 replace pep8 check with generic linters
Includes removal of file pattern from pep8 job which prevented
it from running on most changes. Linters will use multiple tools
and a pattern would make it fail to spot errors.

This check should run even if no files are changed, so it would
be able to check commit messages.

There are no real load implications because linters check is
just a simple tox execution which has minimal resource requirements.

Includes reactivaction or linting which was not running on
the entire repository. This required few minor fixes.

Partial-Bug: #1786286
Change-Id: I4d4279309af55c2663e98bd0cdec9224f03c1fa0
2018-08-29 19:03:09 +01:00
Alex Schultz d7c552c544 Remove tripleo-incubator
It's being retired so we don't need to reference it anymore.

Change-Id: Iea0b8dd2cb412391183ec6c37354911b9c467654
Related-Bug: #1768590
2018-05-02 11:09:01 -06:00
Sagi Shnaidman 2a32055f6f Remove non running jobs from ci status
multinode-upgrades and ovb-containers don't run anymore, let's
remove them from jobs list in tripleo cistatus page

Change-Id: I0748808db54daeeacecf3f1c38a29872287d514a
2018-03-12 11:31:52 +02:00
Emilien Macchi 6ff74a9539 Update jobname for containerized undercloud
Name is tripleo-ci-centos-7-undercloud-containers.

Change-Id: Ia8828d1122de92047bf337349797927ddd5e7417
2018-02-14 17:22:23 -08:00
Emilien Macchi 3b00d41a73 gerrit: some updates
- Remove old OVB jobs not run anymore (moved to RDO CI)
- Add paunch in the list

Change-Id: I5b42a71a0fc5a37b1b87f839f0df6b3a26a2d13d
2018-01-31 06:24:02 -08:00
Emilien Macchi 8eda44354e cistatus.html: update OVB jobs
* Remove fs024 job, not run on master anymore
* Add fs035 (currently named ovb-ha-ipv6)
* Remove ovb-fakeha-caserver (experimental job that always fail)

Change-Id: I389c951df9caec3220c011cd8367cde68af79328
2017-12-05 12:49:48 -08:00
Emilien Macchi 2588db0371 cistatus: update web page with most important jobs
Update the important jobs that we usually monitor during Queens cycle.

Change-Id: Ia97b6fdcdd00b5f17e16679e5d178e5b362fef47
2017-11-21 18:28:58 -08:00
Emilien Macchi 4abe884b22 cistatus web page: don't look for legacy jobs
... they don't exist anymore.

Change-Id: I572d41b5494a0592ef33df1f7ed24e40ad8a5c8a
2017-11-21 06:59:34 -08:00
Ben Nemec 063217a051 Switch cistatus page to zuul v3
In the zuul v3 switch, a number of things changed that broke the
cistatus page.  The reviewer name is now Zuul instead of Jenkins,
the job names are legacy-job-name instead of gate-job-name, and not
all of the review comments include a pipeline name.  This change
handles all of those differences and allows us to retrieve job
results again.

Note that it will no longer handle older Jenkins-based jobs.  Given
that it will be all zuulv3 in the future I didn't think it was worth
the effort to support both simultaneously.

Change-Id: I494aff33be6141b2ff82595be75bfe20e6a7e382
2017-10-16 16:46:59 +00:00
Jenkins 226999036d Merge "Include gate jobs in the cistatus page" 2017-10-11 01:27:01 +00:00
Sagi Shnaidman fe492f2533 Update new job name of previous updates job
Change ovb-updates job to
gate-tripleo-ci-centos-7-ovb-1ctlr_1comp_1ceph-featureset024

Change-Id: I653d45cf3571f4c24902f35cb2696bda7cf70a68
2017-07-11 11:41:12 +03:00
Ben Nemec e357d5e86c Include gate jobs in the cistatus page
These are arguably more important than the check or experimental
jobs since failures here require two more ci passes before patches
can get through.  Previously we were filtering them out though.

Change-Id: Ic5719965de2831406adaded91cd01eebc5e31809
2017-07-10 21:02:29 +00:00
Jiri Stransky 227ecb165c Add new container jobs to cistatus.html
Change-Id: Iaf39aee03c5f5a37d81b29213702dc93f9e18ce8
2017-06-02 11:09:47 +02:00
Sagi Shnaidman cb280db9e0 Update OVB monitored jobs
After ha and nonha jobs were removed, monitor combined ovb-ha-ooq.

Change-Id: Ie2646243cc8f6718aba1f67ae13887e243dc4e3f
2017-05-10 13:15:17 +00:00
Jenkins 7aecc1fbb6 Merge "Add undercloud-containers job to cistatus" 2017-04-27 16:05:20 +00:00
Ben Nemec a75a1bea32 Include experimental jobs in cistatus page
Previously only check-tripleo and check queue jobs were read.  We
have some experimental jobs that were added to the status page that
need to be supported as well.

Change-Id: If38784ceae618557a977ecb8352ca79915b19d5a
2017-04-24 17:04:23 +00:00
Martin André e01ae2beb2 Add undercloud-containers job to cistatus
Change-Id: I56ea10f9988e26eccf92048933ac262b545a18ab
2017-04-21 12:14:42 +02:00
Juan Antonio Osorio Robles 614cee2b27 Add ovb-fakeha-caserver (TLS everywhere) job to cistatus
Change-Id: Iae704b71e851497ce5cf637913002d82c5ec5831
2017-04-21 09:49:49 +03:00
Ben Nemec 7fe157d927 Add multinode-upgrades scenario jobs to cistatus
Change-Id: I3e0cbdea65cb778a17773607cf35a1ba9ca195dc
2017-04-05 17:44:00 +00:00
Ben Nemec d2027f05c4 Automatically read both voting and non-voting forms of job
In general we don't care about the voting or non-voting status of
a job on the cistatus page.  We just want to see whether a job is
passing or not.  There are also some jobs running in both voting
and non-voting form depending on the patch, which further complicates
things.

This change makes the job name list use only the voting form of the
names and handles the -nv form automatically if it is found.  In
addition to getting us all the relevant results for a job in one
column, this means we won't have to update the cistatus script
every time a job moves from non-voting to voting or vice versa.

Change-Id: I69294bf0e78d5e443e4b1c869991fc324c2d7c23
2017-04-05 17:35:50 +00:00
Jenkins 1b91347ef8 Merge "Add gate-tripleo-ci-centos-7-ovb-containers-oooq-nv to cistatus" 2017-03-31 22:53:30 +00:00
Ben Nemec 5cfb169b71 Remove classic multinode jobs from cistatus
There are almost no results for these jobs on the status page at
this point, so there's no reason to include them by default.

Change-Id: I63ef153e03bf59133fcffb1b01fb4512ba3bb227
2017-03-30 15:58:00 +00:00
Emilien Macchi 78924faac5 Add gate-tripleo-ci-centos-7-ovb-containers-oooq-nv to cistatus
Change-Id: I5c50c2ec9e414a079beaa9cfec1f700822b4ef1b
2017-03-30 10:26:24 -04:00
Emilien Macchi 4da42fb35f Remove os-cloud-config
Depracted in Ocata, we don't need it anymore. We're removing it
everywhere.

Change-Id: Ib3984c57b4ffe77e1ed30a8b593af6b0cc764749
Related-Bug: #1677008
2017-03-28 18:09:59 -04:00
John Trowbridge 7f2f9a5364 Add oooq multinode jobs to ci status page
Change-Id: I7ab12c1572f06abef4b4d215bcb2f2dd7ede621e
2017-03-15 08:59:03 -04:00
Emilien Macchi 5a00a8279b TripleO CI status: add gate-tripleo-ci-centos-7-undercloud-upgrades-nv
Change-Id: I1ec55b4308090997fb45749ed397b5db5803f481
2017-02-02 08:18:06 -05:00
Steven Hardy 09f502bd19 Add gate-tripleo-ci-centos-7-multinode-upgrades-nv to cistatus
It will be useful to monitor this via the cistatus page

Change-Id: I3611c57e7daa4104afa6b80ed4af73b8da6fbc43
2017-01-30 08:39:27 +00:00
Ben Nemec 00c3d61192 Handle RETRY_LIMIT failure type in cistatus script
A normal Jenkins message about a job status looks like:
gate-tripleo-ci-centos-7-ovb-ha SUCCESS in 1h 49m 28s

A RETRY_LIMIT message looks like:
gate-tripleo-ci-centos-7-ovb-nonha RETRY_LIMIT

Because we get the duration from this message, the latter causes us
issues parsing the message.  This change makes that code handle
the case where there is no time included.

Change-Id: Ieb75e6dc43fb6fb4c8b86f399a23cd26978ba7d2
2017-01-23 15:30:26 +00:00
Jenkins 59e29c9053 Merge "Rename updates-nv to just updates" 2017-01-19 16:14:22 +00:00
Ben Nemec f1bfa11c91 Rename updates-nv to just updates
Once this job becomes voting we'll need to make this change to the
status page.

Change-Id: I0992a3708c2daefacf7e7fb05488eee806157d21
2017-01-18 19:26:27 +00:00
James Slagle 94691f945c Add gate-tripleo-ci-centos-7-3nodes-multinode-nv ci status page
Change-Id: Ie6c7b2b6e87f3414423490bf0fad4446035357f6
2017-01-05 16:51:07 -05:00
Ben Nemec ad578f2eb7 Add ovb-updates job to cistatus page
This is now running in non-voting form on all patches to verify its
stability.  Adding it to the status page will make it easier to
keep track of how often it's passing or failing.

Change-Id: Ic3eeeafe567bd3ae2e0c5abb9129b472dbb9bc2d
2016-12-02 15:00:22 +00:00
Jenkins ba323c6150 Merge "Add overall stats to ci-status page" 2016-12-02 10:33:53 +00:00
Jenkins dcc902cd8c Merge "Add line break between review link and duration" 2016-12-02 10:31:25 +00:00
Emilien Macchi 454fe95343 Add scenario004 to logs
Include scenario004 to logs. The scenario is not ready yet but will be
shortly. We'll have logs in the dashboard.

Change-Id: Id349ffa5847c2aaa59087affb133340cc08c8051
2016-12-01 20:02:47 +00:00
Ben Nemec 02c3d61b35 Add overall stats to ci-status page
Roll up the results into three categories: passed, partial failures,
and complete failures.  Passed means all reported jobs passed,
partial failure means some jobs passed and some failed, complete
failure means all jobs failed.  Note that these results will be
somewhat transient for patches with jobs still in progress.

I think having these numbers easily available will be helpful in
telling us the health of CI.  Passed jobs are obviously good,
complete failure jobs are usually legitimate failures (unless there's
a complete CI outage), and partial jobs are usually where you would
look to find intermittent problems (i.e. the hard ones).  Keeping
the partial number low should mean TripleO is pretty healthy from a
test perspective.

Change-Id: I5a1dd0f31c26f9d0b41fef9268000fb2f3dc54d2
2016-11-14 23:17:54 +00:00
Ben Nemec 6faaeb15bb Add line break between review link and duration
Because of the number of jobs we're reporting on the ci-status page
now, I see some weird line breaks in the middle of the duration.
This makes it difficult to visually scan job durations.  For example,
one job on the page currently looks like this:

397267,1 - 1h
52m log

Since there are already three lines in the first column of the
table, let's just make each job report two lines explicitly so they
don't get broken up in weird ways.  This change would result in the
following format for the job above:

397267,1
1h 52m log

Change-Id: Ia067ed16276a1b7ec4e08e636968467d5eacf752
2016-11-14 20:15:54 +00:00
Jenkins 17c1dc24b0 Merge "Add TripleO scenarios jobs in status dashboard" 2016-10-06 01:19:05 +00:00
Dougal Matthews 0b09098a6a Add Mistral to the CI status
Since we gate Mistral, we should include it in our CI status reporting.

Change-Id: I548341d0e191b899394d86af5a446705856af380
2016-10-03 19:45:00 +00:00
Emilien Macchi 7b4281603f Add TripleO scenarios jobs in status dashboard
Add the 3 scenarios jobs in TripleO status dashboard on:
tripleo.org/cistatus.html

Also reduce the jobname in each job column by removing
"gate-tripleo-ci-centos-7-".

Change-Id: Ia3a9f9fb09aef37d0eafed4a364f00fa10ccf6b0
2016-09-26 08:29:05 -04:00
Emilien Macchi 087657b611 tripleo-jobs-gerrit.py: update undercloud & multinode job names
-nv is not here anymore, they are in gate now.

Change-Id: Ic808fa837dca544963ed2e2806b67906a23c31b3
2016-08-12 07:55:39 -04:00