)]}'
{
  "commit": "1001141f0674ff4b611814edcb00a5183680ef4a",
  "tree": "4fd6392052b2a61377eb2502533e51b2dd1fd04d",
  "parents": [
    "fb915e8b7bd139e9c07e9354c43ab549e94cbc7a"
  ],
  "author": {
    "name": "olaola",
    "email": "olaola@google.com",
    "time": "Tue Feb 20 09:11:01 2018 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-piper@google.com",
    "time": "Tue Feb 20 09:13:46 2018 -0800"
  },
  "message": "Roll forward of https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1b52bcac5a3ff942029 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1b52bcac5a3ff942029). Fix #4625 by running the test process in a sub-shell.\n\nApparently, nested background processes interfere with SIGINT handling in bash. I don\u0027t 100% understand why and how, but I do have a small bash script that demonstrates the problem: script A that spawns a background process, sends it a SIGINT, and verifies it was received. The script works, *unless* run in the background by a process B; this extra layer of backgrounding cause process A\u0027s logic to stop working. See experimental/users/olaola/shell/ for examples. See also https://stackoverflow.com/questions/48847722/nested-background-processes-and-sigint-handling\n\n*** Original change description ***\n\nFixing test-setup.sh occasionally missing stdout/stderr, on systems where \"tail --pid\" is supported.\n\nThe solutions aren\u0027t mine, the new test was taken from Ola\u0027s unknown commit and the way to avoid race condition courtesy of sethkoehler@\n\nMitigates #4608 for compatible Linux systems.\n\nTESTED\u003dpresubmits, manual shell tests on new bazel\nRELNOTES: None\nPiperOrigin-RevId: 186312008\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "944c08faf45af4740986eaa700a492345c18ac91",
      "old_mode": 33261,
      "old_path": "src/test/shell/bazel/bazel_test_test.sh",
      "new_id": "389bc91b143fa725048c2574a8965de99a0fe409",
      "new_mode": 33261,
      "new_path": "src/test/shell/bazel/bazel_test_test.sh"
    },
    {
      "type": "modify",
      "old_id": "aa6f7223b877a464c3ccdca0c9d1ad5cbbc58c16",
      "old_mode": 33261,
      "old_path": "tools/test/test-setup.sh",
      "new_id": "002edb8bdfdcc54371259f2f5450acdc9a1f874c",
      "new_mode": 33261,
      "new_path": "tools/test/test-setup.sh"
    }
  ]
}
