|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1368 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1368.
Report 1368 Actions
Problem Report Number 1368 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0650 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-11-22 08:00 Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.1.0 Test Identification Base/bsd_signal 3 Problem Summary TSD4U.00167 This test may fail intermittently on very slow systems. Problem Text
This test may fail intermittently and is yet another example of timing
dependencies within VSU that fail to take into consideration specific
system dependencies.
This test is attempting to test that a SIGCHLD signal is generated for
the calling process whenever any of its child processes stop. It does
this by fork()ing the children and then setting the SIGCHLD interrupt
handler and then tests whether a SIGSTOP to random children produces
a SIGCHLD interrupt using the following code:
tet_infoline("TEST: SIGSTOP to random children produce SIGCHLD interrupts");
dropped = 0;
received = 0;
for(i=0; i<MAX_STOPS; i++) {
child = (int)(drand48() * (double)(MAX_CHILDREN-1));
signal_received = 0;
sighold(SIGCHLD);
avs_set_alarm(NSECS_ALARM);
kill(children[child], SIGSTOP);
sigpause(SIGCHLD);
avs_ignore_alarm();
if(signal_received == 0) {
dropped++;
} else {
received++;
}
}
The problem however, is that NSECS_ALARM is defined as "2" which may not
always be enough time for SIGCHLD to be added to the calling process's
signal mask. Increasing this value to a value more appropriate to the
system under test results in the test passing.Test Output
TEST CASE: bsd_signal
TEST PURPOSE #3
After a successful call to void (*bsd_signal(int sig,
void (*func)(int))) (int) when sig is SIGCHLD a
SIGCHLD signal shall be generated for the calling
process whenever any of its child processes stop.
PREP: Start up children
PREP: Set SIGCHLD interrupt handler
TEST: SIGSTOP to random children produce SIGCHLD interrupts
ERROR: System did not send 6 signals of 1000 sent
3 FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 1368
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority