NAME
Tapper::MCP::Child - Control one specific testrun on MCP side
SYNOPSIS
use Tapper::MCP::Child;
my $client = Tapper::MCP::Child->new($testrun_id);
$child->runtest_handling($system);
FUNCTIONS
get_messages
Read all pending messages from database. Try no more than timeout seconds
@param int - timeout
@return success - Resultset class countaining all available messages @return timeout - Resultset class countaining zero messages
wait_for_testrun
Wait for the current testrun and update state based on messages.
@return hash { report_array => reference to report array, prc_state => $prc_state }
generate_configs
@param string - hostname @param int - port number of server
@return success - config hash @return error - string
report_mcp_results
Send TAP reports of MCP results in general and the results collected for each PRC.
@param Tapper::MC::Net object
handle_error
Sends a tap report because an error occured.
@param string - error string
@return error string
start_testrun
Start Installer on testmachine based on the type of testrun.
@param hash ref - config
@return success - 0 @return error - error string
runtest_handling
Start testrun and wait for completion.
@param string - system name @param bool - revive mode?
@return success - 0 @return error - error string
AUTHOR
AMD OSRC Tapper Team, <tapper at amd64.org>
BUGS
None.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Tapper
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
This program is released under the following license: freebsd
AUTHORS
AMD OSRC Tapper Team <tapper@amd64.org>
Tapper Team <tapper-ops@amazon.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2016 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License