From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gD7Z7-0003xp-Ur for qemu-devel@nongnu.org; Thu, 18 Oct 2018 08:38:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gD7Z3-0001S0-UY for qemu-devel@nongnu.org; Thu, 18 Oct 2018 08:38:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44962) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gD7Z3-0001RJ-1t for qemu-devel@nongnu.org; Thu, 18 Oct 2018 08:38:09 -0400 References: <20181011192513.63634-1-dgilbert@redhat.com> <20181011192513.63634-3-dgilbert@redhat.com> <20181017192826.GA7385@flamenco> From: Thomas Huth Message-ID: <286c9ba0-05d9-02ec-7f59-34b34a66be2c@redhat.com> Date: Thu, 18 Oct 2018 14:38:01 +0200 MIME-Version: 1.0 In-Reply-To: <20181017192826.GA7385@flamenco> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PULL 2/7] tests/migration: Enable the migration test on s390x, too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" , "Dr. David Alan Gilbert (git)" Cc: qemu-devel@nongnu.org, quintela@redhat.com, wei@redhat.com, i.maximets@samsung.com, den@openvz.org, Peter Maydell On 2018-10-17 21:28, Emilio G. Cota wrote: > On Thu, Oct 11, 2018 at 20:25:08 +0100, Dr. David Alan Gilbert (git) wr= ote: >> From: Thomas Huth >> >> We can re-use the s390-ccw bios code to implement a small firmware >> for a s390x guest which prints out the "A" and "B" characters and >> modifies the memory, as required for the migration test. >> >> [quintela: Converted the compile script to Makefile rules] >> Signed-off-by: Juan Quintela >> Signed-off-by: Thomas Huth >> Message-Id: <1539078677-25396-1-git-send-email-thuth@redhat.com> >> Reviewed-by: Philippe Mathieu-Daud=C3=A9 >> Tested-by: Philippe Mathieu-Daud=C3=A9 >> Signed-off-by: Dr. David Alan Gilbert >> Fixed up Makefile since the aarch patch sneaked in first >=20 > I suspect this test is giving me intermittent hangs. I've seen the hang= s > in different machines, but when they're lightly loaded the > hang happens more frequently. >=20 > To reproduce: >=20 > $ ./configure --target-list=3Ds390x-softmmu > $ make clean && make > $ for i in $(seq 0 150); do echo $i && make -j check-qtest || break; do= ne >=20 > It usually ends up hanging before 50 runs. When the hang happens, I see > two qemu-system-s390x processes with: >=20 > -serial file:/tmp/migration-test-0FZErQ/dest_serial >=20 > as an argument, among others. That means the migration test is the > one hanging, correct? >=20 > Attaching with gdb just shows the TCG thread waiting for work > in qemu_tcg_rr_wait_io_event. >=20 > Can anyone reproduce this? Otherwise, let me know what other info > I could provide. I've finally been able to reproduce it - seems like it only happens here when the host is under heavy load. ... not sure whether I've got time to debug this before KVM forum, so if it bugs you, feel free to send a patch to disable the test in tests/Makefile.include for s390x again. Thomas