The size of the resulting package increases when fuel-plugin-builder is executed several times in the plugin directory

Bug #1464143 reported by Simon Pasquier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Evgeniy L

Bug Description

When running the 'fpb --build . ' command several times, the size of the resulting RPM package increases at every build. The reason seems to be that the rpm file generated on the first run is included in the second rpm file.

$ fpb --build .
Plugin is built
$ ls -l *rpm
-rw-rw-r-- 1 pasquier-s pasquier-s 125256547 juin 11 09:32 elasticsearch_kibana-0.7-0.7.0-1.noarch.rpm
$ fpb --build .
Plugin is built
$ ls -l *rpm
-rw-rw-r-- 1 pasquier-s pasquier-s 250465032 juin 11 09:40 elasticsearch_kibana-0.7-0.7.0-1.noarch.rpm

Version: 2.0.3 from pip

Workaround: run fpb command from another directory (the parent directory for isntance).

tags: added: feature-plugins
Revision history for this message
Sebastian Kalinowski (prmtl) wrote :

Which version? Git, from PyPI?

description: updated
summary: - fuel-plugin-builder doesn't clean up its build directory
+ The size of the resulting package increases when fuel-plugin-builder is
+ executed several times
description: updated
summary: The size of the resulting package increases when fuel-plugin-builder is
- executed several times
+ executed several times in the plugin directory
description: updated
Revision history for this message
Daniele Pizzolli (daniele-pizzolli) wrote :

I have this problem with fuel-plugin-builder==2.0.2 from PyPI

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Fuel Python Team (fuel-python)
milestone: none → 6.1
tags: added: non-release
Evgeniy L (rustyrobot)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Evgeniy L (rustyrobot)
status: Confirmed → In Progress
Revision history for this message
Evgeniy L (rustyrobot) wrote :

Workaround is to delete rpm with built plugin before you run "fpb --build ."

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-plugins (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-plugins (master)

Reviewed: https://review.openstack.org/191825
Committed: https://git.openstack.org/cgit/stackforge/fuel-plugins/commit/?id=d723dd78fb362f33ab547043e649065d4c7a85ec
Submitter: Jenkins
Branch: master

commit d723dd78fb362f33ab547043e649065d4c7a85ec
Author: Evgeniy L <email address hidden>
Date: Mon Jun 15 17:21:31 2015 +0300

    Remove plugin packages from previous build

    Change-Id: I0782942455b9c9640cb8d5624f86fc6edf38f496
    Closes-bug: #1464143

Changed in fuel:
status: In Progress → Fix Committed
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.