Bug 1205853 - iscsi test scenario openQA test fails in perform_installation
iscsi test scenario openQA test fails in perform_installation
Status: NEW
Classification: openSUSE
Product: PUBLIC SUSE Linux Enterprise Server 15 SP5
Classification: openSUSE
Component: Other
unspecified
Other Other
: P2 - High : Normal
: ---
Assigned To: WEI GAO
https://openqa.suse.de/tests/10048456...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-11-29 13:11 UTC by WEI GAO
Modified: 2023-03-09 07:59 UTC (History)
3 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---
mohd.saquib: needinfo? (wegao)


Attachments
log (790.38 KB, application/x-zip-compressed)
2022-11-29 13:11 UTC, WEI GAO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description WEI GAO 2022-11-29 13:11:35 UTC
Created attachment 863170 [details]
log

## Observation

openQA test in scenario sle-15-SP5-Online-x86_64-iscsi_ibft@coolgw/os-autoinst-distri-opensuse#iscsi@64bit fails in
[perform_installation](https://openqa.suse.de/tests/10048456/modules/perform_installation/steps/2)

## Test suite description
Maintainers: QE Yast

Use remote iscsi target to install system, error happen.

2022-11-29 00:02:12 <1> install(4251) [Ruby] firewalld/api.rb(run_command):199 Executing firewall-offline-cmd with ["--zone=public", "--add-service=ssh"]
2022-11-29 00:02:12 <1> install(4251) [Ruby] lib/cheetah.rb(record_commands):160 Executing "firewall-offline-cmd --zone\=public --add-service\=ssh".
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output: Traceback (most recent call last):
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:   File "/usr/bin/firewall-offline-cmd", line 24, in <module>
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:     from gi.repository import GObject
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:   File "/usr/lib64/python3.6/site-packages/gi/importer.py", line 144, in load_module
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:     importlib.import_module('gi.repository.' + dep.split("-")[0])
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:   File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:     return _bootstrap._gcd_import(name[level:], package, level)
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:   File "/usr/lib64/python3.6/site-packages/gi/importer.py", line 145, in load_module
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:     dynamic_module = load_overrides(introspection_module)
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:   File "/usr/lib64/python3.6/site-packages/gi/overrides/__init__.py", line 118, in load_overrides
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:     override_mod = importlib.import_module(override_package_name)
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:   File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:     return _bootstrap._gcd_import(name[level:], package, level)
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:   File "/usr/lib64/python3.6/site-packages/gi/overrides/GLib.py", line 24, in <module>
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:     import socket
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:   File "/usr/lib64/python3.6/socket.py", line 52, in <module>
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:     import os, sys, io, selectors
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:   File "/usr/lib64/python3.6/selectors.py", line 10, in <module>
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output:     import math
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(log_stream_line):208 Error output: ImportError: /usr/lib64/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so: cannot read file data: Input/output error
2022-11-29 00:02:12 <3> install(4251) [Ruby] lib/cheetah.rb(record_status):180 Status: 1
2022-11-29 00:02:12 <3> install(4251) [Ruby] yast2/execute.rb(rescue in popup_error):235 Execution of command "[["firewall-offline-cmd", "--zone=public", "--add-service=ssh"]]" failed.
Exit code: 1
Error output: Traceback (most recent call last):
  File "/usr/bin/firewall-offline-cmd", line 24, in <module>
    from gi.repository import GObject
  File "/usr/lib64/python3.6/site-packages/gi/importer.py", line 144, in load_module
    importlib.import_module('gi.repository.' + dep.split("-")[0])
  File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib64/python3.6/site-packages/gi/importer.py", line 145, in load_module
    dynamic_module = load_overrides(introspection_module)
  File "/usr/lib64/python3.6/site-packages/gi/overrides/__init__.py", line 118, in load_overrides
    override_mod = importlib.import_module(override_package_name)
  File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/usr/lib64/python3.6/site-packages/gi/overrides/GLib.py", line 24, in <module>
    import socket
  File "/usr/lib64/python3.6/socket.py", line 52, in <module>
    import os, sys, io, selectors
  File "/usr/lib64/python3.6/selectors.py", line 10, in <module>
    import math
ImportError: /usr/lib64/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so: cannot read file data: Input/output error



## Reproducible

Fails since (at least) Build [coolgw/os-autoinst-distri-opensuse#iscsi](https://openqa.suse.de/tests/10041815)


## Expected result

Last good: (unknown) (or more recent)


## Further details

Always latest result in this scenario: [latest](https://openqa.suse.de/tests/latest?arch=x86_64&distri=sle&flavor=Online&machine=64bit&test=iscsi_ibft%40coolgw%2Fos-autoinst-distri-opensuse%23iscsi&version=15-SP5)
Comment 1 Stefan Hundhammer 2022-11-30 11:01:33 UTC
I asked Knut Alejandro Anderssen (@teclator), one of our yast-network experts, on IRC about this, and he answered:

<teclator> HuHa: ... it should be related to some python change 

<teclator> HuHa: so, I guess it should be for the new firewalld maintainer

<teclator> HuHa: ImportError: /usr/lib64/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so: cannot read file data: Input/output error ...




[sh @ balrog] ~ 13 % rpm -qf /usr/lib64/python3.6/lib-dynload/math.cpython-36m-x86_64-linux-gnu.so

python3-base-3.6.15-150300.10.30.1.x86_64


Which I am pretty sure is installed, so I cannot imagine that this might be a case of a missing package.
Comment 2 Stefan Hundhammer 2022-11-30 11:02:34 UTC
osc maintainer -e firewalld

Defined in package: security:netfilter/firewalld 
  bugowner of firewalld : 
   -

  maintainer of firewalld : 
   mrostecki@suse.com, rfrohl@suse.com, gmbr3@opensuse.org

Defined in project:  security:netfilter
  bugowner of firewalld : 
   -

  maintainer of firewalld : 
   ms@suse.com, lnussel@suse.com, jengelh@inai.de, -

Defined in project:  security
  bugowner of firewalld : 
   meissner@suse.com

  maintainer of firewalld : 
   meissner@suse.com, lrupp@suse.com, varkoly@suse.com, crrodriguez@opensuse.org, ahodgkinson@novell.com, pth@suse.com, jjolly@suse.com, duwe@suse.com, werner@suse.com, bitdealer@gmail.com, duane.buss@microfocus.com, jbohac@suse.com, mseben@gmail.com, alexander_naumov@opensuse.org, Greg.Freemyer@gmail.com, vpereira@suse.com, jsegitz@suse.com, -, security-team@suse.de
Comment 3 Stefan Fent 2022-12-07 13:48:58 UTC
Why is this a firewalld-issue? Obviously, there is a python elf shared object file broken. (It is there, but contains garbage.)
Comment 4 Mohd Saquib 2023-02-22 09:11:38 UTC
Hi,
What's the update on this?
Comment 5 Mohd Saquib 2023-03-09 07:59:13 UTC
As Stefan mentioned, this doesn't seem to be a firewalld issue. Also there's been no response/update on the issue, assigning it back to the reporter.