Commit Graph

140 Commits

Author SHA1 Message Date
Ghanshyam Mann a606c60efc Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/ansible-role-collect-logs/+/910044
Depends-On: https://review.opendev.org/c/openstack/neutron/+/910099

Change-Id: I338ed19678cf4a6248c46551bdf9cb23abc511bd
2024-02-24 20:22:39 +00:00
Arx Cruz 4db10e39a4 Remove pingtest from tripleo
Ping test is no longer being used in the last 5 years and was replaced
by tempest. However there are still pieces of code being executed, and
replacing some files, for example the testrepository.subunit file that
tempest generate and it is being used by the ci logging scrapper to
collect data about tempest.

Change-Id: Ia2b18f88652f144d5b593c5d209a9acf2d0374c8
2022-10-05 11:51:33 +02:00
Cédric Jeanneret 68a49832c1 Revert "remove old common_functions script"
This reverts commit ab5b7a16c8.

The script is still used within tripleo.sh, when called with --delorean-build.

Change-Id: I512b4eac3ce1536e726b248801d1c5ddc3a7500c
2019-05-16 14:25:13 +00:00
Wes Hayutin ab5b7a16c8 remove old common_functions script
This script is no longer used.

Change-Id: If750713802648eed500ff19bf9ee1654791298e1
2019-04-24 17:11:39 +00:00
Wes Hayutin 407ffce875 update openstack.org -> opendev.org
Change-Id: I3c943d837fc2deeadbdefddeca6532f702d22e32
2019-04-22 13:31:45 -06:00
Martin André e636594a0c Remove dead code
Remove unused functions from common_functions.sh after
Ie230aa0640e41a33e10e6656b69e1db4a6819127 merged. This commit deletes
all the functions that aren't referenced anywhere. Most of them are now
implemented in quickstart.

Also remove some of the scripts that were only used in these functions.
There is probably more cleanup to do.

Change-Id: I4fef5f8482f5eb7d4276b1d2d2563fd57d7419fb
2019-01-09 09:48:29 -05:00
Sorin Sbarnea ed27a979d5 Adopt use of pre-commit linting
Follows the same configuration that was used on
tripleo-quickstart-extras and documented use on tripleo-docs.

Change-Id: Iba8a2db92137f9f6ad28f498627eb1b87039d99f
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-12-14 15:50:06 +00:00
Natal Ngétal dbc129238e [Core] Remove mitaka.
The mitaka release is no longer supported by the community.

Change-Id: Iba4ed16f5d91973e43d3be040ce7e0eaf7396c73
Closes-Bug: #1722602
2018-11-14 11:14:06 +01:00
Emilien Macchi 3b77a6a84d Add support for NODEPOOL_CBS_CENTOS_PROXY variable
This variable is exported on Infra nodepool servers, and for RDO CI
we'll need to export it in tripleo-ci.

Change-Id: Ic0bf6745b007681c44bdc079b37b34299971c7d3
2018-09-07 01:54:20 +00:00
Marios Andreou d2e5725fea Remove tripleo.sh --bootstrap-subnodes from toci_gate_test.sh
In https://review.openstack.org/583195 we are removing the bootstrap
subnodes invocations for the zuul v3 jobs and the templated version
of toci_gate_test.sh.j2. Here we do the same for the legacy bash
version of toci_gate_test.sh and add a deprecation note on the
tripleo.sh --bootstrap-subnodes function itself.

The invocation of tripleo.sh is removed with the now unused functions
echo_vars_to_deploy_env_oooq subnodes_scp_deploy_env

Instead the creation of ceph /dev/loop3 is handled in the base job
pre.yaml added in the Depends-On below

Depends-On: https://review.rdoproject.org/r/15000
Depends-On: Ib95b02767488aaddfe95633d03cb118dd492a700
Change-Id: I039388e4c3d4959270c45e827e76993636bd2990
2018-08-22 19:56:19 +00:00
Emilien Macchi 3a8922988f Remove old undercloud-container bits
The bash code isn't used anymore, we now use TripleO Quickstart to test
a containerized undercloud.

