Your message dated Thu, 06 Jun 2024 12:37:29 +0000
with message-id <e1sfcmz-00dsnw...@fasolo.debian.org>
and subject line Bug#1070853: fixed in strace 6.8-2
has caused the Debian Bug report #1070853,
regarding strace: test failures on multiple architectures when using libunwind
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1070853: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070853
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: strace
Version: 6.8-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=strace&arch=armhf&ver=6.8-1&stamp=1715348223&raw=0
https://buildd.debian.org/status/fetch.php?pkg=strace&arch=armel&ver=6.8-1&stamp=1715346678&raw=0
https://buildd.debian.org/status/fetch.php?pkg=strace&arch=powerpc&ver=6.8-1&stamp=1715349316&raw=0

...
FAIL: strace-k.test
PASS: umovestr_cached.test
FAIL: strace-k-with-depth-limit.test
FAIL: strace-k-demangle.test
PASS: strace-DD.test
FAIL: strace-k-p.test
PASS: strace--tips-full.test
PASS: qual_fault-syscall.test
PASS: qual_fault.test
PASS: filtering_syscall-syntax.test
PASS: looping_threads.test
======================================
   strace 6.8: tests/test-suite.log
======================================

# TOTAL: 1350
# PASS:  1057
# SKIP:  289
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0
...
FAIL: strace-k
==============

+ ../src/strace -V
+ TIMEOUT=timeout -k 5 -s XCPU 1500
+ timeout -k 5 -s XCPU 1500 true
+ [ 1 -eq 0 ]
+ exec timeout -k 5 -s XCPU 1500 ../../tests/strace-k.test
+ : 0
+ : -k
+ : --stack-trace
+ : 
+ [ -f /proc/self/maps ]
+ check_prog grep
+ type grep
+ check_prog readlink
+ type readlink
+ check_prog sed
+ type sed
+ check_prog tr
+ type tr
+ command -v sed
+ path_to_sed=/usr/bin/sed
+ [ -x /usr/bin/sed ]
+ readlink -ev -- /usr/bin/sed
+ path_to_sed=/usr/bin/sed
+ /usr/bin/sed -n s/^[^/]\+[[:space:]]\(\/.*\)$/\1/p /proc/self/maps
+ grep -F -x -e /usr/bin/sed
+ run_prog ../stack-fcall
+ [ 1 -eq 0 ]
+ args=../stack-fcall
+ ../stack-fcall
+ [ x0 = x1 ]
+ run_strace -e chdir -k ../stack-fcall
+ 
+ args=-e chdir -k ../stack-fcall
+ ../../src/strace -o log -e chdir -k ../stack-fcall
+ expected=../../../tests/strace-k.expected
+ awk_script_common=
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


+ awk_script_symbol=
/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}


+ awk_script_source=
/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] ([^:]+):([0-9]+)$/ && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        if (sym == "main" || sym ~ /f[0-9]/) {
                file = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] 
([^:]+):([0-9]+)$/, "\\2", 1)
                line = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] 
([^:]+):([0-9]+)$/, "\\3", 1)
                sub(".*/", "", file)
                out = out " " sym "<" file ":" line ">"
                if (sym == "main")
                        stop = 1
        }
}


+ [ --stack-trace = --stack-trace ]
+ awk_script=
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}


+ awk 
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}

 log
+ LC_ALL=C grep -E -x -f ../../../tests/strace-k.expected
+ cat ../../../tests/strace-k.expected
+ cat out
+ cat
Failed pattern of expected output:
^chdir (__kernel_vsyscall )?(__)?chdir f3 f2 f1 f0 main
^SIGURG (__kernel_vsyscall )?(__)?kill f3 f2 f1 f0 main
Actual output:
chdir chdir f3
SIGURG kill f3
+ pattern=
+ pattern=No DWARF information found
+ [ -n No DWARF information found ]
+ LC_ALL=C grep -x  > No DWARF information found
+ dump_log_and_fail_with ../../src/strace -e chdir -k ../stack-fcall output 
mismatch
+ cat
chdir("")                               = -1 ENOENT (No such file or directory)
 > /usr/lib/arm-linux-gnueabihf/libc.so.6(chdir+0x7) [0xa4748]
 > /<<PKGBUILDDIR>>/build/tests/stack-fcall(f3+0x64) [0x749]
--- SIGURG {si_signo=SIGURG, si_code=SI_USER, si_pid=2384583, si_uid=2952} ---
 > /usr/lib/arm-linux-gnueabihf/libc.so.6(kill+0x7) [0x2d1c8]
 > /<<PKGBUILDDIR>>/build/tests/stack-fcall(f3+0x7c) [0x761]
+++ exited with 0 +++
+ fail_ ../../src/strace -e chdir -k ../stack-fcall output mismatch
+ warn_ strace-k.test: failed test: ../../src/strace -e chdir -k ../stack-fcall 
output mismatch
+ printf %s\n strace-k.test: failed test: ../../src/strace -e chdir -k 
../stack-fcall output mismatch
strace-k.test: failed test: ../../src/strace -e chdir -k ../stack-fcall output 
mismatch
+ exit 1
FAIL strace-k.test (exit status: 1)

FAIL: strace-k-p
================

+ ../src/strace -V
+ TIMEOUT=timeout -k 5 -s XCPU 1500
+ timeout -k 5 -s XCPU 1500 true
+ [ 1 -eq 0 ]
+ exec timeout -k 5 -s XCPU 1500 ../../tests/strace-k-p.test
+ : 1
+ : -k
+ : --stack-trace
+ : 
+ [ -f /proc/self/maps ]
+ check_prog grep
+ type grep
+ check_prog readlink
+ type readlink
+ check_prog sed
+ type sed
+ check_prog tr
+ type tr
+ command -v sed
+ path_to_sed=/usr/bin/sed
+ [ -x /usr/bin/sed ]
+ readlink -ev -- /usr/bin/sed
+ path_to_sed=/usr/bin/sed
+ /usr/bin/sed -n s/^[^/]\+[[:space:]]\(\/.*\)$/\1/p /proc/self/maps
+ grep -F -x -e /usr/bin/sed
+ run_prog ../stack-fcall-attach
+ [ 1 -eq 0 ]
+ args=../stack-fcall-attach
+ ../stack-fcall-attach
+ [ x1 = x1 ]
+ tracee_pid=2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845+ 
+ [ -s exp ]
../set_ptracer_any ../stack-fcall-attach
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ kill -0 2387845
+ [ -s exp ]
+ run_strace --trace=chdir --stack-trace --attach=2387845
+ 
+ args=--trace=chdir --stack-trace --attach=2387845
+ ../../src/strace -o log --trace=chdir --stack-trace --attach=2387845
../../src/strace: Process 2387845 attached
+ expected=../../../tests/strace-k-p.expected
+ awk_script_common=
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


+ awk_script_symbol=
/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}


+ awk_script_source=
/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] ([^:]+):([0-9]+)$/ && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        if (sym == "main" || sym ~ /f[0-9]/) {
                file = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] 
([^:]+):([0-9]+)$/, "\\2", 1)
                line = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] 
([^:]+):([0-9]+)$/, "\\3", 1)
                sub(".*/", "", file)
                out = out " " sym "<" file ":" line ">"
                if (sym == "main")
                        stop = 1
        }
}


+ [ --stack-trace = --stack-trace ]
+ awk_script=
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}


+ awk 
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}

 log
+ LC_ALL=C grep -E -x -f ../../../tests/strace-k-p.expected
+ cat ../../../tests/strace-k-p.expected
+ cat out
+ cat
Failed pattern of expected output:
^chdir (__kernel_vsyscall )?(__)?chdir f3 f2 f1 f0 main
^SIGURG (__kernel_vsyscall )?(__)?kill f3 f2 f1 f0 main
Actual output:
chdir chdir f3
SIGURG kill f3
+ pattern=
+ pattern=No DWARF information found
+ [ -n No DWARF information found ]
+ LC_ALL=C grep -x  > No DWARF information found
+ dump_log_and_fail_with ../../src/strace --trace=chdir --stack-trace 
--attach=2387845 output mismatch
+ cat
chdir("")                               = -1 ENOENT (No such file or directory)
 > /usr/lib/arm-linux-gnueabihf/libc.so.6(chdir+0x7) [0xa4748]
 > /<<PKGBUILDDIR>>/build/tests/stack-fcall-attach(f3+0x64) [0x77d]
--- SIGURG {si_signo=SIGURG, si_code=SI_USER, si_pid=2387845, si_uid=2952} ---
 > /usr/lib/arm-linux-gnueabihf/libc.so.6(kill+0x7) [0x2d1c8]
 > /<<PKGBUILDDIR>>/build/tests/stack-fcall-attach(f3+0x7c) [0x795]
+++ exited with 0 +++
+ fail_ ../../src/strace --trace=chdir --stack-trace --attach=2387845 output 
mismatch
+ warn_ strace-k-p.test: failed test: ../../src/strace --trace=chdir 
--stack-trace --attach=2387845 output mismatch
+ printf %s\n strace-k-p.test: failed test: ../../src/strace --trace=chdir 
--stack-trace --attach=2387845 output mismatch
strace-k-p.test: failed test: ../../src/strace --trace=chdir --stack-trace 
--attach=2387845 output mismatch
+ exit 1
FAIL strace-k-p.test (exit status: 1)

FAIL: strace-k-with-depth-limit
===============================

+ ../src/strace -V
+ TIMEOUT=timeout -k 5 -s XCPU 1500
+ timeout -k 5 -s XCPU 1500 true
+ [ 1 -eq 0 ]
+ exec timeout -k 5 -s XCPU 1500 ../../tests/strace-k-with-depth-limit.test
+ : 0
+ : -k
+ : --stack-trace
+ : --stack-trace-frame-limit 3
+ [ -f /proc/self/maps ]
+ check_prog grep
+ type grep
+ check_prog readlink
+ type readlink
+ check_prog sed
+ type sed
+ check_prog tr
+ type tr
+ command -v sed
+ path_to_sed=/usr/bin/sed
+ [ -x /usr/bin/sed ]
+ readlink -ev -- /usr/bin/sed
+ path_to_sed=/usr/bin/sed
+ /usr/bin/sed -n s/^[^/]\+[[:space:]]\(\/.*\)$/\1/p /proc/self/maps
+ grep -F -x -e /usr/bin/sed
+ run_prog ../stack-fcall
+ [ 1 -eq 0 ]
+ args=../stack-fcall
+ ../stack-fcall
+ [ x0 = x1 ]
+ run_strace -e chdir -k --stack-trace-frame-limit 3 ../stack-fcall
+ 
+ args=-e chdir -k --stack-trace-frame-limit 3 ../stack-fcall
+ ../../src/strace -o log -e chdir -k --stack-trace-frame-limit 3 ../stack-fcall
+ expected=../../../tests/strace-k-with-depth-limit.expected
+ awk_script_common=
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


+ awk_script_symbol=
/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}


+ awk_script_source=
/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] ([^:]+):([0-9]+)$/ && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        if (sym == "main" || sym ~ /f[0-9]/) {
                file = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] 
([^:]+):([0-9]+)$/, "\\2", 1)
                line = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] 
([^:]+):([0-9]+)$/, "\\3", 1)
                sub(".*/", "", file)
                out = out " " sym "<" file ":" line ">"
                if (sym == "main")
                        stop = 1
        }
}


+ [ --stack-trace = --stack-trace ]
+ awk_script=
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}


+ awk 
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}

 log
