----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46111/#review128545 -----------------------------------------------------------
Master (3cb599e) is red with this patch. ./build-support/jenkins/build.sh [1m with temporary_dir() as checkpoint_root:[0m [1m te = AuroraExecutor([0m [1m> runner_provider=make_provider(checkpoint_root),[0m [1m sandbox_provider=DefaultTestSandboxProvider())[0m src/test/python/apache/aurora/executor/test_thermos_executor.py:580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/test/python/apache/aurora/executor/test_thermos_executor.py:193: in make_provider [1m pex_location=thermos_runner_path(),[0m _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ build = True [1m def thermos_runner_path(build=True):[0m [1m if not build:[0m [1m return getattr(thermos_runner_path, 'value', None)[0m [1m [0m [1m if not hasattr(thermos_runner_path, 'value'):[0m [1m pex_dir = safe_mkdtemp()[0m [1m> assert subprocess.call(["./pants", "--pants-distdir=%s" % pex_dir, "binary",[0m [1m "src/main/python/apache/thermos/runner:thermos_runner"]) == 0[0m [1m[31mE assert 1 == 0[0m [1m[31mE + where 1 = <function call at 0x7fbec0f939b0>(['./pants', '--pants-distdir=/tmp/user/10021/tmp_3YC6Y', 'binary', 'src/main/python/apache/thermos/runner:thermos_runner'])[0m [1m[31mE + where <function call at 0x7fbec0f939b0> = subprocess.call[0m src/test/python/apache/aurora/executor/test_thermos_executor.py:185: AssertionError -------------- Captured stderr call -------------- Traceback (most recent call last): File "/home/jenkins/.cache/pants/setup/bootstrap-Linux-x86_64/0.0.80/bin/pants", line 7, in <module> from pants.bin.pants_exe import main ImportError: No module named pants.bin.pants_exe generated xml file: /home/jenkins/jenkins-slave/workspace/AuroraBot/dist/test-results/415337499eb72578eab327a6487c1f5c9452b3d6.xml [1m[31m 16 failed, 631 passed, 6 skipped, 1 warnings, 8 error in 195.35 seconds [0m FAILURE [32m Waiting for background workers to finish.[0m 22:06:52 04:54 [complete][31m FAILURE[0m I will refresh this build result if you post a review containing "@ReviewBot retry" - Aurora ReviewBot On April 12, 2016, 9:21 p.m., John Sirois wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46111/ > ----------------------------------------------------------- > > (Updated April 12, 2016, 9:21 p.m.) > > > Review request for Aurora, Bill Farner and Zameer Manji. > > > Bugs: AURORA-1468 > https://issues.apache.org/jira/browse/AURORA-1468 > > > Repository: aurora > > > Description > ------- > > commons/src/main/java/org/apache/aurora/common/zookeeper/SingletonService.java > | 4 ++ > > commons/src/main/java/org/apache/aurora/common/zookeeper/testing/ZooKeeperTestServer.java > | 2 +- > > src/main/java/org/apache/aurora/scheduler/discovery/CuratorSingletonService.java > | 191 +++++++++++++++++++++++++++++++++++++++++++++++++ > > src/test/java/org/apache/aurora/scheduler/discovery/BaseCuratorDiscoveryTest.java > | 114 +++++++++++++++++++++++++++++ > > src/test/java/org/apache/aurora/scheduler/discovery/CuratorServiceGroupMonitorTest.java > | 108 +++++----------------------- > > src/test/java/org/apache/aurora/scheduler/discovery/CuratorSingletonServiceTest.java > | 194 ++++++++++++++++++++++++++++++++++++++++++++++++++ > 6 files changed, 523 insertions(+), 90 deletions(-) > > > Diffs > ----- > > > commons/src/main/java/org/apache/aurora/common/zookeeper/SingletonService.java > 3561d07f65d11060e4a96c9df06af44107a73430 > > commons/src/main/java/org/apache/aurora/common/zookeeper/testing/ZooKeeperTestServer.java > 0ab24faadcba60ff8e68b2036562e4d39a4ac874 > > src/main/java/org/apache/aurora/scheduler/discovery/CuratorSingletonService.java > PRE-CREATION > > src/test/java/org/apache/aurora/scheduler/discovery/BaseCuratorDiscoveryTest.java > PRE-CREATION > > src/test/java/org/apache/aurora/scheduler/discovery/CuratorServiceGroupMonitorTest.java > 559838984a519bdbbb9ed60a71cea726dcd5cb52 > > src/test/java/org/apache/aurora/scheduler/discovery/CuratorSingletonServiceTest.java > PRE-CREATION > > Diff: https://reviews.apache.org/r/46111/diff/ > > > Testing > ------- > > Locally green: `./gradlew -Pq build`. > > NB: The SingletonServiceImplTest has more coverage and code surrounding > illegal state transitions - double advertisement, double leave, advertise > after leave (enforcing single-use). I can add those sorts of checks and test > for the checks, but thought I'd leave this 1st RB here to reduce clutter and > follow-up if folks want those sorts of checks. > > > Thanks, > > John Sirois > >