From patchwork Thu Aug 6 23:18:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 8075 Received: (qmail 33652 invoked by alias); 6 Aug 2015 23:18:53 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 33643 invoked by uid 89); 6 Aug 2015 23:18:52 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL, BAYES_50, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 06 Aug 2015 23:18:52 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 0CBCB8C1CD for ; Thu, 6 Aug 2015 23:18:51 +0000 (UTC) Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t76NInqI021393 for ; Thu, 6 Aug 2015 19:18:50 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [pushed] Bump timeouts for a couple gdb.reverse/*-precsave.exp tests Date: Fri, 7 Aug 2015 00:18:49 +0100 Message-Id: <1438903129-12452-1-git-send-email-palves@redhat.com> The buildbot shows that PPC64 and x86_64 builders, both native and extended-remote gdbserver frequently timeout these tests. until-precsave.exp times out on my x86_64 occasionally as well. Inspecting the logs, we see that if we waited some more, the tests would pass. Simply bump until-precsave.exp timeouts further, and apply the same treatment to step-precsave.exp. gdb/testsuite/ChangeLog: 2015-08-06 Pedro Alves * gdb.reverse/step-precsave.exp: Use with_timeout_factor to increase timeout. * gdb.reverse/until-precsave.exp: Bump timeouts. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.reverse/step-precsave.exp | 15 +++++++++++---- gdb/testsuite/gdb.reverse/until-precsave.exp | 4 ++-- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e4be76e..bf845a4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-08-06 Pedro Alves + + * gdb.reverse/step-precsave.exp: Use with_timeout_factor to + increase timeout. + * gdb.reverse/until-precsave.exp: Bump timeouts. + 2015-08-06 Pedro Alves * gdb.base/valgrind-infcall.exp: Issue a "disconnect". diff --git a/gdb/testsuite/gdb.reverse/step-precsave.exp b/gdb/testsuite/gdb.reverse/step-precsave.exp index 5b1b416..f2a5299 100644 --- a/gdb/testsuite/gdb.reverse/step-precsave.exp +++ b/gdb/testsuite/gdb.reverse/step-precsave.exp @@ -44,11 +44,18 @@ gdb_test "break $end_of_main" \ "Breakpoint $decimal at .*$srcfile, line $end_of_main\." \ "BP at end of main" -gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" +# This can take awhile. +with_timeout_factor 20 { + gdb_test "continue" "Breakpoint .* end of main .*" "run to end of main" +} + +# So can this, against gdbserver, for example. -gdb_test "record save $precsave" \ - "Saved core file $precsave with execution log\." \ - "save process recfile" +with_timeout_factor 10 { + gdb_test "record save $precsave" \ + "Saved core file $precsave with execution log\." \ + "save process recfile" +} gdb_test "kill" "" "Kill process, prepare to debug log file" \ "Kill the program being debugged\\? \\(y or n\\) " "y" diff --git a/gdb/testsuite/gdb.reverse/until-precsave.exp b/gdb/testsuite/gdb.reverse/until-precsave.exp index 640839f..f0e9d1d 100644 --- a/gdb/testsuite/gdb.reverse/until-precsave.exp +++ b/gdb/testsuite/gdb.reverse/until-precsave.exp @@ -49,13 +49,13 @@ gdb_test "break $end_of_main" \ "BP at end of main" # This can take awhile. -with_timeout_factor 15 { +with_timeout_factor 20 { gdb_test "continue" "Breakpoint .* set breakpoint 10a here .*" "run to end of main" } # So can this, against gdbserver, for example. -with_timeout_factor 3 { +with_timeout_factor 10 { gdb_test "record save $precsave" \ "Saved core file $precsave with execution log\." \ "save process recfile"