Summary: | No support for never-blocking oneways | ||
---|---|---|---|
Product: | TAO | Reporter: | dfaure |
Component: | ORB | Assignee: | dfaure |
Status: | NEW --- | ||
Severity: | major | ||
Priority: | P3 | ||
Version: | 1.5.5 | ||
Hardware: | PowerPC | ||
OS: | other | ||
Attachments: |
automated test for many oneway calls to a busy receiver
results on linux Mac results (this test is not really reliable if it sometimes fails due to timing reasons...) |
Description
dfaure
2007-01-25 03:22:36 CST
Created attachment 651 [details]
automated test for many oneway calls to a busy receiver
Adam, can you have a look at this because with the commmit below you added a changelog saying that oneways would never block, but this report is about the fact that oneways do block in some cases. Tue Aug 15 14:56:35 UTC 2006 Adam Mitz <mitza@ociweb.com> Adam is busy at the moment. We need a PRF from the original reporter. Also, would the original reporter please run $TAO_ROOT/tests/Oneway_Timeouts/run_test.pl and report the results? to reporter The PRF was on the tao-bugs list in November already... TAO VERSION: 1.5 - also tried with 1.5.4 ACE VERSION: 5.5 - and 5.5.4 HOST MACHINE and OPERATING SYSTEM: Apple G5, Mac OS 10.3 - also tried on Linux-2.6.17 Kubuntu-6.10 amd64. COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc 3.3 20030304 - gcc-4.1.2 on Linux CONTENTS OF $ACE_ROOT/ace/config.h: config-macosx-panther.h - config-linux.h on Linux CONTENTS OF $ACE_ROOT/include/makeinclude/platform_macros.GNU: platform_macosx.GNU - platform_linux.GNU on Linux AREA/CLASS/EXAMPLE AFFECTED: TAO_Transport::send_message_block_chain_i, making oneway calls DOES THE PROBLEM AFFECT: EXECUTION SYNOPSIS: see report I'll attach the test results. What about my test program? Does it work for you? dfaure@klaralvdalens-datakonsult.se wrote: > I'll attach the test results. Thanks. > What about my test program? Does it work for you? I was unable to view the attachment in my web browser. What file format was it? Try attaching a .tar.gz file. Steve Created attachment 664 [details]
results on linux
Created attachment 665 [details]
Mac results (this test is not really reliable if it sometimes fails due to timing reasons...)
It -is- a .tar.gz file... I uploaded it to http://kdab.net/~dfaure/oneway_test.tar.gz now. dfaure@klaralvdalens-datakonsult.se wrote: > It -is- a .tar.gz file... I uploaded it to > http://kdab.net/~dfaure/oneway_test.tar.gz now. Thanks, I have the test, now. Strange that when I clicked on the attachment listed in the Bug, all I got was an option to save the .cgi file. I looked very briefly at your test. I'm not sure how much time I or anyone on my team will have in the next several days to look at this. dfaure@klaralvdalens-datakonsult.se wrote: > (this test is not really reliable if it sometimes fails due to > timing reasons...) Yeah, testing for timeout conditions is not easy on an operating system where you don't have much control over scheduling. I looked at the results of the Oneway_Timeout test on the DOC scoreboard and see some inconsistent results across platforms, there too. Sometimes, it reports that something took longer than expected. Other times, it fails because an executable was still running when the test exited (which may mean it was hung or it hadn't finished its work yet--another kind of timeout condition). A colleague of mine wrote: > I beat my head against this test a few weeks ago. There's a particular > test case that expects the connection to be deferred so that the client > queues up a bunch of messages that are then blasted out as soon as the > connection completes. But in many cases, BSD, HP, and Solaris I think, > the connection completes right away and thus no client-side queuing. The > server side then kicks this out as an error since the time from the first > message to the last message is too long. Anyway, there is little time to spare on this problem from my end. If you can help debug what is going on, and maybe convert your test into a new one-button test that could be added to the repository (including an MPC file and making sure it builds and runs across various platforms and build configurations), it would be much appreciated. |