{"action":"created","issue":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/7891","repository_url":"https://api.github.com/repos/cockpit-project/cockpit","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/7891/labels{/name}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/7891/comments","events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/7891/events","html_url":"https://github.com/cockpit-project/cockpit/issues/7891","id":265867418,"number":7891,"title":"check-machines fails due to SELinux denial: virtlogd cannot access D-Bus","user":{"login":"martinpitt","id":200109,"avatar_url":"https://avatars3.githubusercontent.com/u/200109?v=4","gravatar_id":"","url":"https://api.github.com/users/martinpitt","html_url":"https://github.com/martinpitt","followers_url":"https://api.github.com/users/martinpitt/followers","following_url":"https://api.github.com/users/martinpitt/following{/other_user}","gists_url":"https://api.github.com/users/martinpitt/gists{/gist_id}","starred_url":"https://api.github.com/users/martinpitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinpitt/subscriptions","organizations_url":"https://api.github.com/users/martinpitt/orgs","repos_url":"https://api.github.com/users/martinpitt/repos","events_url":"https://api.github.com/users/martinpitt/events{/privacy}","received_events_url":"https://api.github.com/users/martinpitt/received_events","type":"User","site_admin":false},"labels":[{"id":279643827,"url":"https://api.github.com/repos/cockpit-project/cockpit/labels/knownissue","name":"knownissue","color":"e11d21","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":316,"created_at":"2017-10-16T18:23:49Z","updated_at":"2018-05-24T08:53:58Z","closed_at":null,"author_association":"MEMBER","body":"Our `check-machines` tests fail a lot on RHEL 7.5 nightlies due to:\r\n```\r\nStarting Virtual machine log manager...\r\n2017-10-16 18:16:22.561+0000: 1458: info : libvirt version: 3.8.0, package: 1.el7 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2017-10-10-03:48:17, x86-041.build.eng.bos.redhat.com)\r\n2017-10-16 18:16:22.561+0000: 1458: info : hostname: localhost.localdomain\r\n2017-10-16 18:16:22.561+0000: 1458: error : virDBusGetSystemBus:109 : internal error: Unable to get DBus system bus connection: Failed to connect to socket /run/dbus/system_bus_socket: Permission denied\r\ntype=1400 audit(1508177782.553:4): avc:  denied  { connectto } for  pid=1457 comm=\"virtlogd\" path=\"/run/dbus/system_bus_socket\" scontext=system_u:system_r:virtlogd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=unix_stream_socket\r\n```\r\n\r\nExample: https://fedorapeople.org/groups/cockpit/logs/pull-7887-20171016-143737-f4b68fbb-verify-rhel-7-5/log.html#2\r\n\r\nDownstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1481109"},"comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/391640194","html_url":"https://github.com/cockpit-project/cockpit/issues/7891#issuecomment-391640194","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/7891","id":391640194,"user":{"login":"cockpituous","id":14330603,"avatar_url":"https://avatars1.githubusercontent.com/u/14330603?v=4","gravatar_id":"","url":"https://api.github.com/users/cockpituous","html_url":"https://github.com/cockpituous","followers_url":"https://api.github.com/users/cockpituous/followers","following_url":"https://api.github.com/users/cockpituous/following{/other_user}","gists_url":"https://api.github.com/users/cockpituous/gists{/gist_id}","starred_url":"https://api.github.com/users/cockpituous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cockpituous/subscriptions","organizations_url":"https://api.github.com/users/cockpituous/orgs","repos_url":"https://api.github.com/users/cockpituous/repos","events_url":"https://api.github.com/users/cockpituous/events{/privacy}","received_events_url":"https://api.github.com/users/cockpituous/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T08:53:58Z","updated_at":"2018-05-24T08:53:58Z","author_association":"CONTRIBUTOR","body":"verify/rhel-7\nOoops, it happened again<hr>\n```\n# ----------------------------------------------------------------------\n# testBasic (check_machines.TestMachines)\n#\n/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8)\nls: cannot access /dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_NESTED: No such file or directory\n[0524/084943.259101:ERROR:gpu_process_transport_factory.cc(1019)] Lost UI shared context.\n\nDevTools listening on ws://127.0.0.1:9537/devtools/browser/c2495730-7013-4b86-915a-4a9d12aee58c\n[0524/084943.283176:ERROR:zygote_host_impl_linux.cc(271)] Failed to adjust OOM score of renderer with pid 59605: Permission denied (13)\n[0524/084944.024883:ERROR:gl_implementation.cc(292)] Failed to load /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory\n[0524/084944.027001:ERROR:viz_main_impl.cc(197)] Exiting GPU process due to errors during initialization\n[0524/084944.028159:ERROR:service_manager_context.cc(252)] Attempting to run unsupported native service: /usr/lib64/chromium-browser/content_gpu.service\n[0524/084944.281227:ERROR:zygote_host_impl_linux.cc(271)] Failed to adjust OOM score of renderer with pid 59638: Permission denied (13)\n[0524/084944.591965:ERROR:gl_implementation.cc(292)] Failed to load /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory\n[0524/084944.593893:ERROR:viz_main_impl.cc(197)] Exiting GPU process due to errors during initialization\n[0524/084944.594703:ERROR:service_manager_context.cc(252)] Attempting to run unsupported native service: /usr/lib64/chromium-browser/content_gpu.service\n[0524/084945.193862:ERROR:gl_implementation.cc(292)] Failed to load /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory\n[0524/084945.196224:ERROR:viz_main_impl.cc(197)] Exiting GPU process due to errors during initialization\n[0524/084945.197829:ERROR:service_manager_context.cc(252)] Attempting to run unsupported native service: /usr/lib64/chromium-browser/content_gpu.service\n[0524/084945.794784:ERROR:gl_implementation.cc(292)] Failed to load /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: /usr/lib64/chromium-browser/swiftshader/libGLESv2.so: cannot open shared object file: No such file or directory\n[0524/084945.796954:ERROR:viz_main_impl.cc(197)] Exiting GPU process due to errors during initialization\n[0524/084945.797943:ERROR:service_manager_context.cc(252)] Attempting to run unsupported native service: /usr/lib64/chromium-browser/content_gpu.service\nTraceback (most recent call last):\n  File \"/build/cockpit/bots/../test/verify/check-machines\", line 281, in testBasic\n    wait(lambda: \"Linux version\" in self.machine.execute(\"cat {0}\".format(args[\"logfile\"])), delay=3)\n  File \"/build/cockpit/test/common/testlib.py\", line 1282, in wait\n    raise Error(msg or \"Condition did not become true.\")\nError: Condition did not become true.\n\nnot ok 22 testBasic (check_machines.TestMachines) # duration: 228s\nWrote screenshot to TestMachines-testBasic-rhel-7-127.0.0.2-2401-FAIL.png\nWrote HTML dump to TestMachines-testBasic-rhel-7-127.0.0.2-2401-FAIL.html\nWrote JS log to TestMachines-testBasic-rhel-7-127.0.0.2-2401-FAIL.js.log\nJournal extracted to TestMachines-testBasic-rhel-7-127.0.0.2-2401-FAIL.log\n/etc/profile.d/lang.sh: line 19: warning: setlocale: LC_CTYPE: cannot change locale (C.UTF-8)\n```\nFirst occurrence: 2018-05-24T08:53:06.333215 | revision 04a1e0d2e7ea1eac23fae5f5570f02685a652105\nTimes recorded: 1\nLatest occurrences:\n\n- 2018-05-24T08:53:06.333215 | revision 04a1e0d2e7ea1eac23fae5f5570f02685a652105\n"}}
{"actor":{"display_login":"cockpituous"}}