{"thread":{"id":"58307","subject":"Fixing midx bitmap related racy test failure (under sha-256)","startedAt":"2022-08-15T07:05:08Z","lastAt":"2022-08-15T07:05:08Z","messageCount":1,"participants":["Abhra303"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"461218","messageId":"20220815070446.4990-1-chakrabortyabhradeep79@gmail.com","threadId":"58307","inReplyTo":null,"subject":"Fixing midx bitmap related racy test failure (under sha-256)","fromName":"Abhra303","fromEmail":"chakrabortyabhradeep79@gmail.com","sentAt":"2022-08-15T07:04:46Z","receivedAt":"2022-08-15T07:05:08Z","isPatch":false,"sender":{"key":"chakrabortyabhradeep79@gmail.com","avatar":"https://avatars.githubusercontent.com/u/75240995?v=4"},"body":"From: Abhradeep Chakraborty <chakrabortyabhradeep79@gmail.com>\n\nHello developers,\n\nI have been writing a patch series[1] to integrate a lookup table extension\nto .bitmap file. I reformatted the test code so that I can run the same\ntests for the lookup table extension. But this is causing a failure in a midx\nbitmap related test case[2]. It is not related to my code because this\ncan be produced with out my changes.\n\nIf you see the test file[3] (with my changes) and also observe the test\nresults[4], you'll notice that the said test case is always failing on the \nsecond `test_midx_bitmap_cases` call under sha-256 only. This is racy in nature.\nI.e. it might pass after executing the test 2 or 3 times.\n\nI have been trying to solve the issue for one or two week but as I am not\nvery clear about the internal working of multi-pack-index or repacking, I\nam still not able to solve the issue. Besides, my semester exam is starting\nfrom 18 Aug. So I have to give a significant amount of time to studies.\n\nSo, it will be very helpful if anyone help me to find out the solution.\nYou can know more from this thread[5].\n\nThanks :)\n\n[1] https://lore.kernel.org/git/pull.1266.git.1655728395.gitgitgadget@gmail.com/\n[2] https://github.com/Abhra303/git/blob/b460516b306e6885cd1c0af1c3379fb953952de2/t/lib-bitmap.sh#L195\n[3] https://github.com/Abhra303/git/blob/bitmap-commit-table/t/t5326-multi-pack-bitmaps.sh\n[4] https://github.com/Abhra303/git/runs/7827604510?check_suite_focus=true\n[5] https://lore.kernel.org/git/p3r70610-8n52-s8q0-n641-onp4ps01330n@tzk.qr/#t\n"}]}