Bug#752943: djangorestframework: FTBFS - Test label 'rest_framework.tests' does not refer to a test

2014-07-29 Thread Michael Tautschnig
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



pgp1_QrlgAaAj.pgp
Description: PGP signature


Bug#752943: djangorestframework: FTBFS - Test label 'rest_framework.tests' does not refer to a test

2014-07-01 Thread Kouhei Maeda
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

2014-06-27 Thread Michael Tautschnig
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


pgpeRSuotkK4w.pgp
Description: PGP signature