Re: Testing / feedback request: DNF 3 crashes

2018-10-11 Thread Adam Williamson
On Fri, 2018-10-12 at 09:17 +1000, Peter Hutterer wrote:
> On Tue, Sep 11, 2018 at 12:26:09PM -0700, Adam Williamson wrote:
> > Hi folks!
> > 
> > Around the time DNF 3 landed in Rawhide (hence F29), we had quite a few
> > folks on these lists reporting issues, including crasher bugs. Many of
> > these seemed somehow related to the DNF history database. They also
> > were not easy to isolate and fix.
> > 
> > We're now close to the F29 Beta release, but we don't have a great
> > sense of how many people are still having these problems with DNF 3.2
> > or 3.3.
> > 
> > Can anyone who is still struggling with DNF crashes on *basic*
> > operations on F29 or Rawhide please reply, and provide a few details on
> > what you're seeing and any workarounds or fixes you've found?
> > 
> > Thanks a lot!
> 
> fwiw, I just ran into https://bugzilla.redhat.com/show_bug.cgi?id=1632177
> after a dnf system-upgrade and it crashed at least the dnf
> history/update/remove commands (whenever it started dependency resolution):
> 
> Completion plugin: Generating completion cache...
> --> Starting dependency resolution
> zsh: segmentation fault  sudo dnf update --debuglevel 10
> 
> moving /var/lib/dnf out of the way fixed it but that's a less than polished
> experience nonetheless ;)

Thanks for the note, it seems 3.6 / 0.20 did not fix all these problems
:/ I have nominated that bug as a Final blocker.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org


Re: Testing / feedback request: DNF 3 crashes

2018-09-14 Thread Alessio Ciregia
On Tue, Sep 11, 2018 at 9:26 PM Adam Williamson
 wrote:
> Can anyone who is still struggling with DNF crashes on *basic*
> operations on F29 or Rawhide please reply, and provide a few details on
> what you're seeing and any workarounds or fixes you've found?


FWIW, I never hit such problem.
The only way to get in troubles consists in hammering the history.sqlite file:
echo 1 > /var/lib/dnf/history.sqlite

Now almost all dnf operations fails (except dnf search):

dnf update
...
RuntimeError: C++ std::exception: Exec failed: file is not a database

And in the journal:
Sep 14 10:20:11 hostname python3[8830]: detected unhandled Python
exception in '/usr/bin/dnf'
Sep 14 10:20:11 hostname abrt-notification[8856]: Process 8830 (dnf)
of user 0 encountered an uncaught RuntimeError exception
-- Subject: ABRT has detected an uncaught RuntimeError exception in dnf
...

Deleting the "corrupted" history.sqlite, it restores the normal situation.

Ciao,
A.
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org


Re: Testing / feedback request: DNF 3 crashes

2018-09-12 Thread Adam Williamson
On Wed, 2018-09-12 at 16:33 +, Zbigniew Jędrzejewski-Szmek wrote:
> On Wed, Sep 12, 2018 at 09:16:54AM -0700, Adam Williamson wrote:
> > On Wed, 2018-09-12 at 06:27 +, Zbigniew Jędrzejewski-Szmek wrote:
> > > On Tue, Sep 11, 2018 at 12:26:09PM -0700, Adam Williamson wrote:
> > > > Hi folks!
> > > > 
> > > > Around the time DNF 3 landed in Rawhide (hence F29), we had quite a few
> > > > folks on these lists reporting issues, including crasher bugs. Many of
> > > > these seemed somehow related to the DNF history database. They also
> > > > were not easy to isolate and fix.
> > > > 
> > > > We're now close to the F29 Beta release, but we don't have a great
> > > > sense of how many people are still having these problems with DNF 3.2
> > > > or 3.3.
> > > > 
> > > > Can anyone who is still struggling with DNF crashes on *basic*
> > > > operations on F29 or Rawhide please reply, and provide a few details on
> > > > what you're seeing and any workarounds or fixes you've found?
> > > 
> > > I filed https://bugzilla.redhat.com/show_bug.cgi?id=1627694 yesterday.
> > > The gist is that dnf stopped having locking around the rpm operation,
> > > so it'll fail if two operations are invoked concurrently. Before it'd
> > > very nicely do the downloads in parallel and then run the actual 
> > > installations
> > > sequentially. I think this is a huge regression in usability.
> > 
> > Thanks. Doesn't really look like a Beta blocker, though.
> 
> It doesn't. I don't even think it'd be a Final blocker. Just unpleasant.
> 
> > > I also saw some "TransactionItem not found" messages, but this has already
> > > been reported extensively.
> > 
> > On what operation? We have:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1625259
> > for encountering them on downgrade or 'history undo' type operations.
> > If you hit one on upgrade or install, that'd be worse.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1627534
> 
> I marked it as duplicate, to avoid noise. Mikhail reported it during 'history 
> undo',
> but I saw during 'dnf upgrade'.

That seems significantly worse to me. I'm going to propose the bug as a
blocker and request input from dnf team. Thanks.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org


Re: Testing / feedback request: DNF 3 crashes

