[Freedombox-pkg-team] Bug#977527: freedombox FTBFS: test_homepage_mapping_skip_ci failure

Adrian Bunk bunk at debian.org
Wed Dec 16 04:14:13 GMT 2020


Source: freedombox
Version: 20.20
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=freedombox&arch=all&ver=20.20&stamp=1607996658&raw=0

...
=================================== FAILURES ===================================
________________________ test_homepage_mapping_skip_ci _________________________

    def test_homepage_mapping_skip_ci():
        """Special tests for homepage functions."""
    
        try:
            UWS_DIRECTORY = uws_directory_of_user(os.getlogin())
        except OSError:
            reason = "Needs access to ~/ directory. " \
                   + "CI sandboxed workspace doesn't provide it."
            pytest.skip(reason)
    
        if os.path.exists(UWS_DIRECTORY):
            reason = "UWS dir {} exists already.".format(UWS_DIRECTORY)
            pytest.skip(reason)
    
        f = _home_page_scid2url
>       os.mkdir(UWS_DIRECTORY)
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/buildd/public_html'

plinth/modules/config/tests/test_config.py:106: FileNotFoundError
=============================== warnings summary ===============================
plinth/modules/sso/tests/test_actions.py::test_generate_ticket
  /<<PKGBUILDDIR>>/plinth/modules/sso/tests/../../../../actions/auth-pubtkt:87: DeprecationWarning: str for data is no longer accepted, use bytes
    sig = crypto.sign(pkey, data, 'sha512')

-- Docs: https://docs.pytest.org/en/latest/warnings.html
========= 1 failed, 386 passed, 47 skipped, 1 warnings in 9.07 seconds =========
E: pybuild pybuild:353: test: plugin custom failed with: exit code=1: python3.9 setup.py test
	rm -fr -- /tmp/dh-xdg-rundir-_88epuE8
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
make[1]: *** [debian/rules:15: override_dh_auto_test] Error 25



More information about the Freedombox-pkg-team mailing list