Make sure testrepository.subunit file is generated whether tempest
failure or success.
It will help to provide actual results on
http://status.openstack.org/openstack-health
(without that patch, we only have success jobs)
Change-Id: Iaa7f9f3434d75bdf1dbf605b1b520a97a0131df8
r10k install is randomling taking lot of time ot be installed [1].
This patch executes dstat before installing r10k & puppet modules, so we
can see in dstat logs what is consumming CPU & memory during r10k setup.
(1] http://goo.gl/XJ9xky)
Change-Id: Ie98bede043339b47e9e928e5c964a6ba70090860
This commit adds the ability to manually install puppet modules. This is
useful when using an installation method not provided by the
PUPPETFILE_DIR environment variable.
Change-Id: Ie6519d8adb989eaec59d2f3047205c4fa2212419
This patch will add support to run_tests.sh for adding additional
environment variables. This can be useful for debugging. This is put
behind a switch so the current functionality is maintaned.
Change-Id: I8e5136b06299884e8b0f9a8621e9cbf28a12dd58
A recent commit in Tempest [1] broke backward compatibility for Heat
testing.
stack_owner_role is not managed anymore by Tempest and it makes tests
fails.
This is a workaround until it's sorted out in Tempest.
Until this time, we pin Tempest to a previous commit so we can continue
to test scenario002.
[1] aa461b746b
Related-Bug: #1543785
Change-Id: Ib19c25b6e4d9af808a3abab4d4ecbded2f33c034
* Create manifest to deploy Ironic services with 'fake' driver.
* Add bits to tempest class to enable the service.
* Update README.
* Add api.baremetal tests so we actually test Ironic.
Depends-On: I93fd4740d09b0c7e926c4dba7a7602f4d295d2ea
Depends-On: I01c83a6daa3909d4d9b1cb559836b7b5e54c7c7e
Change-Id: Ice03be261e687af43e677a9f60a1cc3c79acdf8b
By default, repositories will be managed by puppet through
manifests/repos.pp.
If someone wants to set up different repositories outside
of puppet entirely, he can "export MANAGE_REPOS=false" and
run_tests will not run repos.pp.
Change-Id: I3a09a2be1d2a064e784ed24f189fec41476330d9
Aodh is the new service that replaces Ceilometer Alarm.
This patch aims to:
* deploy Aodh in scenario001 (beside Ceilometer).
* drop ceilometer alarm code (replaced by puppet-aodh).
* add TelemetryAlarming testing (to validate Telemetry Alarm with Aodh).
Change-Id: I1acde0fad6c36429562d8576663c4cb9d393a79d
Disable git_clone from scenario003, all-in-one.sh leverages
run_tests which will now properly clone tempest if whether or not
we're in the gate.
Change-Id: I687464f26913bc9ee978e00e5c78efe91b062ec2
This script will help newcomers to run this script and deploy a simple
scenario of an OpenStack Cloud with Puppet OpenStack modules.
Change-Id: I559e5e0a0d21a02d04b3d999b77dee23bb38c341
Use puppetlabs.com repositories to handle Puppet packaging, like it's
done in Beaker jobs.
That way, we will run the latest version available in Puppetlabs
repositories, in a consistent way with beaker jobs.
Depends-On: Iaba6e499b1185d75930f0e7b0ca587e9f8705e5a
Change-Id: I2d49c1e913bbbf243dca3fcf41f592168f46b57b
* create $SCENARIO environment variable.
* test if fixtures/$SCENARIO.pp file exist or fail early.
* in comment, drop OpenStack project names hard-coding.
Change-Id: I80f07ba6ee2123bc24eb33eac6f600e2ea7c63da
* Stop setting SElinux as permissive and bring it to 'enforced' again,
since our blocker is fixed [1].
* Run `apt-get update` only in run_tests.sh script. It's the only place
we actually need to run it since beaker jobs already manage that task.
* in run_tests.sh, use $SUDO instead of sudo, to be consistent.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1249685
Change-Id: Ic3101a0a080b798b334cd2f212ec726f243880b5
* Install & Configure Cinder with iSCSI backend
* Enable volume tests in Tempest
* Add default_floating_pool parameter to Nova API configuration
to tempest volume scenario can work, since it uses Nova API to
associate the floating IP.
Change-Id: I8bc007f3182741b2710dc0615261d9bd403f781f
Ubuntu packaging provides now the right version of python-netaddr, we
can drop the workaround that used to install it with pip.
Change-Id: I2948a82cecec3bae40797c097f8927a5d42f2a9f
We had a workaround due to a new test in
tempest/api/identity/v3/test_projects.py* that used to fail.
This patch aims to drop the pin and come back to master.
* test_list_projects_returns_only_authorized_project
Change-Id: I1ac60e9a5fe8757c7a28b6672df1def3ae6549f8
Still hacking on the patch to make it pass trusty systems.
* Create 2 flavors, used by Tempest Compute tests
* Create 'public' network, used by Tempest Compute tests for floating-ip
* Configure Tempest to be aware about the 2 created flavors refs
* Configure Tempest to be aware about the public network
* Add some Puppet Exec code that prepare virtual bridging to reach floating IPs
* Add scenario parameters
* Run Smoke suite that includes 2 scenarios & some important API tests.
* Pin python-netaddr on ubuntu so we can test floating-IP.
Change-Id: Iebb83e110fbb0c072f06b3ca2ad84987e0efe3a6
Dstat is a tool used to monitor system in real-time. It's used by
Devstack in OpenStack gate to monitor system during jobs.
This tool would be useful for Puppet OpenStack Integration jobs so we
would be able to monitor the system during Puppet & Tempest runs, and
help us to debug eventual failures.
Change-Id: I5b6d6c662f1c23478ba0e0fb4f3d861a060abce7
Depends-On: I79c5b9521265e97595d3323149ba6e7d1e8e972b
Since our recent discussion about Ubuntu packaging, we decided to bump
Ubuntu packaging to trusty-proposed/liberty so we can install Liberty in
a better shape than current situation (Staging repo).
This patch installs UCA liberty repository.
It also makes sure `apt-get update` ran before so we are able to install
ubuntu-cloud-keyring package in the gate.
Change-Id: I57e2ddc5d0e228142f8045623ffbde362c0e7f7b
In fixtures/scenario001.pp:
* Install Glance by adding the basic bits in the manifest (keystone
endpoints, MySQL database, Glance API, Client, Registry)
* Configure Tempest to run Glance tests
* Run Glance tempest beside Keystone
Depends-On: I97d1a77c5f4a67914738514d773ecbd4bfb2196c
Change-Id: Ie918b8ae616c4e0fb8399b28f3006ab25ed6dc16
This will give us the ability to use the Depends-On header for it.
Change-Id: I2eb90955cc639173214e1e85b05cf7df9fe37f21
Depends-On: I6972baa00131fafe0e608b05e18da0e9486b916e
Depends-On: Ia7be12a441bfc0f68c089d6b98f0d4ba2fff96ed
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
* configure tempest with a separated manifest
* put Puppet return code testing in a function
* execute both manifests (tempest would be the last one)
* run tempest at the end of run-tests.sh
This is now a PoC for Keystone. We might need to adjust the way to run
Tempest to be more flexible and support different scenarios.
Co-Authored-By: Paul Belanger <pabelanger@redhat.com>
Depends-On: I7c3d20a61aa88a25f1215cccb4cb36168eab05c5
Change-Id: I4b8f7fa7a694743758ea2073b532184c587899d1
* create fixtures directory that will contain manifests to run.
* Add an empty scenario001.pp file to ensure our gate is properly working.
This implementation is basic and is not definitive. It aims to scale-up
later once we have multiple scenarios.
Change-Id: I0149c7887c8e664ca895be8ce4df5f620c5c6d0c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This reverts commit 8b9db6da8629bd9dfdc70395b2cfe15a3f9d71d6 and applies
some changes to not break Puppet beaker jobs.
* First init of run_tests.sh script that will just run
install_modules.sh script with sudo. The script also makes sure GEM_HOME is set
so we can install r10k from gems and run it later.
* install_modules: make sure to find r10k binary
Change-Id: I24c7494e7c9201915d9aa2bf314a9534ddd27dd5
This is a temp fix: currently Puppet CI is broken because it can't find
the path of the script. This patch aims to fix it but it will be changed
again later, we need to change project-config repo.
Change-Id: I1bf3ea6a26be9b79794e048aac125e80a1d858a6
When launching run_tests.sh we need to make sure to call
install_modules.sh.
I've moved it into the tools directory, and installed the modules
local vs global. This is mostly personal preference but avoids puppet
modules conflicts with global /etc/puppet folder.
Change-Id: I77c445a71720e0c8dd4744777c2bc6a0a6663590
Depends-On: I87c12faffab953ad2039d2b9ed9ab420e97ab2b7
Signed-off-by: Paul Belanger <pabelanger@redhat.com>