From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD2D6156CC for ; Fri, 3 Nov 2023 14:50:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from secure.elehost.com (secure.elehost.com [185.209.179.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F03D134 for ; Fri, 3 Nov 2023 07:50:26 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at secure.elehost.com Received: from Mazikeen (cpebc4dfb928313-cmbc4dfb928310.cpe.net.cable.rogers.com [99.228.251.108] (may be forged)) (authenticated bits=0) by secure.elehost.com (8.15.2/8.15.2/Debian-22ubuntu3) with ESMTPSA id 3A3ElELF4188417 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 3 Nov 2023 14:47:15 GMT Reply-To: From: To: Subject: [BUG] Git 2.43.0-rc0 - t4216 unpack(Q) invalid type Date: Fri, 3 Nov 2023 10:50:19 -0400 Organization: Nexbridge Inc. Message-ID: <007101da0e65$13e3c170$3bab4450$@nexbridge.com> Precedence: bulk X-Mailing-List: git@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdoOZPT6ydrTHvc6RhSYNmWFwIH0/g== Content-Language: en-ca In RC0, the following tests are failing (with verbose). They look like the same root cause. Unpack("Q>".... What version does git now require for perl? I have v5.30.3 available, nothing more recent. expecting success of 4216.141 'Bloom reader notices too-small data chunk': check_corrupt_graph BDAT clear 00000000 && echo "warning: ignoring too-small changed-path chunk" \ "(4 < 12) in commit-graph file" >expect.err && test_cmp expect.err err Invalid type 'Q' in unpack at /home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/t/lib-chunk/corrupt-chunk -file.pl line 31. not ok 141 - Bloom reader notices too-small data chunk # #check_corrupt_graph BDAT clear 00000000 && #echo "warning: ignoring too-small changed-path chunk" \ #"(4 < 12) in commit-graph file" >expect.err && #test_cmp expect.err err # expecting success of 4216.142 'Bloom reader notices out-of-bounds filter offsets': check_corrupt_graph BIDX 12 FFFFFFFF && # use grep to avoid depending on exact chunk size grep "warning: ignoring out-of-range offset (4294967295) for changed-path filter at pos 3 of .git/objects/info/commit-graph" err Invalid type 'Q' in unpack at /home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/t/lib-chunk/corrupt-chunk -file.pl line 31. not ok 142 - Bloom reader notices out-of-bounds filter offsets # #check_corrupt_graph BIDX 12 FFFFFFFF && ## use grep to avoid depending on exact chunk size #grep "warning: ignoring out-of-range offset (4294967295) for changed-path filter at pos 3 of .git/objects/info/commit-graph" err # expecting success of 4216.143 'Bloom reader notices too-small index chunk': # replace the index with a single entry, making most # lookups out-of-bounds check_corrupt_graph BIDX clear 00000000 && echo "warning: commit-graph changed-path index chunk" \ "is too small" >expect.err && test_cmp expect.err err Invalid type 'Q' in unpack at /home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/t/lib-chunk/corrupt-chunk -file.pl line 31. not ok 143 - Bloom reader notices too-small index chunk # ## replace the index with a single entry, making most ## lookups out-of-bounds #check_corrupt_graph BIDX clear 00000000 && #echo "warning: commit-graph changed-path index chunk" \ #"is too small" >expect.err && #test_cmp expect.err err # expecting success of 4216.144 'Bloom reader notices out-of-order index offsets': # we do not know any real offsets, but we can pick # something plausible; we should not get to the point of # actually reading from the bogus offsets anyway. corrupt_graph BIDX 4 0000000c00000005 && echo "warning: ignoring decreasing changed-path index offsets" \ "(12 > 5) for positions 1 and 2 of .git/objects/info/commit-graph" >expect.err && git -c core.commitGraph=false log -- A/B/file2 >expect.out && git -c core.commitGraph=true log -- A/B/file2 >out 2>err && test_cmp expect.out out && test_cmp expect.err err Invalid type 'Q' in unpack at /home/jenkinsbuild/.jenkins/workspace/Git_Pipeline/t/lib-chunk/corrupt-chunk -file.pl line 31. not ok 144 - Bloom reader notices out-of-order index offsets # ## we do not know any real offsets, but we can pick ## something plausible; we should not get to the point of ## actually reading from the bogus offsets anyway. #corrupt_graph BIDX 4 0000000c00000005 && #echo "warning: ignoring decreasing changed-path index offsets" \ #"(12 > 5) for positions 1 and 2 of .git/objects/info/commit-graph" >expect.err && #git -c core.commitGraph=false log -- A/B/file2 >expect.out && #git -c core.commitGraph=true log -- A/B/file2 >out 2>err && #test_cmp expect.out out && #test_cmp expect.err err # -- Brief whoami: NonStop&UNIX developer since approximately UNIX(421664400) NonStop(211288444200000000) -- In real life, I talk too much.