EP0592080A2 - Méthode et appareil pour la communication entre des processus dans un système multi-ordinateur - Google Patents
Méthode et appareil pour la communication entre des processus dans un système multi-ordinateur Download PDFInfo
- Publication number
- EP0592080A2 EP0592080A2 EP93306119A EP93306119A EP0592080A2 EP 0592080 A2 EP0592080 A2 EP 0592080A2 EP 93306119 A EP93306119 A EP 93306119A EP 93306119 A EP93306119 A EP 93306119A EP 0592080 A2 EP0592080 A2 EP 0592080A2
- Authority
- EP
- European Patent Office
- Prior art keywords
- scenario
- task
- driver
- directory
- environment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
Definitions
- This invention relates to data processing systems, and more particularly to multiprocess communication in a multicomputer data processing system.
- Diagnostic programs can also be run on a computer or network when a system malfunction has occurred, or is suspected. These diagnostic programs are very specific to the hardware being tested, and information for invoking and/or operating the test procedures are generally hardcoded within the diagnostic program itself. This inability to customise a given diagnostic program for other than its original intended use has greatly limited its usability in a multicomputer network, having multicomputer interconnected to either singularly, or in combination with one another, perform a given task.
- script files can be written to control application programs.
- Scripts are quasiprograms within a Unix, or compatible, operating system that define a set of procedures to be performed. These procedures can invoke application programs, receive I/O from a computer user, and make logical decisions based upon parameters.
- these script programs suffer many of the same deficiencies of a regular application program, such as lack of flexibility. Adding an additional step or process requires modifications be made to the program itself, which can not only be complicated, but due to the state of programming, can cause unexpected results in other areas of the program.
- process context based on process name. If this context is achieved through a process of inheritance based on process name, then the process context becomes rigid based on the order of process start. There is no concept of a global variable or of extending full process semantics into a distributed environment.
- testing scaffold is aimed at being a flexible test case driver that can be used to execute functional verification tests on a single host or large networked system level integration tests involving dozens of hosts.
- the testing scaffold designed to meet the requirements of large scale testing environments. The ability to execute these environments by default allows manipulation of smaller scale environments.
- a complicated testing environment is defined as an environment that executes literally thousands of tests on dozens of hosts for extended periods of time. These types of tests are usually targeted at finding system level integration problems and often fall near the end of the software testing cycle. Looping control, archival and compression options, support for distributed file systems and support for multiple concurrent executions of the same test case on the same machine are only a few of the scaffold functions that support complicated testing environments.
- testing scaffold Another strength of the testing scaffold is its ability to closely emulate a real world organization, and yet remain completely automated. Some primary areas of functionality that are included are distributed execution management, scaffolding for customer simulation, collision avoidance within the same name space, automated status collection mechanism, test case independence, common tester interface for multiple types of testing.
- the disclosed method and system further provides multiple scenario driver levels that allow the simulations of machines in tightly clustered networked environments, multiple people on the same machine executing concurrently, and the simulation of the actual tasks people are executing. For instance, the ability to be able to execute a single command that begins a forty hour test scenario that actually simulates a large company's work week with users logging in and out of multiple machines, executing tasks, sharing files in a distributed file space, and then having a report produced automatically at the end of the test scenario indicating its precise status is provided herein.
- the testing scaffold has been designed to automate this type of process.
- test scaffold In order to gain the full functionality of the test scaffold, there must exist a medium for communication between multiple hosts. Without a communication medium, only the machine scenarios and below will be able to run. A mechanism of creating logical process hierarchies within a distributed environment is provided. Extensions beyond the logical process hierarchy are similarly provided.
- a process may register to be a controlled process. That is, a process may elect to run with identical semantics as a normal process. In this mode, the process will have a distributed environment. It may receive normal signals from other processes in the logical process tree, and may cause the expected result on it's logical parent in case of process exit.
- a process may register as an interested party to a process or processes that are currently part of a logical process tree. In this mode, using the same communication mechanisms, the process can place itself on a notify only list for a particular event. Also in this mode, the logical parent will not be notified of death of child or other exit events. The process may, however, share in the other logical process groups attributes, such as distributed environment space and message services.
- This registration mechanism is expandable to allow general purpose server implementations in a distributed environment, thus providing to the user system transparent facilities for control in a distributed environment.
- the testing framework of Figure 1 encompasses the implementation of a complete testing scaffold, which will include scenario drivers 12 for multiple test scenario levels 16, 18, 20 and 22. Also included, as shown in Figure 2, a scenario build tool 52 , a report filter 64, interface definitions for test scenario development that include standard journal programming interfaces 70 and 74, and a complete directory structure.
- the scope of what the scaffold can control varies from very small test scenarios consisting of a single test program to very large and complex test scenarios that encompass dozens of hosts and thousands of test programs.
- a scenario driver with four different hierarchical levels is provided for this purpose.
- the scaffold has a well defined interface that requires a minimum amount of structure to which test programs may be written.
- the scaffold places no restrictions on the size and/or complexity of individual test programs.
- a test program that executes under the scaffold could execute an operating system command and validate its return code or it could begin an environment scenario consisting of a dozen machines.
- API Application Programming Interface
- An applications programming interface is the set of functions or interfaces to an application.
- a begin hook is user code that is executed by the scenario driver prior to executing the test scenario(s) underneath it. It is meant to aid in test scenario customisation during the scenario execution stage.
- a distributed file space is a directory structure that is shared by multiple hosts.
- Network File System (NFS)1 is the most common UNIX implementation of this concept. 1NFS is a trademark of Sun Microsystems, Inc.
- An end hook is user code that is executed by the scenario driver after executing the test scenario(s) underneath it. It is meant to aid in test scenario customisation during the scenario execution stage.
- An environment scenario is a test scenario level used to group related machine, person, and task scenarios together in a networked environment.
- An environment scenario driver is an automated program that controls the execution of an environment scenario.
- a machine scenario is a test scenario level used to group related person and task scenarios together on a single host.
- a machine scenario driver is an automated program that controls the execution of a machine scenario.
- a person scenario is a test scenario level used to group related task scenarios together to simulate a customer.
- a person scenario driver is an automated program that controls the execution of a person scenario.
- a report filter is the generic name given to a program that reads the scenario journal and/or task journal and produces legible reports.
- the scenario build tool is a menu driven program that enables the management of scenario definition files and scenario instance files.
- a scenario definition file contains both user defined attributes and scenario driver attributes that define a testing scenario.
- a definition file contains actual template values for scenario driver attributes and template data about user defined attributes that denote each user defined attribute's type, restrictions, default value, and description.
- a definition file forms a template for the creation of a scenario instance file.
- the scenario development stage is the stage in which all the user task code and scenario configuration information is developed and debugged.
- a scenario driver is the generic term given to a program that drives or controls the execution of other lower level scenario drivers or user task code.
- Scenario driver attributes are the primary scenario driver configuration method. They are used to define and/or alter the function of the scenario driver.
- the scenario execution stage is the stage in which test scenarios are executed.
- a scenario instance file contains both scenario driver attributes and user defined attributes that define a testing scenario.
- a scenario instance file contains actual values for both the scenario driver attributes and the user defined attributes.
- the scenario journal is a standard journal that contains high level data with respect to the scenario execution.
- a task help file contains data documenting a task.
- the task journal is a standard journal utilised by user task code. There is single task journal for every instance of a task that executes in a test scenario.
- a task scenario is the test scenario level that is comprised of user code. It can be thought of as the equivalent of a testcase.
- a task scenario driver is an automated program that controls the execution of a task scenario.
- Task setup code is user code used to compile test source code during the scenario execution stage.
- test scenario is a generic name given to a selected grouping of tests.
- User defined attributes are variables used to convey data to user task code.
- User task code is the code written by the task scenario developer for testing purposes and is synonymous with what is typically referred to as a test case.
- the following two models are used to describe the overall architectural level interactions of the major components of this invention.
- the first model describes the interactions of each of the scenario drivers, the objects the scenario drivers execute, and the scenario drivers relationship with test scenarios.
- the second model describes the interactions of the components that constitute this invention.
- the scenario driver interaction architectural model 10 describes the interactions of each of the scenario drivers 12, the objects the scenario drivers execute at 14, and the scenario drivers relationship with test scenarios.
- the rectangles 16, 18, 20 and 22 outlining the components of the model represent test scenarios
- the disk icons represent data storage locations 72, 26, 28, 30 and 32
- the square blocks 12 represent programs
- the shaded square block 68 represents code developed by a scenario developer.
- This model shows the relationship between a test scenario 16, 18, 20 and 22, and the corresponding scenario driver 12. Every defined test scenario has a single scenario driver 12 that controls its execution and a single scenario instance file (e.g. 26, 28, 30 and 32) that provides the configuration information needed to define that specific test scenario.
- a single scenario driver 12 that controls its execution
- a single scenario instance file e.g. 26, 28, 30 and 32
- the scenario driver interaction architectural model 10 shows that although the scenario driver component 12 is the same at each of the test 5 scenario levels from the environment scenario level 22 through the task scenario level 16 , the scenario instance file differs. In the preferred embodiment, there is a single scenario instance file associated with each scenario driver and although there is one scenario driver component, its actions vary greatly depending on the contents of the scenario instance file.
- Scenario drivers that control other scenario drivers can control one or more of those drivers concurrently as the model shows. This allows a hierarchical test suite where test scenarios can be defined that consist of other test scenarios.
- the task scenario driver that executes the user task code controls only one piece of user task code, therefore, there is a single task scenario driver for each individual component of user task code that will be executed in the test scenario.
- scenario driver 12 does much more than control the execution of a single piece of user code. In addition to that function, it also has the capability of controlling an entire set of hosts in a networked environment.
- the scenario driver also has the capability to emulate multiple people executing on a single host since multiple person scenario drivers can be executed by the machine scenario driver. Each of these person drivers then has the ability to execute a set of task scenario drivers which then actually execute the scenario developer's test code.
- This hierarchical model allows unparalleled flexibility and real person emulation in a cohesive networked environment, all centrally controlled and automated from the single environment scenario driver.
- Figure 2 depicts the component interaction architectural model 50, and details the interactions of all of the major architectural components of this invention.
- the disk icons 54, 56 and 62 represent data storage locations and the square blocks 52, 58, 60, and 64 represent programs.
- the shaded program block 68 represents user code that is developed by a scenario developer.
- This model shows that the primary interaction with scenario definition files 56 and scenario instance files 54 is accomplished through the scenario build tool 52.
- the scenario build tool 52 is used to manage the scenario definition and instances and can be accessed by scenario developers.
- the scenario definition files 56 define configuration information for scenarios and are used as templates for creating the scenario instance files 54.
- the scenario instance files are scenario driver input that supply the scenario driver configuration information during the scenario execution stage.
- the scenario driver 58 reads the instance data as its input, and either executes another set of scenario drivers 60 and/or user code 68. There is an interface between each of the scenario driver levels (shown in Figure 1 at 14), as well as the scenario driver and the user code (Figure 2, at 70). These interfaces vary depending on the scenario driver and executable object combination.
- the scenario drivers that are executed by the scenario driver are depicted as a single program at the top edge of the model. However, the scenario driver can execute multiple scenario drivers concurrently. Each of these scenario drivers would then fit into the centre piece of the model where the main scenario driver program is located and have the same set of possible interactions as the scenario driver that executed them.
- Journalizing from any scenario driver is done to a scenario journal via a scenario journal driver programming interface 78.
- all scenario drivers on a machine executing in the same scenario journal ise to the same scenario journal 62.
- Each of the user code components of the testing scaffold have been grouped into the single user code program box 68 in the model.
- User code journalises to the task journal 72 with the exception of begin and end hook user code which journalises to the scenario journal 62.
- the format of the scenario journals 62 and task journals 72 is consistent, enabling a report filter 64 to read the journals and produce legible reports 66.
- the operating system's file system must incorporate the ability to have directories within directories and files within those directories at any given point.
- a standard Unix operating system provides this function.
- the operating system must be able to have a running process be able to create multiple child processes that can execute concurrently.
- the parent process must also have some control over the child processes.
- a standard Unix operating system provides this function.
- the interhost communication executes at the user run level on a particular system. This allows the implementation of the described facilities without the necessity of changing the underlying operating system and gives the additional benefit of being an "open systems" solution since it only relies on basic system services for it's communication channels.
- the communication mechanism is thus completely independent of communication protocols. Since it is a message passing service, the actual protocol used for message passing is independent from the actual process of passing messages.
- the API for passing a message is send_packet(). The details of how the packet is delivered is up to the implementer of send_packet for a given machine/operating system implementation. One example is shown by using sockets to effectuate the communication mechanism.
- Additional flexibility provided by this characteristic is that multiple protocols may be used in the message system to allow the system to dynamically select the best performance communication in a given situation. For example, we may want to use sockets to communicate across system boundaries and use shared memory or message queues for in the box communication.
- the architecture allows the same call to send-packet to perform both tasks transparent to the calling process.
- An additional element in the logical family representation is the extended PID.
- various mechanisms are employed to insure that each process runs with a unique process ID. These mechanisms do not continue to function when more than one operating system instance is present in the environment.
- a combination of machine name with the machine unique process ID is used to identify a process in this context. Given the guarantee of a unique process ID on any single operating system instance and a methodology of unique machine IDs, we can guarantee a unique ID for a process in a distributed environment.
- Additional benefits of the above described communication architecture include the ability to (i) use the registration process for purposes other than to participate in a logical family hierarchy, and (ii) dynamic reassignment of processes in the event of a node failure.
- the following describes the mechanism used to implement the control process chosen for message passing and interprocess communication used by the distributed test environment driver.
- test driver The goal of the test driver is to allow any available tests to be driven, tracked and controlled on many systems with a point of control for the overall environment simulation that can be on a single system. To do this, it is necessary to establish a communication mechanism to allow the drivers in the environment to communicate in much the same way that you would expect from driving a test environment on a single machine.
- this communication mechanism is implemented as a library of functions available to the test drivers with a control daemon on each machine to provide the distributed ipc.
- this implementation technique we have isolated the communication functions into the library and the control functions into the control daemon so the driver will not have to be aware of the network type or protocol type used to pass messages within the distributed environment.
- a control daemon (server) 340 runs on each machine 342 that is expected to participate in the distributed testing.
- Test drivers 12 that are under control of the distributed environment 338 are expected to register with the server 340 on the machine 342 where they are executing. All communication with other processes and other processors is done via the server for the machine on which the test driver 12 is executing. This allows child processes to be spawned on remote machines and death of child to be received on the parent machine upon completion of processing.
- the control daemon 340 also has facilities 344 for individual message queues for each registered process, as well as the maintenance and retrieval of environment variables across the test environment 338.
- a process In order to participate in this environment, a process must register with the server 340. This is accomplished by issuing the register function call in the library. Once a process chooses to register, a client record is created in the server and a handle assigned to that client for server use. The handle is returned to the registering process and must be used for further communication with the server.
- the controlled process When the controlled process has finished processing, it must issue a terminate command to the server to indicate that processing has completed.
- the terminate command requires passing a return code of the current process.
- the terminating process Once a process issues the terminate command, the terminating process will block and the server will enqueue a message on the parents message queue that a child is terminating and wait for the parent process to terminate the child.
- the parent will issue a release_child function call with the childs handle upon receipt of the message.
- the server receives the release_child command, the child will be signaled that it is ok to terminate and the client data structures will be freed in the server.
- IPC library functions ipclib.a. These functions provide the user level API 346 ( Figure 28) for access to communication 348 and services facilities provided by the server.
- the set_signals command is used to initialize the signal handler, the signal handler is build in the library and had facilities for handling messages sent from the server to the client, handling death of child and terminating the process.
- the driver developer need only include this call in the driver code and all signal handling will be done automatically using the ipclib signal vectors.
- an environment variable is set (AUS_PHANDLE) which contains the value of the handle to be used by that process.
- AUS_PHANDLE an environment variable which contains the value of the handle to be used by that process.
- the process uses the handle given in the environment variable 396. This handle was created by preregistering a child with the server and is already known by the parent. When this is done, the client record in the server is updated and the parent notified that a child started. If the correct handle is passed in this instance, the register_client routine will return the same handle that was passed.
- the value of handle When a process is started as a top level process, as determined at 394, the value of handle will be zero. This indicates that this is a top level process and the server will act as the parent of this process, as shown at 398. In this instance, the register_client routine will return a new handle value, indicating the handle to be used for this client in the future.
- the client process prepares a registration packet and forwards it to the server where it is received 402.
- the server Upon receipt of the registration packet, the server will determine if the handle contained in the packet already exists in the server client table 404. If the handle does not exist, the server will construct a new handle at 406, initialize a new client record in the server client table and return the handle at 408 in the registration packet to the client. If the server determines that the handle exists in the client table at 404 the server will update the server client table. The update process may take on two forms depending on the current state of the process indicated by the handle. If the table entry that matches the handle is in the pending state, then that entry is marked valid and processing continues.
- the server will check the parent host of the process and decide if the parent of this process is local or remote at 412. If the parent is on the local system, the server will check the parent's handle at 422. If the parent is not the server, then the parent process will be notified at 424. This notification is accomplished by enqueueing a message on the parent's message queue and processing a signal to the parent process that a message is pending.
- the parent will retrieve the message and create a local child status record.
- the registration packet with the handle for this process is then returned to the registering process at 408.
- the parent being the server as determined at 422, no notification of the parent process is necessary and the handle is returned to the registering process at 426.
- the local server client table is updated to indicate that the process has registered at 414.
- a registration packet is prepared by the local server and forwarded to the remote server at 416.
- the local server will then wait until the remote processing is complete.
- the remote server will update the remote server client table to indicate that the process has registered at 418. Since the parent process exists on the remote computer, the notification of the parent process is carried out by the remote server at 420. Once the notification has been enqueued, the remote server will return the registration packet to the local server who will in turn update the packet with the final information relative to the local system and return the packet with the handle of the registering process at 408, thus completing registration 420.
- the terminate is used prior to exit of the process.
- the handle of the process terminating and the return code to be passed back to the parent are used as parameters.
- the intent of the terminate command is to allow return codes to be passed back to the parent process.
- the terminating process will block waiting on a signal.
- the server will notify the parent process by enqueueing a message to the parents message queue and signaling the parent that a message is pending.
- the parent signal handler will catch the signal, get the message, update the parents child data table and issue the release_child command. Using this command will cause the server to clean up the client table entry for the terminating process and send the SIGUSR2 signal to the child.
- the child process Upon the receipt of this signal, the child process will complete it's exit.
- the signal handler used to catch this signal is also part of the ipclib and no user coding is necessary to handle it.
- the notify command has the syntax of notify (handle,sigval).
- notify handle,sigval
- the server will look up the client host name indicated by the handle, if it is the same as the host name of the server then a kill ⁇ sigval> pid is issued to notify the client. If the host name does not match, then the command packet is forwarded to the host name indicated by client host name in the client data structure. The command packet is received by that host and the kill issued on the machine with the process.
- FIGs 31 and 32 show a sample process flow and resulting status.
- the interrelationships that exist between server and client processes is shown.
- This figure is a snapshot of the system state after some processes have been started using the distributed communication facilities.
- Each system, System 1 430 and System 2 450 has an instance of the server running on it.
- the server is 432; for System 2 (S2), the server is 452.
- S1 System 1
- S2 System 2
- the following scenario was followed to arrive at the system state shown in Figure 31.
- the reason for this illustration is to provide a reference point to describe the mechanisms used to provide single system semantics in a distributed environment.
- the base communications path is the same regardless of the information being communicated. This allows service of messages, environmental data, signals, or anything else that may be required, to use the same model.
- a key element of the communication model is the logical parentchild relationships that are preserved in this model.
- a key limitation that this model overcomes is the problem of getting status information from processes that are more than one generation removed from the parent process. To solve this problem, processes that are interested in participating in this logical family tree must register with the local server. Processes that register with the server are assigned a handle and inserted into the server's client table. The server tables created from this registration process, and that reflects the system snapshot of Figure 31, will now be described.
- the client process table for server 432 on S1 430 is shown at 460 of Figure 32.
- handle 0 is used for the server daemon process (432 of Figure 31)
- the information for this server is shown in row 462 of client process table 460.
- server 432 has registered, has a current process handle of 0, has a parent process handle of 0 (since no parent, a remote process handle of 0 (since not initiated by a remote process), a process ID of 23, a parent process ID O (since no parent), the system name S1 which is running this process, the system name S1 where the parent is running (S1 since server process), a pointer to the environment (0, since no environment is defined; if values were defined for environments or message queues, this field would contain a pointer to the head of the current message queue, a pointer to a message queue, and a timestamp.
- Entries 474 and 476 indicate local processes on system 2 and are similar to the table entries already described for system 1.
- Entry 478 is an entry describing a remote process.
- the handle is 3, indicating the handle by which the process is known to this server.
- the parent handle is 2 indicating a logical parent of process 202 (Fig. 31, 456) on S2.
- the remote handle is 4, indicating the handle describing this process on the remote system.
- the process id is 105 and is the same as the process id shown in 170 which is the S1 client process table 460.
- the parent process id is 202.
- the process host is S1, indicating that this is a remote process and the parent host or the host of the parent process is S2.
- S2 is the process host for process 202.
- process ID 105 (item 436 of Figure 31).
- the parent process handle is 0 (indicating a server process)
- the remote process handle is 3 (indicating that this process is the same as a remote process having a handle of 3)
- the parent process ID is 23 (which is the local server, as all processes initiated from a remote machine funnel through the local server)
- the local system name is S1 and the system where the parent is running is S2 (i.e. it was initiated from a remote process).
- the information shown in row 470 is used by the S1 server 432 when accessing/managing Process 105, and the information used for this same process 105 is stored at 478 and is used by the S2 server 452 when accessing/managing such process.
- a single system semantic is used by both local and remote systems for accessing processes in a distributed environment.
- the library provides the capability to have environment variables within the distributed environment. These variables are maintained within the parent/child relationship as seen by the distributed environment. This facility allows changing an environment variable at a level within the test environment that will be seen at every level below where the change was made. Access to the environment variable facilities is as follows:
- This routine updates the environment for the client indicated by handle on the local server. xx_getenv(name,handle)
- This routine will return a character pointer holding the value associated with the environment variable name passed.
- the getenv function will look in the environment indicated by the handle to get the 5 information, if it is not found, then it will follow it's family tree back to the server level looking for the environment variable. If it is not found then this function will return NULL.
- This routine will delete the environment variable indicated by name for the client indicated by handle on the local host.
- start_process facility Another facility available in the library is the start_process facility. At the process level, we have the ability to track the progress of any children started by the process.
- the data structure used for that control is as follows.
- the important information to the user of a driver process is the return code and the status field of a child data structure. This information allows the driver to understand what child processes are out-standing and the current status of those processes. Once a child has completed, the return code from that process will be available in the child_data structure for that process.
- the reserve_slot routine is used by a parent process to reserve a client slot for the child being started in the server.
- the reserve_slot function is called using the parent's handle. The return from this function is a new handle to be used for the child.
- the reserve_slot routine is called by the start process routine and will not normally be used by a user program. When called, the reserve_slot routine also sets up a child_data record in the parent that will be used to associate the driver child data with the server client information.
- the start process command should be used to start all child processes. As you can see, the start-process command has three parameters:
- the command packet is returned to the originating host server (368 for local; 386 for remote) with a good return code.
- the client information is updated at 388 to indicate the remote handle and the client information on the originating host is marked as valid.
- the process that was exec'ed on the remote machine will register.
- the client record on the remote server will be updated to reflect the pid of the actual registering process and the status of the client record will become valid.
- the remote server will then forward a command packet to the originating host server that a child has started.
- the server on the originating host will enqueue a message that the child has started and signal the parent process.
- the signal will be caught by the signal handler and a child data record will be created for the parent with a valid status.
- the start_process command will return the handle of the child that was started.
- the handle will always be the handle relative to the local server view of that process.
- This test environment includes the designation of an all encompassing, somewhat complex, directory structure.
- the structure contains all the user task code, the scenario tools (including the scaffolding tools), and a structure that accumulates data during the scenario execution stage.
- the parent level directory structure for the test scaffold is /austin 80.
- Five directory structures are located in the /austin directory. These structures are named /austin/.def 82, /austin/.inst 84, /austin/tools 86, /austin/tasks 88, and /austin/runtime 90. It is possible to change the default location and/or the name of any of these directories, as described below. How these five directory structures are used will now be described.
- the definition directory 82 contains scenario definition files.
- the default location for the definition directory is /austin/.def.
- the instance directory 84 contains scenario instance files, which are the files that describe a scenario.
- the default location for the instance directory is /austin/.inst.
- the tools directory 86 is the repository for all the standardized scaffold tools and any other tools that are needed by the executing scenario.
- the structure is denoted by the name /austin/tools.
- /austin/tools directory 86 as shown in Figure 4, there are the following five directories: src 92 for source code, *bin 94 for executables and shell scripts, dat 98 for data files, doc 100 for documentation, and *lib 96 for libraries.
- the /austin/tools directory is installed at installation time, and rarely changes. Any tools needed by task code can be standardized and placed into this directory structure.
- the denotation *bin and *lib is used to represent multiple bin and lib directories.
- a set of characters is used to indicate what type of executables or libraries are in the directory.
- the tools directory structure has two directories named rsbin and rslib where RISC System/60002 executables and libraries are placed. If the testing scaffold is compiled on a SUN SparcStation, two other directories, sunbin, and sunlib could be used for the SUN executables and libraries. 2An IBM RISC-based computer system
- the advantage of having multiple binary and library directories is that the executables and libraries can be served from a single host in a network, and the client that is mounting the information can set their local environment variables or PATH environment variable such that they access the appropriate directories based on the client's operating system and hardware platform.
- the tasks directory structure 88 is a repository for all the scenario developer's user code (tasks). Twentysix directories 102 can be found in the /austin/tasks directory in the preferred embodiment. These directories at 102 are named az and are used to separate tasks via the first letter of their respective names. A task must have its own separate directory 104 in the tasks directory structure under the character directory 102 that is the same as the first letter of the task's name. Here, the task m is shown to have separate directories 104 called mtaskl, mtask2 and mtask3. The directory the task creates should be the same as its name. The files 106 that make up the task are separated into the following four directories in the task name directory: src 104 for source code, *bin 108 for executable modules and shell scripts, dat 110 for data files, and doc 112 for documentation.
- the task scenario driver provides an interface that allows writing in a completely different directory structure so it is not necessary to write in the tasks directory structure at all. This helps eliminate any corruption of the tasks structure that might occur during the scenario execution stage.
- the directory structure can be made readonly by changing its permissions; or, if the scenario is being executed in a distributed environment, the tasks directory structure can be mounted readonly from the environment server. Note that the scenario driver does not explicitly ensure that the structure is readonly during the scenario execution stage.
- a task named rcp 120 would be found in the directory /austin/tasks/r 122, and the tasks named float 122 and ftp 124 would be found in the directory /austin/tasks/f 126.
- Every task in the tasks structure 104 is a directory name under its appropriate character directory 102.
- a directory named /austin/tasks/r/rcp 120 that contains all the information 106 pertaining to the rcp task. This directory is referred to as the AUSCODEDIR directory (see later discussion).
- the runtime directory structure 90 is used extensively during the scenario execution stage.
- the top level scenario driver begins execution, it creates a directory 130 in the /austin/runtime directory 90 consisting of the name of the scenario instance 132 followed by the date 134 and time 136.
- This directory 130 is referred to as the scenario directory, and its full tree is referred to as the scenario directory structure.
- the time stamped scenario directory guarantees that scenario data may be kept from n number of scenario executions (barring system resource constraints).
- the working directory 142 is where all the runtime task activity takes place. Following the completion of a task, the files associated with the task are moved from the working directory 142 to either the pass 140 or fail 144 directory depending on the save configuration attribute and their success rate, as described below.
- the file scen.journal. ⁇ hostname> 146 is where the scenario journal information is recorded. This directory structure 138 is created at scenario execution time by the top level scenario driver, as will be described later.
- a task scenario driver When a task scenario driver executes, it creates a unique directory 150 in the scenario directories' working directory 142 if the task is running as the root user, as shown in Figure 8A. If the task is running as a nonroot user, as shown in Figure 8B, the unique task directory structure 152 is created in the user's home directory 154 (denoted by the environment variable HOME). This directory 150 or 152 is referred to as the task directory and its respective directory tree 156 or 158 is referred to as the runtime task directory structure (not to be confused with the task directory structure described earlier).
- the unique task directory name is created by combining the name of the task instance 158, the host 160 that task is executing on, the task's process identification number (PID) 162, and the task's iteration 164.
- This task directory uniqueness allows the same task to be executing on the same host at the same time or to be using the same scenario directory file space at the same time.
- the iteration allows uniqueness once the unique task directory structure is moved to the pass or fail directories. If the scenario is executing in a distributed runtime file space, and one of the fields used in creating the name of the task directory structure was not used, it would be possible to have tasks "stepping on each other.”
- This unique working directory file space is one of the powerful aspects of the testing scaffold.
- the bin directory 166 is created for use by the task setup code for outputting compiled executables, as later described.
- the work directory 168 is where the user will be placed when their code begins execution. Unless it is warranted, the user should not change directories out of the work directory.
- the jour directory 170 is where the standard task journal 172 (task.journal) is located (also 72 of Figure 1) as well as all journals created by the task scenario driver using the ausjournals configuration attribute, as will be later described.
- This entire runtime task directory structure is created by the task scenario driver.
- the unique directory structure for that task is moved to the scenario directories' pass or fail directory depending on the task's success and the value of the scenario driver save attribute. It is then compressed depending on the value of the scenario driver compress attribute. Note that no matter what the attributes are, the task directory structure is always removed from the scenario's working directory (for root users) or the SHOME directory (for nonroot users). The movement of the information to the pass or fail directory is also a function performed by the task scenario driver.
- two different scenarios 180 and 182 have executed or are executing.
- the scenarios originated from the same scenario definition file for the engineering environment scenario, but different scenario instance files. This is apparent because the first field of the directory name is the same, indicating the same scenario definition, but the third field is different, indicating different instances (engineering.e.1 versus engineering.e.2), as was previously described. It is also apparent from the directory name that the scenario engineering.e.1 began March 11, 1991, at 11:05 AM (the 910311.110500 date/time stamp), and that the second scenario began on March 12, 1991, at 11:05 AM (the 920312.110500 date/time stamp). Therefore, the scenarios began execution exactly twentyfour hours apart.
- the scenario driver provides options for task scenario cleanup (described below), but does not automatically remove a scenario directory structure.
- the engineering scenario of Figure 10A is executing using a distributed runtime file space because unique task directory names contain different host names, as well as the runtime directory containing multiple scenario journal files. If the scenario was not distributed, the task directories would contain the same host name. In the example shown, two of the tasks 184, 186 are executing on the host claussen and one of the tasks 188 is executing on the host thelake.
- Figure 10B depicts the postexecution location of the unique task directories described above.
- Several items can be deduced from Figure 10B.
- the scenario driver attribute aussave had the value all or pass for the tasks rcp.t.1 (184) and rcp.t.2 (186) and it had the value all or fail for the task ftp.t.1 (188).
- scenario driver attribute auscompress option was set to pass or all for the task rcp.t.1 (184) and was set to either none or fail for the task rcp.t.2 (186) and none or pass for ftp.t.1 (188).
- scenario driver attribute auscompress option was set to pass or all for the task rcp.t.1 (184) and was set to either none or fail for the task rcp.t.2 (186) and none or pass for ftp.t.1 (188).
- the parent directory structure /austin 80 and each of the five directory structure's beneath it can all be moved to different locations and/or renamed if the need exists.
- Six environment variables are provided and need to be set to the new location of the directory structures if they are moved and/ or renamed. The environment variables follow:
- the scenario build tool if it is searching for an instance, it will first check to see if the AUSINST environment variable is defined. If AUSINST is defined, the scenario build tool will expect the instance file to be located in the $AUSINST directory. If AUSINST isn't defined, the scenario build tool will then check to see if the AUSROOT environment variable is defined. If it is, then the instance is searched for in the $AUSROOT/.inst directory. If the AUSROOT environment variable is not defined, the instance is searched for in the /austin/.inst directory.
- Figure 11 shows the interactions that scenario definition files 56 and scenario instance files 54 have with the other components in the test scaffold. Definition and instance files are created, modified, and deleted through the scenario build tool 52, and instance files are used as configuration input to the scenario driver 58.
- definitions are a necessary step during the scenario development stage. These definitions are then used as templates for the creation of scenario instances.
- the creation of scenario instance files is also a necessary step during the scenario development stage. Without a scenario instance file, a scenario driver will fail to execute, and without a scenario definition, it is impossible to create a scenario instance (unless the scenario build tool is circumvented).
- Each definition and instance is a separate file in the /austin/.def directory (for definitions) or the / austin/.inst directory (for instances).
- the name of the file is the name of the definition or instance.
- a stanza can be found that is similar in nature to a stanza in /etc/filesystems (Note: this is a standard stanza commonly known and used by a UNIX compatible operating system).
- the name of the stanza is the same as the file name, or the instance/definition name.
- the stanza then contains several attribute name/value pairs, one per line.
- scenario driver attributes or scenario driver configuration attributes.
- aus prefix is reserved for scenario driver attributes.
- user defined attributes The purpose of both user defined attributes and scenario driver attributes is explained fully below.
- Definition files differ slightly from instance files as mentioned in the first paragraph above.
- the values for the user defined attributes in a definition file are not actually the values that will be found in the instantiated instance file of that definition. Instead, each of the values of the user defined attributes in the definition file represent a syntax that describes the user defined attribute type, its restrictions, its default value, and a short description of what the user defined attribute is used for. All this information is used by the scenario build tool when that variable is given an actual value by the at instantiation time.
- the scenario build tool insures that the actual value of the user defined attribute, as entered by the task developer at instantiation time, meets the criteria set up when the definition of that user defined attribute was defined.
- Definition files consist of an arbitrary given name (must begin with a character and followed by zero or more alphanumeric characters, the underbar, or periods) followed by a period and the extension e, m, p, or t.
- the extension is placed on the definition file depending on whether the definition defines an environment scenario (e), machine scenario (m), person scenario (p), or task scenario (t).
- Instance files consist of the definition file name described above followed by a period and an extension which is a unique integer value for the current definition. For example, if a definition named foo.e had been instantiated twice, the instances foo.e.1 and foo.e.2 would exist. If it was instantiated a third time, a new instance named foo.e.3 would be created.
- the task has three reserved attributes defined and three user defined attributes (SERVER, CLIENTS, and FILESIZE).
- the user defined attribute SERVER is required, is of type string, has no restrictions, and has no default value.
- the user defined attribute CLIENTS is also required, is of type string, has no restrictions, and also has no default value.
- the third user defined attribute, FILESIZE is optional, is of type integer, is restricted to either 512, 1024, 2048, or 4096, and has a default value of 512.
- the descriptions for the three attributes provide some information also.
- this definition file is sample.t. By default, it would be located in the /austin/.def, and could be manipulated by the scenario build tool. Normally, creation and manipulation of the definition would be done completely through the scenario build tool.
- the scenario build tool presents a natural language, taskoriented interface to managing the scenario definition files and scenario instance files.
- the scenario build tool uses a hierarchical structure. This hierarchical structure consists of menu panels and dialog panels. Menus successively refine the task to be performed. Dialog panels allow data to be entered for definition and instance attributes.
- the basic functions that can be performed on both instances and definitions are adding, changing, removing, and listing.
- the scenario build tool is invoked in the traditional manner of entering a command name (e.g. aussbt) at the data processing system prompt.
- a command name e.g. aussbt
- the top line 200 of the scenario build tool displays the current menu panel or dialog panel title.
- the allowable function keys for the current menu or dialog are displayed.
- a list of taskoriented items is displayed in the menu panels at 204.
- Figure 13 shows the resulting menu panel, after the task item was selected in Figure 12.
- attribute names are displayed on the left and entry fields are displayed to the right.
- the dialog panel allows values for attributes to be supplied. Symbols are used to indicate various types of fields. The symbols may be displayed in various places in the dialog panel.
- Figure 12 is an example of what the first menu panel of the scenario build tool looks like.
- the function keys 202 along the bottom of the screen vary from panel to panel. However, the five function key definitions on this main menu remain consistent throughout the panels in the preferred embodiment.
- Context sensitive help on a per panel basis is always available with the F1 213 key.
- the F2 215 key is used to refresh the screen.
- the F3 217 and ESC (not shown) keys always move back a panel.
- the F9 key 219 temporarily exits to the shell (return by typing 'exit'), and the F10 key 221 will quit the scenario build tool at any panel.
- Figure 13 is another menu panel. This particular menu panel is accessed by selecting Task from the first menu and Manage Instances from the second menu. It can be observed from this menu panel that each of the menu items has a character with an underbar. If this character is selected on the keyboard, that item will automatically be selected.
- Figure 14 is a sample dialog panel. This particular dialog panel is what would be displayed by the scenario build tool for the task instance file previously described. To a new instance of the task definition called sample.t, the scenario developer would type aussbt to enter the build tool and then select Task, Manage Instances, Add an Instance, and select the sample.t definition. The sample.t.1 instance, and the dialog panel of Figure 14 would then be displayed.
- the attributes austype 206 austaskcode 208 are all readonly during the task instance management stage. This is denoted with the '@' character 212 in the far left column. They are readonly because they are the attributes that define the scenario, and changing them would mean creating a different scenario definition, and to do that, the Task/Definition/Create option would be chosen instead.
- Attributes auscompress 214, aussave 216 and ausverbose 224 have toggle rings represented by the '+' character 218 in the far right hand column. This means you can use the tab key to select a different value or use the F4 key to get a list of the possible values.
- Scenario driver attributes ausloops 220, austime 222, and ausverbose 224 all require numeric values. This is indicated by the '#' character 226 in the far right hand column. There is one user defined attribute, FILENAME 228, and it is required in the preferred embodiment.
- FILENAME 228 also has a toggle ring ('+') 218 in the far righthand column, indicating that a user can use the tab key to select a different value or use the F4 key to get a list of the possible values.
- the Enter key is pressed and the instance file is actually created and can then be used to control a task scenario driver.
- scenario driver 58 is the primary component of the testing scaffold.
- the scenario driver can control the execution of four different scenario levels as was described above in the architectural overview.
- the scenario driver is a single executable whose actions are determined by a scenario instance file 54.
- the instance file gives the scenario driver a sense of identity. For example, one instance will cause the scenario driver to control the execution of a fifty host networked environment scenario that executes tasks that test an entire operating system while another instance will cause the scenario driver to control the execution of a single ten line shell script that functionally verifies a specific piece of an operating system.
- the advantage of the scenario driver is multifold. First of all, it sets up a scaffolding system that allows the automation of an entire environment scenario across multiple hosts. This scaffolding system simulates people performing daily tasks in an organization consisting of multiple hosts.
- the scenario driver handles problems that occur in system test like environments where the same tasks are being executed at the same time as the same user on the same host or in the same network.
- the scenario driver does its best to set up an environment in which these tasks do not interfere with each other.
- the third advantage of the scenario driver is that much of the code that would previously have been found in tasks is now migrated to the scenario driver. For instance, instead of each task needing code for iteration purposes, this code has been moved into the scenario driver and its interface has been standardized.
- the creation of working directories, and the cleaning up of the runtime area is no longer a problem that the user task code must address. It is controlled completely and consistently at the scenario driver level, and is variable depending on the needs of the scenario.
- the scenario driver also provides a set of standardized journals 62. Since the journals have a standard format, they can then be run through standard report filters to examine the execution results.
- the scenario driver can be executed beginning at any level from the environment level through the task level depending on the control that is needed in the current testing environment.
- the scenario driver has a dependency that its location be provided in the PATH environment variable.
- the scenario driver provides two usage statements.
- the first usage statement occurs when an error is detected on the command line.
- the information from the usage is printed to standard error (stderr).
- the second usage statement is the help usage statement that occurs when the 'h' flag is passed to the scenario driver.
- the information from the help usage is printed to standard output (stdout). If the 'h' flag is specified with a valid task scenario instance name, the help for that instance is displayed to standard output (stdout), as will be later described.
- the error usage statement follows: For driver help, a user would enter: ausdriver h
- For task help a user would enter: ausdriver h ⁇ task_instance>
- the configuration options communicate to the scenario driver 58 what test scenario level it is controlling, what it is to execute, and how it is to perform the execution. All configuration options can be communicated to the scenario driver by specifying them in the scenario instance file 54 that is associated with each scenario driver. Some of these configuration options can also be specified by command line flags when the scenario driver is called directly from the command line. In most situations however, unless the task driver is being executed standalone or the scenario driver that is being executed is the top level scenario driver in the scenario, the scenario drivers are called by higher level scenario drivers and thus they receive most of their configuration information from their associated instance. However, if command line flags that have been passed to the higher level scenario driver are pertinent, that scenario driver will automatically pass them to the scenario drivers it executes.
- Command line flag configuration attributes will override any instance file configuration attributes if there is a conflict. If the same flag is specified multiple times on the command line, or if the same attribute is specified multiple times in the instance, a warning message is issued and the last flag or attribute is used.
- Each attribute below is described first by the English phrase associated with the attribute. On the same line as the configuration attribute name in parenthesis can be found the corresponding scenario instance file attribute name and the command line flag if it exists. Following the configuration attribute name is a table that shows at which scenario driver levels the attribute is pertinent, which scenario driver levels it is required, and its default value at each level. The syntax for the instance attribute is then given and the syntax of the command line flag is given if there is one associated with the attribute. Next, a description of the attribute is given, and in most cases, there are examples showing how to use the attribute.
- the begin hook provides a way in which user code can automatically be executed by the scenario driver prior to the scenario driver executing the next level of scenario drivers or the user task code.
- the begin hook would typically be used do some type of automated setup specific to the test scenario that is being executed. This allows customization of test scenarios.
- the scenario driver passes the information in the double quoted string denoted by ⁇ begin_hook> in the syntax diagram above to the system for evaluation. If a return code other than zero is received from the begin hook, the scenario driver terminates execution and passes control back to its parent scenario driver (or the AIX shell if it was the top level scenario driver).
- ausbeghook "/austin/tools/rsbin/setup"
- begin hook /austin/tools/rsbin/setup
- the program returns a return code other than zero
- ausbeghook "check tcpip; check nfs"
- the user's base code directory provides a way for the task developer to indicate the location of the task code if it does not reside in the default location.
- the string contains the value of the base level directory where the developer's task directory structure resides, for the current task.
- the default value for this scenario driver attribute is computed by the task scenario driver at runtime using the location of the scenario's task directory structure (see section 4.5) and the name of the current instance.
- the directory is set to: ⁇ scenario's_task_directory_structure>/ ⁇ first_letter_of_the_in-stance>/ ⁇ instance_base> where the ⁇ instance_base> is the instance name without the '.t. ⁇ int>'extension (see section 5.1).
- the default task code directory structure for the sampletask.t.1 instance would be /austin/tasks/s/sampletask. Beneath that directory structure should reside the bin, dat, doc, and src directories that form each task code directory structure.
- the task developer wished to have the tasks located in a different location because the tasks were in the task development stage, this could be accomplished by changing the auscodedir attribute.
- the base code directory for the task named sampletask might be /u/username/tasks/ sampletask. Beneath that directory the directories bin, dat, doc, and src would reside.
- the scenario driver compression configuration attribute determines whether or not saved task information is compressed following the execution of a task. If the value of the scenario driver save option (see section 7.2.12) is such that the task information is saved after the user task code is done executing, the compression option determines whether it will be compressed. The compression determination is based on whether the user's task passed or failed and the value of the compression attribute. Compression can be set with the auscompress instance attribute or the 'c' command line flag to never perform compression (none or n), perform compress on passed tasks only (pass or p), perform compression on failed tasks only (failed or f), or always perform compression (all or a).
- the compression algorithm uses the AIX tar command to make the entire unique task working directory structure into a single unique file and then uses the AIX compress command to compress that file. This is a valuable option for an environment where information needs to be saved but the amount of information created during the scenario execution stage can be immense after running for extended periods of time.
- Two utilities exist that allow the compressed information to be uncompressed and recompressed see section 12.1, 12.2).
- an environment scenario might be executing that has hosts that have varying hard disk resources.
- the compress option might be set so that a host that has a massive amount of disk space compresses nothing (none or n), but a machine that has a small amount of disk space compresses everything (all or a).
- the ausdesc attribute allows the information entered into the scenario build tool at scenario instance file creation time that describes each defined scenario to be kept in the instance file. This data is for informational purposes only. It is the "text" that describes the differences between instances.
- ausdesc "This instance sets the compress attribute to pass and save to all.”
- ausdesc "This instance sets the compress attribute to all and save to all.”
- the distributed runtime file space attribute communicates to the environment scenario driver whether the intention is for the environment scenario to be executing with a distributed /austin/ runtime file space or whether the /austin/runtime file space resides at each machine in the network.
- the end hook provides a way in which user code can automatically be executed by the scenario driver after executing the next level of scenario drivers or the user task code. Other than the time that the hooks get executed, the same information applies to both the begin and end hooks (see section 7.2.1).
- the ausjournals attribute is used to define any journals that the user's task code may want to use other than the default standard journal file that the journal commands write to.
- the task scenario driver will set environment variables, based on the value of the ausjournals reserved attribute. These environment variables contain the path of the user defined journal. This path is in the jour directory of the unique task runtime directory structure. This directory contains the standard task journal (named task.journal) and each of the user defined journals defined with the ausjournals command. The actual location of these files is not pertinent to the user's task code since the user refers to the journals using environment variables.
- the syntax for the ausjournals command is somewhat complex at first glance, but the following description and the examples should help to convey its meaning.
- the value of the ausjournals command is a double quoted string that contains a list of one or more items. These items can have either the format env_var:journal_name or simply journal_name.
- the scenario driver parses through this list of items and if the first form is found, it sets an environment variable named env_var equal to the path of the current jour directory followed by the file name journal_name. If the second form of the item is found, the scenario driver sets an environment variable which is the uppercase version of the journal_name equal to the path of the current jour directory followed by the file named journal_name. In this case, the env_var is capitalized to follow "normal" UNIX environment variable naming conventions.
- ausjournals "Spool journey:spool journey cmd journey DiffResults:diff jour"
- the loops to execute attribute communicates to the scenario driver how many times to execute the instances in the scenario attribute ausobjlist (see section 7.2.10) or how many times to execute the user's task code in the scenario attribute austaskcode (see section 7.2.13). Note that there is also a time to execute attribute. If both are specified within the same instance file or on the command line, the time to execute attribute takes precedence. If either is specified on the command line, they will take precedence over either in the scenario instance file. The integer value for ausloops must be positive.
- the user task code will be executed 20 times before returning control to the person driver.
- the sequence of operation would find the person driver executing its begin hook, and then executing the task driver.
- the task driver would execute its begin hook, and then execute its user task code twenty times, execute its end hook, and then return control to the person scenario driver.
- the person scenario driver had a loops value of more than one, the task scenario driver would then be executed again and it would go through the same process a second time, executing its begin hook, its user task code twenty times, its end hook, and then return execution control back to the person scenario driver.
- the execution mode attribute allows lower level scenario drivers to be executed sequentially or concurrently. If concurrent is specified, the scenario driver will begin the execution of all the instances in its ausobjlist (see section 7.2.10) at the same time and wait for them all to finish. If sequential is specified, the scenario driver executes the instances in ausobjlist sequentially. Once all objects in the list have executed and finished, whether it was concurrent or sequential, that makes up one loop of the scenario driver.
- the object list attribute is very important to the scenario drivers that execute other scenario drivers (environment, machine, and person).
- the object list instance attribute named ausobjlist contains a list of one or more items. These items are the names of the instances that describe scenarios that the current scenario driver will control. When the scenario driver is ready to begin execution of other scenario drivers that run lower level scenarios, it goes through the ausobjlist and executes a scenario driver passing it the name of the current instance.
- the object list is what defines a scenario at the top three test scenario levels because it contains the core of what the test scenario will be executing.
- ausobjlist "person1.p.1 person1.p.2 person2.p.1"
- the machine scenario driver After running through the scenario driver steps, the machine scenario driver will get to the point where it is ready to execute the lower level scenario drivers. To do this, it will examine the list above and begin three scenario drivers, either concurrently or sequentially that will be passed the instances person1.p.1, person1.p.2, and person2.p.1 respectively. This will cause three person scenario drivers to be executing and those scenario drivers will be controlled by the current machine scenario driver. Note that person1.p.1 and personl.p.2 are two instances of the same person.
- the object number list allows members of the ausobjlist attribute to be executed or excluded from the current scenario execution. This is done by specifying a list of integers that map to the items in the ausobjlist. By default, the object number list attribute is set to the list of integers corresponding to all the instances in the ausobjlist attribute, thus during execution, they will all get executed.
- the object number list configuration attribute is provided to allow a configurable object list during the instance creation/modification stage yet keep the template of instances in the ausobjlist unchanged since that list is what "defines" the current scenario and should not be modifiable during the instance management part of the scenario build tool.
- the command line flag would again override the ausobjnumlist instance attribute and the first and sixth member of the ausobjlist would be excluded from execution, and thus the rest of the tasks in the list would be executed.
- the save option is used to communicate to the task level scenario driver whether or not to save the unique runtime directory structure that was created for the task execution.
- the decision on whether to save the task runtime information is based on whether the user's task passed or failed and the value of the save attribute.
- the save attribute can be set with the aussave instance attribute or the 's' command line flag to never perform the save (none or n), perform the save on passed tasks only (pass or p), perform the save on failed tasks only (fail or f), or always perform the save (all or a).
- the save function works hand in hand with the compression function to determine what information is saved at task runtime and what information gets compressed that is saved.
- a machine scenario may want to keep only the task information in the machine scenario from tasks that fail.
- the task code parameter is vital to the execution of the task scenario driver. It is similar to the object list parameter that was specified for the other three scenario driver levels in that it contains the information detailing what is to be executed. The difference between the object list configuration attribute and the task code parameter is that the task code parameter contains the actual file name of the user's code that it is to execute. The actual path to the task file name should not be specified because the location of this file is determined in the following way: The runtime task bin directory structure denoted by $AUSBIN is checked first followed by the bin directory of the task code directory structure denoted by $AUSCODEBIN.
- austaskcode "foobar"
- the testing scaffold is set up primarily around passing information to user task code via user defined attributes that are mapped into environment variables
- the scenario driver and the scenario build tool also support the ability to pass parameters to the user task code via command line parameters.
- the task parameters configuration attribute is used. The value of this scenario driver instance attribute is passed directly on the command line when the user task code is executed.
- the austime attribute specifies the length of time that the user wishes to continue executing the scenario driver.
- the scenario driver will execute the items in its ausobjlist or austaskcode, and wait for their completion.
- the scenario driver will check to see if the time elapsed since the scenario driver's start time is less than the time specified by the time attribute. If it is, the scenario driver will execute all items in the ausobjlist again. Note that the value for the time attribute must be positive.
- the task developer specifies two hours as the time to execute a task for, and the user's task code takes approximately fortyfive minutes to execute, then the entire task will execute for three iterations or approximately two hours and fifteen minutes. As was stated in the description, this occurs because after the second iteration, time still remains, so the next iteration is begun, but following that iteration, the time to execute has run out, so execution is halted.
- the scenario driver type attribute is the most important instance attribute. It tells the scenario driver which scenario level is executing. This is very important because the scenario driver's actions vary depending on what scenario level it is executing.
- the user attribute allows a group of tasks to be executed as the user user_name. If this attribute is used at the person level, the scenario driver will attempt to change to the user user_name before executing the task instances in the ausobjlist. If this user change is unsuccessful, the scenario driver will issue an error and return control to the machine driver (or the AIX shell if it was the top level scenario driver).
- the verbosity option allows varying degrees of information to be placed in the journals and to be sent to standard output (stdout) and standard error (stderr).
- standard output standard output
- standard error standard error
- the varying levels of verbosity are accomplished through the manipulation of the journalizing commands. There are eight total degrees of verbosity.
- the windows configuration attribute determines whether or not the scenario driver should try to take advantage of a windowing environment if it is present. If the value is true, and the DISPLAY environment variable is set, every time the scenario driver executes the members of it it's ausobjlist, thus beginning a new scenario driver, it attempts to open up the new scenario driver in a different window.
- User defined attributes can be specified at any level in the test scaffolding. They are inherited by the lower levels from the machine level on down. They are specified by placing an identifier in the scenario instance file that is not a scenario driver attribute and then giving it a value. If one of the drivers encounter a user defined attribute in a configuration file, it simply places the user defined attribute into the environment, thus it is inherited to any child processes that get executed.
- user defined attributes is particularly useful at the task instance scenario file level in passing information to the user task code.
- the contents of the user defined attributes can be tightly controlled through the scenario build tool because the user defined attributes are defined during the scenario definition stage and must be given a type and an optional or required flag.
- the user defined attributes can also be defined to have restrictions and a default value. In addition to using user defined attributes at the task level, they are perfectly valid at all the other levels. This capability allows user defined attributes to be specified only once at the person scenario level and then used by each of the task scenarios that make up the person scenario.
- An entire machine scenario could use an environment variable such as SCALEFACTOR to determine the level of stress that all the task scenarios that make up that machine scenario are executing at.
- the environment scenario driver 230 (and also the 12 within block 22 of Figure 1) is used when automated testing control is needed on a cluster of hosts.
- One of the hosts in the environment should be designated as the environment server and the other hosts in the environment should be designated as environment clients.
- the environment server is the host that the environment scenario driver executes on and the environment clients are the hosts that the machine scenario drivers execute on (note that the environment server could also be an environment client).
- the environment scenario driver relies on internet sockets and a daemon named ausdriverd, as previously described, on the environment clients for communication 14. This communication method is required to allow the environment scenario driver 230 to initiate the execution of the machine scenario drivers 232 on the environment clients and to receive the return codes from the machine scenario drivers once they have finished execution.
- the following command can be used to start the scenario driver daemon on the environment clients in the network:
- the ausdriverd daemon should be started with the DISPLAY environment variable of the XWindows server already set in the environment. This can be done several different ways.
- the instances 234 in the environment scenario driver's object list have special significance.
- the name of the instance (prior to the.m. ⁇ int>, as described above) must be the host name of the machine that the instance is going to be executed on.
- the name of one of the instances 234 in the environment scenario driver's object list (ausobjlist) must be 'foobar.m. ⁇ int>' where ⁇ int> is the specific foobar machine scenario instance number.
- the environment scenario driver assumes that foobar is the name of the host where the foobar.m. ⁇ int> machine scenario should be executed.
- the file system can be distributed in a cluster at runtime. For instance, one possibility is for the entire file system to be located on each host in the network. Another possibility is for the file system to be physically located on a single host in the network and then be distributed via the Network File System (NFS) (or an equivalent) to all the hosts in the network, as is commonly known in the art. However this distribution is done, it is required that all of the information be present on all the hosts in the network in the same location.
- NFS Network File System
- the environment scenario driver performs different actions depending on whether the /austin/ runtime directory structure is distributed or not during the environment scenario execution. If the structure is distributed (via NFS or something like NFS), then whenever any of the scenario drivers executing on any of the hosts in the entire environment write to the scenario journal file, the physical write will actually occur on the same file which is located on the /austin/runtime directory structure server.
- the ausdistributed reserved attribute in the environment scenario instance file should be set to true.
- the begin and end hooks at the environment scenario driver level can be used as very integral pieces to the execution of the environment scenario and to customise the scenario driver execution to a specific environment.
- the begin hook could run scripts that automatically do an entire set of environment setup like getting tasks, establishing network mounts, verifying network readiness, beginning XWindows on all the clients, verifying the existence of the ausdriver daemon on all the clients, etc.
- the end hook could gather up status files, automatically run reports, clean up the environment by taking down network mounts, etc.
- the environment scenario driver 230 loses contact with a machine scenario driver 232 for some reason, such as the host which the machine scenario was running on crashing or the network interface failing, the environment scenario driver will never finish because its wait implementation is currently stateless. It will continue waiting until it receives word from the machine scenario driver via the internet socket communication medium that the machine scenario driver is finished executing.
- the machine scenario driver 240 (also item 12 of block 20 in Figure 1) is used when it is appropriate to control the execution of multiple person scenarios 244 on a host automatically.
- the machine scenario driver allows the grouping of information into machine scenarios so status can be tracked at that level, and a determination about the success rate of "machine scenarios" can be made.
- the person scenario driver 250 is used when it is appropriate to control the execution of multiple task scenarios 252 on a machine automatically.
- the person scenario driver also allows the grouping of tasks into a person like scenario so status can be tracked at that level, and a determination about the success rate of "person scenarios" can be made.
- a person scenario driver performs an additional step if the user configuration attribute has a value.
- the person scenario driver simulates a "login" into the user account specified by the value of the user configuration attribute. This allows all the tasks that run below the person scenario driver level to actually be running as the user specified at the person level. If changing user's, the driver requires root privilege to execute. If a user is specified by the reserved attribute aususer in the person instance, that user id must exist on the system. The person scenario driver does not automatically add that user to the system.
- the task scenario driver 260 is used to execute user task code 68. It allows much of the function typically performed by the scenario developer in user task code to be handled automatically. For instance, there is no sense in coming up with another way to loop, another way to journalize, or another way to create a unique working space, the task scenario driver inherently handles all of these design details, and thus allows the user's code to concentrate solely on "testing.”
- the task driver When the task driver begins executing the user task code, it performs several steps that differ from the other scenario drivers, as shown in Figure 20.
- One of the major differences is that the task creates a unique directory structure 270 under which it performs all of its work. This directory structure is created using the task name, the name of the host it is executing on, its process id number, and the task's iteration. It is found under the scenario directory structure's directory named working. Beneath this task directory, three more directories are created, the bin, journals, and work (see, e.g. Figure 8A).
- the task driver Prior to executing the task code, the task driver checks at 272 for the existence of the setup file in the user's bin directory. If it exists, the task scenario driver executes it at 274. This program must return a return code of zero for the task driver to continue execution.
- the user task code When the user task code is invoked at 276, it is first looked for in the AUSBIN directory. If it is there, it is executed from that location, otherwise, the AUSCODEBIN directory is searched. If it is there, it is executed, otherwise, an error is issued.
- the task scenario driver Prior to executing the user task code at 279, the task scenario driver changes directories at 278 to the runtime task directory structure's work directory.
- the task driver moves the runtime task directory structure to the runtime scenario directories' pass or fail directory at 280 depending on whether the user task code passed or failed and the value of the aussave scenario driver attribute.
- the task scenario driver also compresses the information at 282 in the work and pass directory depending on the value of the auscompress scenario driver attribute.
- the scenario driver 58 uses a set of six journal commands to journalize to the scenario journal 62. These commands are begin, log, warning, error, severe, and finish. All scenario drivers executing in the same scenario log to the same scenario journal file 62 in a distributed environment, otherwise, there is a scenario journal file for each machine which all the scenario drivers on that machine journalize to.
- All valid xterm resources can be used to modify the way the xterms that the scenario driver executes in by prepending them with ausdriver_machine, ausdriver_person, and ausdriver_task. If these resources aren't used, the xterm resources used by the scenario driver for these three levels will be the default xterm resources in the .Xdefaults file.
- the following are a sample set of resources used to control the machine, person, and task scenario driver xterms when running in XWindows with the windows configuration attribute set to true.
- the scenario journal file 62 of Figure 22 is an ASCII text file. In environments that are executing with a distributed runtime file space, this file only exists on the environment server, and all scenario drivers journalize to it. In a nondistributed environment, there is one scenario journal for each machine in the environment and all the drivers executing on a single machine journalize to their respective scenario journal.
- finish function record there is another field between fields 13 and 14 above that is the return code of the object that finished.
- Each of the fields is separated by the character 'I' (the pipe character). There is no pipe character before the first field or following the last field.
- Figure 23 depicts an example of a scenario that was produced by running the machine scenario denoted by the file claussen.m.1 300.
- This machine scenario then executed one person scenario, shane.p.1 302, and that person scenario executed two task scenarios, shane.t.1 304, and shane2.t.1 308, both of which failed at 306 and 310, respectively.
- the person scenario and machine scenario also failed at 312 and 314, respectively.
- the only journal entries for this particular example are begins and finishes because of the verbosity level.
- a general purpose report generator 64 ( Figure 22) can be used, independent of the actual test cases being run, to generate reports 66 ( Figure 22).
- the API 70 of Figure 2 provides an interface between a scenario driver 58 and user code 68.
- This interface is not a traditional API, or application programming interface, but rather is a set of system variables. These system variables are set by the scenario driver prior to invoking user task code.
- the user task code can access these variables to determine the state of, or environment, of the system.
- the following environment variables are provided for use by user code.
- a standard journalizing programming interface 74 ( Figure 2) exists for task developers. This journalizing interface consists of four commands that have both C and shell bindings. These journalizing commands produce a standardized journal 72.
- the advantage of a standardized journal is the ability to have a set of enhanced reporting filters that can analyze its contents.
- the scenario journal 62 has the same internal format as the task journal 72. This scenario journal also has the same API as provided at the task journal 72, albeit used only by the scenario driver 58 as opposed to a user task.
- the standard journalizing programming interface consists of the following commands:
- the task code can gain access to these journalizing functions by linking with the library /austin/tools/rslib/libaus.a.
- the begin and end hooks are executed by the driver. They have access to user code journal programming interface 74 of Figure 1.
- the journal entries for the begin and end hooks are logged to the scenario journal file instead of the task journal file. This is the only user code that journalizes to the scenario journal 62 instead of the task journal 72. Note that the verbose level effects scenario journal entries different than it effects task journal entries.
- the driver uses the value returned by the begin and end hook scripts to determine whether it should proceed or not. If the value is anything other than zero, the driver halts execution.
- the begin and end hooks at the machine scenario driver level can be used to begin and halt the execution of scripts that can be used to monitor the system resources of the particular host during the executing of the machine scenario as well as other specific setup and cleanup items that are specific to the particular machine scenario.
- the begin and end hooks at the machine scenario level are also a good place to do specific task setup steps for tasks that can execute as any user but require some minimal root user authority to perform some setup and cleanup. This is because the machine scenario driver will normally be running with root authority and the task scenario driver probably will not.
- the user's task code may use the four user code journal programming commands and log to the standard task journal as described above.
- the environment variables previously described are available for locating any files that the task code will need to manipulate. It is mandatory that the task code return a return code to the task driver indicating whether it passed or failed. A value of zero indicates success, any other value indicates failure. The task driver then journalizes this pass or fail value to the scenario journal.
- the task setup code acts very similar to the actual task code with respect to its interfaces.
- the task code has access to the journal programming interface detailed above.
- the journal entries for the task setup code are logged to the task journal.
- the purpose of the task setup code is to compile that source code and place it in the runtime directory structure for binary compiled source code represented by the environment variable AUSBIN.
- setup file The syntax of the setup file is the name of the task followed by the string ".setup". It should be in the task's bin directory (denoted by the environment variable AUSCODEBIN). If this file exists when the task driver runs, it will automatically be executed prior to the execution of the task code.
- the driver uses the value returned by the task setup code to determine whether it should proceed or not. If the value is anything other than zero, the driver does not execute the task code.
- the task help file interface exists to enable online, softcopy, task help through the driver.
- the ausdriver command is executed with the 'h' command line flag and a task instance file.
- the instance file is used to determine the expected location of the task help file and it is then sent to stdout.
- help file The syntax of the help file is the name of the task followed by the string ".help". It should be in the task's doc directory (denoted by the environment variable AUSCODEDOC). This file is just a simple ASCII file. It is usually a good idea to have a specific help file format but the information in this type of help file would be dependent upon the organization doing the testing.
- the task journal file is an ASCII text file. There is one task journal file associated with each instance of a task that executes in a test scenario during the scenario execution stage.
- All entries in the task journal file have the same record format and are produced by the four task journalizing commands, auslog, auswarning, auserror, and aussevere.
- the format of the fields of the task journal follow: Field Description 1 First character of journal command (b, l, w, e, or s). 2 Current date in the format YYMMDD. 3 Current time in the format HHMMSS. 4 Current host name (same as the hostname command). 5 Current user (from the $LOGNAME environment variable). 6 Environment scenario instance name. 7 Environment scenario iteration count. 8 Machine scenario instance name. 9 Machine scenario iteration count. 10 Person scenario instance name. 11 Person scenario iteration count. 12 Task scenario instance name. 13 Task scenario iteration count. 14 Text string from the journal command. TABLE 32
- Each of the fields is separated by the character 'I' (the pipe character). There is no pipe character before the first field or following the last field.
- Figure 24 shows an example of what a task journal file would look like. This is the output from the task shane.t.1 that was run in the scenario journal file example from Section 8.2. The verbosity level was set to 7 when the task was run.
- the report filter 64 gives a simple synopsis of the scenario at the different levels.
- the user may specify which level they would like the report generator to summarize.
- the information reported at 66 is the number of times that each particular item at the level specified has passed, how many times it failed, and a nonweighted percentage of success.
- the report generator 64 will report the same two tasks that run under different person scenarios as different tasks. This philosophy is carried out at each level. This implementation of the report generator will be useful to get a highlevel feeling for how a scenario is doing, but will not weight percentages based on number of executions. For example, if a person scenario executes one task 99 times which passed on all 99 attempts, and another task that only executed once and failed, the person scenario would be marked as 0% successful, not 99%. Because of the nonweighting reporting currently, it is recommended that the report generator only be used at the task level, where there is no weighting necessary.
- the AIX utility pk is used to compress directory structures into a single file.
- the usage syntax follows:
- the pk command will result in the directory structure 320 denoted by ⁇ directory> to be processed by the AIX tar 322 and compress 324 commands. This process will result in the all the files in the directory structure being combined into a single file and then that file being compressed. To denote that the file has been created by the pk command, it will be given the extension .tar.Z 326.
- the main purpose of the pk command is to allow compression of the task scenario directory structures in the pass and fail directories of the scenario directory structure.
- the pk utility results in a more optimal storage mechanism with respect to system disk resources.
- Figure 10B shows a sample directory structure created from the execution of the environment scenario named engineering.e.1. This example demonstrates how to compress the rcp.t.2 task scenario directory structures in the scenario's pass directory.
- the pk command would result in the compression of the directory structures rcp.t.2.claussen.888.1.
- the old directory name would be changed to a file name, with the .tar.Z file name extension indicating that they have been packed with the pk command.
- One thing to notice about this Figure 10B is that the rcp.t.1.claussen.999.1.tar.Z file 184 in the pass directory has already been through the pk process. This is because the rcp.t.1t.t.1 instance file instructed the task driver to compress it automatically following its execution if it passed.
- the new directory structure is depicted at 187 in Figure 10C.
- the utility unpk is used to uncompress files that have been through the pk process.
- the usage syntax follows: Usage: unpk ⁇ packed_file_name>
- the unpk command will result in the file name 328 denoted by ⁇ packed_file_name> to be run through the AIX uncompress 330 and tar 332 commands. This process will result in the file being uncompressed and then untarred producing a directory structure 334.
- the name of the directory structure 334 will be the name of the file name denoted by ⁇ packed_file_name> without the .tar.Z extension.
- the main purpose of the unpk command is to unpack the information that has been previously packed, such as depicted in Figure 10C, so that it can be examined. For instance, if a driver automatically packs a task directory structure that needs to be examined, the unpk command can be used to unpack it back to its normal size and structure.
- This example illustrates the unpacking of one of the packed files in the scenario structure's pass directory.
- the ausstat utility returns the number of auserror and aussevere journal records that it found in the standard task journal.
- the main purpose of this utility is to assist task developers in determining their failure rate.
- the ausstat command can be used at the end of the user task code for this purpose.
- ausstat is to be used for this purpose since it counts every auserror and aussevere record in the journal file. If you want the number found by ausstat to be representative of the actual number of errors found, do not use two auserror commands to describe one error. If more than one line is necessary to describe an error, use an auserror or aussevere followed by one or more auslogs.
- User task code can access the ausstat function by linking with the library /austin/tools/lib/libaus.a.
- Example The following example shows how the ausstat command can be used in a sample task written in the C Language.
- the following code is a section out of a user's task code that uses the standard journal commands and then ausstat to return the number of errors and severe errors journalized to the task scenario driver.
- test1(), test2(), and test3() The value of the fourth column is the return code of the entire task which is calculated by ausstat.
- the shell script interface of the ausstat command is used simply by issuing the ausstat command.
- the ausstat shell interfaces returns the number of auserror or aussevere journal entries in two ways, by echoing the value to stdout, and by setting its return code to the proper value.
- FIG. 33 depicts the preferred embodiment of a data processing system 342 used in this multicomputer data processing system.
- a central processing unit (CPU) 510 is coupled via bus 512 to a read only memory (ROM) 516, a random access memory (RAM) 514, an input/output (I/O) adapter 518, a communication adapter 534, a user interface adapter 522, and a display adapter 536.
- the I/O adapter 518 allows for interfacing the bus 512 to various input/output devices, such as a nonvolatile mass storage device 520 for storing data (e.g. a direct access storage device (DASD), tape, holographic storage, cartridge, etc.).
- DASD direct access storage device
- the communications adapter 534 allows for providing a data flow from CPU 510, in conjunction with bus 512, to a communication network 348.
- the display adapter 536 allows for displaying data or other information on a display device 538.
- the user interface adapter 522 allows for controlling various user (person) input/output devices, such as a keyboard 524, mouse or pointing device 532, keypad 526, or speaker 528.
- This data processing system 342 provides for interprocess communications as previously described, and can further be used in multicomputer data processing system as depicted in Fig. 28.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
- Computer And Data Communications (AREA)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US95033192A | 1992-09-24 | 1992-09-24 | |
US950331 | 1992-09-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
EP0592080A2 true EP0592080A2 (fr) | 1994-04-13 |
Family
ID=25490284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP93306119A Withdrawn EP0592080A2 (fr) | 1992-09-24 | 1993-08-03 | Méthode et appareil pour la communication entre des processus dans un système multi-ordinateur |
Country Status (3)
Country | Link |
---|---|
US (1) | US5544316A (fr) |
EP (1) | EP0592080A2 (fr) |
JP (1) | JPH06295290A (fr) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1998033301A1 (fr) * | 1997-01-27 | 1998-07-30 | Alcatel Usa Sourcing, L.P. | Systeme et procede de gestion des communications et des processus dans un commutateur de telecommunications reparti |
WO2001013257A1 (fr) * | 1999-08-17 | 2001-02-22 | Bullant Technology Pty. Ltd. | Systeme reparti pour interaction informatique |
US6286050B1 (en) | 1997-01-27 | 2001-09-04 | Alcatel Usa Sourcing, L.P. | System and method for monitoring and management of telecommunications equipment using enhanced internet access |
US7454758B2 (en) | 2004-02-05 | 2008-11-18 | Aol Llc, A Delaware Limited Liability Company | Inter-process communication on a computer |
Families Citing this family (41)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05173988A (ja) * | 1991-12-26 | 1993-07-13 | Toshiba Corp | 分散処理方式および該分散処理に適用されるトランザクション処理方式 |
US5715460A (en) * | 1993-06-14 | 1998-02-03 | International Business Machine Corp. | Template based facility for formatting compiler output |
DE69628087D1 (de) * | 1995-03-22 | 2003-06-18 | Sun Microsystems Inc | Vorrichtung und Verfahren zur Verwaltung von Rechnerprozessen |
CA2173695A1 (fr) * | 1995-04-14 | 1996-10-15 | Panagiotis Kougiouris | Methode et dispositif pour realiser une interoperabilite entre processus concus pour etre executes par des systemes d'exploitation differents |
EP0752652B1 (fr) * | 1995-07-03 | 1998-12-16 | Sun Microsystems, Inc. | Système et procédé pour rendre effectif une politique hiérarchique pour l'administration d'un système informatique |
US6041362A (en) * | 1995-10-20 | 2000-03-21 | Electronics Data Systems Corporation | Method and system for integrating disparate information technology applications and platforms across an enterprise |
US6279028B1 (en) * | 1995-12-08 | 2001-08-21 | Silicon Graphics, Inc. | Operating system having a mechanism for handling a group of related processes residing on separate machines |
US6625641B1 (en) * | 1996-06-03 | 2003-09-23 | Sun Microsystems, Inc. | Method and apparatus for providing client support without installation of server software |
WO1998003910A1 (fr) * | 1996-07-24 | 1998-01-29 | Hewlett-Packard Company | Reception de messages ordonnances dans un systeme reparti de traitement de donnees |
US6353822B1 (en) * | 1996-08-22 | 2002-03-05 | Massachusetts Institute Of Technology | Program-listing appendix |
US6038562A (en) * | 1996-09-05 | 2000-03-14 | International Business Machines Corporation | Interface to support state-dependent web applications accessing a relational database |
US5969718A (en) * | 1996-09-27 | 1999-10-19 | Elsag International N.V. | Method and apparatus for providing a softkey prompted user interface |
JPH10171701A (ja) * | 1996-12-10 | 1998-06-26 | Fuji Xerox Co Ltd | 手続実行装置及び方法 |
US6330608B1 (en) | 1997-03-31 | 2001-12-11 | Stiles Inventions L.L.C. | Method and system of a computer system for establishing communications between a service provider and a central service factory and registry in a computer system |
US6298370B1 (en) * | 1997-04-04 | 2001-10-02 | Texas Instruments Incorporated | Computer operating process allocating tasks between first and second processors at run time based upon current processor load |
US6047332A (en) * | 1997-06-30 | 2000-04-04 | Sun Microsystems, Inc. | Global file system-based system and method for rendering devices on a cluster globally visible |
US6304912B1 (en) | 1997-07-24 | 2001-10-16 | Fujitsu Limited | Process and apparatus for speeding-up layer-2 and layer-3 routing, and for determining layer-2 reachability, through a plurality of subnetworks |
US6253257B1 (en) * | 1997-07-31 | 2001-06-26 | Bea Systems, Inc. | Software Interface for dynamic API mapping |
US6128759A (en) * | 1998-03-20 | 2000-10-03 | Teradyne, Inc. | Flexible test environment for automatic test equipment |
US6907605B1 (en) * | 1998-05-18 | 2005-06-14 | International Business Machines Corporation | Method and apparatus for providing for notification of task termination |
US6480877B1 (en) * | 1998-09-02 | 2002-11-12 | Advanced Micro Devices, Inc. | Orphan computer process identification |
US6195682B1 (en) | 1998-10-27 | 2001-02-27 | International Business Machines Corporation | Concurrent server and method of operation having client-server affinity using exchanged client and server keys |
JP3091184B2 (ja) | 1999-03-03 | 2000-09-25 | 株式会社神戸製鋼所 | 通信システム及び通信装置 |
US6704806B1 (en) | 1999-05-27 | 2004-03-09 | Computer Associates Think, Inc. | Method and device for monitoring the creation and destruction of child processes within an application executing in a computer system |
US7127471B1 (en) * | 1999-07-26 | 2006-10-24 | Microsoft Corporation | Automatic pruning of orphaned objects from directory services and other databases |
NO311656B1 (no) * | 1999-11-25 | 2001-12-27 | Ericsson Telefon Ab L M | Kommunikasjon mellom prosesser som kjörer på forskjellige prosessorer ved bruk av s¶rskilte kommunikasjonsprosesser |
US6829769B2 (en) * | 2000-10-04 | 2004-12-07 | Microsoft Corporation | High performance interprocess communication |
US20020091612A1 (en) * | 2000-12-21 | 2002-07-11 | International Business Machines Corporation | Method, system, and business method for providing a marketplace for computing capacity in a network |
US7213175B2 (en) * | 2002-01-09 | 2007-05-01 | Microsoft Corporation | Methods and systems for managing an application's relationship to its run-time environment |
ATE372015T1 (de) | 2002-07-29 | 2007-09-15 | Research In Motion Ltd | System und verfahren zur mimischen auswahl der nachrichteneinstellungen |
US7539730B2 (en) | 2002-10-18 | 2009-05-26 | Research In Motion Limited | System and method for selecting messaging settings on a messaging client |
US7310724B2 (en) * | 2003-06-30 | 2007-12-18 | Intel Corporation | Parallel execution of enhanced EFI based BIOS drivers on a multi-processor or hyper-threading enabled platform |
EP1652041A4 (fr) * | 2003-07-11 | 2010-07-28 | Computer Ass Think Inc | Agent distant automatique modifie pour applications d'organisation et de gestion de travaux |
US9379910B2 (en) * | 2003-07-29 | 2016-06-28 | Blackberry Limited | System and method of mimetic messaging settings selection |
US20050086667A1 (en) * | 2003-09-30 | 2005-04-21 | Feng Jin | Symmetric Scheduling for parallel execution |
US7424154B2 (en) * | 2003-11-10 | 2008-09-09 | Microsoft Corporation | Boxed and lined input panel |
US7558810B2 (en) * | 2004-05-21 | 2009-07-07 | Computer Associates Think, Inc. | System and method for managing a path environment variable |
US8226477B1 (en) * | 2008-07-23 | 2012-07-24 | Liveops, Inc. | Automatic simulation of call center scenarios |
US8897134B2 (en) * | 2010-06-25 | 2014-11-25 | Telefonaktiebolaget L M Ericsson (Publ) | Notifying a controller of a change to a packet forwarding configuration of a network element over a communication channel |
JP5720699B2 (ja) * | 2011-01-07 | 2015-05-20 | 富士通株式会社 | マルチタスクスケジューリング方法、およびマルチコアプロセッサシステム |
US9378072B2 (en) | 2014-05-30 | 2016-06-28 | GM Global Technology Operations LLC | Mechanisms and apparatus for embedded controller reconfigurable inter-processor communications |
Family Cites Families (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2253421A5 (fr) * | 1973-11-30 | 1975-06-27 | Honeywell Bull Soc Ind | |
US4268905A (en) * | 1978-12-14 | 1981-05-19 | Sperry Rand Corporation | Autonomous fault diagnosis for disk drive using an internal microprocessor |
US4251858A (en) * | 1979-03-06 | 1981-02-17 | The Boeing Company | Paging, status monitoring and report compiling system for support, maintenance and management of operator-supervised automatic industrial machines |
US4413318A (en) * | 1980-11-20 | 1983-11-01 | International Business Machines Corporation | Use of nodes to uniquely identify processes |
US4814979A (en) * | 1981-04-01 | 1989-03-21 | Teradata Corporation | Network to transmit prioritized subtask pockets to dedicated processors |
US4589068A (en) * | 1983-10-03 | 1986-05-13 | Digital Equipment Corporation | Segmented debugger |
US5047925A (en) * | 1985-05-06 | 1991-09-10 | Motorola, Inc. | Logical ring in a virtual single machine |
US4694396A (en) * | 1985-05-06 | 1987-09-15 | Computer X, Inc. | Method of inter-process communication in a distributed data processing system |
CA1244555A (fr) * | 1985-06-17 | 1988-11-08 | Walter H. Schwane | Transfert de donnees multimode transparent aux processus et gestion de tampons |
US4682330A (en) * | 1985-10-11 | 1987-07-21 | International Business Machines Corporation | Hierarchical test system architecture |
US4825354A (en) * | 1985-11-12 | 1989-04-25 | American Telephone And Telegraph Company, At&T Bell Laboratories | Method of file access in a distributed processing computer network |
US5301322A (en) * | 1986-05-23 | 1994-04-05 | Hitachi, Ltd. | System for converting job/process identifiers into processor/process identifiers in transferring data between processes in a multiprocessor system |
US4780821A (en) * | 1986-07-29 | 1988-10-25 | International Business Machines Corp. | Method for multiple programs management within a network having a server computer and a plurality of remote computers |
US5062040A (en) * | 1986-12-22 | 1991-10-29 | At&T Bell Laboratories | Handling of notification of asynchronous events by user and stub processes of a distributed process executing on a plurality of processors of a multi-processor system |
US4816989A (en) * | 1987-04-15 | 1989-03-28 | Allied-Signal Inc. | Synchronizer for a fault tolerant multiple node processing system |
US5067072A (en) * | 1987-11-06 | 1991-11-19 | Visystems, Inc. | Virtual software machine which preprocesses application program to isolate execution dependencies and uses target computer processes to implement the execution dependencies |
JP2996440B2 (ja) * | 1988-03-18 | 1999-12-27 | 富士通株式会社 | データ処理システムの診断方式 |
US4914583A (en) * | 1988-04-13 | 1990-04-03 | Motorola, Inc. | Method of indicating processes resident within a cell of a data processing system |
US5089954A (en) * | 1988-08-08 | 1992-02-18 | Bell Communications Research, Inc. | Method for handling conversational transactions in a distributed processing environment |
US5025369A (en) * | 1988-08-25 | 1991-06-18 | David Schwartz Enterprises, Inc. | Computer system |
JPH0298745A (ja) * | 1988-10-04 | 1990-04-11 | Nec Corp | プロセス間通信処理方式 |
US5072371A (en) * | 1989-03-01 | 1991-12-10 | The United States Of America As Represented By The United States Department Of Energy | Method for simultaneous overlapped communications between neighboring processors in a multiple |
US5032979A (en) * | 1990-06-22 | 1991-07-16 | International Business Machines Corporation | Distributed security auditing subsystem for an operating system |
AU630567B2 (en) * | 1990-07-31 | 1992-10-29 | Digital Equipment Corporation | System and method for emulating a window management environment having a uniform windowing interface |
EP0546682A3 (en) * | 1991-12-12 | 1993-12-08 | Ibm | Parent class shadowing |
US5325526A (en) * | 1992-05-12 | 1994-06-28 | Intel Corporation | Task scheduling in a multicomputer system |
US5307490A (en) * | 1992-08-28 | 1994-04-26 | Tandem Computers, Inc. | Method and system for implementing remote procedure calls in a distributed computer system |
-
1993
- 1993-08-03 EP EP93306119A patent/EP0592080A2/fr not_active Withdrawn
- 1993-08-24 JP JP5230914A patent/JPH06295290A/ja active Pending
-
1995
- 1995-06-07 US US08/483,783 patent/US5544316A/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1998033301A1 (fr) * | 1997-01-27 | 1998-07-30 | Alcatel Usa Sourcing, L.P. | Systeme et procede de gestion des communications et des processus dans un commutateur de telecommunications reparti |
US6119173A (en) * | 1997-01-27 | 2000-09-12 | Alcatel Usa Sourcing, L.P. | System and method for communications and process management in a distributed telecommunications switch |
US6286050B1 (en) | 1997-01-27 | 2001-09-04 | Alcatel Usa Sourcing, L.P. | System and method for monitoring and management of telecommunications equipment using enhanced internet access |
WO2001013257A1 (fr) * | 1999-08-17 | 2001-02-22 | Bullant Technology Pty. Ltd. | Systeme reparti pour interaction informatique |
US7454758B2 (en) | 2004-02-05 | 2008-11-18 | Aol Llc, A Delaware Limited Liability Company | Inter-process communication on a computer |
Also Published As
Publication number | Publication date |
---|---|
JPH06295290A (ja) | 1994-10-21 |
US5544316A (en) | 1996-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5544316A (en) | Method and system for optionally registering a local process to allow participation in a single system semantic | |
US5421004A (en) | Hierarchical testing environment | |
US8984534B2 (en) | Interfacing between a receiving component of a server application and a remote application | |
US8095823B2 (en) | Server computer component | |
US7299382B2 (en) | System and method for automatic test case generation | |
US20090172636A1 (en) | Interactive development tool and debugger for web services | |
US20090300093A1 (en) | Server computer | |
US7401259B2 (en) | System and method for scenario generation in a distributed system | |
US8156478B2 (en) | Optimized program analysis | |
US7392505B2 (en) | Task tracing in a distributed computing environment | |
US9442822B2 (en) | Providing a visual representation of a sub-set of a visual program | |
US20060253840A1 (en) | Program verification and visualization using a dynamic abstracted conceptual model | |
WO2005031569A1 (fr) | Systemes et procedes destines a des logiciels d'application de liaison dynamique dans un kernel systeme d'exploitation en cours d'execution | |
US20020143784A1 (en) | Method and system for application behavior analysis | |
Rover et al. | Software tools for complex distributed systems: Toward integrated tool environments | |
Wallace et al. | A situated evaluation of the Object Management Group's (OMG) Object Management Architecture (OMA) | |
CN117742783B (zh) | 用于软件***的日志数据跨语言自动记录方法 | |
Loveland et al. | Testing z/OS: The premier operating system for IBM's zSeries server | |
Yong | Replay and distributed breakpoints in an OSF DCE environment | |
Santos et al. | Integrating infrastructures for manufacturing a comparative analysis | |
Kraimer | Experimental physics and industrial control system (EPICS) input/output controller (IOC) application developers guide | |
Grünbacher et al. | Protocol-Based Runtime Monitoring of Dynamic Distributed Systems Work in Progress | |
Amrehn et al. | Porting UNIX Applications to OpenEdition for VM/ESA | |
Riiser | Uniting the Condor Batch System with the NorduGrid Middleware to Form a Powerful Tool for ATLAS and High-Throughput Computing | |
Cardwell | Causally-structured output streams for distributed computations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): DE FR GB |
|
17P | Request for examination filed |
Effective date: 19940718 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN WITHDRAWN |
|
18W | Application withdrawn |
Withdrawal date: 19960625 |