Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at

Bug 1224892

Summary: Preupgrade-assistant traceback during building of contents
Product: [Fedora] Fedora Reporter: Petr Hracek <phracek>
Component: preupgrade-assistantAssignee: Petr Hracek <phracek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: phracek, pstodulk
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: preupgrade-assistant-0.11.12-5.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-02 15:15:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Hracek 2015-05-26 07:14:00 UTC
Description of problem:
During building of contents preupg-create-group-xml traceback caused by wrong usage of print function.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Try to build a content

Actual results:
copying and adjusting preupg-xccdf-compose -> build/scripts-3.4
DEBUG: Child return code was: 1
INFO: EXCEPTION: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps  /builddir/build/SPECS/preupgrade-assistant.spec 
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/mockbuild/", line 84, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.4/site-packages/mockbuild/", line 504, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps  /builddir/build/SPECS/preupgrade-assistant.spec 

... snip ...
changing mode of build/scripts-3.4/preupg-create-group-xml from 644 to 755
+ /usr/bin/preupg-create-group-xml Fedora22_23/FedoraFeatures/
  File "/usr/bin/preupg-create-group-xml", line 27
    print 'Specify just one directory with INI file.'
SyntaxError: Missing parentheses in call to 'print'
error: Bad exit status from /var/tmp/rpm-tmp.Jj6FhE (%build)
    Bad exit status from /var/tmp/rpm-tmp.Jj6FhE (%build)

Expected results:
No traceback during building of content.

Additional info:

Comment 1 Petr Hracek 2015-05-26 07:28:28 UTC
this issue is fixed by commit

Comment 2 Fedora Update System 2015-05-26 07:59:00 UTC
preupgrade-assistant-0.11.12-4.fc22 has been submitted as an update for Fedora 22.

Comment 3 Fedora Update System 2015-05-27 16:28:06 UTC
Package preupgrade-assistant-0.11.12-4.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing preupgrade-assistant-0.11.12-4.fc22'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-06-01 13:30:26 UTC
preupgrade-assistant-0.11.12-5.fc22 has been submitted as an update for Fedora 22.

Comment 5 Fedora Update System 2015-06-02 15:15:13 UTC
preupgrade-assistant-0.11.12-5.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.