[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#898196: python-arrow: New version breaks autopkgtests of python-jsonext and rekall in testing



Source: python-arrow
Version: 0.12.1-1
Severity: serious
Control: affects -1 src:python-jsonext
Control: affects -1 src:rekall
User: debian-ci@lists.debian.org
Usertags: breaks

On 08-05-18 13:28, Paul Gevers wrote:
> Dear maintainers,
> 
> [This e-mail is automatically sent. V1 (20180508)]
> 
> As recently announced [1] Debian is now running autopkgtests in testing
> to check if the migration of a new source package causes regressions. It
> does this with the binary packages of the new version of the source
> package from unstable.
> 
> With a recent upload of python-arrow the autopkgtest of python-jsonext
> started to fail in testing [2]. This is currently delaying the migration
> of python-arrow version 0.12.1-1 [3].
> 
> This e-mail is meant to trigger direct communication between the
> maintainers of the involved packages as one party has insight in what
> changed and the other party insight in what is being tested. After all,
> a regression in a reverse dependency can be due to one of the
> following reasons (of course not complete):
> * new bug in the candidate package (fix the package)
> * bug in the test case that only gets triggered due to the update (fix
>   the reverse dependency, but see below)
> * out-of-date reference date in the test case that captures a former bug
>   in the candidate package (fix the reverse dependency, but see below)
> * deprecation of functionality that is used in the reverse dependency
>   and/or its test case (discussion needed)
> Triaging tips are being collected on the Debian Wiki [4].
> 
> Unfortunately sometimes a regression is only intermittent. Ideally this
> should be fixed, but it may be OK to just have the autopkgtest retried
> (a link is available in the excuses [3]).
> 
> There are cases where it is required to have multiple packages migrate
> together to have the test cases pass, e.g. when there was a bug in a
> regressing test case of a reverse dependency and that got fixed. In that
> case the test cases need to be triggered with both packages from
> unstable (reply to this e-mail and/or contact the ci-team [5]) or just wait
> until the aging time is over (if the fixed reverse dependency migrates
> before that time, the failed test can be retriggered [3]).
> 
> Of course no system is perfect. In case a framework issue is suspected,
> don't hesitate to raise the issue via BTS or to the ci-team [5] (reply to
> me is also fine for initial cross-check).
> 
> To avoid stepping on peoples toes, this e-mail does not automatically
> generate a bug in the BTS, but it is highly recommended to forward this
> e-mail there (psuedo-header boilerplate below [6,7]) in case it is
> clear which package should solve this regression.
> 
> [1] https://lists.debian.org/debian-devel-announce/2018/05/msg00001.html
> [2] https://ci.debian.net/packages/p/python-jsonext/testing/amd64/
> [3] https://qa.debian.org/excuses.php?package=python-arrow
> [4] https://wiki.debian.org/ContinuousIntegration/TriagingTips
> [5] #debci on oftc or debian-ci@lists.debian.org
> [6] python-arrow has an issue
> ============
> Source: python-arrow
> Version: 0.12.1-1
> Severity: normal or higher
> Control: affects -1 src:python-jsonext
> User: debian-ci@lists.debian.org
> Usertags: breaks
> ============
> [7] python-jsonext has an issue
> ============
> Source: python-jsonext
> Version: 0.4.1-1
> Severity: normal or higher
> Control: affects -1 src:python-arrow
> User: debian-ci@lists.debian.org
> Usertags: needs-update
> ============

It turns out that the error in the log is the same for python-jsonext
and rakall, copied below. Looking at it, it seems one can't even import
the main library in python2.

ImportError: No module named functools_lru_cache

Paul

autopkgtest [03:16:51]: test smoke-python2:  - - - - - - - - - - stderr
- - - - - - - - - -
Traceback (most recent call last):
  File "debian/tests/smoke_test.py", line 121, in <module>
    exit_status = main(sys.argv)
  File "debian/tests/smoke_test.py", line 112, in main
    suite(args)
  File "debian/tests/smoke_test.py", line 74, in suite
    emit_module(module_name)
  File "debian/tests/smoke_test.py", line 56, in emit_module
    module = importlib.import_module(name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/jsonext/__init__.py", line 13,
in <module>
    from .mixins import JSONDateTimeMixin, JSONIterableMixin,
JSONToDictMixin, \
   File "/usr/lib/python2.7/dist-packages/jsonext/mixins.py", line 2, in
<module>
    import arrow
  File "/usr/lib/python2.7/dist-packages/arrow/__init__.py", line 3, in
<module>
    from .arrow import Arrow
  File "/usr/lib/python2.7/dist-packages/arrow/arrow.py", line 19, in
<module>
    from arrow import util, locales, parser, formatter
  File "/usr/lib/python2.7/dist-packages/arrow/parser.py", line 12, in
<module>
    from backports.functools_lru_cache import lru_cache  # pragma: no cover
ImportError: No module named functools_lru_cache



autopkgtest [03:17:16]: test linux-image-tests: [-----------------------
Traceback (most recent call last):
  File "/usr/bin/rekall", line 11, in <module>
    load_entry_point('rekall-core==1.6.0', 'console_scripts', 'rekall')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 480, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2693, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2324, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2330, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/rekall/rekal.py", line 39, in
<module>
    entry_point.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2324, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
line 2330, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/rekall/plugins/__init__.py",
line 4, in <module>
    import addrspaces
  File
"/usr/lib/python2.7/dist-packages/rekall/plugins/addrspaces/__init__.py",
line 8, in <module>
    from rekall.plugins.addrspaces import crash
  File
"/usr/lib/python2.7/dist-packages/rekall/plugins/addrspaces/crash.py",
line 27, in <module>
    from rekall.plugins.overlays.windows import crashdump
  File
"/usr/lib/python2.7/dist-packages/rekall/plugins/overlays/__init__.py",
line 3, in <module>
    from rekall.plugins.overlays import basic
  File
"/usr/lib/python2.7/dist-packages/rekall/plugins/overlays/basic.py",
line 31, in <module>
    import arrow
  File "/usr/lib/python2.7/dist-packages/arrow/__init__.py", line 3, in
<module>
    from .arrow import Arrow
  File "/usr/lib/python2.7/dist-packages/arrow/arrow.py", line 19, in
<module>
    from arrow import util, locales, parser, formatter
  File "/usr/lib/python2.7/dist-packages/arrow/parser.py", line 12, in
<module>
    from backports.functools_lru_cache import lru_cache  # pragma: no cover
ImportError: No module named functools_lru_cache

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: