Kevin Sweeney created AURORA-859:
------------------------------------
Summary: "No tasks to kill" message is not surfaced to user in v2
Key: AURORA-859
URL: https://issues.apache.org/jira/browse/AURORA-859
Project: Aurora
Issue Type: Story
Components: Client
Reporter: Kevin Sweeney
{noformat}
vagrant@vagrant-ubuntu-trusty-64:~$ aurora2 job status
devcluster/www-data/test/cron_hello_worldlog(info): Checking status of
devcluster/www-data/test/cron_hello_world
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
Active tasks (0):
Inactive tasks (7):
Task:
cpus: 0.1, ram: 128 MB, disk: 128 MB
events:
2014-10-16 20:20:00 PENDING: None
2014-10-16 20:20:00 ASSIGNED: None
2014-10-16 20:20:01 STARTING: Initializing sandbox.
2014-10-16 20:20:02 RUNNING: None
2014-10-16 20:20:03 FINISHED: Task finished.
Task:
cpus: 0.1, ram: 128 MB, disk: 128 MB
events:
2014-10-16 20:50:00 PENDING: None
2014-10-16 20:50:00 ASSIGNED: None
2014-10-16 20:50:01 STARTING: Initializing sandbox.
2014-10-16 20:50:01 RUNNING: None
2014-10-16 20:50:02 FINISHED: Task finished.
Task:
cpus: 0.1, ram: 128 MB, disk: 128 MB
events:
2014-10-16 20:40:00 PENDING: None
2014-10-16 20:40:00 ASSIGNED: None
2014-10-16 20:40:00 STARTING: Initializing sandbox.
2014-10-16 20:40:01 RUNNING: None
2014-10-16 20:40:02 FINISHED: Task finished.
Task:
cpus: 0.1, ram: 128 MB, disk: 128 MB
events:
2014-10-16 20:25:00 PENDING: None
2014-10-16 20:25:00 ASSIGNED: None
2014-10-16 20:25:00 STARTING: Initializing sandbox.
2014-10-16 20:25:01 RUNNING: None
2014-10-16 20:25:02 FINISHED: Task finished.
Task:
cpus: 0.1, ram: 128 MB, disk: 128 MB
events:
2014-10-16 20:30:00 PENDING: None
2014-10-16 20:30:00 ASSIGNED: None
2014-10-16 20:30:01 STARTING: Initializing sandbox.
2014-10-16 20:30:01 RUNNING: None
2014-10-16 20:30:02 FINISHED: Task finished.
Task:
cpus: 0.1, ram: 128 MB, disk: 128 MB
events:
2014-10-16 20:35:00 PENDING: None
2014-10-16 20:35:00 ASSIGNED: None
2014-10-16 20:35:01 STARTING: Initializing sandbox.
2014-10-16 20:35:01 RUNNING: None
2014-10-16 20:35:03 FINISHED: Task finished.
Task:
cpus: 0.1, ram: 128 MB, disk: 128 MB
events:
2014-10-16 20:45:00 PENDING: None
2014-10-16 20:45:00 ASSIGNED: None
2014-10-16 20:45:01 STARTING: Initializing sandbox.
2014-10-16 20:45:01 RUNNING: None
2014-10-16 20:45:02 FINISHED: Task finished.
log(info): Command terminated successfully
vagrant@vagrant-ubuntu-trusty-64:~$ aurora2 job killall
devcluster/www-data/test/cron_hello_world
log(info): Checking status of devcluster/www-data/test/cron_hello_world
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
log(info): Killing tasks for job: devcluster/www-data/test/cron_hello_world
log(info): Instances to be killed: [0]
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
log(info): Message from scheduler: No tasks to kill.
log(info): Starting new HTTP connection (1): vagrant-ubuntu-trusty-64
Successfully killed shards [0]
job killall succeeded
log(info): Command terminated successfully
vagrant@vagrant-ubuntu-trusty-64:~$ echo $?
0
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)