Script and no results

Patrick McAndrew's Avatar

Patrick McAndrew

01 Dec, 2015 03:56 PM

Scripting log shows return exit code 1, execution time 0 seconds and nothing displayed for stdout/stderr

Would expect to see the partial output....

Scalr debug log

2015-12-01 15:43:07,728+00:00 - WARNING - scalarizr.bollard - Task execute(33eb0288788046d5b8900de2e35d89b2) error:
Traceback (most recent call last):
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.12.0-py2.7.egg/scalarizr/bollard.py", line 1098,
 in _serve
    result = self.task(*self.task['args'], **self.task['kwds'])
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/fatmouse_agent-0.1-py2.7.egg/agent/utils/taskutil/base.py",
line 38, in __call__
    return super(AgentTaskMediator, self).__call__(*args, **kwds)
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.12.0-py2.7.egg/scalarizr/bollard.py", line 489,
in __call__
    return func(*args, **kwds)
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/fatmouse_agent-0.1-py2.7.egg/agent/tasks/execute.py", line 1
48, in execute
    return_code = subprocess2.communicate(*args, **kwds)[2]
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/fatmouse_agent-0.1-py2.7.egg/common/utils/subprocess2.py", l
ine 411, in communicate
    out, err = proc.communicate(input=stdin, timeout=timeout)
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/subprocess32.py", line 924, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/subprocess32.py", line 1711, in _communicate
    self.wait(timeout=self._remaining_time(endtime))
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/subprocess32.py", line 1678, in wait
    time.sleep(delay)
  File "/opt/scalarizr/embedded/lib/python2.7/site-packages/scalarizr-3.12.0-py2.7.egg/scalarizr/bollard.py", line 963, in _signal_handler
    raise SoftTimeLimitExceeded()
SoftTimeLimitExceeded

  1. Support Staff 1 Posted by Marat Komarov on 01 Dec, 2015 04:00 PM

    Marat Komarov's Avatar

    It's a script timeout error, which is not properly wrapped. We'll fix this in the nearest update

    Regards,
    Marat

  2. 2 Posted by Patrick McAndre... on 01 Dec, 2015 04:01 PM

    Patrick McAndrew's Avatar

    looks like the softlimit has been changed to 10 minutes? our task execution is set to 2200, so would expect to be able to run the task...

  3. Support Staff 3 Posted by Marat Komarov on 02 Dec, 2015 04:30 PM

    Marat Komarov's Avatar

    We've fixed this issue in 3.12.1 and pushed it into stable update channel.

    Regards,
    Marat

  4. marc closed this discussion on 22 Jul, 2016 08:35 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac