##// END OF EJS Templates
dummysmtpd: don't die on client connection errors...
dummysmtpd: don't die on client connection errors The connection refused error in test-patchbomb-tls.t[1] is sporadic, but one of the more often seen errors on Windows. I added enough logging to a file and dumped it out at the end to make the following observations: - The listening socket is successfully created and bound to the port, and the "listening at..." message is always logged. - Generally, the following is the entire log output, with the "accepted ..." message having been added after `sslutil.wrapserversocket`: listening at localhost:$HGPORT $LOCALIP ssl error accepted connect accepted connect $LOCALIP from=quux to=foo, bar $LOCALIP ssl error - In the cases that fail, asyncore.loop() in the run() method is exiting, but not with an exception. - In the cases that fail, the following is logged right after "listening ...": Traceback (most recent call last): File "c:\\Python27\\lib\\asyncore.py", line 83, in read obj.handle_read_event() File "c:\\Python27\\lib\\asyncore.py", line 443, in handle_read_event self.handle_accept() File "../tests/dummysmtpd.py", line 80, in handle_accept conn = sslutil.wrapserversocket(conn, ui, certfile=self._certfile) File "..\\mercurial\\sslutil.py", line 570, in wrapserversocket return sslcontext.wrap_socket(sock, server_side=True) File "c:\\Python27\\lib\\ssl.py", line 363, in wrap_socket _context=self) File "c:\\Python27\\lib\\ssl.py", line 611, in __init__ self.do_handshake() File "c:\\Python27\\lib\\ssl.py", line 840, in do_handshake self._sslobj.do_handshake() error: [Errno 10054] $ECONNRESET$ - If the base class handler is overridden completely, the the first "ssl error" line is replaced by the stacktrace, but the other lines are unchanged. The client behaves no differently, whether or not the server stacktraced. In general, `./run-tests.py --local -j9 -t9000 test-patchbomb-tls.t --runs-per-test 20` would show the issue after a run or two. With this change, `./run-tests.py --local -j9 -t9000 test-patchbomb-tls.t --loop` ran 800 times without a hiccup. This makes me wonder if the other connection refused messages that bubble up on occasion are caused by a similar issue. It seems a bit drastic to kill the whole server on account of a single communication failure with a client. # no-check-commit because of handle_error() [1] https://buildbot.mercurial-scm.org/builders/Win7%20x86_64%20hg%20tests/builds/421/steps/run-tests.py%20%28python%202.7.13%29/logs/stdio

File last commit:

