New Jenkins job for testing python-fuelclient

Bug #1410234 reported by Roman Prykhodchenko
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sebastian Kalinowski

Bug Description

Since python-fuelclient was moved into a separate repository and its tests require Nailgun API to be accessible it's required to add a new Jenkins job that installs Nailgun, and runs python-fuelclient's tests agaings it.

Changed in fuel:
milestone: none → 6.1
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

Please implement tests scripts in the repo itself. And provide us with instructions which script to run and which requirements on the slave are needed.

If it is possible to install nailgun in tox environment as a python package,
then I expect the only requirement should be the pre-configured test database?

Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Fuel Python Team (fuel-python)
Igor Shishkin (teran)
tags: added: jenkins
Revision history for this message
Igor Shishkin (teran) wrote :

Roman, please reply to Alexandra's questions.

Changed in fuel:
status: New → Incomplete
Revision history for this message
Roman Prykhodchenko (romcheg) wrote :

So the script that launches the tests is on review. Adding Nailgun as a python dependency is not reasonable because then it will be impossible to run these tests against different revisions of Nailgun w/o changing the code in python-fuelclient. Instead the run_test.sh script will clone fuel-web repo and use Nailgun from there.

https://review.openstack.org/#/c/146950/

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Roman Prykhodchenko (romcheg)
status: Incomplete → In Progress
Changed in fuel:
status: In Progress → Confirmed
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-fuelclient (master)

Reviewed: https://review.openstack.org/146950
Committed: https://git.openstack.org/cgit/stackforge/python-fuelclient/commit/?id=102bf05cf7a4403382bb5732b7eebbdd5057d2cd
Submitter: Jenkins
Branch: master

commit 102bf05cf7a4403382bb5732b7eebbdd5057d2cd
Author: Roman Prykhodchenko <email address hidden>
Date: Fri Jan 9 03:03:03 2015 +0100

    Run Python tests

    This patch adds a run_test.sh script that obtains
    and launches Nailgun and runs tests against its API.

    Blueprint: re-thinking-fuel-client
    Partial-bug: #1410234
    Change-Id: Iae15cc02219fdd9110ac9ab2a3e180a561fd4263

Revision history for this message
Sebastian Kalinowski (prmtl) wrote :
Changed in fuel:
assignee: Roman Prykhodchenko (romcheg) → Sebastian Kalinowski (prmtl)
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
tags: added: system-test-not-required
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.