<?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>277309</bug_id>
          
          <creation_ts>2024-07-29 18:29:10 -0700</creation_ts>
          <short_desc>REGRESSION(276883@main): common/checkout/scm/scm_unittest.py::GitTestWithMock::test_push_local_commits_to_server_*</short_desc>
          <delta_ts>2026-03-14 20:42:13 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=271965</see_also>
          <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="Sam Sneddon [:gsnedders]">gsnedders</reporter>
          <assigned_to name="Sam Sneddon [:gsnedders]">gsnedders</assigned_to>
          <cc>bfan2</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2049321</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-07-29 18:29:10 -0700</bug_when>
    <thetext>Once again, the fact we don&apos;t run the SCM tests once again bites us.

Running via tox and pytest, which doesn&apos;t skip these by default:

FAILED common/checkout/scm/scm_unittest.py::GitTestWithMock::test_push_local_commits_to_server_with_username_and_without_password - AttributeError: &apos;Git&apos; object has no attribute &apos;has_authorization_for_realm&apos;
FAILED common/checkout/scm/scm_unittest.py::GitTestWithMock::test_push_local_commits_to_server_without_username_and_password - AttributeError: &apos;Git&apos; object has no attribute &apos;has_authorization_for_realm&apos;
FAILED common/checkout/scm/scm_unittest.py::GitTestWithMock::test_push_local_commits_to_server_without_username_and_with_password - AttributeError: &apos;Git&apos; object has no attribute &apos;has_authorization_for_realm&apos;

This gets thrown from:

    def push_local_commits_to_server(self, username=None, password=None):
        dcommit_command = [&apos;svn&apos;, &apos;dcommit&apos;, &apos;--rmdir&apos;]
&gt;       if (not username or not password) and not self.has_authorization_for_realm(self.svn_server_realm):
E       AttributeError: &apos;Git&apos; object has no attribute &apos;has_authorization_for_realm&apos;

common/checkout/scm/git.py:492: AttributeError

The correct answer here is probably to just remove `Git.push_local_commits_to_server`, given `git-svn dcommit` and our SVN server being gone, but it does have several callers. I presume just everything using it is just dead code that I failed to catch when I tried to remove dead code before. I think webkit-patch&apos;s land-unsafe, land-attachment, land-from-bug, and revert at least all use that code path, and I don&apos;t know if we expect any of these to still be functional at all?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049322</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-07-29 18:29:18 -0700</bug_when>
    <thetext>&lt;rdar://problem/132770101&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2190163</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2026-03-13 16:58:01 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/60598</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2190352</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-03-14 20:42:13 -0700</bug_when>
    <thetext>Test gardening commit 309282@main (3a620254c233): &lt;https://commits.webkit.org/309282@main&gt;

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

    </bug>

</bugzilla>