aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurora ReviewBot <wfar...@apache.org>
Subject Re: Review Request 50819: Use update_job instead of creating new config object when modifying.
Date Thu, 04 Aug 2016 21:19:48 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/50819/#review144824
-----------------------------------------------------------



Master (d0533d2) is red with this patch.
  ./build-support/jenkins/build.sh

                           proxy_driver = ProxyDriver()
                           with temporary_dir() as checkpoint_root:
                             te = AuroraExecutor(
                     >           runner_provider=make_provider(checkpoint_root),
                                 sandbox_provider=DefaultTestSandboxProvider())
                     
                     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
                         pex_location=thermos_runner_path(),
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     
                     build = True
                     
                         def thermos_runner_path(build=True):
                           if not build:
                             return getattr(thermos_runner_path, 'value', None)
                         
                           if not hasattr(thermos_runner_path, 'value'):
                             pex_dir = safe_mkdtemp()
                     >       assert subprocess.call(["./pants", "--pants-distdir=%s"
% pex_dir, "binary",
                               "src/main/python/apache/thermos/runner:thermos_runner"])
== 0
                     E       assert 1 == 0
                     E        +  where 1 = <function call at 0x7f4e15d3e9b0>(['./pants',
'--pants-distdir=/tmp/tmpvraw6_', 'binary', 'src/main/python/apache/thermos/runner:thermos_runner'])
                     E        +    where <function call at 0x7f4e15d3e9b0>
= subprocess.call
                     
                     src/test/python/apache/aurora/executor/test_thermos_executor.py:185:
AssertionError
                     -------------- Captured stderr call --------------
                     Traceback (most recent call last):
                       File "/home/jenkins/jenkins-slave/workspace/AuroraBot/.home/.cache/pants/setup/bootstrap-Linux-x86_64/1.1.0-rc7/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

                      16 failed, 661 passed, 6 skipped, 1 warnings, 8 error in 149.02
seconds 
                     
FAILURE


21:19:49 02:52   [complete]
               FAILURE


I will refresh this build result if you post a review containing "@ReviewBot retry"

- Aurora ReviewBot


On Aug. 4, 2016, 9:10 p.m., David McLaughlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50819/
> -----------------------------------------------------------
> 
> (Updated Aug. 4, 2016, 9:10 p.m.)
> 
> 
> Review request for Aurora and Mehrdad Nurolahzade.
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Use update_job instead of creating new config object when modifying. This avoids losing
any state (e.g. metadata) attached to the config.
> 
> 
> Diffs
> -----
> 
>   src/main/python/apache/aurora/client/cli/context.py 7bbfb5e815b2408b8ddaaeeb9911a5bd1b019a27

> 
> Diff: https://reviews.apache.org/r/50819/diff/
> 
> 
> Testing
> -------
> 
> $ ./pants test.pytest src/test/python/apache/aurora/client::
> 
> 14:07:19 00:00 [main]
>                (To run a reporting server: ./pants server)
> 14:07:19 00:00   [setup]
> 14:07:19 00:00     [parse]
>                Executing tasks in goals: test
> 14:07:19 00:00   [test]
> 14:07:19 00:00     [test-prep-command]
> 14:07:19 00:00     [test]
> 14:07:19 00:00     [pytest]
> 14:07:19 00:00       [run]
>                      
> 14:07:19 00:00         [chroot]============== test session starts ===============
>                      platform darwin -- Python 2.7.10 -- py-1.4.31 -- pytest-2.6.4
>                      plugins: timeout, cov
>                      collected 339 items 
>                      
>                      src/test/python/apache/aurora/client/cli/test_config_noun.py ...
>                      src/test/python/apache/aurora/client/cli/test_context.py ........
>                      src/test/python/apache/aurora/client/cli/test_version.py .
>                      src/test/python/apache/aurora/client/cli/test_quota.py .....
>                      src/test/python/apache/aurora/client/cli/test_plugins.py .
>                      src/test/python/apache/aurora/client/cli/test_client.py ..
>                      src/test/python/apache/aurora/client/cli/test_sla.py .....
>                      src/test/python/apache/aurora/client/cli/test_open.py .....
>                      src/test/python/apache/aurora/client/cli/test_supdate.py .............................
>                      src/test/python/apache/aurora/client/cli/test_restart.py ..........
>                      src/test/python/apache/aurora/client/cli/test_status.py .............
>                      src/test/python/apache/aurora/client/cli/test_add.py ....
>                      src/test/python/apache/aurora/client/cli/test_diff.py ..
>                      src/test/python/apache/aurora/client/cli/test_cron.py ..........
>                      src/test/python/apache/aurora/client/cli/test_command_hooks.py ..
>                      src/test/python/apache/aurora/client/cli/test_options.py ......
>                      src/test/python/apache/aurora/client/cli/test_task.py .....
>                      src/test/python/apache/aurora/client/cli/test_create.py ..............
>                      src/test/python/apache/aurora/client/cli/test_kill.py .....................
>                      src/test/python/apache/aurora/client/cli/test_inspect.py ...
>                      src/test/python/apache/aurora/client/cli/test_api_from_cli.py ..
>                      src/test/python/apache/aurora/client/cli/test_diff_formatter.py
.....
>                      src/test/python/apache/aurora/client/api/test_updater_util.py .......
>                      src/test/python/apache/aurora/client/api/test_job_monitor.py ......
>                      src/test/python/apache/aurora/client/api/test_api.py ..........
>                      src/test/python/apache/aurora/client/api/test_task_util.py .
>                      src/test/python/apache/aurora/client/api/test_restarter.py ......
>                      src/test/python/apache/aurora/client/api/test_instance_watcher.py
......
>                      src/test/python/apache/aurora/client/api/test_scheduler_client.py
.....................................................................
>                      src/test/python/apache/aurora/client/api/test_sla.py ......................................
>                      src/test/python/apache/aurora/client/api/test_health_check.py ...
>                      src/test/python/apache/aurora/client/hooks/test_hooked_api.py ............
>                      src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py
...
>                      src/test/python/apache/aurora/client/test_config.py ............
>                      src/test/python/apache/aurora/client/test_binding_helper.py ..
>                      src/test/python/apache/aurora/client/test_base.py ........
>                      
>                      ========== 339 passed in 24.32 seconds ===========
>                      
> 14:07:45 00:26   [complete]
>                SUCCESS
> 
> 
> Thanks,
> 
> David McLaughlin
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message