[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qemu.py: Call logging.basicConfig() automatical
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] qemu.py: Call logging.basicConfig() automatically |
Date: |
Fri, 22 Sep 2017 11:40:07 +0200 |
User-agent: |
Mutt/1.9.0 (2017-09-02) |
Am 22.09.2017 um 10:37 hat Lukáš Doktor geschrieben:
> But we should focus on fixing all the entry points (either initialize
> from all of them, or force-create the root logger based on the
> entry-point requirements). Kevin, could you please share the exact
> reproducer? I used a custom file importing QEMUMachine() with a some
> added LOG calls.
I was running qemu-iotests 030 on a development branch that had a bug
that made qemu segfault. This should result in a logged 'qemu received
signal 6' message, but only prints the logging error now. The same kind
of problem affects all Python-based tests in the tree, git grep didn't
find any that initialise the logger manually.
In order to reproduce, you can fake such a crash by inserting an HMP
command like 'qemu-io ide0-hd0 abort' somewhere in a Python-based test.
Kevin
signature.asc
Description: PGP signature