Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D1EF7200C1C for ; Wed, 15 Feb 2017 09:14:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D0847160B5E; Wed, 15 Feb 2017 08:14:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 27FDC160B46 for ; Wed, 15 Feb 2017 09:14:15 +0100 (CET) Received: (qmail 41457 invoked by uid 500); 15 Feb 2017 08:14:14 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 41430 invoked by uid 99); 15 Feb 2017 08:14:13 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2017 08:14:13 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id A77121C1D0C; Wed, 15 Feb 2017 08:14:12 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3876699357675684382==" MIME-Version: 1.0 Subject: Re: Review Request 55951: Use --launch_info when invoking MesosContainerizer. From: Aurora ReviewBot To: Joshua Cohen , Stephan Erb , Karthik Anantha Padmanabhan Cc: Santhosh Kumar Shanmugham , Aurora , Aurora ReviewBot Date: Wed, 15 Feb 2017 08:14:12 -0000 Message-ID: <20170215081412.31018.22963@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Aurora ReviewBot X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/55951/ X-Sender: Aurora ReviewBot References: <20170215054012.31018.11089@reviews.apache.org> In-Reply-To: <20170215054012.31018.11089@reviews.apache.org> Reply-To: Aurora ReviewBot X-ReviewRequest-Repository: aurora archived-at: Wed, 15 Feb 2017 08:14:16 -0000 --===============3876699357675684382== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55951/#review165662 ----------------------------------------------------------- Master (9ea8979) is red with this patch. ./build-support/jenkins/build.sh ==================== FAILURES ==================== test_simple_process_filesystem_isolator_launch_info args = (), kw = {}  @wraps(f)  def _inner(*args, **kw):  self._patch_dict()  try: > return f(*args, **kw) .pants.d/python-setup/chroots/22bbf744265cd5201eb0521a411354ed4e0941bf/.deps/mock-1.0.1-py2-none-any.whl/mock.py:1618: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ src/test/python/apache/thermos/core/test_process.py:190: in test_simple_process_filesystem_isolator_launch_info  '"working_directory": "%s", "user": "None", "rootfs": "/some/path/taskfs"}\n' % (sandbox)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ taskpath = log_name = 'stdout' expected_content = 'launch --unshare_namespace_mnt --launch_info={"command": {"shell": false, "arguments": ["/bin/bash", "-c", "echo hell..."value": "/bin/bash"}, "working_directory": "/tmp/tmpbSrh8y/sandbox", "user": "None", "rootfs": "/some/path/taskfs"}\n'  def assert_log_content(taskpath, log_name, expected_content):  log = taskpath.with_filename(log_name).getpath('process_logdir')  assert os.path.exists(log)  with open(log, 'r') as fp: > assert fp.read() == expected_content E assert 'launch --uns.../bin/bash"}\n' == 'launch --unsh...th/taskfs"}\n' E - launch --unshare_namespace_mnt --working_directory=/tmp/tmpbSrh8y/sandbox --rootfs=/some/path/taskfs --user=None --command={"shell": false, "arguments": ["/bin/bash", "-c", "echo hello world"], "value": "/bin/bash"} E + launch --unshare_namespace_mnt --launch_info={"command": {"shell": false, "arguments": ["/bin/bash", "-c", "echo hello world"], "value": "/bin/bash"}, "working_directory": "/tmp/tmpbSrh8y/sandbox", "user": "None", "rootfs": "/some/path/taskfs"} src/test/python/apache/thermos/core/test_process.py:364: AssertionError generated xml file: /home/jenkins/jenkins-slave/workspace/AuroraBot/dist/test-results/aaf4d108c31293299a0839bdc404a91802f80937.xml  1 failed, 780 passed, 6 skipped, 1 warnings in 380.32 seconds  FAILURE 08:14:12 06:56 [complete] FAILURE I will refresh this build result if you post a review containing "@ReviewBot retry" - Aurora ReviewBot On Feb. 15, 2017, 5:40 a.m., Santhosh Kumar Shanmugham wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/55951/ > ----------------------------------------------------------- > > (Updated Feb. 15, 2017, 5:40 a.m.) > > > Review request for Aurora, Joshua Cohen, Stephan Erb, and Karthik Anantha Padmanabhan. > > > Bugs: AURORA-1882 > https://issues.apache.org/jira/browse/AURORA-1882 > > > Repository: aurora > > > Description > ------- > > MesosContainerizer has updated the command line parameters in 1.2.0 and > consolidated the individual arguments into a single ContainerLaunchInfo > proto buf message. Update ThermosExecutor to use the new `--launch_info` > parameter to be compatible with MesosContainerizer also check the > containerizer binary interface to determine to be backward-compatible. > > > Diffs > ----- > > src/main/python/apache/thermos/common/process_util.py 54e716b726fc02f3901f1b9143d3fa253511e29b > src/test/python/apache/aurora/executor/common/test_health_checker.py a3b5a22a805753d42e97f8f1e4e3dab7d3c9c507 > src/test/python/apache/thermos/core/test_process.py 520390217f691b9136cb4d36262be3d372a16509 > > Diff: https://reviews.apache.org/r/55951/diff/ > > > Testing > ------- > > build-support/jenkins/build.sh > src/test/sh/org/apache/aurora/e2e/test_end_to_end.sh > > > Thanks, > > Santhosh Kumar Shanmugham > > --===============3876699357675684382==--