See <https://builds.apache.org/job/Aurora/146/changes>

Changes:

[kevints] Make http signaler timeout secs configurable via environment variable.

------------------------------------------
[...truncated 4012 lines...]
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 12 items

src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: 
test_api_methods_exist[cancel_update] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: 
test_api_methods_exist[create_job] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: 
test_api_methods_exist[kill_job] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: 
test_api_methods_exist[restart] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: 
test_api_methods_exist[start_cronjob] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:35: 
test_api_methods_exist[update_job] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: 
test_api_methods_params[cancel_update] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: 
test_api_methods_params[create_job] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: 
test_api_methods_params[kill_job] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: 
test_api_methods_params[restart] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: 
test_api_methods_params[start_cronjob] PASSED
src/test/python/apache/aurora/client/hooks/test_hooked_api.py:42: 
test_api_methods_params[update_job] PASSED

========================== 12 passed in 0.38 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 4 items

src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:88: 
TestNonHookedAuroraClientAPI.test_cancel_update_discards_config PASSED
src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:92: 
TestNonHookedAuroraClientAPI.test_kill_job_discards_config PASSED
src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:100: 
TestNonHookedAuroraClientAPI.test_restart_discards_config PASSED
src/test/python/apache/aurora/client/hooks/test_non_hooked_api.py:106: 
TestNonHookedAuroraClientAPI.test_start_cronjob_discards_config PASSED

=========================== 4 passed in 0.34 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 1 items

src/test/python/apache/aurora/common/test_aurora_job_key.py:23: 
AuroraJobKeyTest.test_basic PASSED

=========================== 1 passed in 0.08 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 1 items

src/test/python/apache/aurora/common/test_cluster.py:27: test_simple PASSED

=========================== 1 passed in 0.04 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 4 items

src/test/python/apache/aurora/common/test_clusters.py:65: test_load_json PASSED
src/test/python/apache/aurora/common/test_clusters.py:78: test_load_yaml PASSED
src/test/python/apache/aurora/common/test_clusters.py:86: 
test_load_without_yaml_loader PASSED
src/test/python/apache/aurora/common/test_clusters.py:97: 
test_load_invalid_syntax PASSED

=========================== 4 passed in 0.16 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 2 items

src/test/python/apache/aurora/common/test_cluster_option.py:36: 
test_constructors PASSED
src/test/python/apache/aurora/common/test_cluster_option.py:50: test_parsable 
PASSED

=========================== 2 passed in 0.05 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 3 items

src/test/python/apache/aurora/common/test_http_signaler.py:44: 
TestHttpSignaler.test_all_calls_ok PASSED
src/test/python/apache/aurora/common/test_http_signaler.py:71: 
TestHttpSignaler.test_exception PASSED
src/test/python/apache/aurora/common/test_http_signaler.py:60: 
TestHttpSignaler.test_health_not_ok WARNING:root:Response differs from expected 
response (expected "ok", got "not ok")
PASSED

=========================== 3 passed in 0.06 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 7 items

src/test/python/apache/aurora/config/test_base.py:38: test_all_static PASSED
src/test/python/apache/aurora/config/test_base.py:46: test_binding PASSED
src/test/python/apache/aurora/config/test_base.py:54: test_cycle PASSED
src/test/python/apache/aurora/config/test_base.py:148: test_empty_config PASSED
src/test/python/apache/aurora/config/test_base.py:156: test_simple_config PASSED
src/test/python/apache/aurora/config/test_base.py:181: test_ports PASSED
src/test/python/apache/aurora/config/test_base.py:202: 
test_static_port_aliasing PASSED

=========================== 7 passed in 1.34 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 1 items

src/test/python/apache/aurora/config/test_constraint_parsing.py:23: 
test_parsing_constraints limit:a is not a valid limit value, must be integer
PASSED

=========================== 1 passed in 0.13 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 6 items

src/test/python/apache/aurora/config/test_loader.py:49: test_enoent PASSED
src/test/python/apache/aurora/config/test_loader.py:55: test_bad_config PASSED
src/test/python/apache/aurora/config/test_loader.py:63: test_empty_config PASSED
src/test/python/apache/aurora/config/test_loader.py:69: test_load_json PASSED
src/test/python/apache/aurora/config/test_loader.py:82: test_load PASSED
src/test/python/apache/aurora/config/test_loader.py:95: test_pick PASSED

=========================== 6 passed in 0.18 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 10 items

src/test/python/apache/aurora/config/test_thrift.py:62: test_simple_config 
PASSED
src/test/python/apache/aurora/config/test_thrift.py:86: 
test_config_with_options PASSED
src/test/python/apache/aurora/config/test_thrift.py:111: test_config_with_ports 
PASSED
src/test/python/apache/aurora/config/test_thrift.py:125: 
test_config_with_bad_resources PASSED
src/test/python/apache/aurora/config/test_thrift.py:151: 
test_config_with_task_links PASSED
src/test/python/apache/aurora/config/test_thrift.py:172: 
test_unbound_references PASSED
src/test/python/apache/aurora/config/test_thrift.py:186: test_cron_policy_alias 
PASSED
src/test/python/apache/aurora/config/test_thrift.py:210: 
test_packages_in_config PASSED
src/test/python/apache/aurora/config/test_thrift.py:222: 
test_task_instance_from_job PASSED
src/test/python/apache/aurora/config/test_thrift.py:227: 
test_identifier_validation PASSED

========================== 10 passed in 1.52 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 4 items

src/test/python/apache/aurora/executor/test_executor_detector.py:37: 
test_find_root PASSED
src/test/python/apache/aurora/executor/test_executor_detector.py:59: 
test_match_inverse PASSED
src/test/python/apache/aurora/executor/test_executor_detector.py:64: 
test_bad_match PASSED
src/test/python/apache/aurora/executor/test_executor_detector.py:68: 
test_integration PASSED

=========================== 4 passed in 0.04 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 4 items

src/test/python/apache/aurora/executor/test_executor_vars.py:22: 
test_release_from_tag PASSED
src/test/python/apache/aurora/executor/test_executor_vars.py:35: 
test_extract_pexinfo PASSED
src/test/python/apache/aurora/executor/test_executor_vars.py:46: test_init 
PASSED
src/test/python/apache/aurora/executor/test_executor_vars.py:54: test_sample 
PASSED

=========================== 4 passed in 0.13 seconds ===========================
============================= test session starts ==============================
platform linux2 -- Python 2.7.3 -- py-1.4.20 -- pytest-2.5.2 -- 
/usr/bin/python2.7
collecting ... collected 5 items

src/test/python/apache/aurora/executor/test_thermos_task_runner.py:109: 
TestThermosTaskRunnerIntegration.test_integration_success Writing log files to 
disk in /tmp/tmpIZi0Pb
Build operating on targets: 
OrderedSet([PythonBinary(src/main/python/apache/aurora/executor/bin/BUILD:thermos_runner)])
Building PythonBinary 
PythonBinary(src/main/python/apache/aurora/executor/bin/BUILD:thermos_runner):
Problem executing PythonBuilder for targets 
OrderedSet([PythonBinary(src/main/python/apache/aurora/executor/bin/BUILD:thermos_runner)]):
 Traceback (most recent call last):
  File 
"/home/hudson/.pex/install/twitter.pants-0.0.14_dev2-py2.7.egg.262a90f1be8ae6b0de94aa63488ebeecd3ecf9ff/twitter.pants-0.0.14_dev2-py2.7.egg/twitter/pants/commands/build.py",
 line 126, in _python_build
    conn_timeout=self.options.conn_timeout)
  File 
"/home/hudson/.pex/install/twitter.pants-0.0.14_dev2-py2.7.egg.262a90f1be8ae6b0de94aa63488ebeecd3ecf9ff/twitter.pants-0.0.14_dev2-py2.7.egg/twitter/pants/python/python_builder.py",
 line 57, in build
    conn_timeout=conn_timeout).run()
  File 
"/home/hudson/.pex/install/twitter.pants-0.0.14_dev2-py2.7.egg.262a90f1be8ae6b0de94aa63488ebeecd3ecf9ff/twitter.pants-0.0.14_dev2-py2.7.egg/twitter/pants/python/binary_builder.py",
 line 56, in run
    env = self.chroot.dump()
  File 
"/home/hudson/.pex/install/twitter.pants-0.0.14_dev2-py2.7.egg.262a90f1be8ae6b0de94aa63488ebeecd3ecf9ff/twitter.pants-0.0.14_dev2-py2.7.egg/twitter/pants/python/python_chroot.py",
 line 196, in dump
    self._dump_distribution(dist)
  File 
"/home/hudson/.pex/install/twitter.pants-0.0.14_dev2-py2.7.egg.262a90f1be8ae6b0de94aa63488ebeecd3ecf9ff/twitter.pants-0.0.14_dev2-py2.7.egg/twitter/pants/python/python_chroot.py",
 line 115, in _dump_distribution
    self._builder.add_distribution(dist)
  File 
"/home/hudson/jenkins-slave/workspace/Aurora/build-support/pants-0.0.14-dev2.pex/.deps/twitter.common.python-0.3.1-py2.7.egg/twitter/common/python/pex_builder.py",
 line 155, in add_distribution
    dist_hash = self._add_zipped_egg(dist.location)
  File 
"/home/hudson/jenkins-slave/workspace/Aurora/build-support/pants-0.0.14-dev2.pex/.deps/twitter.common.python-0.3.1-py2.7.egg/twitter/common/python/pex_builder.py",
 line 142, in _add_zipped_egg
    self._chroot.write(zf.read(name), target)
  File 
"/home/hudson/jenkins-slave/workspace/Aurora/build-support/pants-0.0.14-dev2.pex/.deps/twitter.common.python-0.3.1-py2.7.egg/twitter/common/python/common.py",
 line 315, in write
    self._mkdir_for(dst)
  File 
"/home/hudson/jenkins-slave/workspace/Aurora/build-support/pants-0.0.14-dev2.pex/.deps/twitter.common.python-0.3.1-py2.7.egg/twitter/common/python/common.py",
 line 262, in _mkdir_for
    safe_mkdir(dirname)
  File 
"/home/hudson/jenkins-slave/workspace/Aurora/build-support/pants-0.0.14-dev2.pex/.deps/twitter.common.python-0.3.1-py2.7.egg/twitter/common/python/common.py",
 line 100, in safe_mkdir
    os.makedirs(directory)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 5] Input/output error: 
'/home/hudson/jenkins-slave/workspace/Aurora/dist/thermos_runner0kYObO/.deps/psutil-1.1.2-py2.7-linux-x86_64.egg/PEZ-INFO'


Usage: 
  pants-0.0.14-dev2.pex build (options) [spec] (build args)
  pants-0.0.14-dev2.pex build (options) [spec]... -- (build args)

Options:
  --version             show program's version number and exit
  -h, --help            show this help message and exit
  --no-pantsrc          Specifies that pantsrc files should be ignored.
  --log-exit            Log an exit message on success or failure.
  -t CONN_TIMEOUT, --timeout=CONN_TIMEOUT
                        Number of seconds to wait for http connections.
  -i INTERPRETER, --interpreter=INTERPRETER
                        The interpreter requirement for this chroot.
  -v, --verbose         Show verbose output.

Builds the specified python target(s).
ERROR

==================================== ERRORS ====================================
_ ERROR at setup of TestThermosTaskRunnerIntegration.test_integration_success __

cls = <class 'test_thermos_task_runner.TestThermosTaskRunnerIntegration'>

    @classmethod
    def setup_class(cls):
      cls.LOG_DIR = tempfile.mkdtemp()
      LogOptions.set_log_dir(cls.LOG_DIR)
      LogOptions.set_disk_log_level('DEBUG')
      log.init('executor_logger')
      if not cls.PANTS_BUILT and 'SKIP_PANTS_BUILD' not in os.environ:
>       assert subprocess.call(["./pants",
            "src/main/python/apache/aurora/executor/bin:thermos_runner"]) == 0
E       assert 1 == 0
E        +  where 1 = <function call at 0x1f30f50>(['./pants', 
'src/main/python/apache/aurora/executor/bin:thermos_runner'])
E        +    where <function call at 0x1f30f50> = subprocess.call

src/test/python/apache/aurora/executor/test_thermos_task_runner.py:66: 
AssertionError
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 3.02 seconds ============================
Build operating on targets: 
OrderedSet([PythonTestSuite(src/test/python/BUILD:all)])
src.test.python.apache.aurora.admin.mesos_maintenance                           
.....   SUCCESS
src.test.python.apache.aurora.client.api.disambiguator                          
.....   SUCCESS
src.test.python.apache.aurora.client.api.instance_watcher                       
.....   SUCCESS
src.test.python.apache.aurora.client.api.job_monitor                            
.....   SUCCESS
src.test.python.apache.aurora.client.api.quota_check                            
.....   SUCCESS
src.test.python.apache.aurora.client.api.restarter                              
.....   SUCCESS
src.test.python.apache.aurora.client.api.scheduler_client                       
.....   SUCCESS
src.test.python.apache.aurora.client.api.sla                                    
.....   SUCCESS
src.test.python.apache.aurora.client.api.updater                                
.....   SUCCESS
src.test.python.apache.aurora.client.binding_helper                             
.....   SUCCESS
src.test.python.apache.aurora.client.cli.bridge                                 
.....   SUCCESS
src.test.python.apache.aurora.client.cli.help                                   
.....   SUCCESS
src.test.python.apache.aurora.client.cli.job                                    
.....   SUCCESS
src.test.python.apache.aurora.client.cli.plugins                                
.....   SUCCESS
src.test.python.apache.aurora.client.cli.quota                                  
.....   SUCCESS
src.test.python.apache.aurora.client.cli.sla                                    
.....   SUCCESS
src.test.python.apache.aurora.client.cli.task                                   
.....   SUCCESS
src.test.python.apache.aurora.client.commands.admin                             
.....   SUCCESS
src.test.python.apache.aurora.client.commands.core                              
.....   SUCCESS
src.test.python.apache.aurora.client.commands.run                               
.....   SUCCESS
src.test.python.apache.aurora.client.commands.ssh                               
.....   SUCCESS
src.test.python.apache.aurora.client.config                                     
.....   SUCCESS
src.test.python.apache.aurora.client.hooks.hooked_api                           
.....   SUCCESS
src.test.python.apache.aurora.client.hooks.non_hooked_api                       
.....   SUCCESS
src.test.python.apache.aurora.common.test_aurora_job_key                        
.....   SUCCESS
src.test.python.apache.aurora.common.test_cluster                               
.....   SUCCESS
src.test.python.apache.aurora.common.test_cluster_option                        
.....   SUCCESS
src.test.python.apache.aurora.common.test_clusters                              
.....   SUCCESS
src.test.python.apache.aurora.common.test_http_signaler                         
.....   SUCCESS
src.test.python.apache.aurora.config.test_base                                  
.....   SUCCESS
src.test.python.apache.aurora.config.test_constraint_parsing                    
.....   SUCCESS
src.test.python.apache.aurora.config.test_loader                                
.....   SUCCESS
src.test.python.apache.aurora.config.test_thrift                                
.....   SUCCESS
src.test.python.apache.aurora.executor.executor_detector                        
.....   SUCCESS
src.test.python.apache.aurora.executor.executor_vars                            
.....   SUCCESS
src.test.python.apache.aurora.executor.thermos_task_runner                      
.....   FAILURE
Build step 'Execute shell' marked build as failure

Reply via email to