action #58871
[spvm][kernel][functional] Shutdown check not implemented for spvm backend
Status:
Resolved
Priority:
High
Assignee:
Category:
Spike/Research
Target version:
QE Kernel - QE Kernel Done
Start date:
2019-10-30
Due date:
% Done:
0%
Estimated time:
Difficulty:
medium
Description
spvm doesn't fully support poweroff
action.
When is called power_action('poweroff')
it will fail on assert_shutdown($args->{timeout} - $args->{soft_timeout})
.
Example:
http://10.100.12.105/tests/3383#step/shutdown_ltp/39
It is using backend function is_shutdown
with placebo effect:
https://github.com/os-autoinst/os-autoinst/blob/447dab862096c5fb871fe06f61c3e5249ec0d5c1/backend/spvm.pm#L90
sub is_shutdown { my ($self) = @_; # TODO return 0; }
Implement backend state check:
padmin@vugava:~$ pvmctl lpar list -i id=3 Logical Partitions +----------+----+---------+----------+-----------+---------------+--------+-----+-----+ | Name | ID | State | RMC | Env | Ref Code | Mem | CPU | Ent | +----------+----+---------+----------+-----------+---------------+--------+-----+-----+ | vugava-1 | 3 | running | inactive | AIX/Linux | Linux ppc64le | 125952 | 1 | | +----------+----+---------+----------+-----------+---------------+--------+-----+-----+ padmin@vugava:~$ pvmctl lpar list -i id=3 Logical Partitions +----------+----+---------------+----------+-----------+----------+--------+-----+-----+ | Name | ID | State | RMC | Env | Ref Code | Mem | CPU | Ent | +----------+----+---------------+----------+-----------+----------+--------+-----+-----+ | vugava-1 | 3 | not activated | inactive | AIX/Linux | 00000000 | 125952 | 1 | | +----------+----+---------------+----------+-----------+----------+--------+-----+-----+
Expected result:
It is possible to shutdown and check lpar state.
History
#1
Updated by pcervinka over 3 years ago
- Project changed from SUSE QA to openQA Tests
- Category set to Spike/Research
- Difficulty set to medium
#4
Updated by pcervinka over 3 years ago
- Description updated (diff)
#5
Updated by pcervinka over 3 years ago
- Status changed from New to In Progress
- Priority changed from Normal to High
- Target version changed from 454 to 445
#6
Updated by pcervinka over 3 years ago
#8
Updated by jlausuch over 3 years ago
- Status changed from New to Resolved
#9
Updated by jlausuch over 3 years ago
- Target version changed from 445 to 457
#10
Updated by pcervinka over 2 years ago
- Target version changed from 457 to QE Kernel Done