<?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>205911</bug_id>
          
          <creation_ts>2020-01-08 01:24:48 -0800</creation_ts>
          <short_desc>webkit-patch crashes when creating new bug with Python 3</short_desc>
          <delta_ts>2020-01-10 16:49:15 -0800</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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=184986</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="Paulo Matos">pmatos</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>glenn</cc>
    
    <cc>jbedard</cc>
    
    <cc>slewis</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1604001</commentid>
    <comment_count>0</comment_count>
    <who name="Paulo Matos">pmatos</who>
    <bug_when>2020-01-08 01:24:48 -0800</bug_when>
    <thetext>On a new machine running Gentoo Linux and with python at version 3.6.9, webkit-patch upload fails.

Here&apos;s an example:
Tools/Scripts/webkit-patch --verbose upload                            
RefactoringTool: Skipping optional fixer: buffer
RefactoringTool: Skipping optional fixer: idioms
RefactoringTool: Skipping optional fixer: set_literal
RefactoringTool: Skipping optional fixer: ws_comma
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/__init__.py
RefactoringTool: No changes to /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/check_block.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/dammit.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/diagnose.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/element.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/formatter.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/testing.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/builder/__init__.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/builder/_html5lib.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/builder/_htmlparser.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/builder/_lxml.py
RefactoringTool: No changes to /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/__init__.py
RefactoringTool: No changes to /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_builder_registry.py
RefactoringTool: No changes to /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_docs.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_html5lib.py
RefactoringTool: No changes to /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_htmlparser.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_lxml.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_soup.py
RefactoringTool: Refactored /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_tree.py
RefactoringTool: Files that were modified:
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/__init__.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/check_block.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/dammit.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/diagnose.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/element.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/formatter.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/testing.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/builder/__init__.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/builder/_html5lib.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/builder/_htmlparser.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/builder/_lxml.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/__init__.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_builder_registry.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_docs.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_html5lib.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_htmlparser.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_lxml.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_soup.py
RefactoringTool: /home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/thirdparty/autoinstalled/bs4/tests/test_tree.py
webkitpy.common.system.logutils: [DEBUG] Debug logging enabled.
webkitpy.common.system.executive: [DEBUG] &quot;git rev-parse --is-inside-work-tree&quot; took 0.01s
webkitpy.common.system.executive: [DEBUG] &quot;git rev-parse --show-toplevel&quot; took 0.00s
webkitpy.common.system.executive: [DEBUG] &quot;git rev-parse --is-inside-work-tree&quot; took 0.00s
webkitpy.common.system.executive: [DEBUG] &quot;git config --get-all webkit.status-api-key&quot; took 0.00s
webkitpy.common.system.executive: [DEBUG] &quot;git config --get-all svn-remote.svn.fetch&quot; took 0.00s
webkitpy.common.system.executive: [DEBUG] &quot;git show-ref --quiet --verify refs/remotes/origin/master&quot; took 0.00s
webkitpy.common.system.executive: [DEBUG] &quot;git merge-base refs/remotes/origin/master HEAD&quot; took 0.00s
webkitpy.common.system.executive: [DEBUG] &quot;git diff -r --name-status --no-renames --no-ext-diff --full-index 1ddfb94f45de5b63fa5c6da71826e006a290da79 -- .&quot; took 0.13s
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = &quot;en&quot;,
	LC_ALL = &quot;&quot;,
	LC_MESSAGES = &quot;en_US.UTF-8&quot;,
	LANG = &quot;en_US.UTF-8&quot;
    are supported and installed on your system.
perl: warning: Falling back to the standard locale (&quot;C&quot;).
Total errors found: 0 in 1 files
Please enter a bug number/bugzilla URL or a title for a new bug:
Race condition in run-jsc-stress-tests chdir
Are you sure you want to create a new bug? [y/N]: y
webkitpy.common.system.executive: [DEBUG] &quot;git rev-parse --is-inside-work-tree&quot; took 0.01s
webkitpy.common.system.executive: [DEBUG] &quot;git config --get-all bugzilla.username&quot; took 0.01s
webkitpy.common.system.executive: [DEBUG] &quot;git config --get-all bugzilla.password&quot; took 0.01s
bugs.webkit.org login: pmatos@igalia.com
Please enter password for encrypted keyring: 
webkitpy.common.net.bugzilla.bugzilla: [INFO] Logging in as pmatos@igalia.com...
webkitpy.common.net.bugzilla.bugzilla: [INFO] Creating bug with title &quot;Race condition in run-jsc-stress-tests chdir&quot;
Traceback (most recent call last):
  File &quot;Tools/Scripts/webkit-patch&quot;, line 80, in &lt;module&gt;
    main()
  File &quot;Tools/Scripts/webkit-patch&quot;, line 75, in main
    WebKitPatch(os.path.abspath(__file__)).main()
  File &quot;/home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/tool/multicommandtool.py&quot;, line 305, in main
    result = command.check_arguments_and_execute(options, args, self)
  File &quot;/home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/tool/multicommandtool.py&quot;, line 123, in check_arguments_and_execute
    return self.execute(options, args, tool) or 0
  File &quot;/home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/tool/commands/abstractsequencedcommand.py&quot;, line 55, in execute
    self._sequence.run_and_handle_errors(tool, options, state)
  File &quot;/home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/tool/commands/stepsequence.py&quot;, line 73, in run_and_handle_errors
    self._run(tool, options, state)
  File &quot;/home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/tool/commands/stepsequence.py&quot;, line 67, in _run
    step(tool, options).run(state)
  File &quot;/home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/tool/steps/createbug.py&quot;, line 61, in run
    state[&quot;bug_id&quot;] = self._tool.bugs.create_bug(state[&quot;bug_title&quot;], state[&quot;bug_description&quot;], blocked=blocks, component=self._options.component, cc=cc)
  File &quot;/home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py&quot;, line 781, in create_bug
    bug_id = self._check_create_bug_response(response.read())
  File &quot;/home/pmatos/dev/WebKit/Tools/Scripts/webkitpy/common/net/bugzilla/bugzilla.py&quot;, line 712, in _check_create_bug_response
    response_html)
  File &quot;/usr/lib64/python3.6/re.py&quot;, line 182, in search
    return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604008</commentid>
    <comment_count>1</comment_count>
    <who name="Paulo Matos">pmatos</who>
    <bug_when>2020-01-08 01:55:27 -0800</bug_when>
    <thetext>Just found out the problem is the python version - I shouldn&apos;t be python3 here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604723</commentid>
    <comment_count>2</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-01-09 10:57:42 -0800</bug_when>
    <thetext>(In reply to Paulo Matos from comment #1)
&gt; Just found out the problem is the python version - I shouldn&apos;t be python3
&gt; here.

Except Python 3 should be working now, so this is a valid bug. Looks like something not covered by my unit tests or manual testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1604724</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-01-09 10:58:35 -0800</bug_when>
    <thetext>Reopening the bug, we do intend to fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605107</commentid>
    <comment_count>4</comment_count>
      <attachid>387337</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-01-10 08:12:21 -0800</bug_when>
    <thetext>Created attachment 387337
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605398</commentid>
    <comment_count>5</comment_count>
      <attachid>387337</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-01-10 16:48:29 -0800</bug_when>
    <thetext>Comment on attachment 387337
Patch

Clearing flags on attachment: 387337

Committed r254382: &lt;https://trac.webkit.org/changeset/254382&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605399</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2020-01-10 16:48:30 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1605400</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-01-10 16:49:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/58495979&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>387337</attachid>
            <date>2020-01-10 08:12:21 -0800</date>
            <delta_ts>2020-01-10 16:48:29 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-205911-20200110081219.patch</filename>
            <type>text/plain</type>
            <size>5531</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI1NDMzOSkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE5IEBACisyMDIwLTAxLTEwICBKb25hdGhhbiBCZWRhcmQgIDxqYm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aHRt
bCA9IGInPHRpdGxlPkF0dGFjaG1lbnQgMzE3NTkxIGFkZGVkIHRvIEJ1ZyAxNzUyNDc8L3RpdGxl
PicKLSAgICAgICAgc2VsZi5hc3NlcnRFcXVhbChidWd6aWxsYS5fcGFyc2VfYXR0YWNobWVudF9p
ZF9mcm9tX2FkZF9wYXRjaF90b19idWdfcmVzcG9uc2UodGl0bGVfaHRtbCksIGInMzE3NTkxJykK
KyAgICAgICAgc2VsZi5hc3NlcnRFcXVhbChidWd6aWxsYS5fcGFyc2VfYXR0YWNobWVudF9pZF9m
cm9tX2FkZF9wYXRjaF90b19idWdfcmVzcG9uc2UodGl0bGVfaHRtbCksICczMTc1OTEnKQogCiAg
ICAgICAgIHRpdGxlX2h0bWwgPSBiJzx0aXRsZT5BdHRhY2htZW50IDMxNzU5MTsgbWFsZm9ybWVk
PC90aXRsZT4nCiAgICAgICAgIHNlbGYuYXNzZXJ0RXF1YWwoYnVnemlsbGEuX3BhcnNlX2F0dGFj
aG1lbnRfaWRfZnJvbV9hZGRfcGF0Y2hfdG9fYnVnX3Jlc3BvbnNlKHRpdGxlX2h0bWwpLCBOb25l
KQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>