Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2020 16:20:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246813] [NEW PORT] databases/py-txredisapi: A non-blocking redis client for python
Message-ID:  <bug-246813-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246813

            Bug ID: 246813
           Summary: [NEW PORT] databases/py-txredisapi: A non-blocking
                    redis client for python
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ports@skyforge.at

Created attachment 214980
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214980&action=
=3Dedit
databases/py-txredisapi: Add new port

databases/py-txredisapi: Add py-txredisapi to ports

py-txredisapi[1] is a redis client for python using py-twisted for database
connections. My primary motivation for adding this port is that
net-im/py-matrix-synapse relies on it for redis connections.

portlint: OK (looks fine.)
testport: OK (poudriere: 121amd64)
do-test: FAIL (skips=3D7, errors=3D1, successes=3D157)

The testsuit failure is due to a problem with the teardown of a test:


[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug =3D True to debu=
g)
<DelayedCall 0x803889790 [0.9998748302459717s] called=3D0 cancelled=3D0
Sentinel.discover_master.<locals>.on_timeout()>

tests.test_sentinel.TestConnectViaSentinel.test_drop_all_when_master_changes
---------------------------------------------------------------------------=
----
Ran 165 tests in 50.269s


It appears that this type of error is a common occurence with trial testsui=
tes
and points to a bug in the teardown of the tests themselves, but I couldn't=
 see
an easy way to fix this as I have no experience with twisted.

Feedback is, as always, very much welcome and appreciated.

Cheers,
Sascha

[1] https://github.com/IlyaSkriblovsky/txredisapi

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246813-7788>