[jira] [Commented] (COUCHDB-3340) EUnit: syslog timeout
[ https://issues.apache.org/jira/browse/COUCHDB-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15943972#comment-15943972 ] Joan Touzet commented on COUCHDB-3340: -- I will close this issue in a week or so once we're sure we stop seeing this error pop up in CI builds. > EUnit: syslog timeout > - > > Key: COUCHDB-3340 > URL: https://issues.apache.org/jira/browse/COUCHDB-3340 > Project: CouchDB > Issue Type: Test > Components: Test Suite >Reporter: Joan Touzet >Assignee: Jay Doane > > Happening semi-often (but not consistently) in our Jenkins builds. These are > within Docker images, so this failure may be related to syslogd running > slowly inside the images. > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: > couch_log_writer_syslog_test_...*timed out* > undefined > {noformat} > Here's a bit more detail from a recent log: > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...[0.181 s] ok > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...Internal > error: {error,undef, > [{io,fwrite,["*timed out*\n",[]],[]}, > {eunit_tty,handle_cancel,3, > [{file,"eunit_tty.erl"},{line,171}]}, > {eunit_listener,call,3, > [{file,"eunit_listener.erl"},{line,132}]}, > {eunit_listener,group_loop,4, > [{file,"eunit_listener.erl"},{line,93}]}, > {eunit_listener,'-init_fun/2-fun-0-',2, > [{file,"eunit_listener.erl"},{line,58}]}]}. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (COUCHDB-3340) EUnit: syslog timeout
[ https://issues.apache.org/jira/browse/COUCHDB-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15943967#comment-15943967 ] ASF subversion and git services commented on COUCHDB-3340: -- Commit 24112cf6ce9ed23029f7697b84548dc8acff28b5 in couchdb-couch-log's branch refs/heads/master from [~jaydoane] [ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch-log.git;h=24112cf ] Fix dns timeout for undefined syslog host On some platforms, inet:getaddr can take several seconds to return when passed the undefined atom, which is the default value of "syslog_host", and therefore the value used when running tests. On platforms where it takes longer to return than the test is allowed to run, the couch_log_writer_syslog_test will fail with *timed out*. This short circuits the case when "syslog_host" is undefined, and removes the race from the test. COUCHDB-3340 > EUnit: syslog timeout > - > > Key: COUCHDB-3340 > URL: https://issues.apache.org/jira/browse/COUCHDB-3340 > Project: CouchDB > Issue Type: Test > Components: Test Suite >Reporter: Joan Touzet >Assignee: Jay Doane > > Happening semi-often (but not consistently) in our Jenkins builds. These are > within Docker images, so this failure may be related to syslogd running > slowly inside the images. > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: > couch_log_writer_syslog_test_...*timed out* > undefined > {noformat} > Here's a bit more detail from a recent log: > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...[0.181 s] ok > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...Internal > error: {error,undef, > [{io,fwrite,["*timed out*\n",[]],[]}, > {eunit_tty,handle_cancel,3, > [{file,"eunit_tty.erl"},{line,171}]}, > {eunit_listener,call,3, > [{file,"eunit_listener.erl"},{line,132}]}, > {eunit_listener,group_loop,4, > [{file,"eunit_listener.erl"},{line,93}]}, > {eunit_listener,'-init_fun/2-fun-0-',2, > [{file,"eunit_listener.erl"},{line,58}]}]}. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (COUCHDB-3340) EUnit: syslog timeout
[ https://issues.apache.org/jira/browse/COUCHDB-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15943968#comment-15943968 ] ASF GitHub Bot commented on COUCHDB-3340: - Github user asfgit closed the pull request at: https://github.com/apache/couchdb-couch-log/pull/17 > EUnit: syslog timeout > - > > Key: COUCHDB-3340 > URL: https://issues.apache.org/jira/browse/COUCHDB-3340 > Project: CouchDB > Issue Type: Test > Components: Test Suite >Reporter: Joan Touzet >Assignee: Jay Doane > > Happening semi-often (but not consistently) in our Jenkins builds. These are > within Docker images, so this failure may be related to syslogd running > slowly inside the images. > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: > couch_log_writer_syslog_test_...*timed out* > undefined > {noformat} > Here's a bit more detail from a recent log: > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...[0.181 s] ok > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...Internal > error: {error,undef, > [{io,fwrite,["*timed out*\n",[]],[]}, > {eunit_tty,handle_cancel,3, > [{file,"eunit_tty.erl"},{line,171}]}, > {eunit_listener,call,3, > [{file,"eunit_listener.erl"},{line,132}]}, > {eunit_listener,group_loop,4, > [{file,"eunit_listener.erl"},{line,93}]}, > {eunit_listener,'-init_fun/2-fun-0-',2, > [{file,"eunit_listener.erl"},{line,58}]}]}. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (COUCHDB-3340) EUnit: syslog timeout
[ https://issues.apache.org/jira/browse/COUCHDB-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15942748#comment-15942748 ] Jay Doane commented on COUCHDB-3340: Opened https://github.com/apache/couchdb-couch-log/pull/17 > EUnit: syslog timeout > - > > Key: COUCHDB-3340 > URL: https://issues.apache.org/jira/browse/COUCHDB-3340 > Project: CouchDB > Issue Type: Test > Components: Test Suite >Reporter: Joan Touzet >Assignee: Jay Doane > > Happening semi-often (but not consistently) in our Jenkins builds. These are > within Docker images, so this failure may be related to syslogd running > slowly inside the images. > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: > couch_log_writer_syslog_test_...*timed out* > undefined > {noformat} > Here's a bit more detail from a recent log: > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...[0.181 s] ok > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...Internal > error: {error,undef, > [{io,fwrite,["*timed out*\n",[]],[]}, > {eunit_tty,handle_cancel,3, > [{file,"eunit_tty.erl"},{line,171}]}, > {eunit_listener,call,3, > [{file,"eunit_listener.erl"},{line,132}]}, > {eunit_listener,group_loop,4, > [{file,"eunit_listener.erl"},{line,93}]}, > {eunit_listener,'-init_fun/2-fun-0-',2, > [{file,"eunit_listener.erl"},{line,58}]}]}. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (COUCHDB-3340) EUnit: syslog timeout
[ https://issues.apache.org/jira/browse/COUCHDB-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15942747#comment-15942747 ] ASF GitHub Bot commented on COUCHDB-3340: - GitHub user jaydoane opened a pull request: https://github.com/apache/couchdb-couch-log/pull/17 Fix dns timeout for undefined syslog host On some platforms, inet:getaddr can take several seconds to return when passed the undefined atom, which is the default value of "syslog_host", and therefore the value used when running tests. On platforms where it takes longer to return than the test is allowed to run, the couch_log_writer_syslog_test will fail with *timed out*. This short circuits the case when "syslog_host" is undefined, and removes the race from the test. COUCHDB-3340 You can merge this pull request into a Git repository by running: $ git pull https://github.com/cloudant/couchdb-couch-log 3340-fix-dns-timeout Alternatively you can review and apply these changes as the patch at: https://github.com/apache/couchdb-couch-log/pull/17.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #17 commit 24112cf6ce9ed23029f7697b84548dc8acff28b5 Author: Jay DoaneDate: 2017-03-27T06:46:15Z Fix dns timeout for undefined syslog host On some platforms, inet:getaddr can take several seconds to return when passed the undefined atom, which is the default value of "syslog_host", and therefore the value used when running tests. On platforms where it takes longer to return than the test is allowed to run, the couch_log_writer_syslog_test will fail with *timed out*. This short circuits the case when "syslog_host" is undefined, and removes the race from the test. COUCHDB-3340 > EUnit: syslog timeout > - > > Key: COUCHDB-3340 > URL: https://issues.apache.org/jira/browse/COUCHDB-3340 > Project: CouchDB > Issue Type: Test > Components: Test Suite >Reporter: Joan Touzet >Assignee: Jay Doane > > Happening semi-often (but not consistently) in our Jenkins builds. These are > within Docker images, so this failure may be related to syslogd running > slowly inside the images. > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: > couch_log_writer_syslog_test_...*timed out* > undefined > {noformat} > Here's a bit more detail from a recent log: > {noformat} > module 'couch_log_writer_syslog_test' > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...[0.181 s] ok > couch_log_writer_syslog_test: couch_log_writer_syslog_test_...Internal > error: {error,undef, > [{io,fwrite,["*timed out*\n",[]],[]}, > {eunit_tty,handle_cancel,3, > [{file,"eunit_tty.erl"},{line,171}]}, > {eunit_listener,call,3, > [{file,"eunit_listener.erl"},{line,132}]}, > {eunit_listener,group_loop,4, > [{file,"eunit_listener.erl"},{line,93}]}, > {eunit_listener,'-init_fun/2-fun-0-',2, > [{file,"eunit_listener.erl"},{line,58}]}]}. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)