Change-Id: I024631f9b31a651ace2ca3b3b5840749afbe2606
2018-03-05 22:20:47 +01:00
Sergii Golovatiuk 88652a1cc5 Write only defined variables
If variable is not defined, it failes with set -u as
~/tripleo-ci/scripts/common_functions.sh: line 378: !VAR: unbound variable

This patch adds conditional logic to write only what's defined

Change-Id: Ibd1e7cc9eeb67b3dfdfc3b72af368c9c6796fb18
2018-03-05 08:18:13 +00:00
Sagi Shnaidman 0ec3a9c25d Use CENTOS_MIRROR from provided mirror_info.sh file
Don't construct CENTOS_MIRROR env var because we have it in the
file mirror_info.sh which is provided from nodepool.
Remove EPEL_MIRROR because it's not used anywhere.

Change-Id: I40fe8f6b2be1864b27bbe369e7da988fa7f1a0bb
2018-02-12 16:48:22 +02:00
Sagi Shnaidman b56e22a835 Mirror images from RDO server
Mirror promoted images from RDO server to RH1 cloud
Rename all ipa_images.tar to ironic-python-agent.tar
Remove old promotion code from mirror-server

Change-Id: I44a170cfa23e568d31726f55cea8906ad2c8e146
2017-10-18 13:21:13 +00:00
Sagi Shnaidman 49a6109cbd Fix TripleO CI jobs
Fix TripleO CI jobs to be compatible with Zuul v3

Change-Id: Ibf6e7290528d072443bf7fa0ad22938e861538c6
2017-10-09 11:45:53 +03:00
Juan Antonio Osorio Robles 76b1396bc1 Don't try to update cloud-init anymore
CentOS 7.4 no longer needs a custom cloud-init, so we don't need to
inject it in the overcloud images anymore.

Change-Id: I08a63a052a9a5bde3143573365cac43596e03ff9
Depends-On: I9c87072aaa218658b943c1ee30caa448aae8bdd7
Closes-Bug: #1717846
2017-10-09 04:23:52 +00:00
Attila Darazs 3b766679e9 Remove promotion logic from the toci scripts
The image upload is now going to be handled by the periodic jobs on
rdocloud and the promotion by the dlrnapi_promoter script.

Depends-On: Id9e08bc5938a8d8daad0203293ac1e266aa65326
Change-Id: I8a83c1a47e0a8a5ba0a11fee6f9fed3edd97af76
2017-09-27 16:23:50 +02:00
Alex Schultz ca60361c59 Revert "Stop trying to build networking-bagpipe with DLRN"
This reverts commit 410a0f390e.

The packaging for networking-bagpipe was fixed in RDO[0] so this should no longer be an issue.

[0] https://review.rdoproject.org/r/#/c/5839/

Change-Id: Ib67befcfa8689dd2b954637a14d3e55cd704df9d
2017-08-31 17:47:22 +00:00
Paul Belanger 410a0f390e Stop trying to build networking-bagpipe with DLRN
This RPM package is broken, and every time a tripleo change is behind
the networking-bagpipe project, jobs fail.  Exclude it for now until
the RPM can be fixed.

Change-Id: Ia7b8cc2ecb0f940ead9cbaf6278c6a0b6b10a158
Related-Bug: 1709428
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-08-09 21:24:09 -04:00
Wes Hayutin c1bc124048 calculate and record the size of the log files for tripleo-ci
For good house keeping it will be a good idea
to be able to see the size of the logs we are sending up to openstack
infra

Change-Id: I5c3339cc17b485b8f42735b4eca95a5e02441ea9
2017-07-07 15:40:00 -04:00
Sagi Shnaidman 94a7b804cf Fix checking of ZUUL CHANGES
If ZUUL_CHANGES is not defined like it happens in periodic jobs
it should have default as empty string.

Change-Id: Ic95ae22255df7f7ed7ba347e083ac311cca25095
2017-06-17 13:17:58 +03:00
Gabriele Cerami ed7f7db98b can_promote function: fix case for oooq when ZUUL_CHANGES is not defined
for the oooq, if ZUUL_CHANGES is not defined by ZUUL, is not defined
anywhere else and the can_promote function fails.
Always give the green light to promotion if ZUUL_CHANGES is not defined
ad it happens for periodic job, and they are always allowed to attempt a
promotion

