{"action":"created","issue":{"url":"https://api.github.com/repos/rsyslog/rsyslog/issues/2564","repository_url":"https://api.github.com/repos/rsyslog/rsyslog","labels_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/2564/labels{/name}","comments_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/2564/comments","events_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/2564/events","html_url":"https://github.com/rsyslog/rsyslog/issues/2564","id":306432851,"node_id":"MDU6SXNzdWUzMDY0MzI4NTE=","number":2564,"title":"test ./imjournal-basic-vg.sh frequenly fails","user":{"login":"rgerhards","id":1482123,"node_id":"MDQ6VXNlcjE0ODIxMjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1482123?v=4","gravatar_id":"","url":"https://api.github.com/users/rgerhards","html_url":"https://github.com/rgerhards","followers_url":"https://api.github.com/users/rgerhards/followers","following_url":"https://api.github.com/users/rgerhards/following{/other_user}","gists_url":"https://api.github.com/users/rgerhards/gists{/gist_id}","starred_url":"https://api.github.com/users/rgerhards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgerhards/subscriptions","organizations_url":"https://api.github.com/users/rgerhards/orgs","repos_url":"https://api.github.com/users/rgerhards/repos","events_url":"https://api.github.com/users/rgerhards/events{/privacy}","received_events_url":"https://api.github.com/users/rgerhards/received_events","type":"User","site_admin":false},"labels":[{"id":791130925,"node_id":"MDU6TGFiZWw3OTExMzA5MjU=","url":"https://api.github.com/repos/rsyslog/rsyslog/labels/QA","name":"QA","color":"e0339b","default":false},{"id":42065809,"node_id":"MDU6TGFiZWw0MjA2NTgwOQ==","url":"https://api.github.com/repos/rsyslog/rsyslog/labels/bug","name":"bug","color":"fc2929","default":true},{"id":151542213,"node_id":"MDU6TGFiZWwxNTE1NDIyMTM=","url":"https://api.github.com/repos/rsyslog/rsyslog/labels/testbench","name":"testbench","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":{"login":"rgerhards","id":1482123,"node_id":"MDQ6VXNlcjE0ODIxMjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1482123?v=4","gravatar_id":"","url":"https://api.github.com/users/rgerhards","html_url":"https://github.com/rgerhards","followers_url":"https://api.github.com/users/rgerhards/followers","following_url":"https://api.github.com/users/rgerhards/following{/other_user}","gists_url":"https://api.github.com/users/rgerhards/gists{/gist_id}","starred_url":"https://api.github.com/users/rgerhards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgerhards/subscriptions","organizations_url":"https://api.github.com/users/rgerhards/orgs","repos_url":"https://api.github.com/users/rgerhards/repos","events_url":"https://api.github.com/users/rgerhards/events{/privacy}","received_events_url":"https://api.github.com/users/rgerhards/received_events","type":"User","site_admin":false},"assignees":[{"login":"rgerhards","id":1482123,"node_id":"MDQ6VXNlcjE0ODIxMjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1482123?v=4","gravatar_id":"","url":"https://api.github.com/users/rgerhards","html_url":"https://github.com/rgerhards","followers_url":"https://api.github.com/users/rgerhards/followers","following_url":"https://api.github.com/users/rgerhards/following{/other_user}","gists_url":"https://api.github.com/users/rgerhards/gists{/gist_id}","starred_url":"https://api.github.com/users/rgerhards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgerhards/subscriptions","organizations_url":"https://api.github.com/users/rgerhards/orgs","repos_url":"https://api.github.com/users/rgerhards/repos","events_url":"https://api.github.com/users/rgerhards/events{/privacy}","received_events_url":"https://api.github.com/users/rgerhards/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/rsyslog/rsyslog/milestones/31","html_url":"https://github.com/rsyslog/rsyslog/milestone/31","labels_url":"https://api.github.com/repos/rsyslog/rsyslog/milestones/31/labels","id":2936557,"node_id":"MDk6TWlsZXN0b25lMjkzNjU1Nw==","number":31,"title":"v8.40","description":"","creator":{"login":"rgerhards","id":1482123,"node_id":"MDQ6VXNlcjE0ODIxMjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1482123?v=4","gravatar_id":"","url":"https://api.github.com/users/rgerhards","html_url":"https://github.com/rgerhards","followers_url":"https://api.github.com/users/rgerhards/followers","following_url":"https://api.github.com/users/rgerhards/following{/other_user}","gists_url":"https://api.github.com/users/rgerhards/gists{/gist_id}","starred_url":"https://api.github.com/users/rgerhards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgerhards/subscriptions","organizations_url":"https://api.github.com/users/rgerhards/orgs","repos_url":"https://api.github.com/users/rgerhards/repos","events_url":"https://api.github.com/users/rgerhards/events{/privacy}","received_events_url":"https://api.github.com/users/rgerhards/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":14,"state":"open","created_at":"2017-11-25T09:52:13Z","updated_at":"2018-11-05T11:08:55Z","due_on":"2018-12-07T08:00:00Z","closed_at":null},"comments":9,"created_at":"2018-03-19T11:57:13Z","updated_at":"2018-11-05T11:40:11Z","closed_at":null,"author_association":"MEMBER","body":"currently seen very frequently on fedora buildbot slave. The failure looks a bit different, here is a frequent case:\r\n```\r\n------------------------------------------------------------\r\nTest: ./imjournal-basic-vg.sh\r\n------------------------------------------------------------\r\ntestbench: TZ env var not set, setting it to UTC\r\ntestconf.conf is:\r\n     1\t$IncludeConfig diag-common.conf\r\n     2\t\r\n     3\tmodule(load=\"../plugins/imjournal/.libs/imjournal\")\r\n     4\t\r\n     5\ttemplate(name=\"outfmt\" type=\"string\" string=\"%msg%\\n\")\r\n     6\taction(type=\"omfile\" template=\"outfmt\" file=\"rsyslog.out.log\")\r\n==4868== Memcheck, a memory error detector\r\n==4868== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.\r\n==4868== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info\r\n==4868== Command: ../tools/rsyslogd -C -n -irsyslog.pid -M../runtime/.libs:../.libs -ftestconf.conf\r\n==4868== \r\nrsyslogd started, start msg not yet seen, pid  4868\r\nrsyslogd started, start msg not yet seen, pid  4868\r\nrsyslogd startup msg seen, pid  4868\r\nstartup-vg still running\r\nWritten to journal: \"TestBenCH-RSYSLog imjournal This is a test message - 1521131225\"\r\nimdiag[13500]: mainqueue empty\r\n==4868== \r\n==4868== HEAP SUMMARY:\r\n==4868==     in use at exit: 24,883 bytes in 56 blocks\r\n==4868==   total heap usage: 4,536,637 allocs, 4,536,581 frees, 2,267,745,613 bytes allocated\r\n==4868== \r\n==4868== 263 (88 direct, 175 indirect) bytes in 1 blocks are definitely lost in loss record 37 of 42\r\n==4868==    at 0x4C2FA1E: calloc (vg_replace_malloc.c:711)\r\n==4868==    by 0xBC6AC27: nspollConstruct (nspoll.c:93)\r\n==4868==    by 0xBE75C6E: Run (tcpsrv.c:919)\r\n==4868==    by 0x46A260: thrdStarter (threads.c:223)\r\n==4868==    by 0x52D936C: start_thread (in /usr/lib64/libpthread-2.25.so)\r\n==4868==    by 0x6226B4E: clone (in /usr/lib64/libc-2.25.so)\r\n==4868== \r\n{\r\n   <insert_a_suppression_name_here>\r\n   Memcheck:Leak\r\n   match-leak-kinds: definite\r\n   fun:calloc\r\n   fun:nspollConstruct\r\n   fun:Run\r\n   fun:thrdStarter\r\n   fun:start_thread\r\n   fun:clone\r\n}\r\n==4868== LEAK SUMMARY:\r\n==4868==    definitely lost: 88 bytes in 1 blocks\r\n==4868==    indirectly lost: 175 bytes in 4 blocks\r\n==4868==      possibly lost: 0 bytes in 0 blocks\r\n==4868==    still reachable: 24,620 bytes in 51 blocks\r\n==4868==         suppressed: 0 bytes in 0 blocks\r\n==4868== Reachable blocks (those to which a pointer was found) are not shown.\r\n==4868== To see them, rerun with: --leak-check=full --show-leak-kinds=all\r\n==4868== \r\n==4868== For counts of detected and suppressed errors, rerun with: -v\r\n==4868== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)\r\nrsyslogd run exited with 10\r\nvalgrind run FAILED with exceptions - terminating\r\nFAIL imjournal-basic-vg.sh (exit status: 1)\r\n```\r\nIn other cases we see connection errors, which might be a startup issue or extremely slow machine (very unlikely)."},"comment":{"url":"https://api.github.com/repos/rsyslog/rsyslog/issues/comments/435845552","html_url":"https://github.com/rsyslog/rsyslog/issues/2564#issuecomment-435845552","issue_url":"https://api.github.com/repos/rsyslog/rsyslog/issues/2564","id":435845552,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTg0NTU1Mg==","user":{"login":"jvymazal","id":24474145,"node_id":"MDQ6VXNlcjI0NDc0MTQ1","avatar_url":"https://avatars2.githubusercontent.com/u/24474145?v=4","gravatar_id":"","url":"https://api.github.com/users/jvymazal","html_url":"https://github.com/jvymazal","followers_url":"https://api.github.com/users/jvymazal/followers","following_url":"https://api.github.com/users/jvymazal/following{/other_user}","gists_url":"https://api.github.com/users/jvymazal/gists{/gist_id}","starred_url":"https://api.github.com/users/jvymazal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvymazal/subscriptions","organizations_url":"https://api.github.com/users/jvymazal/orgs","repos_url":"https://api.github.com/users/jvymazal/repos","events_url":"https://api.github.com/users/jvymazal/events{/privacy}","received_events_url":"https://api.github.com/users/jvymazal/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T11:40:11Z","updated_at":"2018-11-05T11:40:11Z","author_association":"CONTRIBUTOR","body":"> I work again on this test, at least trying to make it skip instead of fail if the message does not show up in the journal.\r\n\r\n@rgerhards, AFAIK the test **does** skip if the message is not present in the journal. The last log I tried to decipher was that rsyslog exited long before the message appeared in the journal. However I am not familiar with the testbench enough to propose a fix for that."}}
{"actor":{"display_login":"jvymazal"}}