When I ran dev/run-tests , I got : File "./dev/run-tests.py", line 68, 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"))] File "./dev/run-tests.py", line 82, 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'
I was using python 2.6.6 Xiaoyu: In the interim, can you use maven to run test suite ? Cheers On Sun, Jul 12, 2015 at 8:26 PM, Xiaoyu Ma <hzmaxia...@corp.netease.com> wrote: > Hi guys, > I was trying to rerun test using run-tests on master but I got below > errors. I was able to build using maven though. Any advice? > > [error] ^ > [error] > /Users/ilovesoup1/workspace/eclipseWS/spark/network/common/src/main/java/org/apache/spark/network/server/TransportRequestHandler.java:24: > error: package org.slf4j does not exist > [error] import org.slf4j.Logger; > [error] ^ > [error] > /Users/ilovesoup1/workspace/eclipseWS/spark/network/common/src/main/java/org/apache/spark/network/server/TransportRequestHandler.java:25: > error: package org.slf4j does not exist > [error] import org.slf4j.LoggerFactory; > [error] ^ > [error] > /Users/ilovesoup1/workspace/eclipseWS/spark/network/common/src/main/java/org/apache/spark/network/server/TransportChannelHandler.java:75: > error: cannot find symbol > [error] public void exceptionCaught(ChannelHandlerContext ctx, Throwable > cause) throws Exception { > [error] ^ > [error] symbol: class ChannelHandlerContext > [error] location: class TransportChannelHandler > [error] 100 errors > [info] Done updating. > [info] Done updating. > [warn] There may be incompatibilities among your library dependencies. > [warn] Here are some of the libraries that were evicted: > [warn] * com.google.code.findbugs:jsr305:1.3.9 -> 2.0.1 > [warn] * com.google.guava:guava:11.0.2 -> 14.0.1 > [warn] * io.netty:netty-all:4.0.23.Final -> 4.0.28.Final > [warn] * commons-net:commons-net:2.2 -> 3.1 > [warn] Run 'evicted' to see detailed eviction warnings > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}graphx... > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}catalyst... > [info] Updating {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}bagel... > [info] Updating {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}yarn... > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}streaming... > [info] Done updating. > [warn] There may be incompatibilities among your library dependencies. > [warn] Here are some of the libraries that were evicted: > [warn] * com.google.guava:guava:11.0.2 -> 14.0.1 > [warn] Run 'evicted' to see detailed eviction warnings > [info] Done updating. > [warn] There may be incompatibilities among your library dependencies. > [warn] Here are some of the libraries that were evicted: > [warn] * com.google.guava:guava:11.0.2 -> 14.0.1 > [warn] Run 'evicted' to see detailed eviction warnings > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}streaming-twitter... > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}streaming-kafka... > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}streaming-flume... > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}streaming-zeromq... > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}kinesis-asl... > [info] Done updating. > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}streaming-mqtt... > [info] Done updating. > [info] Updating {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}tools... > [info] Done updating. > [warn] There may be incompatibilities among your library dependencies. > [warn] Here are some of the libraries that were evicted: > [warn] * com.google.guava:guava:11.0.2 -> 14.0.1 > [warn] Run 'evicted' to see detailed eviction warnings > [info] Updating {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}sql... > [info] Done updating. > [info] Done updating. > [info] Done updating. > [info] Done updating. > [info] Done updating. > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}streaming-flume-assembly... > [info] Done updating. > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}streaming-kafka-assembly... > [info] Done updating. > [info] Done updating. > [info] Done updating. > [warn] There may be incompatibilities among your library dependencies. > [warn] Here are some of the libraries that were evicted: > [warn] * commons-net:commons-net:2.2 -> 3.1 > [warn] Run 'evicted' to see detailed eviction warnings > [info] Done updating. > [info] Updating {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}mllib... > [info] Updating {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}hive... > [info] Done updating. > [info] Updating {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}repl... > [info] Done updating. > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}hive-thriftserver... > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}examples... > [info] Done updating. > [info] Done updating. > [info] Done updating. > [warn] There may be incompatibilities among your library dependencies. > [warn] Here are some of the libraries that were evicted: > [warn] * com.google.guava:guava:11.0.2 -> 14.0.1 > [warn] Run 'evicted' to see detailed eviction warnings > [info] Updating > {file:/Users/ilovesoup1/workspace/eclipseWS/spark/}assembly... > [info] Done updating. > [error] (streaming-flume-sink/compile:compile) Compilation failed > [error] (unsafe/compile:compile) javac returned nonzero exit code > [error] (network-common/compile:compile) javac returned nonzero exit code > [error] Total time: 376 s, completed Jul 13, 2015 11:17:33 AM > > 马晓宇 / Xiaoyu Ma > hzmaxia...@corp.netease.com > > > > >