[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#622978: python-apt: FTBFS: test_apt_update, test_acquire_progress errors



Source: python-apt
Version: 0.7.100.3
Severity: serious
Justification: fails to build from source

python-apt FTBFS here (i386, unstable):
| set -e; for python in python2.7 python2.6 python3.2 ; do \
| 		$python tests/test_all.py -q || [ "linux" = "hurd" ]; \
| 	done;
| [tests] Running on 2.7.1+ (r271:86832, Mar  8 2011, 02:05:17) [GCC 4.5.2]
| ^MReading package lists... 0%^M^MReading package lists... 0%^M^MReading package lists... 1%^M^MReading package lists... 61%^M^MReading package lists... 99%^M^MReading package lists... 99%^M^MReading package lists... Done^M
| ^MBuilding dependency tree... 0%^M^MBuilding dependency tree... 0%^M^MBuilding dependency tree... 50%^M^MBuilding dependency tree... 50%^M^MBuilding dependency tree... 88%^M^MBuilding dependency tree       ^M
| ^MReading state information... 0%^M^MReading state information... 0%^M^MReading state information... Done^M
| ======================================================================
| ERROR: test_apt_update (test_apt_cache.TestAptCache)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-apt-4PVIdY/python-apt-0.7.100.3/tests/test_apt_cache.py", line 141, in test_apt_update
|     cache.update(sources_list=sources_list)
|   File "/build/python-apt-4PVIdY/python-apt-0.7.100.3/build/lib.linux-i686-2.7/apt/deprecation.py", line 98, in deprecated_function
|     return func(*args, **kwds)
|   File "/build/python-apt-4PVIdY/python-apt-0.7.100.3/build/lib.linux-i686-2.7/apt/cache.py", line 373, in update
|     raise FetchFailedException(e)
| FetchFailedException: W:Failed to fetch copy:/build/python-apt-4PVIdY/python-apt-0.7.100.3/tests/data/test-repo/Release  rename failed, No such file or directory (./data/tmp/var/lib/apt/lists/partial/_build_python-apt-4PVIdY_python-apt-0.7.100.3_tests_data_test-repo_Release -> ./data/tmp/var/lib/apt/lists/_build_python-apt-4PVIdY_python-apt-0.7.100.3_tests_data_test-repo_Release).
| , E:Some index files failed to download. They have been ignored, or old ones used instead.
|
| ======================================================================
| ERROR: test_acquire_progress (test_progress.TestProgress)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-apt-4PVIdY/python-apt-0.7.100.3/tests/test_progress.py", line 43, in test_acquire_progress
|     res = cache.update(progress)
|   File "/build/python-apt-4PVIdY/python-apt-0.7.100.3/build/lib.linux-i686-2.7/apt/deprecation.py", line 98, in deprecated_function
|     return func(*args, **kwds)
|   File "/build/python-apt-4PVIdY/python-apt-0.7.100.3/build/lib.linux-i686-2.7/apt/cache.py", line 373, in update
|     raise FetchFailedException(e)
| FetchFailedException: W:Failed to fetch file:/build/python-apt-4PVIdY/python-apt-0.7.100.3/tests/data/fake-packages/Release  rename failed, No such file or directory (./tmp/partial/_build_python-apt-4PVIdY_python-apt-0.7.100.3_tests_data_fake-packages_Release -> ./tmp/_build_python-apt-4PVIdY_python-apt-0.7.100.3_tests_data_fake-packages_Release).
| , E:Some index files failed to download. They have been ignored, or old ones used instead.
|
| ----------------------------------------------------------------------
| Ran 35 tests in 15.208s
|
| FAILED (errors=2)
| make[1]: *** [override_dh_auto_test] Error 1

--
Jakub Wilk



Reply to: