Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1362277 - upstream test 'Basic test for whole program' in test_preup.py raises AssertionError: 0 != 1
Summary: upstream test 'Basic test for whole program' in test_preup.py raises Assertio...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: preupgrade-assistant
Version: 6.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Petr Hracek
QA Contact: Alois Mahdal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-01 19:40 UTC by Alois Mahdal
Modified: 2016-12-14 13:00 UTC (History)
5 users (show)

Fixed In Version: preupgrade-assistant-2.2.0-1.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-14 13:00:23 UTC


Attachments (Terms of Use)

Description Alois Mahdal 2016-08-01 19:40:00 UTC
Description of problem
======================

'Basic test for whole program' in test_preup.py raises AssertionError: 0 != 1

    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
    :: [   LOG    ] :: file: ./tests/test_preup.py
    ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

    :: [  BEGIN   ] :: Run all tests in file: ./tests/test_preup.py :: actually running ' nosetests -vv ./tests/test_preup.py'
    nose.config: INFO: Excluding tests matching ['test_compose|test_final_compose|generate_test_xml']
    basic test of several options ... ok
    test_hashes (tests.test_preup.TestHashes) ... ok
    test_correct_prefix (tests.test_preup.TestPremigratePrefix) ... ok
    test_wrong_prefix (tests.test_preup.TestPremigratePrefix) ... ok
    Basic test for whole program ... FAIL
    test_correct_prefix (tests.test_preup.TestPreupgradePrefix) ... ok
    test_wrong_prefix (tests.test_preup.TestPreupgradePrefix) ... ok
    Basic test for whole program ... ok
    Basic test for whole program ... ok
    Basic test for whole program ... ok
    test_solution_bold_tag (tests.test_preup.TestSolutionReplacement) ... ok
    test_solution_file_bold_tag (tests.test_preup.TestSolutionReplacement) ... ok
    test_solution_file_link_tag (tests.test_preup.TestSolutionReplacement) ... ok
    test_solution_wrong_link_tag (tests.test_preup.TestSolutionReplacement) ... ok
    test_solution_www_bold_tag (tests.test_preup.TestSolutionReplacement) ... ok
    test_solution_www_link_tag (tests.test_preup.TestSolutionReplacement) ... ok
    test_platform_tag (tests.test_preup.TestXMLUpdates) ... ok
    test_result_dirs_current_dir (tests.test_preup.TestXMLUpdates) ... ok
    test_result_dirs_tmp_preupgrade (tests.test_preup.TestXMLUpdates) ... FAIL

    ======================================================================
    FAIL: Basic test for whole program
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "/tmp/tmp.ol1kvEy3Yg/preupgrade-assistant/tests/test_preup.py", line 142, in test_upgrade
        self.assertEquals(found_migrate, 1)
    AssertionError: 0 != 1



Version-Release number of selected component
============================================

preupgrade-assistant-2.1.8-2.el6
suite at a19a4dd

Comment 2 Michal Bocek 2016-12-14 13:00:23 UTC
'Basic test for whole program' in test_preup.py pass in preupgrade-assistant-2.2.0-1.el6.


Note You need to log in before you can comment on or make changes to this bug.