)]}'
{
  "commit": "52cb36ccb92e252eb37d4dcde8adbf34aab1caaa",
  "tree": "f77f1ffebe1d02f1b2ccd811f7a5f23d21d043fa",
  "parents": [
    "69007bf141b0244368513e2de7d9fb74be23629c"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Jan 10 08:53:29 2025 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Jan 10 08:53:29 2025 +0100"
  },
  "message": "[gdb/testsuite] Fix gdb.rust/completion.exp timeout on riscv64-linux\n\nOn riscv64-linux, with test-case gdb.rust/completion.exp I run into the\nfollowing timeout:\n...\n(gdb) complete break pars^M\nFAIL: gdb.rust/completion.exp: complete break pars (timeout)\n...\n\nReplaying the scenario outside the testsuite show us that the command takes\n~13 seconds:\n...\n$ gdb -q -batch -x gdb.in\n  ...\n2025-01-08 12:23:46.853 - command started\n+complete break pars\nbreak parse.rs\nbreak parse_printf_format\nbreak parse_running_mmaps_unix.rs\nbreak parser.rs\n2025-01-08 12:23:59.600 - command finished\nCommand execution time: 12.677752 (cpu), 12.748565 (wall)\n...\nwhile the timeout is 10 seconds.\n\nThe riscv64 processor on the server (cfarm91) is not fast (a fair amount of\nthe skip_huge_test test-cases times out), but something else is going on as\nwell.\n\nFor x86_64-linux, roughly measuring the size of debug info in the exec get us:\n...\n$ readelf -wi outputs/gdb.rust/completion/completion | wc -l\n2007\n...\nwhile on the riscv64 server I get:\n...\n$ readelf -wi outputs/gdb.rust/completion/completion | wc -l\n1606950\n...\n\nSo it seems reasonable that the test is somewhat slower on riscv64.\n\nFix this by using timeout factor 2.\n\nTested on riscv64-linux and x86_64-linux.\n\nApproved-By: Tom Tromey \u003ctom@tromey.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "02fbdcdf92c2814f36ffce8e81a8b1f340f304d0",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/gdb.rust/completion.exp",
      "new_id": "1b0638ad21a344244f11aa055f7fc2d10862c996",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/gdb.rust/completion.exp"
    }
  ]
}
