Bug 45342 - [Chromium] Perl and python tests failure on Chromium-win bulidbot
Summary: [Chromium] Perl and python tests failure on Chromium-win bulidbot
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Windows Vista
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 45356
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-07 17:25 PDT by Kent Tamura
Modified: 2011-05-09 09:24 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Tamura 2010-09-07 17:25:30 PDT
Python:

test-webkitpy: INFO     Suppressing most webkitpy logging while running unit tests.
test-webkitpy: WARNING  You are testing webkitpy with a Python version (2.6.2) higher than the minimum version (2.5) it was meant to support.
webkitpy.test.main: INFO     Excluding: webkitpy.common.checkout.scm_unittest (use --all to include)
Traceback (most recent call last):
  File "./WebKitTools/Scripts/test-webkitpy", line 240, in <module>
    Tester().run_tests(sys.argv)
  File "D:\google-windows-2\chromium-win-release-tests\build\WebKitTools\Scripts\webkitpy\test\main.py", line 129, in run_tests
    unittest.main(argv=sys_argv, module=None)
  File "c:\depot_tools\python_bin\lib\unittest.py", line 816, in __init__
    self.parseArgs(argv)
  File "c:\depot_tools\python_bin\lib\unittest.py", line 843, in parseArgs
    self.createTests()
  File "c:\depot_tools\python_bin\lib\unittest.py", line 849, in createTests
    self.module)
  File "c:\depot_tools\python_bin\lib\unittest.py", line 613, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "c:\depot_tools\python_bin\lib\unittest.py", line 584, in loadTestsFromName
    parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'factory_unittest'

Perl:


WebKitTools/Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl ............ ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/generatePatchCommand.pl ......... ok
List form of pipe open not implemented at D:/google-windows-2/chromium-win-release-tests/build/WebKitTools/Scripts/VCSUtils.pm line 1544.
# Looks like you planned 16 tests but ran 8.
# Looks like your test exited with 25 just after 8.
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl .............. 
Dubious, test returned 25 (wstat 6400, 0x1900)
Failed 8/16 subtests 
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl .................... ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl .............. ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl ........... ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl ................... ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl ........... ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl ........... ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl ............. ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl ........ ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/prepareParsedPatch.pl ........... ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl .............. ok
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/setChangeLogDateAndReviewer.pl .. ok

Test Summary Report
-------------------
WebKitTools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl            (Wstat: 6400 Tests: 8 Failed: 0)
  Non-zero exit status: 25
  Parse errors: Bad plan.  You planned 16 tests but ran 8.
Files=14, Tests=292,  2 wallclock secs ( 0.08 usr +  0.03 sys =  0.11 CPU)
Result: FAIL
Failed 1/14 test programs. 0/292 subtests failed.
Comment 1 Kent Tamura 2010-09-07 17:41:27 PDT
As for Perl, I think it's not important and we may skip the test.

As for Python, it contains tests for code used by NRWT.  We has better run it and confirm all tests pass.
Comment 2 Eric Seidel (no email) 2011-05-09 09:24:39 PDT
Looks like this is long gone.