Project

General

Profile

Actions

action #40688

closed

[sle][functiona][y] test fails in system_prepare - pkcon runs in the background

Added by mloviska over 5 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2018-09-06
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP1-Installer-DVD-aarch64-lvm@aarch64 fails in
system_prepare

2018-08-31 08:38:21 <1> linux-1gks(3096) [zypp] ZYppFactory.cc(_openLockFile):168 Open lockfile /var/run/zypp.pid
2018-08-31 08:38:21 <1> linux-1gks(3096) [zypp] ZYppFactory.cc(readLockFile):223 read: Lockfile /var/run/zypp.pid has pid 3062 (our pid: 3096) 
2018-08-31 08:38:21 <1> linux-1gks(3096) [zypp] ZYppFactory.cc(isProcessRunning):195 Checking /proc/3062{d 0555 0/0}
2018-08-31 08:38:21 <1> linux-1gks(3096) [zypp++] ZYppFactory.cc(isProcessRunning):209 Is running: /usr/lib/packagekitd
2018-08-31 08:38:21 <2> linux-1gks(3096) [zypp] ZYppFactory.cc(zyppLocked):270 3062 is running and has a ZYpp lock. Sorry.
2018-08-31 08:38:21 <1> linux-1gks(3096) [zypp] ZYppFactory.cc(_closeLockFile):186 Close lockfile /var/run/zypp.pid
2018-08-31 08:38:21 <5> linux-1gks(3096) [zypp] Exception.cc(log):166 ZYppFactory.cc(getZYpp):404 THROW:    System management is locked by the application with pid 3062 (/usr/lib/packagekitd).
2018-08-31 08:38:21 <5> linux-1gks(3096) [zypp] Exception.cc(log):166 Close this application before trying again.
2018-08-31 08:38:21 <5> linux-1gks(3096) [zypp] Exception.cc(log):166 Zypper.cc(assertZYppPtrGod):251 CAUGHT:   System management is locked by the application with pid 3062 (/usr/lib/packagekitd).
2018-08-31 08:38:21 <5> linux-1gks(3096) [zypp] Exception.cc(log):166 Close this application before trying again.

PackageKit can be started outside of systemd unless it is masked.

dhcp85:~ # systemctl stop packagekit
dhcp85:~ # systemctl is-active packagekit
inactive
dhcp85:~ # pkcon install apache2
Resolving                     [=========================]         
Querying                      [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be installed:
 apache2-2.4.33-3.3.1.x86_64    The Apache Web Server Version 2.4
 apache2-prefork-2.4.33-3.3.1.x86_64    Apache 2 "prefork" MPM (Multi-Processing Module)
 apache2-utils-2.4.33-3.3.1.x86_64  Apache 2 utilities
 system-user-wwwrun-20170617-4.155.noarch   System user wwwrun and group www
Proceed with changes? [N/y] N

The transaction did not proceed.
                              [=========================]         
Fatal error: user declined simulation
dhcp85:~ # systemctl is-active packagekit
active

dhcp85:~ # systemctl stop packagekit
dhcp85:~ # systemctl is-active packagekit
inactive
dhcp85:~ # systemctl mask packagekit
Created symlink /etc/systemd/system/packagekit.service → /dev/null.
dhcp85:~ # pkcon install apache2
Failed to contact PackageKit: Error calling StartServiceByName for org.freedesktop.PackageKit: GDBus.Error:org.freedesktop.systemd1.UnitMasked: Unit packagekit.service is masked.

Reproducible

Fails since (at least) Build 28.1 (current job)

Expected result

Last good: 25.4 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by riafarov about 5 years ago

  • Status changed from New to Rejected
  • Assignee set to riafarov

This issues were addressed for other cases, did occur again, so let's reject and try to work ASAP next time it happens.

Actions

Also available in: Atom PDF