+ LC_ALL=C grep -E -x -f ../../../tests/strace-k-with-depth-limit.expected
+ cat ../../../tests/strace-k-with-depth-limit.expected
+ cat out
+ cat
Failed pattern of expected output:
^chdir ((__)?chdir f3 f2|__kernel_vsyscall (__)?chdir f3) 
_too_many_stack_frames_
^SIGURG ((__)?chdir f3 f2|__kernel_vsyscall (__)?chdir f3) 
_too_many_stack_frames_
Actual output:
chdir chdir f3
SIGURG kill f3
+ pattern=
+ pattern=No DWARF information found
+ [ -n No DWARF information found ]
+ LC_ALL=C grep -x  > No DWARF information found
+ dump_log_and_fail_with ../../src/strace -e chdir -k --stack-trace-frame-limit 
3 ../stack-fcall output mismatch
+ cat
chdir("")                               = -1 ENOENT (No such file or directory)
 > /usr/lib/arm-linux-gnueabihf/libc.so.6(chdir+0x7) [0xa4748]
 > /<<PKGBUILDDIR>>/build/tests/stack-fcall(f3+0x64) [0x749]
--- SIGURG {si_signo=SIGURG, si_code=SI_USER, si_pid=2386064, si_uid=2952} ---
 > /usr/lib/arm-linux-gnueabihf/libc.so.6(kill+0x7) [0x2d1c8]
 > /<<PKGBUILDDIR>>/build/tests/stack-fcall(f3+0x7c) [0x761]
+++ exited with 0 +++
+ fail_ ../../src/strace -e chdir -k --stack-trace-frame-limit 3 ../stack-fcall 
output mismatch
+ warn_ strace-k-with-depth-limit.test: failed test: ../../src/strace -e chdir 
-k --stack-trace-frame-limit 3 ../stack-fcall output mismatch
+ printf %s\n strace-k-with-depth-limit.test: failed test: ../../src/strace -e 
chdir -k --stack-trace-frame-limit 3 ../stack-fcall output mismatch
strace-k-with-depth-limit.test: failed test: ../../src/strace -e chdir -k 
--stack-trace-frame-limit 3 ../stack-fcall output mismatch
+ exit 1
FAIL strace-k-with-depth-limit.test (exit status: 1)

FAIL: strace-k-demangle
=======================

+ ../src/strace -V
+ TIMEOUT=timeout -k 5 -s XCPU 1500
+ timeout -k 5 -s XCPU 1500 true
+ [ 1 -eq 0 ]
+ exec timeout -k 5 -s XCPU 1500 ../../tests/strace-k-demangle.test
+ : 0
+ : -k
+ : --stack-trace
+ : 
+ [ -f /proc/self/maps ]
+ check_prog grep
+ type grep
+ check_prog readlink
+ type readlink
+ check_prog sed
+ type sed
+ check_prog tr
+ type tr
+ command -v sed
+ path_to_sed=/usr/bin/sed
+ [ -x /usr/bin/sed ]
+ readlink -ev -- /usr/bin/sed
+ path_to_sed=/usr/bin/sed
+ grep -F -x -e /usr/bin/sed
+ /usr/bin/sed -n s/^[^/]\+[[:space:]]\(\/.*\)$/\1/p /proc/self/maps
+ run_prog ../stack-fcall-mangled
+ [ 1 -eq 0 ]
+ args=../stack-fcall-mangled
+ ../stack-fcall-mangled
+ [ x0 = x1 ]
+ run_strace -e chdir -k ../stack-fcall-mangled
+ 
+ args=-e chdir -k ../stack-fcall-mangled
+ ../../src/strace -o log -e chdir -k ../stack-fcall-mangled
+ expected=../../../tests/strace-k-demangle.expected
+ awk_script_common=
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


+ awk_script_symbol=
/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}


+ awk_script_source=
/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] ([^:]+):([0-9]+)$/ && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        if (sym == "main" || sym ~ /f[0-9]/) {
                file = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] 
