|
Bugzilla – Full Text Bug Listing |
| Summary: | [Build 93.5] openQA test fails in detect_yast2_failures - [agent-modules] ModulesConf.cc(~ModulesConf):103 Can't write configuration file in destructor. | ||
|---|---|---|---|
| Product: | [openSUSE] PUBLIC SUSE Linux Enterprise Server 15 SP6 | Reporter: | yutao wang <yuwang> |
| Component: | YaST2 | Assignee: | E-mail List <yast2-maintainers> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | SLES 15 | ||
| URL: | https://openqa.suse.de/tests/14611743/modules/detect_yast2_failures/steps/542 | ||
| Whiteboard: | |||
| Found By: | openQA | Services Priority: | |
| Business Priority: | Blocker: | Yes | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | Problem detection logs | ||
|
Description
yutao wang
2024-06-14 09:25:58 UTC
Should we softfail this failure? When I click on that OpenQA link, I see literally HUNDREDS of screenshots (264 AFAICS, 22 rows with 12 each), and not a single line of explanation what the entire test does, or what this step of the test does: https://openqa.suse.de/tests/14611743/modules/detect_yast2_failures/steps/1/src This is counterproductive to the point of absurdity. What is anybody supposed to do with that information (or rather, lack thereof)? I can only guess that this is searching the y2logs for error lines; which is completely pointless since even regular messages are logged with error level <3> (error) on a regular basis, even the complete dracut run (!) (see also bug # 1183694). The YaST cheetah subsystem logs every line that a called process writes to stdout as <3> which completely contaminates the logs with meaningless error messages. Please simply remove this test; it does not add any value, it just creates noise. Even more so if the messages we receive in bugs like this don't even include the filename of an alleged failure. And the attached tarball doesn't even contain y2logs; that one would be the download from https://openqa.suse.de/tests/14611743#downloads (below the section with the ISO and the .qcow2 disk image) y2start.log: >> Stage [call]: ================ >> Stage [call]: Starting YaST... >> Stage [call]: ================ >> |-- Allow big memory allocation: overcommit_memory=1 >> |-- MODULE_NAME: installation >> |-- MODE_FLAGS: >> |-- MODULE_ARGS: --arg initial >> |-- MODE: qt >> |-- UI_ARGS: --noborder --auto-fonts --fullscreen >> |-- QT_IM_MODULE: xim >> Stage [call]: =============== >> Stage [call]: YaST terminated >> Stage [call]: =============== >> |-- Y2_EXIT_CODE: 0 Terminating after installer self-update; restarting for the real installation: >> Stage [call]: ================ >> Stage [call]: Starting YaST... >> Stage [call]: ================ >> |-- Allow big memory allocation: overcommit_memory=1 >> |-- MODULE_NAME: installation >> |-- MODE_FLAGS: >> |-- MODULE_ARGS: --arg initial >> |-- MODE: qt >> |-- UI_ARGS: --noborder --auto-fonts --fullscreen >> |-- QT_IM_MODULE: xim y2log: >> 23:59:29 <1> install(4266) [Ruby] bin/y2start(<main>):22 y2base called with ["installation", "--arg", "initial", ... >> ... >> ... >> 19:59:49 <1> [Interpreter] clients/installation.rb:113 Calling YaST client disintegrate_all_extensions >> 19:59:49 <1> [Ruby] yast/wfm.rb(run_client):341 Call client /mounts/mp_0001/usr/share/YaST2/clients/disintegrate_all_extensions.rb >> 19:59:49 <2> [Ruby] modules/InstExtensionImage.rb(DisintegrateAllExtensions):441 Function is empty, see BNC #376870 >> 19:59:49 <1> [qt-ui] YQUI.cc(uiThreadDestructor):320 Destroying UI thread >> 19:59:49 <1> [qt-rest-api] YQHttpUI.cc(~YQHttpUI):70 Closing down YQHttpUI UI >> 19:59:49 <1> [qt-ui] YQUI.cc(~YQUI):302 Closing down Qt UI. >> 19:59:49 <1> [ui-macro] YCPMacroRecorder.cc(closeMacroFile):120 Macro recording done. >> 19:59:49 <3> [agent-modules] ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/50-yast.conf: No such file or directory >> 19:59:49 <1> [agent-modules] ModulesConf.cc(writeFile):560 Modules not modified, not writing >> 19:59:49 <3> [agent-modules] ModulesConf.cc(getTimeStamp):282 Failed to stat /etc/modprobe.d/50-yast.conf: No such file or directory >> 19:59:49 <3> [agent-modules] ModulesConf.cc(~ModulesConf):103 Can't write configuration file in destructor. Of course it can't write /etc/modprobe/*.conf here since it's still running in the inst-sys with a read-only root filesystem; this is normal and expected. You can't see this message in the restarted YaST instance because the logs are copied over to the target system before those final few lines of its destructor. |