Project

General

Profile

Actions

action #36339

closed

[sle][migration][sle15] test fails in java -- failed by zypper -n in java-*

Added by JWSun almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2018-05-18
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-Installer-DVD-x86_64-extra_tests_textmode_upgrade_sles12sp3@64bit fails in
java

When try to install java package by the command zypper -n in java-*, it will get a hint for agree the license. But for zypper_call zypper command will running under non-interactive mode, it will refuse the terms of license automatically.

Reproducible

Fails since (at least) Build 611.1

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by dehai almost 6 years ago

  • Subject changed from test fails in java -- failed by zypper -n in java-* to [sle][migration][sle15] test fails in java -- failed by zypper -n in java-*
Actions #2

Updated by leli almost 6 years ago

Maybe we should run 'zypper -n in java-*' with '--auto-agree-with-licenses' option.

Actions #3

Updated by leli almost 6 years ago

  • Assignee set to leli
Actions #4

Updated by leli almost 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 30

We should accept the license automatically with '--auto-agree-with-licenses' option and only install java-openjdk packages since java*ibm is not work for javac alternative.

So it should be :

zypper_call("in --auto-agree-with-licenses java--openjdk", timeout => 1400);

Actions #5

Updated by leli almost 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 30 to 100

Verified on build 665.2. Now the case failed for bsc#1096420.

Actions

Also available in: Atom PDF