git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Testsuite failures on ppc64, sparc64 and s390x (64-bit BE)

From
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date
Feb 9, 2020, 00:58 UTC
Message-ID
<494689ca-c61f-47e0-c14a-28329a30f288@physik.fu-berlin.de>
In-Reply-To
<20200104224830.GF6570@camp.crustytoothpaste.net>
Hi!
On 1/4/20 11:48 PM, brian m. carlson wrote:
Show 12 quoted lines
> Did you build your version of Git with Subversion support, and if so,
> which version of Subversion did you use (version of Debian package or
> other source)?  The tests that were failing all require git-svn, which
> in turn require libsvn-perl and subversion (/usr/bin/svn).  If you're
> missing those packages, the Subversion tests will automatically be
> skipped.
> 
> The latest version on master is 2.25-rc1, and that's failing in the
> Debian package.  I haven't checked recently, but last I looked, the
> Debian package wasn't applying any additional patches on top of Git, so
> the version you're getting off GitHub is literally the same version that
> you're getting in the Debian package.
I did some more testing and the failures are caused by sqlite3:

(sid_ppc64-dchroot)root@redpanda:/build/git-ceFUyK/git-2.25.0+next.20200130/t# ./t9108-git-svn-glob.sh not ok 1 - test refspec globbing # # mkdir -p trunk/src/a trunk/src/b trunk/doc && # echo "hello world" > trunk/src/a/readme && # echo "goodbye world" > trunk/src/b/readme && # svn_cmd import -m "initial" trunk "$svnrepo"/trunk && # svn_cmd co "$svnrepo" tmp && # ( # cd tmp && # mkdir branches tags && # svn_cmd add branches tags && # svn_cmd cp trunk branches/start && # svn_cmd commit -m "start a new branch" && # svn_cmd up && # echo "hi" >> branches/start/src/b/readme && # poke branches/start/src/b/readme && # echo "hey" >> branches/start/src/a/readme && # poke branches/start/src/a/readme && # svn_cmd commit -m "hi" && # svn_cmd up && # svn_cmd cp branches/start tags/end && # echo "bye" >> tags/end/src/b/readme && # poke tags/end/src/b/readme && # echo "aye" >> tags/end/src/a/readme && # poke tags/end/src/a/readme && # svn_cmd commit -m "the end" && # echo "byebye" >> tags/end/src/b/readme && # poke tags/end/src/b/readme && # svn_cmd commit -m "nothing to see here" # ) && # git config --add svn-remote.svn.url "$svnrepo" && # git config --add svn-remote.svn.fetch \ # "trunk/src/a:refs/remotes/trunk" && # git config --add svn-remote.svn.branches \ # "branches/*/src/a:refs/remotes/branches/*" && # git config --add svn-remote.svn.tags\ # "tags/*/src/a:refs/remotes/tags/*" && # git svn multi-fetch && # git log --pretty=oneline refs/remotes/tags/end >actual && # sed -e "s/^.\{41\}//" actual >output.end && # test_cmp expect.end output.end && # test "$(git rev-parse refs/remotes/tags/end~1)" = \ # "$(git rev-parse refs/remotes/branches/start)" && # test "$(git rev-parse refs/remotes/branches/start~2)" = \ # "$(git rev-parse refs/remotes/trunk)" && # test_must_fail git rev-parse refs/remotes/tags/end@3 # not ok 2 - test left-hand-side only globbing # # git config --add svn-remote.two.url "$svnrepo" && # git config --add svn-remote.two.fetch trunk:refs/remotes/two/trunk && # git config --add svn-remote.two.branches \ # "branches/*:refs/remotes/two/branches/*" && # git config --add svn-remote.two.tags \ # "tags/*:refs/remotes/two/tags/*" && # ( # cd tmp && # echo "try try" >> tags/end/src/b/readme && # poke tags/end/src/b/readme && # svn_cmd commit -m "try to try" # ) && # git svn fetch two && # git rev-list refs/remotes/two/tags/end >actual && # test_line_count = 6 actual && # git rev-list refs/remotes/two/branches/start >actual && # test_line_count = 3 actual && # test $(git rev-parse refs/remotes/two/branches/start~2) = \ # $(git rev-parse refs/remotes/two/trunk) && # test $(git rev-parse refs/remotes/two/tags/end~3) = \ # $(git rev-parse refs/remotes/two/branches/start) && # git log --pretty=oneline refs/remotes/two/tags/end >actual && # sed -e "s/^.\{41\}//" actual >output.two && # test_cmp expect.two output.two # ok 3 - prepare test disallow multi-globs not ok 4 - test disallow multi-globs # # git config --add svn-remote.three.url "$svnrepo" && # git config --add svn-remote.three.fetch \ # trunk:refs/remotes/three/trunk && # git config --add svn-remote.three.branches \ # "branches/*/t/*:refs/remotes/three/branches/*" && # git config --add svn-remote.three.tags \ # "tags/*/*:refs/remotes/three/tags/*" && # ( # cd tmp && # echo "try try" >> tags/end/src/b/readme && # poke tags/end/src/b/readme && # svn_cmd commit -m "try to try" # ) && # test_must_fail git svn fetch three 2> stderr.three && # test_cmp expect.three stderr.three # # failed 3 among 4 test(s) 1..4 (sid_ppc64-dchroot)root@redpanda:/build/git-ceFUyK/git-2.25.0+next.20200130/t# dpkg -i /libsqlite3-0_3.30.1-1_ppc64.deb dpkg: warning: downgrading libsqlite3-0:ppc64 from 3.31.1-1 to 3.30.1-1 (Reading database ... 30145 files and directories currently installed.) Preparing to unpack .../libsqlite3-0_3.30.1-1_ppc64.deb ... Unpacking libsqlite3-0:ppc64 (3.30.1-1) over (3.31.1-1) ... Setting up libsqlite3-0:ppc64 (3.30.1-1) ... Processing triggers for libc-bin (2.29-10) ... (sid_ppc64-dchroot)root@redpanda:/build/git-ceFUyK/git-2.25.0+next.20200130/t# ./t9108-git-svn-glob.sh ok 1 - test refspec globbing ok 2 - test left-hand-side only globbing ok 3 - prepare test disallow multi-globs ok 4 - test disallow multi-globs # passed all 4 test(s) 1..4 (sid_ppc64-dchroot)root@redpanda:/build/git-ceFUyK/git-2.25.0+next.20200130/t#

I will bisect sqlite3 tomorrow to find out when the regression was introduced.
Adrian
-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
Previous: John Paul Adrian Glaubitz
Message 9 of 9 in “Testsuite failures on ppc64, sparc64 and s390x (64-bit BE)”
  1. John Paul Adrian GlaubitzJan 4, 2020
  2. brian m. carlsonJan 4, 2020
  3. John Paul Adrian GlaubitzJan 4, 2020
  4. Thomas BraunJan 6, 2020
  5. John Paul Adrian GlaubitzJan 6, 2020
  6. John Paul Adrian GlaubitzJan 4, 2020
  7. brian m. carlsonJan 4, 2020
  8. John Paul Adrian GlaubitzJan 4, 2020
  9. John Paul Adrian GlaubitzFeb 9, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.