Actions
action #58871
closed[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.
Updated by pcervinka about 5 years ago
- Project changed from 46 to openQA Tests
- Category set to Spike/Research
- Difficulty set to medium
Updated by pcervinka about 5 years ago
- Status changed from New to In Progress
- Priority changed from Normal to High
- Target version changed from 454 to 445
Updated by pcervinka about 5 years ago
Updated by pcervinka about 4 years ago
- Target version changed from 457 to QE Kernel Done
Actions