([^:]+):([0-9]+)$/, "\\2", 1)
                line = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) \[0x[a-f0-9]+\] 
([^:]+):([0-9]+)$/, "\\3", 1)
                sub(".*/", "", file)
                out = out " " sym "<" file ":" line ">"
                if (sym == "main")
                        stop = 1
        }
}


+ [ --stack-trace = --stack-trace ]
+ awk_script=
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}


+ awk 
/^[^ ]/ {
        if (out != "")
                print out

        syscall = gensub(/^([[:alnum:]_]+)\(.*/, "\\1", 1)
        signal = gensub(/^--- ([A-Z]+) .*/, "\\1", 1)

        if (syscall != $0) {
                out = syscall
                stop = 0
        } else if (signal != $0) {
                out = signal
                stop = 0
        } else {
                out = ""
        }
}

/^ > too many stack frames/ {
        out = out " _too_many_stack_frames_"
        stop = 1
}


/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) / && !stop {
        sym = gensub(/^ >[^(]+\(([^+]+)\+0x[a-f0-9]+\) .*$/, "\\1", 1)
        out = out " " sym
        if (sym == "main")
                stop = 1
}

 log
+ LC_ALL=C grep -E -x -f ../../../tests/strace-k-demangle.expected
+ cat ../../../tests/strace-k-demangle.expected
+ cat out
+ cat
Failed pattern of expected output:
^chdir (__kernel_vsyscall )?(__)?chdir ns::f3\(int\) ns::f2\(int\) 
ns::f1\(int\) ns::f0\(int\) main
^SIGURG (__kernel_vsyscall )?(__)?kill ns::f3\(int\) ns::f2\(int\) 
ns::f1\(int\) ns::f0\(int\) main
Actual output:
chdir chdir ns::f3(int)
SIGURG kill ns::f3(int)
+ pattern=
+ pattern=No DWARF information found
+ [ -n No DWARF information found ]
+ LC_ALL=C grep -x  > No DWARF information found
+ dump_log_and_fail_with ../../src/strace -e chdir -k ../stack-fcall-mangled 
output mismatch
+ cat
chdir("")                               = -1 ENOENT (No such file or directory)
 > /usr/lib/arm-linux-gnueabihf/libc.so.6(chdir+0x7) [0xa4748]
 > /<<PKGBUILDDIR>>/build/tests/stack-fcall-mangled(ns::f3(int)+0x64) [0x749]
--- SIGURG {si_signo=SIGURG, si_code=SI_USER, si_pid=2386197, si_uid=2952} ---
 > /usr/lib/arm-linux-gnueabihf/libc.so.6(kill+0x7) [0x2d1c8]
 > /<<PKGBUILDDIR>>/build/tests/stack-fcall-mangled(ns::f3(int)+0x7c) [0x761]
+++ exited with 0 +++
+ fail_ ../../src/strace -e chdir -k ../stack-fcall-mangled output mismatch
+ warn_ strace-k-demangle.test: failed test: ../../src/strace -e chdir -k 
../stack-fcall-mangled output mismatch
+ printf %s\n strace-k-demangle.test: failed test: ../../src/strace -e chdir -k 
../stack-fcall-mangled output mismatch
strace-k-demangle.test: failed test: ../../src/strace -e chdir -k 
../stack-fcall-mangled output mismatch
+ exit 1
FAIL strace-k-demangle.test (exit status: 1)

============================================================================
Testsuite summary for strace 6.8
============================================================================
# TOTAL: 1350
# PASS:  1057
# SKIP:  289
# XFAIL: 0
# FAIL:  4
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to strace-de...@lists.strace.io
============================================================================
make[6]: *** [Makefile:18359: test-suite.log] Error 1

--- End Message ---
--- Begin Message ---
Source: strace
Source-Version: 6.8-2
Done: Bo YU <tsu.y...@gmail.com>

We believe that the bug you reported is fixed in the latest version of
strace, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1070...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bo YU <tsu.y...@gmail.com> (supplier of updated strace package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 06 Jun 2024 18:22:04 +0800
Source: strace
Architecture: source
Version: 6.8-2
Distribution: unstable
Urgency: medium
Maintainer: Steve McIntyre <93...@debian.org>
Changed-By: Bo YU <tsu.y...@gmail.com>
Closes: 1070853
Changes:
 strace (6.8-2) unstable; urgency=medium
 .
   * Team upload.
   * Only use libunwind on amd64 (Closes: #1070853)
     Thanks to Emanuele Rocca <e...@debian.org>
Checksums-Sha1:
 3d81c0e95ec62883d91e1a81cc5888e2f5a8a73c 2125 strace_6.8-2.dsc
 96cc2c40d1a9abb35eff9bd2a4220142ae6cd903 21804 strace_6.8-2.debian.tar.xz
 c7ae203d48e81078b5c16ff6dbafce5bf90d6fe4 7039 strace_6.8-2_amd64.buildinfo
Checksums-Sha256:
 c808a6a15ba33e760517c7e539ee998bc81b366607f9ab2c2996131d7a953cf7 2125 
strace_6.8-2.dsc
 00edc4de78f4ced2383e544c0ebffbd2b35fee92e348c72de656bb3a03356d4f 21804 
strace_6.8-2.debian.tar.xz
 7343657a6c630d25219c2133141cb5cf48a985f910d6108447552b17f4bc03c3 7039 
strace_6.8-2_amd64.buildinfo
Files:
 b29a386a0653e42a64d0dfa0099b6881 2125 utils optional strace_6.8-2.dsc
 68d60aa42557fa02d130415385290104 21804 utils optional 
strace_6.8-2.debian.tar.xz
 8390b79676173017c96915ccd1a79267 7039 utils optional 
strace_6.8-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEElUWWlhkoHBf/rFiR1QhaB1D9t6MFAmZhqc4ACgkQ1QhaB1D9
t6N1Aw//eHmbLflp6+W8zjSug4CeK9Eeox8Ycp2xlNByBZHyjNNAWR+cfJ8Mpa6y
xgj9daEvC2lcl1pPvOT5sSfcU1cieaxFCkh4yJxBInPosBsfuoJOyp8RbbURsVY5
IP6LrEaGzWndfO50jJMSyYK0KO6FDVUoFwmA6vpAmrPAFRprGbHTxFOs3OXY0ren
y1fXg0SKPPAkYaeCO1KbO5Ktvn5BTEcTnPTmtogm2zxbA6ppxntiGWSW2056zCZe
KZHOFn+MyOG2WXc7lwffzqKK0kPOrUbs37zw/0EbvtMBJN9N/+ln8sDuA5AUOIHt
BASPCFMnluc1kO2TSuztIOPFfqC1HbEdR+Mgbz6eIZFpk38J1qKuF311hXteBHjM
pt8xeCfEYR8AxfOtbzDKGMAFHGEaHOdhSku9a5FUBocsw+YiMs+xXKABE8YZPxIS
5QREouSCbqyRmUHnxj+wIMFP/F1G2qQEGcIwaXCR8+huY7bpXieZltT4fP2s0kcI
cUWTpEfY9O/L7mCTZUw6/oB1w/ey05ToJCHeFnLlEgH6SMZPwbqMnh/sadR73ghp
P/EoyBkRKgr1QbHSjOOSQxI42eaKYIp6A5pzMLRK8NHxJYkCHM9kmvxjyHBUd0q0
jyauIExVZhz+ManKv6aTyueIiAgwyVTQwZtSznubh1pu6iSh1RE=
=J99u
-----END PGP SIGNATURE-----

Attachment: pgpY4o9IedQ1Q.pgp
Description: PGP signature


--- End Message ---

Reply via email to