action #72208
closedcoordination #70390: [qe-core][epic] post-installation tests for transactional role
[qe-core] Schedule java test module to test alternatives on extra_tests_transactional_server
Added by SLindoMansilla almost 4 years ago. Updated over 3 years ago.
0%
Description
Motivation¶
https://jira.suse.com/browse/SLE-9101
Acceptance criteria¶
- AC: Test module
java
is scheduled inextra_tests_transactional_server
Tasks¶
- Schedule test module
java
inextra_tests_transactional_server
- Verify on Tumbleweed, Tumbleweed/JeOS, SLE15-SP3, SLE15-SP2 (https://confluence.suse.com/display/SUSELinuxEnterpriseServer15SP3/%5BSLE+15+SP3%5D+PRD+all-in-one#id-[SLE15SP3]PRDall-in-one-TransactionalUpdates)
- Adapt
java
to usetransactional-update
on transactional server andzypper
otherwise
Updated by SLindoMansilla almost 4 years ago
- Status changed from New to Workable
- Target version set to Milestone 30
- Estimated time set to 42.00 h
Updated by zluo almost 4 years ago
- Status changed from Workable to In Progress
- Assignee set to zluo
take over.
Updated by zluo almost 4 years ago
Updated by SLindoMansilla almost 4 years ago
- Description updated (diff)
zluo wrote:
first try, failed for zypper in
found connection error:
Actually, this is EC=5 ZYPPER_EXIT_ERR_PRIVILEGES User invoking zypper has insufficient privileges for specified operation
I just realized that zypper is not allowed on read-only FS, command transactional-update
need to be used.
New task added.
Updated by zluo almost 4 years ago
okay, will check this for transactional_server.
Updated by szarate almost 4 years ago
- Status changed from In Progress to Workable
Updated by tjyrinki_suse over 3 years ago
- Subject changed from [u] Schedule java test module to test alternatives on extra_tests_transactional_server to [qe-core][functional] Schedule java test module to test alternatives on extra_tests_transactional_server
Updated by tjyrinki_suse over 3 years ago
- Subject changed from [qe-core][functional] Schedule java test module to test alternatives on extra_tests_transactional_server to [qe-core] Schedule java test module to test alternatives on extra_tests_transactional_server
Updated by zluo over 3 years ago
- Difficulty changed from easy to medium
The problem on transactional server: install java and this update works only after a reboot:
http://10.162.23.47/tests/8469#step/java/44
java compiler alternative not found for java-11-openjdk, it looks like a product issue. It requires further investigation.
tested now with current build and it lokks really better:
http://10.162.23.47/tests/8471#step/java/41
still failed because of Read-only file system on transactional server.
Updated by zluo over 3 years ago
- Blocked by action #77716: [qe-core][opensuse] test fails in java because read-only file system on transactional server added
Updated by zluo over 3 years ago
- Status changed from Workable to In Progress
WIP PR at least for now:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/11388
need to think about how to handle the issue of test_java.sh
Updated by SLindoMansilla over 3 years ago
Why do you need to create another ticket? I consider adapting the test for transactional updates part of this ticket.
Updated by zluo over 3 years ago
@SLindoMansilla well, I think this is a different issue, atm the script to run java test can not work on transactional server.
Updated by SLindoMansilla over 3 years ago
zluo wrote:
@SLindoMansilla well, I think this is a different issue, atm the script to run java test can not work on transactional server.
That was expected, since that test was never run against transactional-server, more specifically, it was never run against a Read-Only BTRFS root filesystem.
Updated by zluo over 3 years ago
That was expected, since that test was never run against transactional-server, more specifically, it was never run against a Read-Only BTRFS root filesystem. ?
that was not clear at least to me in grooming session. And it looks "easy" to everyone: just schedule java for transactional server
But we see now that this is not simple as we thought: zpper install doesn't work and reboot is required as well, so now script of test java is not working (which is the last step :))
Updated by zluo over 3 years ago
Updated by zluo over 3 years ago
see feedback for my PR:
https://progress.opensuse.org/issues/77716#note-2
Updated by zluo over 3 years ago
http://10.162.23.47/tests/8525#step/java/35
PR updated for test java on transactional server.
Updated by zluo over 3 years ago
due to feedback from fvoigt, I will expanse the code further for java test itself. skip some java tests on transactional server, no tests which required write permission, skip java/javac/plugin update alternative
so test results should be like:
http://10.162.23.47/tests/8559#step/java/35
Updated by zluo over 3 years ago
- Status changed from In Progress to Feedback
PR updated now, waiting for review and merge.
Updated by dzedro over 3 years ago
Breaking Maintenance tests https://openqa.suse.de/tests/5174235#step/java/20
Updated by zluo over 3 years ago
dzedro wrote:
Breaking Maintenance tests https://openqa.suse.de/tests/5174235#step/java/20
let me check.
Updated by dzedro over 3 years ago
Updated by zluo over 3 years ago
Updated by zluo over 3 years ago
- Blocked by deleted (action #77716: [qe-core][opensuse] test fails in java because read-only file system on transactional server)
Updated by zluo over 3 years ago
- Status changed from Feedback to Resolved