spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wei.zhu@kaiyuandao.com" <wei....@kaiyuandao.com>
Subject Re: Re: spark master - run-tests error
Date Fri, 04 Dec 2015 02:26:19 GMT
I was using the latest master branch. 



 
From: Ted Yu
Date: 2015-12-04 10:14
To: wei.zhu@kaiyuandao.com
CC: user
Subject: Re: spark master - run-tests error
The commit on last line led to:

commit 50a0496a43f09d70593419efc38587c8441843bf
Author: Brennon York <brennon.york@capitalone.com>
Date:   Wed Jun 17 12:00:34 2015 -0700

When did you last update your workspace ?

Cheers

On Thu, Dec 3, 2015 at 6:09 PM, wei.zhu@kaiyuandao.com <wei.zhu@kaiyuandao.com> wrote:

hi, is there anyone knowing why I came to the following error when running tests after a successful
full build? thanks

[root@sandbox spark_git]# dev/run-tests
**********************************************************************
File "./dev/run-tests.py", line 68, in __main__.identify_changed_files_from_git_commits
Failed example:
    [x.name for x in determine_modules_for_files(             identify_changed_files_from_git_commits("fc0a1475ef",
target_ref="5da21f07"))]
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.identify_changed_files_from_git_commits[0]>", line 1,
in <module>
        [x.name for x in determine_modules_for_files(             identify_changed_files_from_git_commits("fc0a1475ef",
target_ref="5da21f07"))]
      File "./dev/run-tests.py", line 84, in identify_changed_files_from_git_commits
        raw_output = subprocess.check_output(['git', 'diff', '--name-only', patch_sha, diff_target],
    AttributeError: 'module' object has no attribute 'check_output'
**********************************************************************
File "./dev/run-tests.py", line 70, in __main__.identify_changed_files_from_git_commits
Failed example:
    'root' in [x.name for x in determine_modules_for_files(          identify_changed_files_from_git_commits("50a0496a43",
target_ref="6765ef9"))]
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.identify_changed_files_from_git_commits[1]>", line 1,
in <module>
        'root' in [x.name for x in determine_modules_for_files(          identify_changed_files_from_git_commits("50a0496a43",
target_ref="6765ef9"))]


Mime
View raw message