afm-util stop not implemented

Description

afm-util stop $ID   does  return "not implemented".

Can we fix this ?

 

E.g.
https://lava.automotivelinux.org/scheduler/job/2529#L1889

where we execute and test a simple app install workflow

 

https://github.com/montjoie/lava-tests/blob/agl/agl.sh#L169

 

Expected outcome: kill mediaplayer process/

Environment

qemux86-64

Activity

Walt Miner 
June 25, 2019 at 3:52 PM

Closed for HH RC1

Jan-Simon Moeller 
March 6, 2019 at 11:24 AM

Better hide it for now in the help. Might revisit. Confuses users. Tnx.

jose bollo 
March 6, 2019 at 9:14 AM

To kill the process the command is afm-util kill ID/PID or afm-util terminate ID/PID.

The intent of stop was to send a SIGSTOP meaning pause/resume. Pause/resume was a feature at the beginning but is now probably deprecated for 2 reasons:

  • there is a confusion between pause/stop and kill/terminate

  • the use of pause/resume is doesn't solves all the questions related to the life cycle of processes.

Question: should I remove stop/pause & continue/resume from afm-util?

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Affects versions

Priority

Created March 6, 2019 at 2:45 AM
Updated September 19, 2019 at 12:06 PM
Resolved June 20, 2019 at 9:00 AM

Flag notifications