Change-Id: I5ba2278c0c421b6097bb23902b668cd7c78591b3
2017-06-15 11:04:41 +02:00
Jenkins e73b89456d Merge "quickstart transition: add promotion logic" 2017-06-14 12:39:36 +00:00
Jenkins 030b76611a Merge "Selectively record heat deploy times to graphite" 2017-06-12 09:23:08 +00:00
Gabriele Cerami 6f733241c2 quickstart transition: add promotion logic
Add the logic to perform promotion with jobs started with quickstart

- add function to check if an item is in a array
- add uploads and conditions at the bottom of toci_gate_test
- modify job names for the promotion in mirror server script

Depends-On: I92b8b4e5ba6e8daf91b4166ad96ff61bdbe6e38a
Change-Id: Ie132edfe90043b32aee321a211b174d11426f50d
2017-06-07 12:23:32 +02:00
Steven Hardy 87722b14c7 Ensure consistent path for multinode upgrade job
Some changes in t-h-t recently mean we've got to support multinode
scenario environments that reference j2 rendered files, but this
only works when the environment is contained within the --templates
tree.  So we copy the environment under test to the "new" tree
during an upgrade test, and ensure all paths reference the new
location.

Change-Id: I0288c2b470606d990281f6c37071b632a2d0d423
Closes-Bug: #1687908
2017-05-17 11:46:58 +00:00
James Slagle fa75d56177 Stop dstat at the end of a job
We should stop the dstat process that was previously started in
toci_gate_test.sh, so that processes aren't left running from tripleo-ci
jobs.

Change-Id: I200fe5f99d371fdde3b20518ffd10197680d46dd
2017-05-15 09:46:12 -04:00
Ben Nemec e1bee16a74 Selectively record heat deploy times to graphite
There are a number of heat resources whose deployment times we
would like to keep track of over time.  Graphite is very good at
that, but because a lot of the heat resources have unique ids
appended to them we can't just capture everything or it overwhelms
Graphite with useless single data points.

To get around that, this patch greps specific resource names out of
the deploy time log file and records only those.  The initial list
is resources that have caused us problems in the past, but we can
add more if we find a need.

Change-Id: I25e7d2a81f6ca7249c0934ad16de8f10c637d825
Related-Bug: 1684272
2017-05-05 16:01:32 +00:00
Emilien Macchi cde23b9d3e logs: chmod 755 all workspace directories
... so zuul can remove them after a job has run.
Some cases like Sensu has files in /etc/sensu owned by root, with 444
permission, so zuul fails to delete them.

Change-Id: I3eb2a18b9a140595cdf99c28684bf45de4d4eae1
2017-04-21 11:47:16 -04:00
Jenkins 5281bb88f6 Merge "Create dir on subnode for copying deploy.env" 2017-03-30 23:17:25 +00:00
Sagi Shnaidman b91c043352 Create dir on subnode for copying deploy.env
Ensure that directory exists on subnode before copying there
deploy.env file.

Close-Bug: 1676093
Change-Id: I1d49450ab09e0f7be2f4d5d17d33cc3bebed1fb0
2017-03-25 22:31:34 +00:00
Jenkins cc72091b56 Merge "Collect more info about docker" 2017-03-25 06:20:00 +00:00
Emilien Macchi f8ee060fdb Switch trunk/cbs/buildlogs to use https
There is a permanent redirection from http to https in buildlogs, cbs
and trunk repos that might create issues when the redirection fails for
some reasons.
Let's use https directly.

Change-Id: If36d006d76cc712c582cde2265f41f4243b12622
2017-03-23 15:38:45 +00:00
Flavio Percoco 94cd0f876b Collect more info about docker
Include volumes list and the content of some of the internal dirs in the
containers. This will provide more info about the configs mounted in the
container and their logs.

Co-Authored-By: Martin André <m.andre@redhat.com>
Change-Id: Ie5872d31dc6caf566dda7aa78b14502708babe4c
2017-03-17 08:45:44 +01:00
Gabriele Cerami 7fdbe42018 oooq multinode: fix for stable branches
Current quickstart setup is not working with stable branches for the
multinode jobs.
Since we're still using the bootstrap script from tripleo.sh to
bootstrap nodes in multinode, we need to create and propagate deploy.env
to the subnodes.
We use existing functions, with some changes.

