Bug ID 1043389
Summary [Build 0271] openQA test fails in kdump yast module with "core dumped" when finishing
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.3
Hardware Other
URL http://openqa.opensuse.org/tests/416794/modules/kdump_and_crash/steps/18
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component YaST2
Assignee yast2-maintainers@suse.de
Reporter okurz@suse.com
QA Contact jsrain@suse.com
Found By ---
Blocker ---

## Observation

openQA test in scenario opensuse-42.3-DVD-x86_64-extra_tests_in_textmode@64bit
fails in
[kdump_and_crash](http://openqa.opensuse.org/tests/416794/modules/kdump_and_crash/steps/18)
with "/sbin/yast2 ��� Aborted ��� (core dumped) $ybindir/y2start���"

ylog says:

```
2017-06-08 01:11:05 <3> susetest(13559) [bash] ShellCommand.cc(shellcommand):78
Created symlink from /etc/systemd/system/multi-user.target.wants/kdump.service
to /usr/lib/systemd/system/kdump.service.
2017-06-08 01:11:05 <1> susetest(13559) [Ruby] yast2/systemd_unit.rb:122
`systemctl show kdump.service  --property=Id  --property=MainPID 
--property=Description  --property=LoadState  --property=ActiveState 
--property=SubState  --property=UnitFileState  --property=FragmentPath `
2017-06-08 01:11:05 <1> susetest(13559) [ui] YPushButton.cc(setFunctionKey):202
Guessing button role YOKButton for YPushButton "OK" at 0x382e070 from function
key F10
2017-06-08 01:11:07 <1> susetest(13559) [Ruby] clients/kdump.rb:401 Kdump
module finished
2017-06-08 01:11:07 <1> susetest(13559) [Ruby] clients/kdump.rb:402
----------------------------------------
2017-06-08 01:11:07 <1> susetest(13559) [Interpreter] bin/y2start:56 Called
YaST client returned.
2017-06-08 01:11:07 <1> susetest(13559) [ncurses]
YNCursesUI.cc(~YNCursesUI):113 Stop YNCursesUI
2017-06-08 01:11:07 <1> susetest(13559) [ncurses] NCurses.cc(~NCurses):145
Shutdown NCurses...
2017-06-08 01:11:07 <1> susetest(13559) [ncurses] NCurses.cc(~NCurses):164
NCurses down
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 Error: signal 11
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [hd]: (-3) /usr/lib64/libzypp.so.1600 :
zypp::dumpBacktrace(std::ostream&)+0x26 [0x7fc5caa8a966]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [hd]: (-2) /usr/lib64/libzypp.so.1600 :
+0x336e4e [0x7fc5caa44e4e]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [hd]: (-1) /lib64/libc.so.6 : +0x34950
[0x7fc5d4729950]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53
vvvvvvvvvv----------------------------------------
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (0) /usr/lib64/libruby2.1.so.2.1 :
+0x8b7c2 [0x7fc5d4b237c2]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (1) /usr/lib64/libxml2.so.2 :
xmlCleanupCharEncodingHandlers+0x80 [0x7fc5cd1723d0]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (2) /usr/lib64/libxml2.so.2 :
xmlCleanupParser+0x19 [0x7fc5cd1921c9]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (3)
/usr/lib64/YaST2/plugin/libpy2ag_xml.so.2 : XmlAgent::~XmlAgent()+0x17
[0x7fc5c55e18e7]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (4)
/usr/lib64/YaST2/plugin/libpy2ag_xml.so.2 : XmlAgent::~XmlAgent()+0x9
[0x7fc5c55e1919]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (5)
/usr/lib64/YaST2/plugin/libpy2ag_xml.so.2 :
Y2AgentComp<XmlAgent>::~Y2AgentComp()+0x21 [0x7fc5c55eefe1]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (6)
/usr/lib64/YaST2/plugin/libpy2ag_xml.so.2 :
Y2AgentComp<XmlAgent>::~Y2AgentComp()+0x9 [0x7fc5c55eeff9]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (7)
/usr/lib64/YaST2/plugin/libpy2ag_xml.so.2 : Y2CCAgentComp<Y2AgentComp<XmlAgent>
>::~Y2CCAgentComp()+0x36 [0x7fc5c55eef66]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (8) /lib64/libc.so.6 : +0x37139
[0x7fc5d472c139]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (9) /lib64/libc.so.6 : +0x37185
[0x7fc5d472c185]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (10) /lib64/libc.so.6 :
__libc_start_main+0xfc [0x7fc5d47156ec]
2017-06-08 01:11:07 <5> susetest(13559) [zypp]
ZYppFactory.cc(sigsegvHandler):53 [bt]: (11) /usr/bin/ruby : _start+0x29
[0x400929]
```

Looks like everything is fine but then it still crashes.


## Reproducible

Fails since Build [0253](https://openqa.opensuse.org/tests/408418) reproducibly
except for one build in between where it passed:
https://openqa.opensuse.org/tests/413394


## Expected result

Last good Build [0251](https://openqa.opensuse.org/tests/407594)
The corresponding Tumbleweed test looks fine:
https://openqa.opensuse.org/tests/416881#step/kdump_and_crash/17
Same for the most recent SLES build:
https://openqa.suse.de/tests/987118#step/kdump_and_crash/17


## Further details

Always latest result in this scenario:
[latest](http://openqa.opensuse.org/tests/latest?version=42.3&arch=x86_64&machine=64bit&test=extra_tests_in_textmode&flavor=DVD&distri=opensuse)


You are receiving this mail because: