Hi!, I am not familiar with autopkgtest. But reading https://people.debian.org/~mpitt/autopkgtest/README.package-tests.html the $AUTOPKGTEST_TMP variable start empty and I think that we have to copy the test code there. something like here:
https://salsa.debian.org/python-team/modules/sphinx/blob/debian/master/debian/tests/python-sphinx#L3 If this sound correct, tonight I will prepare a MR. Regards! El lun., 7 de ene. de 2019 a la(s) 17:48, Paul Gevers (elb...@debian.org) escribió: > Source: python-pyramid > Version: 1.10.1+dfsg-1 > X-Debbugs-CC: debian...@lists.debian.org > User: debian...@lists.debian.org > Usertags: regression > > Dear maintainers, > > With a recent upload of python-pyramid the autopkgtest of python-pyramid > fails in testing when that autopkgtest is run with the binary packages > of python-pyramid from unstable. It passes when run with only packages > from testing. In tabular form: > pass fail > python-pyramid from testing 1.10.1+dfsg-1 > all others from testing from testing > > I copied some of the output at the bottom of this report. > > Currently this regression is contributing to the delay of the migration > to testing [1]. Can you please investigate the situation and fix it? If > needed, please change the bug's severity. > > More information about this bug and the reason for filing it can be found > on > https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation > > Paul > > [1] https://qa.debian.org/excuses.php?package=python-pyramid > > > https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-pyramid/1658962/log.gz > > autopkgtest [05:56:32]: test command2: cd $AUTOPKGTEST_TMP; for p in > $(pyversions -s) $(py3versions -s); do $p -m unittest discover -v > pyramid.tests; done > autopkgtest [05:56:32]: test command2: [----------------------- > Traceback (most recent call last): > File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main > "__main__", fname, loader, pkg_name) > File "/usr/lib/python2.7/runpy.py", line 72, in _run_code > exec code in run_globals > File "/usr/lib/python2.7/unittest/__main__.py", line 12, in <module> > main(module=None) > File "/usr/lib/python2.7/unittest/main.py", line 94, in __init__ > self.parseArgs(argv) > File "/usr/lib/python2.7/unittest/main.py", line 113, in parseArgs > self._do_discovery(argv[2:]) > File "/usr/lib/python2.7/unittest/main.py", line 214, in _do_discovery > self.test = loader.discover(start_dir, pattern, top_level_dir) > File "/usr/lib/python2.7/unittest/loader.py", line 204, in discover > raise ImportError('Start directory is not importable: %r' % start_dir) > ImportError: Start directory is not importable: 'pyramid.tests' > autopkgtest [05:56:32]: test command2: -----------------------] > > _______________________________________________ > Python-modules-team mailing list > python-modules-t...@alioth-lists.debian.net > > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team -- Arias Emmanuel http://eamanu.com Github/Gitlab; @eamanu Debian: @eamanu-guest