Bug#752943: djangorestframework: FTBFS - Test label 'rest_framework.tests' does not refer to a test
Hi, Control: notfound -1 2.3.13-2 Control: close -1 Hi, On Wed, Jul 02, 2014 at 06:11:29AM +0900, Kouhei Maeda wrote: But this problem was unreproducible when I had created a new base.cow. (The other lintian errors occured.) I also cannot reproduce the problem in a clean, up-to-date chroot. Closing. My apologies for the late reply. Indeed this was an issue caused by my set up, even though there does seem to be a genuine problem here (but not an RC one; I'm leaving the bug closed for now and will let you judge). It's this bit of the code/configuration: http://sources.debian.net/src/djangorestframework/2.3.14-1/rest_framework/runtests/settings.py?hl=165,166#L166 As I had been building this from within jenkins, xmlrunner.extra.djangotestrunner.XMLTestRunner was used instead of the (default?) DiscoveryRunner. Apparently, however, the XMLTestRunner won't work for this test suite. Best, Michael pgpMp1yACN27l.pgp Description: PGP signature
Processed: Re: Bug#752943: djangorestframework: FTBFS - Test label 'rest_framework.tests' does not refer to a test
Processing control commands: notfound -1 2.3.13-2 Bug #752943 [djangorestframework] djangorestframework: FTBFS - Test label 'rest_framework.tests' does not refer to a test There is no source info for the package 'djangorestframework' at version '2.3.13-2' with architecture '' Unable to make a source version for version '2.3.13-2' No longer marked as found in versions 2.3.13-2. close -1 Bug #752943 [djangorestframework] djangorestframework: FTBFS - Test label 'rest_framework.tests' does not refer to a test Marked Bug as done -- 752943: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752943 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#752943: djangorestframework: FTBFS - Test label 'rest_framework.tests' does not refer to a test
Control: notfound -1 2.3.13-2 Control: close -1 Hi, On Wed, Jul 02, 2014 at 06:11:29AM +0900, Kouhei Maeda wrote: But this problem was unreproducible when I had created a new base.cow. (The other lintian errors occured.) I also cannot reproduce the problem in a clean, up-to-date chroot. Closing. -- Jonathan Wiltshire j...@debian.org Debian Developer http://people.debian.org/~jmw 4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51 signature.asc Description: Digital signature
Bug#752943: djangorestframework: FTBFS - Test label 'rest_framework.tests' does not refer to a test
Hi, Michael Thanks your bug report. But this problem was unreproducible when I had created a new base.cow. (The other lintian errors occured.) I attached build log. Best regards, -- Kouhei Maeda mkouhei at {palmtb.net,debian.or.jp} KeyID 4096R/7E37CE41 2014-06-28 8:53 GMT+09:00 Michael Tautschnig m...@debian.org: Package: djangorestframework Version: 2.3.13-2 Severity: serious Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error. [...] # Build the HTML documentation. mkdir /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/docs.debian /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/mkdocs.py \ mv html docs.debian/ make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13' debian/rules override_dh_auto_test make[1]: Entering directory '/srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13' set -e ; \ python /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/rest_framework/runtests/runtests.py Traceback (most recent call last): File /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/rest_framework/runtests/runtests.py, line 52, in module main() File /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/rest_framework/runtests/runtests.py, line 47, in main failures = test_runner.run_tests([test_module_name + test_case]) File /usr/lib/python2.7/dist-packages/xmlrunner/extra/djangotestrunner.py, line 48, in run_tests suite = self.build_suite(test_labels, extra_tests) File /usr/lib/python2.7/dist-packages/django/test/simple.py, line 241, in build_suite suite.addTest(build_test(label)) File /usr/lib/python2.7/dist-packages/django/test/simple.py, line 227, in build_test raise ValueError(Test label '%s' does not refer to a test % label) ValueError: Test label 'rest_framework.tests' does not refer to a test debian/rules:17: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13' debian/rules:6: recipe for target 'build' failed make: *** [build] Error 2 The full build log is attached; please do let me know if the problem is unreproducible, in which case I shall try to investigate further. Best, Michael djangorestframework.log.txt.gz Description: GNU Zip compressed data
Bug#752943: djangorestframework: FTBFS - Test label 'rest_framework.tests' does not refer to a test
Package: djangorestframework Version: 2.3.13-2 Severity: serious Usertags: goto-cc During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder and pbuilder) the build failed with the following error. [...] # Build the HTML documentation. mkdir /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/docs.debian /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/mkdocs.py \ mv html docs.debian/ make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13' debian/rules override_dh_auto_test make[1]: Entering directory '/srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13' set -e ; \ python /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/rest_framework/runtests/runtests.py Traceback (most recent call last): File /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/rest_framework/runtests/runtests.py, line 52, in module main() File /srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13/rest_framework/runtests/runtests.py, line 47, in main failures = test_runner.run_tests([test_module_name + test_case]) File /usr/lib/python2.7/dist-packages/xmlrunner/extra/djangotestrunner.py, line 48, in run_tests suite = self.build_suite(test_labels, extra_tests) File /usr/lib/python2.7/dist-packages/django/test/simple.py, line 241, in build_suite suite.addTest(build_test(label)) File /usr/lib/python2.7/dist-packages/django/test/simple.py, line 227, in build_test raise ValueError(Test label '%s' does not refer to a test % label) ValueError: Test label 'rest_framework.tests' does not refer to a test debian/rules:17: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-djangorestframework/djangorestframework-2.3.13' debian/rules:6: recipe for target 'build' failed make: *** [build] Error 2 The full build log is attached; please do let me know if the problem is unreproducible, in which case I shall try to investigate further. Best, Michael djangorestframework-build-log.txt.gz Description: application/gunzip pgpTj4AFt8TBs.pgp Description: PGP signature