r35718:a71316bf default
r35794:75bae697 default
Show More
python3-whitelist
131 lines | 2.9 KiB | text/plain | TextLexer
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-add.t
test-addremove-similar.t
Augie Fackler
python3: whitelist another 5 passing tests found with the ratchet script
r34026 test-addremove.t
Pulkit Goyal
py3: pass the path in hg.repository() as bytes...
r32894 test-ancestor.py
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-automv.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-backwards-remove.t
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-bheads.t
test-bisect2.t
test-bookmarks-merge.t
Augie Fackler
python3: another 3 tests whitelisted
r34220 test-bookmarks-strip.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-branch-tag-confict.t
test-casecollision.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-cat.t
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-changelog-exec.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-check-commit.t
Augie Fackler
contrib: check in a whitelist of passing tests in Python 3
r32854 test-check-execute.t
Augie Fackler
contrib: add test-check-module-imports.t to the Python 3 whitelist...
r33994 test-check-module-imports.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-check-pyflakes.t
test-check-pylint.t
Augie Fackler
contrib: check in a whitelist of passing tests in Python 3
r32854 test-check-shbang.t
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-children.t
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-commit-unresolved.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-completion.t
Augie Fackler
contrib: check in a whitelist of passing tests in Python 3
r32854 test-contrib-check-code.t
test-contrib-check-commit.t
Augie Fackler
python3: whitelist another 5 passing tests found with the ratchet script
r34026 test-debugrename.t
test-diff-copy-depth.t
test-diff-hashes.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-diff-issue2761.t
Boris Feld
py3: fix test-diff-newlines.t to be compatible with py3
r33305 test-diff-newlines.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-diff-reverse.t
test-diff-subdir.t
Pulkit Goyal
py3: add 8 new passing tests to the whitelist...
r35608 test-diffdir.t
test-directaccess.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-dirstate-nonnormalset.t
Augie Fackler
contrib: check in a whitelist of passing tests in Python 3
r32854 test-doctest.py
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-double-merge.t
Augie Fackler
python3: whitelist four more passing tests...
r33837 test-duplicateoptions.py
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-empty-dir.t
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-empty-file.t
Augie Fackler
python3: whitelist another *13* tests that now pass...
r33839 test-empty.t
Yuya Nishihara
encoding: add function to test if a str consists of ASCII characters...
r33927 test-encoding-func.py
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-excessive-merge.t
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-execute-bit.t
test-gpg.t
Augie Fackler
python3: whitelist four more passing tests...
r33837 test-hghave.t
Augie Fackler
python3: whitelist test-imports-checker.t, which now passes
r33880 test-imports-checker.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-issue1089.t
Augie Fackler
python3: whitelist two more passing tests...
r35718 test-issue1175.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-issue1502.t
test-issue1802.t
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-issue1877.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-issue1993.t
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-issue522.t
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-issue612.t
test-issue619.t
test-issue672.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-issue842.t
Augie Fackler
python3: another 3 tests whitelisted
r34220 test-journal-exists.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-locate.t
Augie Fackler
contrib: check in a whitelist of passing tests in Python 3
r32854 test-lrucachedict.py
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-manifest.py
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-manifest-merging.t
Augie Fackler
python3: whitelist four more passing tests...
r33837 test-match.py
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-merge-default.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-merge-internal-tools-pattern.t
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-merge-remove.t
test-merge-revert.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-merge-revert2.t
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-merge-subrepos.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-merge10.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-merge2.t
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-merge4.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-merge5.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-merge6.t
test-merge7.t
test-merge8.t
test-mq-qimport-fail-cleanup.t
Augie Fackler
python3: whitelist two more passing tests...
r35718 test-obshistory.t
Augie Fackler
python3: whitelist another 5 passing tests found with the ratchet script
r34026 test-permissions.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-push-checkheads-partial-C1.t
test-push-checkheads-partial-C2.t
test-push-checkheads-partial-C3.t
test-push-checkheads-partial-C4.t
Augie Fackler
python3: whitelist another *13* tests that now pass...
r33839 test-push-checkheads-pruned-B1.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-push-checkheads-pruned-B2.t
test-push-checkheads-pruned-B3.t
test-push-checkheads-pruned-B4.t
test-push-checkheads-pruned-B5.t
Augie Fackler
python3: whitelist another *13* tests that now pass...
r33839 test-push-checkheads-pruned-B6.t
test-push-checkheads-pruned-B7.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-push-checkheads-pruned-B8.t
Augie Fackler
python3: whitelist another *13* tests that now pass...
r33839 test-push-checkheads-superceed-A1.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-push-checkheads-superceed-A2.t
test-push-checkheads-superceed-A3.t
Augie Fackler
python3: whitelist another *13* tests that now pass...
r33839 test-push-checkheads-superceed-A4.t
test-push-checkheads-superceed-A5.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-push-checkheads-superceed-A6.t
test-push-checkheads-superceed-A7.t
Augie Fackler
python3: whitelist another *13* tests that now pass...
r33839 test-push-checkheads-superceed-A8.t
test-push-checkheads-unpushed-D1.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-push-checkheads-unpushed-D2.t
test-push-checkheads-unpushed-D3.t
test-push-checkheads-unpushed-D4.t
test-push-checkheads-unpushed-D5.t
Augie Fackler
python3: whitelist another *13* tests that now pass...
r33839 test-push-checkheads-unpushed-D6.t
test-push-checkheads-unpushed-D7.t
Pulkit Goyal
py3: add 8 new passing tests to the whitelist...
r35608 test-record.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-rename-dir-merge.t
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-rename-merge1.t
Augie Fackler
python3: whitelist another *13* tests that now pass...
r33839 test-rename.t
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-revert-flags.t
test-revert-unknown.t
test-revlog-group-emptyiter.t
Pulkit Goyal
py3: add 8 new passing tests to the whitelist...
r35608 test-revlog-mmapindex.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-revlog-packentry.t
Augie Fackler
contrib: check in a whitelist of passing tests in Python 3
r32854 test-run-tests.py
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-show-stack.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-simple-update.t
Pulkit Goyal
py3: add 8 new passing tests to the whitelist...
r35608 test-sparse-clear.t
test-sparse-merges.t
test-sparse-requirement.t
test-sparse-verbose-json.t
Augie Fackler
python3: another 3 tests whitelisted
r34220 test-status-terse.t
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-uncommit.t
Augie Fackler
contrib: check in a whitelist of passing tests in Python 3
r32854 test-unified-test.t
Pulkit Goyal
py3: add 32 new tests passing to the whitelist...
r35376 test-unrelated-pull.t
Pulkit Goyal
py3: whitelist 15 more tests passing on Python 3...
r34352 test-update-issue1456.t
Augie Fackler
python3: whitelist many more passing tests...
r35228 test-update-names.t
Pulkit Goyal
py3: update the python3-whitelist with new tests which pass on Python 3...
r33118 test-update-reverse.t
Augie Fackler
contrib: check in a whitelist of passing tests in Python 3
r32854 test-xdg.t