public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* Failures on Fedora-x86_64-m32, branch master
2017-11-16 13:23 [binutils-gdb] Fix gdb.base/starti.exp racy test sergiodj+buildbot
@ 2017-11-16 13:23 ` sergiodj+buildbot
2017-11-16 13:27 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: sergiodj+buildbot @ 2017-11-16 13:23 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-x86-64-3
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-x86_64-m32/builds/7982>
Commit(s) tested:
968a13f8362072b5f7eae8584d490b53d7f97ca5
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix gdb.base/starti.exp racy test
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/results/Fedora-x86_64-m32/96/968a13f8362072b5f7eae8584d490b53d7f97ca5/>
*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
============================
*** Complete list of XFAILs for this builder ***
To obtain the list of XFAIL tests for this builder, go to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-x86_64-m32/xfails/master/xfail;hb=47d5b32>
You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-x86_64-m32/xfails/master/xfail.table;hb=47d5b32>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [binutils-gdb] Fix gdb.base/starti.exp racy test
@ 2017-11-16 13:23 sergiodj+buildbot
2017-11-16 13:23 ` Failures on Fedora-x86_64-m32, branch master sergiodj+buildbot
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: sergiodj+buildbot @ 2017-11-16 13:23 UTC (permalink / raw)
To: gdb-testers
*** TEST RESULTS FOR COMMIT 968a13f8362072b5f7eae8584d490b53d7f97ca5 ***
Author: Pedro Alves <palves@redhat.com>
Branch: master
Commit: 968a13f8362072b5f7eae8584d490b53d7f97ca5
Fix gdb.base/starti.exp racy test
This commit fixes a couple problems with gdb.base/starti.exp, causing
spurious FAILs.
The first is a double-prompt problem:
~~~
(gdb) PASS: gdb.base/starti.exp: hook-stop
starti
[....]
gdb_expect_list pattern: /\$1 = 0/
$1 = 0
gdb_expect_list pattern: //
0x00007ffff7ddcc80 in _start () from /lib64/ld-linux-x86-64.so.2
(gdb) # EXPECTED PROMPT
(gdb) PASS: gdb.base/starti.exp: starti # ANOTHER PROMPT!
break main
~~~
This happens because the test uses gdb_test_sequence with no command,
like this:
gdb_test_sequence "" "starti" {
"Program stopped."
"\\$1 = 0"
}
but gdb_test_sequence doesn't have a check for empty command like
gdb_test_multiple does, and so sends "\n" to GDB:
proc gdb_test_sequence { command test_name expected_output_list } {
global gdb_prompt
if { $test_name == "" } {
set test_name $command
}
lappend expected_output_list ""; # implicit ".*" before gdb prompt
send_gdb "$command\n"
return [gdb_expect_list $test_name "$gdb_prompt $" $expected_output_list]
}
"starti" is a no-repeat command, so pressing <ret> just makes another
prompt appear, confusing the following gdb_test/gdb_test_multiple/etc.
Even with that fixed, the testcase is still racy though.
The second problem is that sometimes the "continue" test times out
here:
~~~
continue
Continuing.
$2 = 1
gdb_expect_list pattern: /.*Breakpoint .*main \(\) at .*starti.c.*/
Breakpoint 1, main () at /home/pedro/src/gdb/testsuite/gdb.base/starti.c:29
29 return 0;
(gdb) gdb_expect_list pattern: //
* hung here *
~~~
The problem is that the too-greedy ".*" trailing match in
gdb_expect_list's pattern ends up consuming GDB's prompt too soon.
Fix that by removing the unnecessary trailing ".*". While at it,
remove all ".*"s to be stricter.
Tested on x86_64 GNU/Linux.
gdb/testsuite/ChangeLog:
2017-11-16 Pedro Alves <palves@redhat.com>
* gdb.base/starti.exp ("continue" test): Remove ".*"s from
pattern.
* lib/gdb.exp (gdb_test_sequence): Don't send empty command to
GDB.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch master
2017-11-16 13:23 [binutils-gdb] Fix gdb.base/starti.exp racy test sergiodj+buildbot
2017-11-16 13:23 ` Failures on Fedora-x86_64-m32, branch master sergiodj+buildbot
@ 2017-11-16 13:27 ` sergiodj+buildbot
2017-11-16 13:46 ` Failures on Fedora-i686, " sergiodj+buildbot
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: sergiodj+buildbot @ 2017-11-16 13:27 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-x86-64-2
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-x86_64-native-extended-gdbserver-m32/builds/7971>
Commit(s) tested:
968a13f8362072b5f7eae8584d490b53d7f97ca5
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix gdb.base/starti.exp racy test
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/results/Fedora-x86_64-native-extended-gdbserver-m32/96/968a13f8362072b5f7eae8584d490b53d7f97ca5/>
*** Diff to previous build ***
============================
new FAIL: gdb.base/corefile.exp: core-file warning-free
new FAIL: gdb.python/py-mi-objfile.exp: check if python 2.4
============================
*** Complete list of XFAILs for this builder ***
To obtain the list of XFAIL tests for this builder, go to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-x86_64-native-extended-gdbserver-m32/xfails/master/xfail;hb=6f963b1>
You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-x86_64-native-extended-gdbserver-m32/xfails/master/xfail.table;hb=6f963b1>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Failures on Fedora-i686, branch master
2017-11-16 13:23 [binutils-gdb] Fix gdb.base/starti.exp racy test sergiodj+buildbot
2017-11-16 13:23 ` Failures on Fedora-x86_64-m32, branch master sergiodj+buildbot
2017-11-16 13:27 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
@ 2017-11-16 13:46 ` sergiodj+buildbot
2017-11-16 13:59 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: sergiodj+buildbot @ 2017-11-16 13:46 UTC (permalink / raw)
To: gdb-testers
Buildslave:
fedora-x86-64-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-i686/builds/8003>
Commit(s) tested:
968a13f8362072b5f7eae8584d490b53d7f97ca5
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix gdb.base/starti.exp racy test
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/results/Fedora-i686/96/968a13f8362072b5f7eae8584d490b53d7f97ca5/>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_cli_thread: reset selection to thread 1.1
PASS -> FAIL: gdb.mi/user-selected-context-sync.exp: mode=non-stop: test_mi_thread_select: reset selection to thread 1.1
PASS -> FAIL: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_inferior: reset selection to thread 1.1
PASS -> FAIL: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=direct: test_cli_in_mi_thread: reset selection to thread 1.1
PASS -> FAIL: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_inferior: reset selection to thread 1.1
PASS -> FAIL: gdb.mi/user-selected-context-sync.exp: mode=non-stop: exec_mode=interpreter-exec: test_cli_in_mi_thread: reset selection to thread 1.1
PASS -> KFAIL: gdb.threads/non-ldr-exit.exp: program exits normally
============================
*** Complete list of XFAILs for this builder ***
To obtain the list of XFAIL tests for this builder, go to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-i686/xfails/master/xfail;hb=4a17cb2>
You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-i686/xfails/master/xfail.table;hb=4a17cb2>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Failures on Fedora-s390x-m64, branch master
2017-11-16 13:23 [binutils-gdb] Fix gdb.base/starti.exp racy test sergiodj+buildbot
` (2 preceding siblings ...)
2017-11-16 13:46 ` Failures on Fedora-i686, " sergiodj+buildbot
@ 2017-11-16 13:59 ` sergiodj+buildbot
2017-11-16 15:03 ` Failures on Ubuntu-AArch32-m32, " sergiodj+buildbot
2017-11-16 15:44 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
5 siblings, 0 replies; 7+ messages in thread
From: sergiodj+buildbot @ 2017-11-16 13:59 UTC (permalink / raw)
To: gdb-testers
Buildslave:
marist-fedora-s390x
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Fedora-s390x-m64/builds/6991>
Commit(s) tested:
968a13f8362072b5f7eae8584d490b53d7f97ca5
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix gdb.base/starti.exp racy test
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/results/Fedora-s390x-m64/96/968a13f8362072b5f7eae8584d490b53d7f97ca5/>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/info-os.exp: get process list
PASS -> FAIL: gdb.base/info-os.exp: get process groups
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=1: inferior 1 exited
============================
*** Complete list of XFAILs for this builder ***
To obtain the list of XFAIL tests for this builder, go to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-s390x-m64/xfails/master/xfail;hb=e3a7746>
You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Fedora-s390x-m64/xfails/master/xfail.table;hb=e3a7746>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Failures on Ubuntu-AArch32-m32, branch master
2017-11-16 13:23 [binutils-gdb] Fix gdb.base/starti.exp racy test sergiodj+buildbot
` (3 preceding siblings ...)
2017-11-16 13:59 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
@ 2017-11-16 15:03 ` sergiodj+buildbot
2017-11-16 15:44 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
5 siblings, 0 replies; 7+ messages in thread
From: sergiodj+buildbot @ 2017-11-16 15:03 UTC (permalink / raw)
To: gdb-testers
Buildslave:
ubuntu-trusty-aarch32-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Ubuntu-AArch32-m32/builds/2096>
Commit(s) tested:
968a13f8362072b5f7eae8584d490b53d7f97ca5
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix gdb.base/starti.exp racy test
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/results/Ubuntu-AArch32-m32/96/968a13f8362072b5f7eae8584d490b53d7f97ca5/>
*** Diff to previous build ***
============================
PASS -> KFAIL: gdb.threads/process-dies-while-handling-bp.exp: non_stop=on: cond_bp_target=0: inferior 1 exited
============================
*** Complete list of XFAILs for this builder ***
To obtain the list of XFAIL tests for this builder, go to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Ubuntu-AArch32-m32/xfails/master/xfail;hb=>
You can also see a pretty-printed version of the list, with more information
about each XFAIL, by going to:
<http://git.sergiodj.net/?p=gdb-xfails.git;a=blob;f=xfails/Ubuntu-AArch32-m32/xfails/master/xfail.table;hb=>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, branch master
2017-11-16 13:23 [binutils-gdb] Fix gdb.base/starti.exp racy test sergiodj+buildbot
` (4 preceding siblings ...)
2017-11-16 15:03 ` Failures on Ubuntu-AArch32-m32, " sergiodj+buildbot
@ 2017-11-16 15:44 ` sergiodj+buildbot
5 siblings, 0 replies; 7+ messages in thread
From: sergiodj+buildbot @ 2017-11-16 15:44 UTC (permalink / raw)
To: gdb-testers
Buildslave:
ubuntu-trusty-aarch32-1
Full Build URL:
<http://gdb-build.sergiodj.net/builders/Ubuntu-AArch32-native-extended-gdbserver-m32/builds/2096>
Commit(s) tested:
968a13f8362072b5f7eae8584d490b53d7f97ca5
Author(s) (in the same order as the commits):
Pedro Alves <palves@redhat.com>
Subject:
Fix gdb.base/starti.exp racy test
Testsuite log (gdb.sum and gdb.log) URL(s):
<http://gdb-build.sergiodj.net/results/Ubuntu-AArch32-native-extended-gdbserver-m32/96/968a13f8362072b5f7eae8584d490b53d7f97ca5/>
*** Diff to previous build ***
============================
PASS -> FAIL: gdb.base/longjmp.exp: next over patt3
new KFAIL: gdb.base/step-over-syscall.exp: clone: displaced=on: single step over clone
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=9: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=10: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=11: wait for stops
new FAIL: gdb.threads/interrupt-while-step-over.exp: displaced-stepping=off: iter=18: wait for stops
PASS -> FAIL: gdb.threads/schedlock.exp: schedlock=off: cmd=step: step does not change thread
PASS -> FAIL: gdb.threads/schedlock.exp: schedlock=off: cmd=step: current thread advanced - unlocked
new FAIL: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: setting breakpoint at 80 if arg != 0
PASS -> FAIL: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=0: other threads ran - unlocked
new FAIL: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: setting breakpoint at 80 if arg != 0
PASS -> FAIL: gdb.threads/schedlock.exp: schedlock=off: cmd=next: call_function=1: other threads ran - unlocked
new FAIL: gdb.threads/schedlock.exp: schedlock=step: cmd=step: setting breakpoint at 80 if arg != 0
new FAIL: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=0: setting breakpoint at 80 if arg != 0
new FAIL: gdb.threads/schedlock.exp: schedlock=step: cmd=next: call_function=1: setting breakpoint at 80 if arg != 0
new FAIL: gdb.threads/schedlock.exp: schedlock=on: cmd=step: setting breakpoint at 80 if arg != 0
new FAIL: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=0: setting breakpoint at 80 if arg != 0
new FAIL: gdb.threads/schedlock.exp: schedlock=on: cmd=next: call_function=1: setting breakpoint at 80 if arg != 0
============================
*** Complete list of XFAILs for this builder ***
FAILURE TO OBTAIN THE COMMIT FOR THE XFAIL LIST. PLEASE CONTACT THE BUILDBOT ADMIN.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-11-16 15:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-16 13:23 [binutils-gdb] Fix gdb.base/starti.exp racy test sergiodj+buildbot
2017-11-16 13:23 ` Failures on Fedora-x86_64-m32, branch master sergiodj+buildbot
2017-11-16 13:27 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2017-11-16 13:46 ` Failures on Fedora-i686, " sergiodj+buildbot
2017-11-16 13:59 ` Failures on Fedora-s390x-m64, " sergiodj+buildbot
2017-11-16 15:03 ` Failures on Ubuntu-AArch32-m32, " sergiodj+buildbot
2017-11-16 15:44 ` Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, " sergiodj+buildbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).