Source: logbook
Version: 1.3.0-1
Severity: normal
User: [email protected]
Usertags: regression

With the upload of version 1.3.0-1 of logbook, the autopkgtest¹
started to fail with the error copied below.

Please fix your autopkgtest, your package currently needs 15 days
instead of 5 to migrate to testing².

I think your test needs a "needs-root" restriction to be able to start
the daemon. There is output to stderr, if that remains and is OK, you
also need an "allow-strerr" restriction.

Paul
PS: thank you for making the test smarter than the previous one, which
was more or less just a piuparts run.

¹ https://ci.debian.net/packages/l/logbook/testing/amd64
²
https://salsa.debian.org/ci-team/autopkgtest/raw/master/doc/README.package-tests.rst

https://ci.debian.net/data/autopkgtest/testing/amd64/l/logbook/334221/log.gz

autopkgtest [08:53:02]: test unittests: [-----------------------
sed: can't read /etc/redis/redis.conf: Permission denied
Restarting redis-server (via systemctl): redis-server.serviceFailed to
restart redis-server.service: The name org.freedesktop.PolicyKit1 was
not provided by any .service files
See system logs and 'systemctl status redis-server.service' for details.
 failed!
Collecting riemann-client
  Downloading
https://files.pythonhosted.org/packages/48/0e/13b4b8a23515bedc3f51d1a184affe3d996777eeb0485921e9b74ec8c516/riemann_client-6.5.0-py3-none-any.whl
Collecting protobuf<4.0.0,>=3.2.0 (from riemann-client)
  Downloading
https://files.pythonhosted.org/packages/74/ad/ecd865eb1ba1ff7f6bd6bcb731a89d55bc0450ced8d457ed2d167c7b8d5f/protobuf-3.5.2.post1-cp36-cp36m-manylinux1_x86_64.whl
(6.4MB)
Collecting click>=3.1 (from riemann-client)
  Downloading
https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl
(71kB)
Collecting six>=1.9 (from protobuf<4.0.0,>=3.2.0->riemann-client)
  Downloading
https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting setuptools (from protobuf<4.0.0,>=3.2.0->riemann-client)
  Downloading
https://files.pythonhosted.org/packages/7f/e1/820d941153923aac1d49d7fc37e17b6e73bfbd2904959fffbad77900cf92/setuptools-39.2.0-py2.py3-none-any.whl
(567kB)
Installing collected packages: six, setuptools, protobuf, click,
riemann-client
Successfully installed click-6.7 protobuf-3.5.2.post1
riemann-client-6.5.0 setuptools-39.2.0 six-1.11.0
Obtaining file:///tmp/autopkgtest-lxc.idg25nld/downtmp/build.yaD/src
Collecting cython (from Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/19/eb/c4d9f3beafd5ac0615936860bcee41d93ca58f8734a16715da0037d2c468/Cython-0.28.2-cp36-cp36m-manylinux1_x86_64.whl
(3.4MB)
Collecting pyzmq (from Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/58/0e/d40ee65acabb0776ccdade96812adc0438051ef6cff1ddbe4da463604867/pyzmq-17.0.0-cp36-cp36m-manylinux1_x86_64.whl
(3.1MB)
Collecting sqlalchemy (from Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/c1/c8/392fcd2d01534bc871c65cb964e0b39d59feb777e51649e6eaf00f6377b5/SQLAlchemy-1.2.7.tar.gz
(5.6MB)
Collecting execnet>=1.0.9 (from Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/f9/76/3343e69a2a1602052f587898934e5fea395d22310d39c07955596597227c/execnet-1.5.0-py2.py3-none-any.whl
Collecting pytest-cov (from Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/30/7d/7f6a78ae44a1248ee28cc777586c18b28a1df903470e5d34a6e25712b8aa/pytest_cov-2.5.1-py2.py3-none-any.whl
Collecting brotli (from Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/2d/8f/37bfae3cbd01a621818ee9aeec5757d5e5c2f4759458f70ae318bcaa6cbf/Brotli-1.0.4-cp36-cp36m-manylinux1_x86_64.whl
(343kB)
Collecting redis (from Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/3b/f6/7a76333cf0b9251ecf49efff635015171843d9b977e4ffcf59f9c4428052/redis-2.10.6-py2.py3-none-any.whl
(64kB)
Collecting pytest (from Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/76/52/fc48d02492d9e6070cb672d9133382e83084f567f88eff1c27bd2c6c27a8/pytest-3.5.1-py2.py3-none-any.whl
(192kB)
Collecting Jinja2 (from Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
(126kB)
Collecting apipkg>=1.4 (from execnet>=1.0.9->Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/94/72/fd4f2e46ce7b0d388191c819ef691c8195fab09602bbf1a2f92aa5351444/apipkg-1.4-py2.py3-none-any.whl
Collecting coverage>=3.7.1 (from pytest-cov->Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/3d/a0/b12090c40e0b8196b973962ec71c1c541a6c04af58ba5ad85683b3de251a/coverage-4.5.1-cp36-cp36m-manylinux1_x86_64.whl
(202kB)
Collecting more-itertools>=4.0.0 (from pytest->Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/7a/46/886917c6a4ce49dd3fff250c01c5abac5390d57992751384fe61befc4877/more_itertools-4.1.0-py3-none-any.whl
(47kB)
Collecting setuptools (from pytest->Logbook==1.3.0)
  Using cached
https://files.pythonhosted.org/packages/7f/e1/820d941153923aac1d49d7fc37e17b6e73bfbd2904959fffbad77900cf92/setuptools-39.2.0-py2.py3-none-any.whl
Collecting py>=1.5.0 (from pytest->Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/67/a5/f77982214dd4c8fd104b066f249adea2c49e25e8703d284382eb5e9ab35a/py-1.5.3-py2.py3-none-any.whl
(84kB)
Collecting attrs>=17.4.0 (from pytest->Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/41/59/cedf87e91ed541be7957c501a92102f9cc6363c623a7666d69d51c78ac5b/attrs-18.1.0-py2.py3-none-any.whl
Collecting pluggy<0.7,>=0.5 (from pytest->Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/ba/65/ded3bc40bbf8d887f262f150fbe1ae6637765b5c9534bd55690ed2c0b0f7/pluggy-0.6.0-py3-none-any.whl
Collecting six>=1.10.0 (from pytest->Logbook==1.3.0)
  Using cached
https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from Jinja2->Logbook==1.3.0)
  Downloading
https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz
Building wheels for collected packages: sqlalchemy, MarkupSafe
  Running setup.py bdist_wheel for sqlalchemy: started
  Running setup.py bdist_wheel for sqlalchemy: finished with status 'done'
  Stored in directory:
/home/debci/.cache/pip/wheels/89/38/e1/e121d77c19eeeee42baabc2e623f08285267daedbf2fea9dd7
  Running setup.py bdist_wheel for MarkupSafe: started
  Running setup.py bdist_wheel for MarkupSafe: finished with status 'done'
  Stored in directory:
/home/debci/.cache/pip/wheels/33/56/20/ebe49a5c612fffe1c5a632146b16596f9e64676768661e4e46
Successfully built sqlalchemy MarkupSafe
Installing collected packages: cython, pyzmq, sqlalchemy, apipkg,
execnet, coverage, six, more-itertools, setuptools, py, attrs, pluggy,
pytest, pytest-cov, brotli, redis, MarkupSafe, Jinja2, Logbook
  Running setup.py develop for Logbook
Successfully installed Jinja2-2.10 Logbook MarkupSafe-1.0 apipkg-1.4
attrs-18.1.0 brotli-1.0.4 coverage-4.5.1 cython-0.28.2 execnet-1.5.0
more-itertools-4.1.0 pluggy-0.6.0 py-1.5.3 pytest-3.5.1 pytest-cov-2.5.1
pyzmq-17.0.0 redis-2.10.6 setuptools-39.2.0 six-1.11.0 sqlalchemy-1.2.7
============================= test session starts
==============================
platform linux -- Python 3.6.5rc1, pytest-3.3.2, py-1.5.3, pluggy-0.6.0
rootdir: /tmp/autopkgtest-lxc.idg25nld/downtmp/build.yaD/src, inifile:
plugins: cov-2.5.1
collected 170 items

tests/test_ci.py ss
[  1%]
tests/test_deadlock.py .
[  1%]
tests/test_file_handler.py ............................
[ 18%]
tests/test_fingers_crossed_handler.py ......
[ 21%]
tests/test_flags.py ..
[ 22%]
tests/test_groups.py ..
[ 24%]
tests/test_handler_errors.py ...
[ 25%]
tests/test_handlers.py ...........
[ 32%]
tests/test_helpers.py ..
[ 33%]
tests/test_log_record.py ..........
[ 39%]
tests/test_logbook.py ...
[ 41%]
tests/test_logger.py ...
[ 42%]
tests/test_logging_api.py .............
[ 50%]
tests/test_logging_compat.py ....
[ 52%]
tests/test_logging_times.py ss...
[ 55%]
tests/test_mail_handler.py .......
[ 60%]
tests/test_more.py ............
[ 67%]
tests/test_nteventlog_handler.py s
[ 67%]
tests/test_null_handler.py ......
[ 71%]
tests/test_processors.py ....
[ 73%]
tests/test_queues.py ............
[ 80%]
tests/test_syslog_handler.py ..
[ 81%]
tests/test_test_handler.py ....
[ 84%]
tests/test_ticketing.py .
[ 84%]
tests/test_unicode.py .......
[ 88%]
tests/test_utils.py ...................
[100%]
=========================== short test summary info
============================
SKIP [1] tests/test_ci.py:8: AppVeyor CI test
SKIP [1] tests/test_ci.py:16: Travis CI test
SKIP [2]
/tmp/autopkgtest-lxc.idg25nld/downtmp/build.yaD/src/tests/test_logging_times.py:36:
Cannot test utc/localtime differences if they vary by less than one
minute...
SKIP [1] tests/test_nteventlog_handler.py:9: Don't clutter NT Event Log
unless enabled.

==================== 165 passed, 5 skipped in 12.88 seconds
====================
autopkgtest [08:53:34]: test unittests: -----------------------]
autopkgtest [08:53:34]: test unittests:  - - - - - - - - - - results - -
- - - - - - - -
unittests            FAIL stderr: sed: can't read /etc/redis/redis.conf:
Permission denied
autopkgtest [08:53:34]: test unittests:  - - - - - - - - - - stderr - -
- - - - - - - -
sed: can't read /etc/redis/redis.conf: Permission denied
Failed to restart redis-server.service: The name
org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status redis-server.service' for details.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to