[Python-apps-team] Bug#855092: beets: FTBFS randomly (failing tests)

Paul Gevers elbrus at debian.org
Wed Jul 24 05:53:19 BST 2019


Hi Carl, Santiago,

Just passing by, but I suspect that Carl doesn't know that bugs in the
Debian BTS are not automatically forwarded to the submitter of the bug.
Hence, doing so now. Santiago, maybe the third item leaves something for
you to comment on?

On Thu, 30 May 2019 17:07:25 +1000 Carl Suster <carl at contraflo.ws> wrote:
> Hi,
> 
> I'm an upstream contributor to beets and I was looking into the failures 
> you're seeing here. I'm interested in making these tests reliable.
> 
> I tried to build the package on my (sid) laptop using sbuild and the 
> latest packaging repo from salsa. I'm not able to reproduce these test 
> failures. If I remove the Debian patches disabling tests, I'm still not 
> able to reproduce any of the failures that led you to add those patches 
> in the first case. I'm seeing three categories of tests here:
> 
>    1) The test in skip-broken-test. If the failure you're seeing is the 
> same error on the GitHub issue you mention in that patch 
> ('musicbrainz.host'), then my suspicion is that when running the test 
> beets is unable to find/read the file beets/config_default.yaml. One way 
> this can happen is if beets is being invoked as a zipped egg rather than 
> unpacked source (unsupported). Otherwise it might be that the build 
> environment has paths set in an unusual way that interferes with beets' 
> mechanism to find that YAML file relative to the invoked module.
> 
>    2) There are two tests failing due to filesystem access 
> (test_no_write_permission and test_add_tags). Maybe we can do a better 
> job of mocking here so that the actual filesystem isn't being tested. 
> I'll take a look.
> 
>    3) The two test_import_task_created* tests exercise a feature based 
> on a coroutine implementation (beets.util.pipeline), so I wonder if 
> that's related? It's the only unusual thing I can think of off-hand. I 
> know that the Debian build infrastructure is a little unusual, but I'm 
> not sure what specifically the difference could be here.
> 
> If you can help point me in the right direction to reproduce these 
> issues that would be appreciated.
> 
> Cheers,
> Carl
> 
> 

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20190724/b965e3d7/attachment-0001.sig>


More information about the Python-apps-team mailing list