#9830 Nightly test failure (rawhide) in test_integration/test_idp.py::TestIDPKeycloak::test_auth_keycloak_idp
Closed: fixed by frenaud. Opened by frenaud.

Issue

The nightly test test_integration/test_idp.py::TestIDPKeycloak::test_auth_keycloak_idp is failing in rawhide in the step installing the maven package.

Steps to Reproduce

  1. dnf update -y
  2. dnf install -y java-21-openjdk-headless
  3. dnf install -y maven

Actual behavior

The installation fails in the %post scriptlet

>>> Running %post scriptlet: maven-1:3.9.11-1.fc43.noarch                       
>>> Non-critical error in %post scriptlet: maven-1:3.9.11-1.fc43.noarch         
>>> Scriptlet output:                                                           
>>> alternatives version 1.33 - Copyright (C) 2001 Red Hat, Inc.                
>>> This may be freely redistributed under the terms of the GNU Public License. 
>>>                                                                             
>>> usage: alternatives --install <link> <name> <path> <priority>               
>>>                     [--initscript <service>]                                
>>>                     [--family <family>]                                     
>>>                     [--follower <follower_link> <follower_name> <follower_pa
>>>        alternatives --remove <name> <path>                                  
>>>        alternatives --auto <name>                                           
>>>        alternatives --config <name>                                         
>>>        alternatives --display <name>                                        
>>>        alternatives --set <name> <path/family>                              
>>>        alternatives --list                                                  
>>>        alternatives --remove-all <name>                                     
>>>        alternatives --add-follower <name> <path> <follower_link> <follower_n
>>>        alternatives --remove-follower <name> <path> <follower_name>         
>>>                                                                             
>>> common options: --verbose --test --help --usage --version --keep-missing --k
>>>                 --altdir <directory> --admindir <directory>                 
>>>                                                                             
>>> [RPM] %post(maven-1:3.9.11-1.fc43.noarch) scriptlet failed, exit status 2   

The issue has been reported against maven in rawhide in https://bugzilla.redhat.com/show_bug.cgi?id=2382363.
It seems linked to a bash update and the use of multiline command in the scriptlet.


Closing, https://bugzilla.redhat.com/show_bug.cgi?id=2382210 has been fixed

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

Metadata