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



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

                           mock_dump_runner_pex = 
create_autospec(spec=dump_runner_pex)
                           mock_dump_runner_pex.return_value = Mock()
                           mock_options = Mock()
                           mock_options.execute_as_user = False
                           mock_options.nosetuid = False
                           mock_options.announcer_ensemble = None
                           with patch(
                               
'apache.aurora.executor.bin.thermos_executor_main.dump_runner_pex',
                               return_value=mock_dump_runner_pex):
                             with patch(
                                 
'apache.aurora.executor.bin.thermos_executor_main.DefaultThermosTaskRunnerProvider',
                                 return_value=mock_runner_provider) as 
mock_provider:
                         
                               expected_path = 
os.path.join(os.path.abspath('.'), MesosPathDetector.DEFAULT_SANDBOX_PATH)
                     >         thermos_executor = 
initialize(mock_options)
                     
                     
src/test/python/apache/aurora/executor/bin/test_thermos_executor_entry_point.py:45:
 
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     
.pants.d/python-setup/chroots/ded72a92f42d51a353c9a611aac3451e5b49db17/apache/aurora/executor/bin/thermos_executor_main.py:237:
 in initialize
                         process_collection_interval = 
Amount(options.task_process_collection_interval_secs, Time.SECONDS)
                     _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
                     
                     self = <[AttributeError("'Amount' object has no attribute 
'_amount'") raised in repr()] SafeRepr object at 0x7f8f21629758>
                     amount = <Mock 
name='mock.task_process_collection_interval_secs' id='140252715284688'>
                     unit = <twitter.common.quantity.Time object at 
0x7f8f22efd690>
                     
                         def __init__(self, amount, unit):
                           if not isinstance(amount, Integral):
                     >       raise ValueError('Amount should be an integer 
type.')
                     E       ValueError: Amount should be an integer 
type.
                     
                     
.pants.d/python-setup/chroots/ded72a92f42d51a353c9a611aac3451e5b49db17/.deps/twitter.common.quantity-0.3.7-py2-none-any.whl/twitter/common/quantity/__init__.py:87:
 ValueError
                      generated xml file: 
/home/jenkins/jenkins-slave/workspace/AuroraBot/dist/test-results/aaf4d108c31293299a0839bdc404a91802f80937.xml
 
                      1 failed, 781 passed, 6 skipped, 1 warnings in 
318.59 seconds 
                     
FAILURE


20:33:45 05:54   [complete]
               FAILURE


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

- Aurora ReviewBot


On April 11, 2017, 8:20 p.m., David Robinson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/58366/
> -----------------------------------------------------------
> 
> (Updated April 11, 2017, 8:20 p.m.)
> 
> 
> Review request for Aurora.
> 
> 
> Bugs: AURORA-1918
>     https://issues.apache.org/jira/browse/AURORA-1918
> 
> 
> Repository: aurora
> 
> 
> Description
> -------
> 
> Allow resource monitors to be disabled.
> 
> 
> Diffs
> -----
> 
>   src/main/python/apache/aurora/executor/bin/thermos_executor_main.py 
> c6c08983fb2d204afedd419798135d667169bce4 
>   src/main/python/apache/thermos/monitoring/resource.py 
> 434666696e600a0e6c19edd986c86575539976f2 
> 
> 
> Diff: https://reviews.apache.org/r/58366/diff/1/
> 
> 
> Testing
> -------
> 
> Tested -thermos_executor_flags="--task_disk_collection_interval_secs=0 
> --task_process_collection_interval_secs=0" (and different combinations: disk 
> enabled and process disabled, disk disabled and process enabled, both 
> enabled, both disabled). Launched various jobs and ensured the specific 
> resource monitors were enabled or disabled as per the executor flags.
> 
> 
> Thanks,
> 
> David Robinson
> 
>

Reply via email to