2018-09-12 Thread Adam Williamson
On Wed, 2018-09-12 at 06:27 +, Zbigniew Jędrzejewski-Szmek wrote:
> On Tue, Sep 11, 2018 at 12:26:09PM -0700, Adam Williamson wrote:
> > Hi folks!
> > 
> > Around the time DNF 3 landed in Rawhide (hence F29), we had quite a few
> > folks on these lists reporting issues, including crasher bugs. Many of
> > these seemed somehow related to the DNF history database. They also
> > were not easy to isolate and fix.
> > 
> > We're now close to the F29 Beta release, but we don't have a great
> > sense of how many people are still having these problems with DNF 3.2
> > or 3.3.
> > 
> > Can anyone who is still struggling with DNF crashes on *basic*
> > operations on F29 or Rawhide please reply, and provide a few details on
> > what you're seeing and any workarounds or fixes you've found?
> 
> I filed https://bugzilla.redhat.com/show_bug.cgi?id=1627694 yesterday.
> The gist is that dnf stopped having locking around the rpm operation,
> so it'll fail if two operations are invoked concurrently. Before it'd
> very nicely do the downloads in parallel and then run the actual installations
> sequentially. I think this is a huge regression in usability.

Thanks. Doesn't really look like a Beta blocker, though.

> I also saw some "TransactionItem not found" messages, but this has already
> been reported extensively.

On what operation? We have:
https://bugzilla.redhat.com/show_bug.cgi?id=1625259
for encountering them on downgrade or 'history undo' type operations.
If you hit one on upgrade or install, that'd be worse.

Thanks!
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org


Re: Testing / feedback request: DNF 3 crashes

2018-09-11 Thread Adam Williamson
On Tue, 2018-09-11 at 14:12 -0600, Michal Jaegermann wrote:
> On Tue, Sep 11, 2018 at 12:26:09PM -0700, Adam Williamson wrote:
> > We're now close to the F29 Beta release, but we don't have a great
> > sense of how many people are still having these problems with DNF 3.2
> > or 3.3.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1625446
> 
> Core dumps consistently on any variant of 'dnf update ...' commands.
> This is on a rawhide with dnf-3.3.0-2.fc29 and dnf-3.2.0-2.fc29
> but I believe that the same versions of dnf are slated for F29.
> 
> > Can anyone who is still struggling with DNF crashes on *basic*
> > operations on F29 or Rawhide please reply, and provide a few details on
> > what you're seeing and any workarounds or fixes you've found?
> 
> No workarounds so far.  At least some other dnf commands like
> 'dnf list' or 'dnf list available' work.
> 
> Should I drop the whole dnf history?  I did not try that yet.  I can
> provide a coredump file but they are quite sizeable (226M for an lz4
> file produced in /var/lib/systemd/coredump/).  The only reaction on my
> bug report so far is a "Triaged" annotation which showed up yesterday.

You should be able to get a backtrace from 'coredumpctl debug (pid)' if
you install enough debuginfo packages.

The 'Triaged' came from dmach, dnf lead, so that's significant. I'll
try and find out from him if it means he knows what's going on there.

You could try moving the history file out of the way to see if that
cures the problem, but please don't delete it - we may need a copy of
it in the end.

Thanks for the feedback.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org


Re: Testing / feedback request: DNF 3 crashes

2018-09-11 Thread Michal Jaegermann
On Tue, Sep 11, 2018 at 12:26:09PM -0700, Adam Williamson wrote:
> 
> We're now close to the F29 Beta release, but we don't have a great
> sense of how many people are still having these problems with DNF 3.2
> or 3.3.

https://bugzilla.redhat.com/show_bug.cgi?id=1625446

Core dumps consistently on any variant of 'dnf update ...' commands.
This is on a rawhide with dnf-3.3.0-2.fc29 and dnf-3.2.0-2.fc29
but I believe that the same versions of dnf are slated for F29.

> Can anyone who is still struggling with DNF crashes on *basic*
> operations on F29 or Rawhide please reply, and provide a few details on
> what you're seeing and any workarounds or fixes you've found?

No workarounds so far.  At least some other dnf commands like
'dnf list' or 'dnf list available' work.

Should I drop the whole dnf history?  I did not try that yet.  I can
provide a coredump file but they are quite sizeable (226M for an lz4
file produced in /var/lib/systemd/coredump/).  The only reaction on my
bug report so far is a "Triaged" annotation which showed up yesterday.

   Michal
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org


Testing / feedback request: DNF 3 crashes

2018-09-11 Thread Adam Williamson
Hi folks!

Around the time DNF 3 landed in Rawhide (hence F29), we had quite a few
folks on these lists reporting issues, including crasher bugs. Many of
these seemed somehow related to the DNF history database. They also
were not easy to isolate and fix.

We're now close to the F29 Beta release, but we don't have a great
sense of how many people are still having these problems with DNF 3.2
or 3.3.

Can anyone who is still struggling with DNF crashes on *basic*
operations on F29 or Rawhide please reply, and provide a few details on
what you're seeing and any workarounds or fixes you've found?

Thanks a lot!
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net
___
test mailing list -- test@lists.fedoraproject.org
To unsubscribe send an email to test-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org