Your message dated Fri, 30 Mar 2018 09:05:20 +0000
with message-id <e1f1pyk-0006iv...@fasolo.debian.org>
and subject line Bug#892615: fixed in elastalert 0.1.29-1
has caused the Debian Bug report #892615,
regarding elastalert FTBFS with pytest 3.3.2-2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
892615: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892615
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: elastalert
Version: 0.1.28-1
Severity: serious
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/elastalert.html
...
=================================== FAILURES ===================================
_____________ test_wait_until_responsive_timeout_es_not_available ______________
ea = <elastalert.elastalert.ElastAlerter instance at 0x7f425861dab8>
capsys = <_pytest.capture.CaptureFixture instance at 0x7f4258e4d7e8>
def test_wait_until_responsive_timeout_es_not_available(ea, capsys):
"""Bail out if ElasticSearch doesn't (quickly) become responsive."""
# Never becomes responsive :-)
ea.writeback_es.ping.return_value = False
ea.writeback_es.indices.exists.return_value = False
clock = mock.MagicMock()
clock.side_effect = [0.0, 1.0, 2.0, 3.0]
timeout = datetime.timedelta(seconds=2.5)
with mock.patch('time.sleep') as sleep:
with pytest.raises(SystemExit) as exc:
ea.wait_until_responsive(timeout=timeout, clock=clock)
assert exc.value.code == 1
# Ensure we get useful diagnostics.
output, errors = capsys.readouterr()
> assert 'Could not reach ElasticSearch at "es:14900".' in errors
E assert 'Could not reach ElasticSearch at "es:14900".' in ''
tests/base_test.py:1068: AssertionError
------------------------------ Captured log call -------------------------------
elastalert.py 1086 ERROR Could not reach ElasticSearch at
"es:14900".
___________ test_wait_until_responsive_timeout_index_does_not_exist ____________
ea = <elastalert.elastalert.ElastAlerter instance at 0x7f4258e3e4d0>
capsys = <_pytest.capture.CaptureFixture instance at 0x7f4258e4dd40>
def test_wait_until_responsive_timeout_index_does_not_exist(ea, capsys):
"""Bail out if ElasticSearch doesn't (quickly) become responsive."""
# Never becomes responsive :-)
ea.writeback_es.ping.return_value = True
ea.writeback_es.indices.exists.return_value = False
clock = mock.MagicMock()
clock.side_effect = [0.0, 1.0, 2.0, 3.0]
timeout = datetime.timedelta(seconds=2.5)
with mock.patch('time.sleep') as sleep:
with pytest.raises(SystemExit) as exc:
ea.wait_until_responsive(timeout=timeout, clock=clock)
assert exc.value.code == 1
# Ensure we get useful diagnostics.
output, errors = capsys.readouterr()
> assert 'Writeback index "wb" does not exist, did you run
> `elastalert-create-index`?' in errors
E assert 'Writeback index "wb" does not exist, did you run
`elastalert-create-index`?' in ''
tests/base_test.py:1095: AssertionError
------------------------------ Captured log call -------------------------------
elastalert.py 1080 ERROR Writeback index "wb" does not exist,
did you run `elastalert-create-index`?
==================== 2 failed, 155 passed in 96.76 seconds =====================
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd
/build/1st/elastalert-0.1.28/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest
tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned
exit code 13
make: *** [debian/rules:7: build] Error 25
--- End Message ---
--- Begin Message ---
Source: elastalert
Source-Version: 0.1.29-1
We believe that the bug you reported is fixed in the latest version of
elastalert, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 892...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sophie Brun <sop...@freexian.com> (supplier of updated elastalert package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 29 Mar 2018 16:50:23 +0200
Source: elastalert
Binary: elastalert elastalert-doc
Architecture: source
Version: 0.1.29-1
Distribution: unstable
Urgency: medium
Maintainer: Sophie Brun <sop...@freexian.com>
Changed-By: Sophie Brun <sop...@freexian.com>
Description:
elastalert - easy and flexible alerting with Elasticsearch
elastalert-doc - easy and flexible alerting with Elasticsearch (documentation)
Closes: 892615
Changes:
elastalert (0.1.29-1) unstable; urgency=medium
.
[ Sophie Brun ]
* New upstream release
* Add a patch to fix failing tests (Closes: #892615)
.
[ Raphaƫl Hertzog ]
* Bump build-dep on python-pytest to >= 3.3 for the above patch.
Checksums-Sha1:
465ffe9e71228ad10c026dd9ab43210d023cc441 2072 elastalert_0.1.29-1.dsc
91b295ab2e1e8878e43bb8d416f7551065b5401b 153420 elastalert_0.1.29.orig.tar.gz
65d119c2c67f1aa20a3d3d7e383afe0053cea412 3536 elastalert_0.1.29-1.debian.tar.xz
52c7f640218bc6cfea91ea8c9506941148088973 6751
elastalert_0.1.29-1_source.buildinfo
Checksums-Sha256:
d84e7cc28f89d529261ee66fdaf76e04e6f81b659b61afb4af9958b658472634 2072
elastalert_0.1.29-1.dsc
499ad91c70addd5f671612d3d0dfb58fe05e2e48a70164923dabe67cf563b73d 153420
elastalert_0.1.29.orig.tar.gz
25ed1b117b16e3ec7016e1d1f09f8988691113b48cc92cc65ea47260a7107815 3536
elastalert_0.1.29-1.debian.tar.xz
4b986ea9af4196ba8259d5d648c376de5a933446e2ce88efa326537b1fed38a5 6751
elastalert_0.1.29-1_source.buildinfo
Files:
29dc43232bec380cd519fe03b9e1532f 2072 python optional elastalert_0.1.29-1.dsc
3addfc2c47b476c2460ab3374945ded2 153420 python optional
elastalert_0.1.29.orig.tar.gz
f39aa158be04ecad8d8934ffe4624be2 3536 python optional
elastalert_0.1.29-1.debian.tar.xz
e61c1c7222fca21b8361cb177f9e87a2 6751 python optional
elastalert_0.1.29-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
Comment: Signed by Raphael Hertzog
iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAlq97mwACgkQA4gdq+vC
mrmgWwgAnrNiRADLnnfGl/UB8GoQaAo2k1KExf0+uQKV9J8Gmcsmqbwa0+lV3k2v
0ISa8jMvKr2fiwnUhNm7t9wB6rExPu2gH6swCALdxUdHL/c8mUUotUNhuhsuBoEd
+lVrCuW/8bdBn+WKPNmY7DjVIOYSZZrjZX0l8RCx6wLSuVgvQ7CqJ7kaW6eobbcY
MBVPmOkBAc2TJH994vI8T5SYgkXMrGirf2RSIzdhcBaHxNIcVUcmVzVSvcJ2BoeA
Jq/q6xy+U6+Gunjhxs8th1VKaVu7fWqGObfG7GVQZS6g7vGaHwJecxgkskqaVtS0
pSdhr/hnD/AHnhSeq5zK62dqRDtj2Q==
=x/LF
-----END PGP SIGNATURE-----
--- End Message ---