"Developer Quick-Start" failed due to missing packages in case of Ubuntu

Bug #1392304 reported by Naohiro Tamura
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Low
Naohiro Tamura

Bug Description

"Developer Quick-Start" failed due to missing packages in case of Ubuntu 14.04.
http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html

Ubuntu 14.04 (Trusty) of Minimal CD is used based on the following DevStack documents.
http://docs.openstack.org/developer/devstack/guides/single-machine.html
http://docs.openstack.org/developer/devstack/

python-tox python2.6 python2.6-dev gettext are required to correct following errors.
The document "ironic/doc/source/dev/dev-quickstart.rst" should be updated.

In order to reproduce the following errors, please follow the steps exactly specified in
http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html

----
naohirot@ubuntu2:~/work/ironic$ tox -evenv -- echo 'done'
The program 'tox' is currently not installed. You can install it by typing:
sudo apt-get install python-tox

(venv)naohirot@ubuntu2:~/work/ironic$ tox
py26 create: /home/naohirot/work/ironic/.tox/py26
ERROR: InterpreterNotFound: python2.6
py27 create: /home/naohirot/work/ironic/.tox/py27
py27 installdeps: -r/home/naohirot/work/ironic/requirements.txt, -r/home/naohirot/work/ironic/test-requirements.txt
py27 develop-inst: /home/naohirot/work/ironic
py27 runtests: PYTHONHASHSEED='299645483'
py27 runtests: commands[0] | bash -c TESTS_DIR=./ironic/tests/ python setup.py testr --slowest --testr-args=''
running testr
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ${TESTS_DIR:-./ironic/tests/} --list
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ${TESTS_DIR:-./ironic/tests/} --load-list /tmp/tmpIk9uLD
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ${TESTS_DIR:-./ironic/tests/} --load-list /tmp/tmpo5xuwR
Ran 1471 tests in 10.414s
PASSED (id=0, skips=14)
Slowest Tests
Test id Runtime (s)
----------------------------------------------------------------------------------------- -----------
ironic.tests.test_glance_service.TestGlanceImageService.test_download_with_retries 1.005
ironic.tests.test_hash_ring.HashRingTestCase.test_create_with_different_partition_counts 0.310
ironic.tests.drivers.test_deploy_utils.RealFilePartitioningTestCase.test_different_sizes 0.299
ironic.tests.api.test_acl.TestACL.test_public_api 0.267
ironic.tests.api.test_acl.TestACL.test_authenticated 0.203
ironic.tests.test_utils.ExecuteTestCase.test_retry_on_failure 0.180
ironic.tests.drivers.test_deploy_utils.RealFilePartitioningTestCase.test_whole_disk 0.171
ironic.tests.drivers.test_ipminative.IPMINativeDriverTestCase.test_reboot_fail 0.123
ironic.tests.conductor.test_manager.UpdatePortTestCase.test_get_boot_device 0.115
ironic.tests.conductor.test_manager.UpdatePortTestCase.test_set_boot_device_not_supported 0.113
pep8 create: /home/naohirot/work/ironic/.tox/pep8
pep8 installdeps: -r/home/naohirot/work/ironic/requirements.txt, -r/home/naohirot/work/ironic/test-requirements.txt
pep8 develop-inst: /home/naohirot/work/ironic
pep8 runtests: PYTHONHASHSEED='299645483'
pep8 runtests: commands[0] | flake8
pep8 runtests: commands[1] | bash -c find ironic -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null
xargs: msgfmt: No such file or directory
ERROR: InvocationError: "/bin/bash -c find ironic -type f -regex '.*\\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
___________________________________ summary ____________________________________
ERROR: py26: InterpreterNotFound: python2.6
  py27: commands succeeded
ERROR: pep8: commands failed
(venv)naohirot@ubuntu2:~/work/ironic$

Changed in ironic:
assignee: nobody → Naohiro Tamura (naohirot)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/134216

Changed in ironic:
status: New → In Progress
Revision history for this message
Dmitry Tantsur (divius) wrote :

No python 2.6 please, it's going to be dropped soon.

Changed in ironic:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/134216
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=6e612260b7e3e7f94031e5d848a6c284cb6d462f
Submitter: Jenkins
Branch: master

commit 6e612260b7e3e7f94031e5d848a6c284cb6d462f
Author: Naohiro Tamura <email address hidden>
Date: Thu Nov 13 22:38:33 2014 +0900

    dev-quickstart.rst update to add required packages

    * added unspecifed required package "python-tox" for Ubuntu/Debian,
      and removed "py26" from "tox.ini" so that "tox" command doesn't
      invoke the tests in Python 2.6 environment.

    Change-Id: I57df22a54fc08f2bb53a17d13b70706952815871
    Closes-Bug: #1392304

Changed in ironic:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ironic:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-1 → 2015.1.0
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.