Partial-Bug: #1673051
Change-Id: Id05dcc64fcf7f67792400447a73ba179a9d4db4f
2017-03-15 15:13:16 +01:00
James Slagle 4a4c8a1c76 Use bootstrap subnodes environment in CI
Use the bootstrap subnode environment in CI that was added in
I6be94604a46382e6288df1b36b9de8fab58696cc instead of bootstrapping the
subnodes manually first. Even when using the environment, we need to do
a minimal bootstrap to do some cleanup from the infra spawned nodes and
initially install the agent packages.

Change-Id: I90619e8027b43dd2f2efc5a9d3cc7de80a906fb5
2017-03-02 17:30:26 -05:00
Jenkins 32e1bb6789 Merge "Undercloud containers job with tripleo.sh" 2017-03-02 15:11:21 +00:00
Jenkins 383e9281f1 Merge "Add option for scenarios jobs promotion" 2017-03-02 14:00:23 +00:00
Dan Prince f57192de17 Undercloud containers job with tripleo.sh
We still use tripleo.sh for the undercloud CI jobs so this
patch follows suite to add a containers job to the mix to
give us some coverage on undercloud CI containers features.

Change-Id: Ie6506c2a4176246246fa4c4af0d920d4cb76e0fb
2017-03-01 10:53:25 -05:00
Jenkins aaafd1ce58 Merge "Download promoted images in case of stable branch" 2017-03-01 14:35:13 +00:00
Sagi Shnaidman 7a4477409d Download promoted images in case of stable branch
After we started collecting images for stable branches we can
download them and save time on building.

Change-Id: I3a70b38392476a03ac66a984e088c372e879487f
2017-03-01 01:11:13 +02:00
Sagi Shnaidman 4efcd5923b Add option for scenarios jobs promotion
Add support for promote repositories with scenario jobs
but don't enable it.

Change-Id: I9efb59f9d5d1aa81765c4b31630bb93b57944113
2017-02-28 10:59:40 +02:00
Ben Nemec 12998562fc Add postci metric
Will allow us to keep track of how long it's taking to collect logs
and such after a run, which can be a non-trivial amount of time.

Change-Id: I6c8bfebcc8e0379e0c400cd30eaa5ca6fe5e321d
2017-02-23 15:15:48 +00:00
Emilien Macchi a52bbde43f remove test-environments/multinode_major_upgrade.yaml
This is now in t-h-t so we should only use that version.

Note this means we use the master version of the env for
defining the service list for the deployed (newton) overcloud.

Change-Id: Ia7cc49daf8e9e26e3dee9db6f1bdb53b543b658e
2017-02-17 23:29:50 +00:00
Jenkins b136e93a9b Merge "Fix quickstart issues" 2017-02-17 01:22:50 +00:00
Sagi Shnaidman f34fbafc51 Fix quickstart issues
Run tempest in the same playbook.
Don't run postci function.
Use exclude list collect only logs we need.

Change-Id: Ib72a70facfb4fa180334ae5f470d34d1fb201668
2017-02-16 18:15:30 +02:00
Juan Antonio Osorio Robles b0f72f0026 Deploy novajoin in the TLS-everywhere job
This deploys novajoin in the fakeha-ca-server job which deploys
TLS-everywhere.

bp novajoin

Depends-On: I4c055e4b4086b02fa706380f01911f499966dfc1
Change-Id: If2d392caa54a0090da5f2654d37742d5aecaa4b0
2017-02-16 15:14:21 +02:00
Paul Belanger 6985a2c16a Exclude /var/log/journal from devstack-logs
Because these are binary, it doesn't make sense to copy these to
logs.o.o.

Change-Id: I85ef6cef0d3977a1e31e1bc59e667b996830711c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-02-15 14:21:15 -05:00
Jenkins 64e3eb1fbd Merge "Make graphite metrics more granular" 2017-02-09 10:18:56 +00:00
Jenkins 61113b5240 Merge "allow centos-opstools repo to be enabled for multinode jobs" 2017-02-08 06:58:41 +00:00