[Bug 246813] [NEW PORT] databases/py-txredisapi: A non-blocking redis client for python

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 28 16:20:47 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246813

            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 at FreeBSD.org
          Reporter: ports at skyforge.at

Created attachment 214980
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=214980&action=edit
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=7, errors=1, successes=157)

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 = True to debug)
<DelayedCall 0x803889790 [0.9998748302459717s] called=0 cancelled=0
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 testsuites
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

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


More information about the freebsd-ports-bugs mailing list