Florian Festi wrote:
Tim Lauridsen wrote:
Have some problems applying the patch to yum master, it is
complaining about a missing file.
Ehm, true. The patches I sent yesterday are not in yet. Try the one
attached here.
Florian
------------------------------------------------------------------------
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
Still getting errors.
Tim
[EMAIL PROTECTED] yum]$ make test
python test/alltests.py
.......................................FF..FFF.......FFFF....FFFF....F...................................................
======================================================================
FAIL: testUpdateMultilibToMultilib (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 216, in testUpdateMultilibToMultilib
self.assertResult((p.update_i386, p.update_x86_64))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 1-1.x86_64 was not removed!
Package zsh - 2-1.x86_64 was not installed!
Test case was:
def testUpdateMultilibToMultilib(self):
p = self.pkgs
res, msg = self.runOperation(['update'], [p.installed_i386,
p.installed_x86_64], [p.update_i386, p.update_x86_64])
self.assert_(res=='ok', msg)
self.assertResult((p.update_i386, p.update_x86_64))
======================================================================
FAIL: testUpdateMultilibToMultilibForDependency
(operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 221, in
testUpdateMultilibToMultilibForDependency
self.assertResult((p.update_i386, p.update_x86_64, p.requires_update))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 1-1.x86_64 was not removed!
Package zsh - 2-1.x86_64 was not installed!
Test case was:
def testUpdateMultilibToMultilibForDependency(self):
p = self.pkgs
res, msg = self.runOperation(['install', 'zsh-utils'],
[p.installed_i386, p.installed_x86_64], [p.update_i386, p.update_x86_64,
p.requires_update])
self.assert_(res=='ok', msg)
self.assertResult((p.update_i386, p.update_x86_64, p.requires_update))
======================================================================
FAIL: testUpdateMultilibTonoarch (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 171, in testUpdateMultilibTonoarch
self.assertResult((p.update_noarch,))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 1-1.x86_64 was not removed!
Test case was:
def testUpdateMultilibTonoarch(self):
p = self.pkgs
res, msg = self.runOperation(['update'], [p.installed_i386,
p.installed_x86_64], [p.update_noarch])
self.assert_(res=='ok', msg)
self.assertResult((p.update_noarch,))
======================================================================
FAIL: testUpdateMultilibTonoarchForDependency
(operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 176, in
testUpdateMultilibTonoarchForDependency
self.assertResult((p.update_noarch, p.requires_update))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 1-1.x86_64 was not removed!
Test case was:
def testUpdateMultilibTonoarchForDependency(self):
p = self.pkgs
res, msg = self.runOperation(['install', 'zsh-utils'],
[p.installed_i386, p.installed_x86_64], [p.update_noarch, p.requires_update])
self.assert_(res=='ok', msg)
self.assertResult((p.update_noarch, p.requires_update))
======================================================================
FAIL: testUpdateMultilibTox86_64 (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 198, in testUpdateMultilibTox86_64
self.assert_(res=='ok', msg)
AssertionError: ['No Packages marked for Update']
======================================================================
FAIL: testUpdatei386Tox86_64 (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 96, in testUpdatei386Tox86_64
self.assert_(res=='ok', msg)
AssertionError: ['No Packages marked for Update']
======================================================================
FAIL: testUpdatei386Tox86_64ForDependency (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 102, in testUpdatei386Tox86_64ForDependency
self.assertResult((p.update_x86_64, p.requires_update))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 1-1.i386 was not removed!
Test case was:
def testUpdatei386Tox86_64ForDependency(self):
p = self.pkgs
res, msg = self.runOperation(['install', 'zsh-utils'],
[p.installed_i386], [p.update_x86_64, p.requires_update])
self.assert_(res=='ok', msg)
self.assertResult((p.update_x86_64, p.requires_update))
======================================================================
FAIL: testUpdatenoarchToMultilib (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 62, in testUpdatenoarchToMultilib
self.assertResult((p.update_i386, p.update_x86_64))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 2-1.x86_64 was not installed!
Test case was:
def testUpdatenoarchToMultilib(self):
p = self.pkgs
res, msg = self.runOperation(['update'], [p.installed_noarch],
[p.update_i386, p.update_x86_64])
self.assert_(res=='ok', msg)
if new_behavior:
self.assertResult((p.update_x86_64,), (p.update_i386,)) # ?
else:
self.assertResult((p.update_i386, p.update_x86_64))
======================================================================
FAIL: testUpdatenoarchToMultilibForDependency
(operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 67, in
testUpdatenoarchToMultilibForDependency
self.assertResult((p.update_x86_64, p.requires_update), (p.update_i386,))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 2-1.x86_64 was not installed!
Test case was:
def testUpdatenoarchToMultilibForDependency(self):
p = self.pkgs
res, msg = self.runOperation(['install', 'zsh-utils'],
[p.installed_noarch], [p.update_i386, p.update_x86_64, p.requires_update])
self.assert_(res=='ok', msg)
self.assertResult((p.update_x86_64, p.requires_update),
(p.update_i386,))
======================================================================
FAIL: testUpdatenoarchTox86_64 (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 47, in testUpdatenoarchTox86_64
self.assert_(res=='ok', msg)
AssertionError: ['No Packages marked for Update']
======================================================================
FAIL: testUpdatenoarchTox86_64ForDependency (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 53, in testUpdatenoarchTox86_64ForDependency
self.assertResult((p.update_x86_64, p.requires_update))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 1-1.noarch was not removed!
Test case was:
def testUpdatenoarchTox86_64ForDependency(self):
p = self.pkgs
res, msg = self.runOperation(['install', 'zsh-utils'],
[p.installed_noarch], [p.update_x86_64, p.requires_update])
self.assert_(res=='ok', msg)
self.assertResult((p.update_x86_64, p.requires_update))
======================================================================
FAIL: testUpdatex86_64ToMultilib (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 157, in testUpdatex86_64ToMultilib
self.assertResult((p.update_x86_64,))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 2-1.i386 was installed!
Package zsh - 2-1.x86_64 was not installed!
Test case was:
def testUpdatex86_64ToMultilib(self):
p = self.pkgs
res, msg = self.runOperation(['update'], [p.installed_x86_64],
[p.update_i386, p.update_x86_64])
self.assert_(res=='ok', msg)
self.assertResult((p.update_x86_64,))
======================================================================
FAIL: testUpdatex86_64ToMultilibForDependency
(operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 163, in
testUpdatex86_64ToMultilibForDependency
self.assertResult((p.update_x86_64, p.requires_update))
File "/data/udv/git/yum/test/testbase.py", line 141, in assertResult
self.fail("".join(errors))
AssertionError: Unexpected result after depsolving:
Package zsh - 2-1.i386 was installed!
Package zsh - 2-1.x86_64 was not installed!
Test case was:
def testUpdatex86_64ToMultilibForDependency(self):
p = self.pkgs
res, msg = self.runOperation(['install', 'zsh-utils'],
[p.installed_x86_64],
[p.update_i386, p.update_x86_64,
p.requires_update])
self.assert_(res=='ok', msg)
self.assertResult((p.update_x86_64, p.requires_update))
======================================================================
FAIL: testUpdatex86_64Tox86_64 (operationstests.SimpleUpdateTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./operationstests.py", line 144, in testUpdatex86_64Tox86_64
self.assert_(res=='ok', msg)
AssertionError: ['No Packages marked for Update']
----------------------------------------------------------------------
Ran 121 tests in 0.335s
FAILED (failures=14)
make: *** [test] Error 1
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel