)]}' { "commit": "cdcd26b27fe7a8c56ee27dc9c20b8932f661f03f", "tree": "0e000e199769b27a846fe0aaebc4d15d64cf22f3", "parents": [ "6401b6f5d23128a70e68ac55c1c568e238c6e1bc" ], "author": { "name": "Xiao Jia", "email": "xiaoj@google.com", "time": "Thu Oct 15 22:30:30 2020 +0000" }, "committer": { "name": "Xiao Jia", "email": "xiaoj@google.com", "time": "Fri Oct 16 16:56:44 2020 +0000" }, "message": "lakitu: crash_sender: disable UMA metric sending\n\nThe commit 370ab1e6d9 (\"crash: Add crash_sender runtime UMA metric.\") in\ncrash-reporter introduces a run-time dependency on the metrics daemon by\ncreating and writing to /var/log/metrics/uma-events, which failed in COS\nM88 because the metrics daemon is not installed and /var/log/metrics is\nnonexistent.\n\nAn example of the errors from crash_sender:\n\n debug1 ~ # journalctl -p err -q -b 0\n Oct 14 17:39:28 debug1 crash_sender[421]: /var/lib/metrics/uma-events: cannot open: No such file or directory (2)\n\ncrash_sender only sends UMA metrics when --max_spread_time\u003d0. This\nchange works around the errors by setting --max_spread_time\u003d1 thus\ndisabling UMA metrics sending. It is assumed that waiting for up to one\nsecond does not break our expectation of sending kernel crash reports\nimmediately. See also commit 9aa74c0042c7fa67bf4a1a6783ef27c3ce1c106b\nand b/128008378.\n\nThis change has been tested by running it on a GCE instance and manually\nexamining journalctl output to make sure the related errors no longer\nappear.\n\nBUG\u003db/170768338\nTEST\u003dSee the above paragraph.\nRELEASE_NOTE\u003dNone\n\nChange-Id: Iad6057ab36c835c9487e93bd597ec5124db8c014\n", "tree_diff": [ { "type": "rename", "old_id": "664e880ac5ca21c1c59b2a413014d46d3a432c4b", "old_mode": 40960, "old_path": "project-lakitu/chromeos-base/chromeos-init-systemd/chromeos-init-systemd-0.0.1-r21.ebuild", "new_id": "664e880ac5ca21c1c59b2a413014d46d3a432c4b", "new_mode": 40960, "new_path": "project-lakitu/chromeos-base/chromeos-init-systemd/chromeos-init-systemd-0.0.1-r22.ebuild", "score": 100 }, { "type": "modify", "old_id": "4c4c3bc36a89ae7838753e598d6819de8edd56c7", "old_mode": 33188, "old_path": "project-lakitu/chromeos-base/chromeos-init-systemd/chromeos-init-systemd-0.0.1.ebuild", "new_id": "3744870d59c787555742bc5c6c2d347c0e530731", "new_mode": 33188, "new_path": "project-lakitu/chromeos-base/chromeos-init-systemd/chromeos-init-systemd-0.0.1.ebuild" }, { "type": "modify", "old_id": "3ba817745da3c6a46edb47b32db9f6466050358b", "old_mode": 33188, "old_path": "project-lakitu/chromeos-base/chromeos-init-systemd/files/crash-sender-send-immediately.conf", "new_id": "6e4805a0f783564804c14f1498f175f27ff8b9db", "new_mode": 33188, "new_path": "project-lakitu/chromeos-base/chromeos-init-systemd/files/crash-sender-send-immediately.conf" } ] }