[Webkit-unassigned] [Bug 239788] New: test-webkitpy TestInstallGitLFS fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 26 13:53:05 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=239788

            Bug ID: 239788
           Summary: test-webkitpy TestInstallGitLFS fails
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: jbedard at apple.com

I see two failures when running test-webkitpy:

[1571/2000] webkitscmpy.test.install_git_lfs_unittest.TestInstallGitLFS.test_no_repo failed:              
  Traceback (most recent call last):
    File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_git_lfs_unittest.py", line 141, in test_no_repo
      self.assertEqual(0, program.main(
  AssertionError: 0 != 1

[1841/2000] webkitscmpy.test.install_git_lfs_unittest.TestInstallGitLFS.test_install failed:
  Traceback (most recent call last):
    File "/home/mcatanzaro/Projects/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_git_lfs_unittest.py", line 83, in test_install
      self.assertEqual(0, program.main(
  AssertionError: 0 != 1

It's pretty suspicious:

    def test_install(self):
        with OutputCapture() as captured, mocks.remote.GitHub('github.com/git-lfs/git-lfs', releases={
            'v3.1.2/git-lfs-darwin-arm64-v3.1.2.zip': wkmocks.Response(status_code=200, content=self.ZIP_CONTENTS),
            'v3.1.2/git-lfs-darwin-amd64-v3.1.2.zip': wkmocks.Response(status_code=200, content=self.ZIP_CONTENTS),
        }), mocks.local.Git(self.path), mocks.local.Svn():
            self.assertIsNone(local.Git(self.path).config().get('lfs.repositoryformatversion'))
            self.assertEqual(0, program.main(
                args=('install-git-lfs',),
                path=self.path,
            ))
            self.assertEqual(local.Git(self.path).config()['lfs.repositoryformatversion'], '0')

Looks like it's trying to install macOS binaries?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220426/dc632c88/attachment.htm>


More information about the webkit-unassigned mailing list