-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"make test" shows failures not present with "ctest" on Linux x64 #480
Comments
From [email protected] on June 05, 2011 14:22:57 In 32-bit Unbuntu 11.04, libc is in /lib/i386-linux-gnu, by adding it to the search path, only 8 test cases fail now. 91% tests passed, 8 tests failed out of 92 Total Test time (real) = 58.20 sec The following tests FAILED: |
From [email protected] on June 05, 2011 14:38:00 For test 70, client failed to find module client.syscall because its module name is set NULL: *data = {{start = 0x8048000 "\177ELF\001\001\001", handle = 0x8048000}, end = 0x804b000 <Address 0x804b000 out of bounds>, |
From [email protected] on June 06, 2011 20:07:11 For test 70, dr_module_preferred_name works correctly, the problem happens strcmp returnning a wrong result. |
From [email protected] on June 07, 2011 02:44:53 Qin, on Ubuntu 10.04 w/ the private loader we hit a SIGSEGV here: #0 0x00007f0bc1200b28 in __strcasecmp (s1=0x72000f43 "libstdc++.so.6", s2=0x2fe229a92f <Address 0x2fe229a92f out of bounds>) at strcasecmp.c:65 have you already hit this? do you need more information? should this be a separate Issue or is it quite related to the test failures? basically we've had to revert to pre-private-loader to get this C++ client to work |
From [email protected] on June 07, 2011 09:24:07 No, I did hit this, can you provide more information? |
From [email protected] on June 07, 2011 11:45:42 split comment 4 as issue #489 |
From [email protected] on June 14, 2011 20:43:59 on Fedora 12 I'm seeing these tests fail. they all pass with -no_private_loader: debug-internal-32: 90 tests passed, **** 3 tests failed: **** flush: syscall: drwrap: drmgr: |
From [email protected] on July 04, 2011 02:11:52 For syscall test, it fails on strcmp. It does not execute any version of real strcmp code but put it into the rax and returns. |
From [email protected] on July 04, 2011 15:38:59 is this just the new indirect export type first encountered in issue #248 ? |
From [email protected] on July 05, 2011 08:58:29 split comment 8 to issue #505 |
From [email protected] on July 08, 2011 02:41:33 Now r861 has passed most test cases. zhaoqin@ubuntu:~/Workspace/DynamoRIO/dynamorio/build_suite$ ctest -S ../suite/runsuite.cmake RESULTS debug-external-32: build successful; no tests for this build Error in read script: /home/zhaoqin/Workspace/DynamoRIO/dynamorio/suite/runsuite.cmake RESULTS debug-external-32: build successful; no tests for this build Error in read script: /home/zhaoqin/Workspace/DynamoRIO/dynamorio/suite/runsuite.cmake RESULTS debug-external-32: build successful; no tests for this build Error in read script: /home/zhaoqin/Workspace/DynamoRIO/dynamorio/suite/runsuite.cmake |
From [email protected] on July 08, 2011 02:52:44 In addition, different ways of running tests cause different results: Total Test time (real) = 830.44 sec The following tests FAILED: However, using ctest zhaoqin@ubuntu:~/Workspace/DynamoRIO/dynamorio/build$ ctest -I 9,9 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 0.61 sec 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 0.92 sec 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 0.71 sec 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 0.55 sec zhaoqin@ubuntu:~/Workspace/DynamoRIO/dynamorio/build$ ctest -I 47,47 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 0.52 sec 100% tests passed, 0 tests failed out of 1 Total Test time (real) = 0.62 sec Adding --force-new-ctest-process does not change the ctest result |
From [email protected] on July 11, 2011 07:59:41 if it were one or two tests, could disable from "make test" (xref issue #389 ) |
From [email protected] on July 12, 2011 10:20:32 Those failed tests using make test are caused by TLS access violation in spawned threads. I have trouble to reproduce the failure on individual run, which makes it difficult to debug. |
From [email protected] on October 26, 2011 06:47:28 Actually, this is the older bug tracking this "make test" vs "ctest" issue and it has more relevant information, so I think I'll merge the new one into the old one. Summary: "make test" shows failures not present with "ctest" on Linux x64 |
From [email protected] on October 26, 2011 06:47:40 Issue 591 has been merged into this issue. |
From [email protected] on December 10, 2012 07:13:27 Owner: --- |
From [email protected] on December 19, 2012 09:29:19 A user pointed out that Debian make adjusts the stack size of child processes: https://groups.google.com/d/msg/dynamorio-users/jY3JfkZGLh8/FJz95TE4QcUJ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696222 That may have something to do with this. |
From [email protected] on June 05, 2011 17:18:39
Ubuntu 11.04 32-bit
72% tests passed, 26 tests failed out of 92
Total Test time (real) = 50.29 sec
The following tests FAILED:
64 - code_api|client.abort (Failed)
65 - code_api|client.alloc (Failed)
66 - code_api|client.call-retarget (Failed)
67 - code_api|client.cleancall (Failed)
68 - code_api|client.count-ctis (Failed)
69 - code_api|client.count-bbs (Failed)
70 - code_api|client.syscall (Failed)
71 - code_api|client.modules (Failed)
72 - code_api|client.events (Failed)
73 - code_api|client.signal (Failed)
74 - code_api|client.syscall-mod (Failed)
75 - code_api|client.nudge_test (Failed)
76 - code_api|client.timer (Failed)
77 - code_api|client.file_io (Failed)
78 - code_api|client.flush (Failed)
79 - code_api|client.strace (Failed)
80 - code_api|client.thread (Failed)
81 - code_api|client.truncate (Failed)
82 - code_api|client.unregister (Failed)
83 - code_api|client.inline (Failed)
84 - code_api|client.drmgr-test (Failed)
85 - code_api|client.drwrap-test (Failed)
89 - code_api,opt_memory|client.events (Failed)
90 - code_api,thread_private|client.events (Failed)
91 - code_api,disable_traces|client.events (Failed)
92 - code_api,thread_private,disable_traces|client.events (Failed)
Errors while running CTest
make: *** [test] Error 8
Original issue: http://code.google.com/p/dynamorio/issues/detail?id=480
The text was updated successfully, but these errors were encountered: