Bug 180069 - REGRESSION (r225199): webkitpy: PlatformInfo raises AssertionError "assert self.os_version is not None" in Cygwin since Bug 179621
Summary: REGRESSION (r225199): webkitpy: PlatformInfo raises AssertionError "assert se...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P1 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar, Regression
Depends on: 179621
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-28 00:32 PST by Fujii Hironori
Modified: 2017-11-28 06:45 PST (History)
7 users (show)

See Also:


Attachments
Patch (1.73 KB, patch)
2017-11-28 00:42 PST, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2017-11-28 00:32:12 PST
>  $ ./Tools/Scripts/check-webkit-style
> Traceback (most recent call last):
>   File "./Tools/Scripts/check-webkit-style", line 44, in <module>
>     from webkitpy.style.main import CheckWebKitStyle
>   File "/cygdrive/c/webkit/ga/Tools/Scripts/webkitpy/style/main.py", line 27, in <module>
>     import webkitpy.style.checker as checker
>   File "/cygdrive/c/webkit/ga/Tools/Scripts/webkitpy/style/checker.py", line 54, in <module>
>     from checkers.test_expectations import TestExpectationsChecker
>   File "/cygdrive/c/webkit/ga/Tools/Scripts/webkitpy/style/checkers/test_expectations.py", line 46, in <module>
>     class TestExpectationsChecker(object):
>   File "/cygdrive/c/webkit/ga/Tools/Scripts/webkitpy/style/checkers/test_expectations.py", line 124, in TestExpectationsChecker
>     def lint_test_expectations(files, configuration, cwd, increment_error_count=lambda: 0, line_numbers=None, host=Host()):
>   File "/cygdrive/c/webkit/ga/Tools/Scripts/webkitpy/common/host.py", line 48, in __init__
>     SystemHost.__init__(self)
>   File "/cygdrive/c/webkit/ga/Tools/Scripts/webkitpy/common/system/systemhost.py", line 40, in __init__
>     self.user = user.User()
>   File "/cygdrive/c/webkit/ga/Tools/Scripts/webkitpy/common/system/user.py", line 61, in __init__
>     self._platforminfo = platforminfo or PlatformInfo(sys, platform, Executive())
>   File "/cygdrive/c/webkit/ga/Tools/Scripts/webkitpy/common/system/platforminfo.py", line 74, in __init__
>     assert self.os_version is not None
> AssertionError
>
Comment 1 Fujii Hironori 2017-11-28 00:36:53 PST
The output of ver command looks like this:

> C:\>ver
> 
> Microsoft Windows [Version 10.0.16299.64]
>
Comment 2 Fujii Hironori 2017-11-28 00:42:37 PST
Created attachment 327735 [details]
Patch
Comment 3 WebKit Commit Bot 2017-11-28 06:43:34 PST
Comment on attachment 327735 [details]
Patch

Clearing flags on attachment: 327735

Committed r225215: <https://trac.webkit.org/changeset/225215>
Comment 4 WebKit Commit Bot 2017-11-28 06:43:36 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2017-11-28 06:45:23 PST
<rdar://problem/35721810>