{"thread":{"id":"66916","subject":"[BUG] T7527 fails with 2/70 tests","startedAt":"2026-11-22T20:30:04Z","lastAt":"2026-11-22T22:17:03Z","messageCount":3,"participants":["Dirk Gouders"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"559115","messageId":"gh1p8cmwxf.fsf@gouders.net","threadId":"66916","inReplyTo":null,"subject":"[BUG] T7527 fails with 2/70 tests","fromName":"Dirk Gouders","fromEmail":"dirk@gouders.net","sentAt":"2026-11-22T20:30:04Z","receivedAt":"2026-11-22T20:30:04Z","isPatch":false,"sender":{"key":"dirk@gouders.net","avatar":"https://avatars.githubusercontent.com/u/81326422?v=4"},"body":"Hello,\n\nI noticed T7527 (on origin/master) is failing with 2 tests\nand before I start digging I want to ask if this is a known problem.\n\nWhat I already saw is a core.* in a temp directory which (among others)\ncauses the test_cmp to fail...\n\nRegards,\n\nDirk\n\nok 1 - explicit daemon start and stop\nok 2 - implicit daemon start\nok 3 - implicit daemon stop (delete .git)\nok 4 - implicit daemon stop (rename .git)\nok 5 # skip implicit daemon stop (rename GIT~1) (missing SHORTNAMES,MINGW of MINGW,SHORTNAMES)\nok 6 # skip implicit daemon stop (rename GIT~2) (missing SHORTNAMES,MINGW of MINGW,SHORTNAMES)\nok 7 - cannot start multiple daemons\nok 8 - setup\nok 9 - update-index implicitly starts daemon\nok 10 - status implicitly starts daemon\nok 11 - edit some files\nok 12 - create some files\nok 13 - delete some files\nok 14 - rename some files\nok 15 - rename directory\nok 16 - file changes to directory\nok 17 - directory changes to a file\nok 18 - rapid nested directory creation\nok 19 - flush cached data\nok 20 - setup worktree base\nok 21 - worktree with .git file\nok 22 - cleanup worktrees\nok 23 - Matrix: setup for untracked-cache,fsmonitor matrix\nok 24 - Matrix[uc:false] disable untracked cache\nok 25 - Matrix[uc:false][fsm:false] disable fsmonitor\nok 26 - Matrix[uc:false][fsm:false] edit_files\nok 27 - Matrix[uc:false][fsm:false] delete_files\nok 28 - Matrix[uc:false][fsm:false] create_files\nok 29 - Matrix[uc:false][fsm:false] rename_files\nok 30 - Matrix[uc:false][fsm:false] file_to_directory\nok 31 - Matrix[uc:false][fsm:false] directory_to_file\nok 32 - Matrix[uc:false][fsm:false] move_directory_contents_deeper\nok 33 - Matrix[uc:false][fsm:false] move_directory_up\nok 34 - Matrix[uc:false][fsm:false] move_directory\nok 35 - Matrix[uc:false][fsm:true] enable fsmonitor\nok 36 - Matrix[uc:false][fsm:true] edit_files\nok 37 - Matrix[uc:false][fsm:true] delete_files\nok 38 - Matrix[uc:false][fsm:true] create_files\nok 39 - Matrix[uc:false][fsm:true] rename_files\nok 40 - Matrix[uc:false][fsm:true] file_to_directory\nok 41 - Matrix[uc:false][fsm:true] directory_to_file\nok 42 - Matrix[uc:false][fsm:true] move_directory_contents_deeper\nnot ok 43 - Matrix[uc:false][fsm:true] move_directory_up\n#\t\n#\t\t\tmatrix_clean_up_repo &&\n#\t\t\t$fn &&\n#\t\t\tif test $uc = false && test $fsm = false\n#\t\t\tthen\n#\t\t\t\tgit status --porcelain=v1 >.git/expect.$fn\n#\t\t\telse\n#\t\t\t\tgit status --porcelain=v1 >.git/actual.$fn &&\n#\t\t\t\ttest_cmp .git/expect.$fn .git/actual.$fn\n#\t\t\tfi\n#\t\t\nok 44 - Matrix[uc:false][fsm:true] move_directory\nok 45 - Matrix[uc:false][fsm:true] disable fsmonitor at end\nok 46 - Matrix[uc:true] enable untracked cache\nok 47 - Matrix[uc:true][fsm:false] disable fsmonitor\nok 48 - Matrix[uc:true][fsm:true] enable fsmonitor\nok 49 - Matrix[uc:true][fsm:true] edit_files\nok 50 - Matrix[uc:true][fsm:true] delete_files\nok 51 - Matrix[uc:true][fsm:true] create_files\nok 52 - Matrix[uc:true][fsm:true] rename_files\nok 53 - Matrix[uc:true][fsm:true] file_to_directory\nok 54 - Matrix[uc:true][fsm:true] directory_to_file\nok 55 - Matrix[uc:true][fsm:true] move_directory_contents_deeper\nnot ok 56 - Matrix[uc:true][fsm:true] move_directory_up\n#\t\n#\t\t\tmatrix_clean_up_repo &&\n#\t\t\t$fn &&\n#\t\t\tif test $uc = false && test $fsm = false\n#\t\t\tthen\n#\t\t\t\tgit status --porcelain=v1 >.git/expect.$fn\n#\t\t\telse\n#\t\t\t\tgit status --porcelain=v1 >.git/actual.$fn &&\n#\t\t\t\ttest_cmp .git/expect.$fn .git/actual.$fn\n#\t\t\tfi\n#\t\t\nok 57 - Matrix[uc:true][fsm:true] move_directory\nok 58 - Matrix[uc:true][fsm:true] disable fsmonitor at end\nok 59 - unicode in repo root path: u_c3_a6__æ\nok 60 - unicode in repo root path: u_e2_99_ab__♫\nok 61 - submodule setup\nok 62 - submodule always visited\nok 63 - submodule absorbgitdirs implicitly starts daemon\nok 64 - submodule implicitly starts daemon by pull\nok 65 # skip case insensitive+preserving (missing CASE_INSENSITIVE_FS)\nok 66 # skip Unicode nfc/nfd (missing !UNICODE_COMPOSITION_SENSITIVE)\nok 67 - split-index and FSMonitor work well together\nok 68 # skip fsmonitor subdir case wrong on disk (missing CASE_INSENSITIVE_FS)\nok 69 # skip fsmonitor file case wrong on disk (missing CASE_INSENSITIVE_FS)\nok 70 - untracked cache is checked after a trivial response\n# failed 2 among 70 test(s)\n1..70\n\n"},{"id":"559116","messageId":"ghwlq4lgth.fsf@gouders.net","threadId":"66916","inReplyTo":"gh1p8cmwxf.fsf@gouders.net","subject":"Re: [BUG] T7527 fails with 2/70 tests","fromName":"Dirk Gouders","fromEmail":"dirk@gouders.net","sentAt":"2026-11-22T21:03:22Z","receivedAt":"2026-11-22T21:03:22Z","isPatch":false,"sender":{"key":"dirk@gouders.net","avatar":"https://avatars.githubusercontent.com/u/81326422?v=4"},"body":"On Sun, Nov 22 2026, Dirk Gouders wrote:\n\n> Hello,\n>\n> I noticed T7527 (on origin/master) is failing with 2 tests\n> and before I start digging I want to ask if this is a known problem.\n>\n> What I already saw is a core.* in a temp directory which (among others)\n> causes the test_cmp to fail...\n\nTo be more specific: the core file says, \"git fsmonitor--daemon run\n--detach -\" is failing with \"BUG(\"double remove of watch for '%s'\",\nw->dir);\" at\ncompat/fsmonitor/fsm-listen-linux.c:144compat/fsmonitor/fsm-listen-linux.c:144\n\nDirk\n\n"},{"id":"559117","messageId":"ghse0sldeo.fsf@gouders.net","threadId":"66916","inReplyTo":"ghwlq4lgth.fsf@gouders.net","subject":"Re: [BUG] T7527 fails with 2/70 tests","fromName":"Dirk Gouders","fromEmail":"dirk@gouders.net","sentAt":"2026-11-22T22:17:03Z","receivedAt":"2026-11-22T22:17:03Z","isPatch":false,"sender":{"key":"dirk@gouders.net","avatar":"https://avatars.githubusercontent.com/u/81326422?v=4"},"body":"On Sun, Nov 22 2026, Dirk Gouders wrote:\n\n> On Sun, Nov 22 2026, Dirk Gouders wrote:\n>\n>> Hello,\n>>\n>> I noticed T7527 (on origin/master) is failing with 2 tests\n>> and before I start digging I want to ask if this is a known problem.\n>>\n>> What I already saw is a core.* in a temp directory which (among others)\n>> causes the test_cmp to fail...\n>\n> To be more specific: the core file says, \"git fsmonitor--daemon run\n> --detach -\" is failing with \"BUG(\"double remove of watch for '%s'\",\n> w->dir);\" at\n> compat/fsmonitor/fsm-listen-linux.c:144compat/fsmonitor/fsm-listen-linux.c:144\n\nI started digging anyway: a bisect lead me to the first bad commit:\n\nce48de8b2c (fsmonitor: implement filesystem change listener for Linux, 2026-04-15)\n\nAdding the involved persons to Cc.\n\nDirk\n\n"}]}