Bug 1221948

Summary: [Build 20240325] openSUSE-build-key: failed to disable service
Product: [openSUSE] openSUSE Tumbleweed Reporter: Dominique Leuenberger <dimstar>
Component: BasesystemAssignee: Marcus Meissner <meissner>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: guillaume.gardet
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://openqa.opensuse.org/tests/4040660/modules/force_scheduled_tasks/steps/10
Whiteboard:
Found By: openQA Services Priority:
Business Priority: Blocker: Yes
Marketing QA Status: --- IT Deployment: ---

Description Dominique Leuenberger 2024-03-26 08:22:15 UTC
## Observation


The issue comes from the script started by the service itself:

# if we have finished import, disable and stop the timer.
if [ ! -f $triggerfile -a -x /usr/bin/systemctl ] ; then
	systemctl stop suse-build-key-import.timer
	systemctl disable suse-build-key-import.timer
fi

Issue here is that the service is called openSUSE-build-key-import.service


openQA test in scenario opensuse-Tumbleweed-NET-x86_64-zdup_tw2twnext_gnome@64bit-3G fails in
[force_scheduled_tasks](https://openqa.opensuse.org/tests/4040660/modules/force_scheduled_tasks/steps/10)

## Test suite description
EXCLUDE_MODULES=opensuse_welcome added as it is required for non TW zdup


## Reproducible

Fails since (at least) Build [20240325](https://openqa.opensuse.org/tests/4039781)


## Expected result

Last good: [20240322](https://openqa.opensuse.org/tests/4034125) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=NET&machine=64bit-3G&test=zdup_tw2twnext_gnome&version=Tumbleweed)
Comment 1 Dominique Leuenberger 2024-03-26 08:30:23 UTC
home:dimstar:Factory/openSUSE-build-key> osc rq list
1161651  State:new        By:dimstar      When:2024-03-26T08:30:05
        Created by: dimstar
        submit:          home:dimstar:Factory/openSUSE-build-key@2 ->       Base:System
        Descr: - Fix import-openSUSE-build-key:set proper timer name to try to
               stop (openSUSE-build-key-import.timer, not   suse-build-key-
               import.timer) (boo#1221948).
Comment 2 OBSbugzilla Bot 2024-03-26 11:35:03 UTC
This is an autogenerated message for OBS integration:
This bug (1221948) was mentioned in
https://build.opensuse.org/request/show/1161679 Factory / openSUSE-build-key