On Mon, Feb 04, 2019 at 11:22:36AM +0000, Dmitry Bogatov wrote: > While working on patch to include debrequest into devscripts (#841270), > I discovered that I can't proceed due failing test suite. > > What is more interesting, test suite from v2.19.2 tag can fail on my > machine for multitude reasons:
On way to go about this, is build on a chroot. I'd kind of expect to do that anyway. Honestly I don't think I ever tried to run the whole devscripts' testsuite outside of a chroot.. > * commit.gpgsign = True in ~/.gitconfig breaks test suite > * core.fsmonitor = fsmonitor-watchman in ~/.gitconfig breaks test suite > * unshare -rn dpkg-buildpackage -us -uc fails (see attached log) mhhh. > * dpkg-buildpackage -us -uc seems to perform online tests (on my very > poor connection) and fails too (10 minutes after, no log, sorry) I don't quite believe this; I'm positive the devscripts testsuite doesn't try to access any external network. > Can you please provided guidance, how can I add debrequest script > without dealing with complexities (and overhead) of test suites of other > scripts? If you are just trying to build the package and see where the files are placed, just build with nocheck. However I'd kinda like if you could include some kind of tests for your new tool as well. For the failing tests you are seeing, I can suggest you to try to debug them yourself. For example, in the cases of the git ones forcing the tests to ignore your $HOME/.gitconfig is most likely the way to go about them. You can run the single test scripts directly, without any special kind of invocation before them, so you can easily test them singularly. > ./test_debdiff > test > t/json-cache.t .... ok > ASSERT:difference found, no errors expected:<1> but was:<25> > > Ran 1 test. > > FAILED (failures=1) the debdiff test fails for you? That's an odd one, I haven't seen that failing in a long time. Also 25 is an odd return code, so definitely something from your system is messing with it. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature