Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-939

Executor crashes when it receives an invalid task config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • Executor
    • None
    • Twitter Aurora Q4 Sprint 4, Twitter Aurora Q4 Sprint 5

    Description

      Stacktrace:

      Uncaught exception:
      Traceback (most recent call last):
        File "/root/.pex/install/twitter.common.exceptions-0.3.0-py2.7.egg.cf67f7016992e92b38deaf83dac4bb90d8677050/twitter.common.exceptions-0.3.0-py2.7.egg/twitter/common/exceptions/__init__.py", line 126, in _excepting_run
          self.__real_run(*args, **kw)
        File "/root/.pex/install/twitter.common.concurrent-0.3.0-py2.7.egg.1f2389f41eaa34088db63ee54687f5429b09403c/twitter.common.concurrent-0.3.0-py2.7.egg/twitter/common/concurrent/deferred.py", line 43, in run
          self._closure()
        File "/root/.pex/install/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg.eeaf32f22c2835b79901cfa268aed2775d327177/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg/apache/aurora/executor/aurora_executor.py", line 262, in 
          defer(lambda: self._run(driver, assigned_task))
        File "/root/.pex/install/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg.eeaf32f22c2835b79901cfa268aed2775d327177/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg/apache/aurora/executor/aurora_executor.py", line 100, in _run
          if not self._initialize_sandbox(driver, assigned_task):
        File "/root/.pex/install/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg.eeaf32f22c2835b79901cfa268aed2775d327177/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg/apache/aurora/executor/aurora_executor.py", line 128, in _initialize_sandbox
          self._sandbox = self._sandbox_provider.from_assigned_task(assigned_task)
        File "/var/lib/mesos/slaves/20141110-182528-1715086346-5050-57898-529/frameworks/201104070004-0000002563-0000/executors/thermos-1416416412289-mst-devel-xfactor-model-3-ba927208-f5a4-4dd1-9d6c-82bdd742a524/runs/0985cabb-5cb8-4ef0-8920-ba3c151ceb2b/thermos_executor/twitter/aurora/executor/bin_internal/thermos_executor_main.py", line 36, in from_assigned_task
        File "/root/.pex/install/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg.eeaf32f22c2835b79901cfa268aed2775d327177/apache.aurora.executor-0.6.1_DEV1415152524-py2.7.egg/apache/aurora/executor/common/task_info.py", line 88, in mesos_task_instance_from_assigned_task
          raise ValueError('Unexpected unbound refs: %s' % ' '.join(map(str, refs)))
      ValueError: Unexpected unbound refs: {{dateRanges[3][1]}} {{thermos.ports[http]}} {{dateRanges[3][0]}}
      

      This should instead cause a TASK_FAILED with a helpful version of this message.

      Attachments

        Activity

          People

            zmanji Zameer Manji
            kevints Kevin Sweeney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: