Python jobs for tripleo-ui fail in CI

Bug #1661261 reported by Honza Pokorny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Honza Pokorny

Bug Description

With the newly added Python bits, the tripleo-ui CI jobs fail because of a conflict. The tripleo-ui repository contains a dist/ dir which the Python jobs use. The job fails when it tries to copy a directory into the tree, and it already exits.

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

http://logs.openstack.org/79/425979/18/check/gate-tripleo-ci-centos-7-undercloud/ede0bcf/

The solution is to remove the dist/ dir from the tripleo-ui project.

Tags: ui
Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: none → ocata-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ui (master)

Reviewed: https://review.openstack.org/428149
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=319776bbbaa170e78b5fe34788edf5da82e317ca
Submitter: Jenkins
Branch: master

commit 319776bbbaa170e78b5fe34788edf5da82e317ca
Author: Honza Pokorny <email address hidden>
Date: Thu Feb 2 10:05:12 2017 -0400

    Add html-webpack-plugin dependency

    This is needed for generating the main index file to the dist/ directory during
    build time.

    https://github.com/jantimon/html-webpack-plugin

    License: MIT

    Partial-bug: 1661261
    Change-Id: Ie37ee221d846cf84b69ad7b74563b168b25a53f4

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/428156
Committed: https://git.openstack.org/cgit/openstack/tripleo-ui/commit/?id=6f2ccc32c6b63988b3aeb14f6c72ed2804810988
Submitter: Jenkins
Branch: master

commit 6f2ccc32c6b63988b3aeb14f6c72ed2804810988
Author: Honza Pokorny <email address hidden>
Date: Thu Feb 2 10:12:11 2017 -0400

    Remove dist/ directory

    * Move dist/index.html to src/
    * Move dist/tripleo_ui_config.js.samle to config/
    * Use html webpack plugin to generate dist/index.html on build
    * Update documentation

    Reasons:

    * The dist/ dir conflicts with Python builds in CI
    * Semantically, having the two files in that directory doesn't make sense

    Closes-bug: 1661261
    Change-Id: I0904e9e5c2ced12865611fab21ee1f66d33d52bb

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ui 3.0.0

This issue was fixed in the openstack/tripleo-ui 3.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-ui 7.0.0

This issue was fixed in the openstack/tripleo-ui 7.0.0 release.

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.