public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Phil Muldoon <pmuldoon@redhat.com>
To: Frysk Hackers <frysk@sourceware.org>
Subject: Corefile -arch 32 test failures with breakpoint and stacktrace tests
Date: Sat, 06 Oct 2007 08:12:00 -0000	[thread overview]
Message-ID: <47074377.5040602@redhat.com> (raw)

I've spent the last week fixing 32 on 64 test failures with core files, 
and while all tests passed on my local build, when I merged with HEAD, I 
got as noted below in the email. I suspect these are  changes made in 
the last week or so.

Basically the tests now failing are:

1) 
testInsertedBreakpoint(frysk.proc.dead.TestLinuxCore)lib.dwfl.ElfFileException
1) 
testLinuxCoreFileStackTrace(frysk.proc.dead.TestLinuxCore)junit.framework.ComparisonFailure: 
Compare stack traces expected:<...489234dc in __libc_sigsuspend ()

Both these tests work on native bit size (ie 64 on 64, and both worked 
with my copy of HEAD from earlier this week with -arch 32 and my local 
changes)

Regards

Phil

[pmuldoon@localhost frysk-core]$ ./TestRunner -arch 32 
frysk.proc.dead.TestLinuxCore frysk.proc.dead.TestCorefileByteBuffer 
frysk.util.TestFCore
Running testLinuxCoreFileMaps(frysk.proc.dead.TestLinuxCore) ...PASS
Running testLinuxCoreFileStackTrace(frysk.proc.dead.TestLinuxCore) ...FAIL
  junit.framework.ComparisonFailure: Compare stack traces 
expected:<...489234dc in __libc_sigsuspend ()
#2 0x080491fe in server ()
#3 0x08049d11 in main ()
#4 0x4890ff70 in __libc_start_main ()
#5 0x08048c31 in _start ()...> but was:<...00000000 in [unknown]...>
Running testLinuxHostPopulation(frysk.proc.dead.TestLinuxCore) ...PASS
Running testLinuxProcPopulation(frysk.proc.dead.TestLinuxCore) ...PASS
Running testLinuxProcAuxV(frysk.proc.dead.TestLinuxCore) ...PASS
Running testLinuxTaskMemory(frysk.proc.dead.TestLinuxCore) ...PASS
Running testLinuxTaskPopulation(frysk.proc.dead.TestLinuxCore) ...PASS
Running testInsertedBreakpoint(frysk.proc.dead.TestLinuxCore) ...ERROR
  lib.dwfl.ElfFileException
Running 
testCorefileByteBufferSlice(frysk.proc.dead.TestCorefileByteBuffer) ...PASS
Running 
testCoreFileByteBufferPeek(frysk.proc.dead.TestCorefileByteBuffer) ...PASS
Running 
testCoreFileByteBufferMapOverrun(frysk.proc.dead.TestCorefileByteBuffer) 
...PASS
Running 
testCoreFileByteBufferMapUnderrun(frysk.proc.dead.TestCorefileByteBuffer) 
...PASS
Running 
testCoreFileByteBufferSequentialGet(frysk.proc.dead.TestCorefileByteBuffer) 
...PASS
Running 
testCoreFileByteBufferPeekArray(frysk.proc.dead.TestCorefileByteBuffer) 
...PASS
Running 
testCoreFileByteBufferPoke(frysk.proc.dead.TestCorefileByteBuffer) ...PASS
Running testCoreFileCreated(frysk.util.TestFCore) ...PASS
Running testElfCoreHeader(frysk.util.TestFCore) ...PASS
Running testProgramSegmentHeader(frysk.util.TestFCore) ...PASS
Running testGeneralPurposeRegisters(frysk.util.TestFCore) ...PASS
Running testFloatingPointRegisters(frysk.util.TestFCore) ...PASS
Running testXFloatingPointRegisters(frysk.util.TestFCore) ...UNRESOLVED
  http://sourceware.org/bugzilla/show_bug.cgi?id=4890
Running testAuxv(frysk.util.TestFCore) ...PASS

Time: 0.338
There were 1 unresolved:
  http://sourceware.org/bugzilla/show_bug.cgi?id=4890
There was 1 error:
1) 
testInsertedBreakpoint(frysk.proc.dead.TestLinuxCore)lib.dwfl.ElfFileException
   at lib.dwfl.Elf.<init>(TestRunner)
   at frysk.proc.dead.TestLinuxCore.getFunctionEntryAddress(TestRunner)
   at frysk.proc.dead.TestLinuxCore.testInsertedBreakpoint(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArch32Cases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)
There was 1 failure:
1) 
testLinuxCoreFileStackTrace(frysk.proc.dead.TestLinuxCore)junit.framework.ComparisonFailure: 
Compare stack traces expected:<...489234dc in __libc_sigsuspend ()
#2 0x080491fe in server ()
#3 0x08049d11 in main ()
#4 0x4890ff70 in __libc_start_main ()
#5 0x08048c31 in _start ()...> but was:<...00000000 in [unknown]...>
   at frysk.proc.dead.TestLinuxCore.testLinuxCoreFileStackTrace(TestRunner)
   at frysk.junit.Runner.runCases(TestRunner)
   at frysk.junit.Runner.runArch32Cases(TestRunner)
   at frysk.junit.Runner.runTestCases(TestRunner)
   at TestRunner.main(TestRunner)

FAILURES!!!
Tests run: 22,  Failures: 1,  Errors: 1

             reply	other threads:[~2007-10-06  8:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-06  8:12 Phil Muldoon [this message]
2007-10-08 10:46 ` Mark Wielaard
2007-10-09 17:08   ` Andrew Cagney
2007-10-09 17:30     ` dl symbol search path; Was: " Andrew Cagney
2007-10-16  2:39       ` Roland McGrath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47074377.5040602@redhat.com \
    --to=pmuldoon@redhat.com \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).