<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>239788</bug_id>
          
          <creation_ts>2022-04-26 13:53:05 -0700</creation_ts>
          <short_desc>test-webkitpy TestInstallGitLFS fails</short_desc>
          <delta_ts>2022-04-27 10:16:43 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Catanzaro">mcatanzaro</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>jbedard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1864617</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-04-26 13:53:05 -0700</bug_when>
    <thetext>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 &quot;/home/mcatanzaro/Projects/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_git_lfs_unittest.py&quot;, 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 &quot;/home/mcatanzaro/Projects/WebKit/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/test/install_git_lfs_unittest.py&quot;, line 83, in test_install
      self.assertEqual(0, program.main(
  AssertionError: 0 != 1

It&apos;s pretty suspicious:

    def test_install(self):
        with OutputCapture() as captured, mocks.remote.GitHub(&apos;github.com/git-lfs/git-lfs&apos;, releases={
            &apos;v3.1.2/git-lfs-darwin-arm64-v3.1.2.zip&apos;: wkmocks.Response(status_code=200, content=self.ZIP_CONTENTS),
            &apos;v3.1.2/git-lfs-darwin-amd64-v3.1.2.zip&apos;: 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(&apos;lfs.repositoryformatversion&apos;))
            self.assertEqual(0, program.main(
                args=(&apos;install-git-lfs&apos;,),
                path=self.path,
            ))
            self.assertEqual(local.Git(self.path).config()[&apos;lfs.repositoryformatversion&apos;], &apos;0&apos;)

Looks like it&apos;s trying to install macOS binaries?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1864657</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-04-26 15:55:28 -0700</bug_when>
    <thetext>&lt;rdar://problem/92363359&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1864659</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2022-04-26 15:58:42 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/404</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1864839</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-04-27 10:16:41 -0700</bug_when>
    <thetext>Committed r293515 (250046@main): &lt;https://commits.webkit.org/250046@main&gt;

Reviewed commits have been landed. Closing PR #404 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>