NAME

Tapper::Schema::TestrunDB::Result::Testrun - Tapper - Containing Testruns

to_string

Return printable representation.

claimed_resources

Resources that have been assigned to this Testrun either currently or in the past.

is_member($head, @tail)

Checks if the first element is already in the list of the remaining elements.

ordered_preconditions

Returns all preconditions in the order they need to be installed.

update_content

Update precondition from given params.

rerun

Insert a new testrun similar to this one. Arguments can be given to overwrite some values. All values of the new testrun not given as argument will be taken from $self.

@param hash ref - overwrite arguments

@return success - new testrun id @return error - exception

assign_preconditions

Assign given preconditions to this testrun.

@param array - list of precondition ids

@return success - 0 @return error - error message

insert_preconditions

Insert given preconditions (as id) starting at given position and push all later preconditions to make sure they come after the inserted.

@param int - starting position @param_list list of precondition_ids

@return success - 0 @return error - error message

disassign_preconditions

Disconnect list of preconditions from a testrun.

@param array - list of precondition ids

sqlt_deploy_hook

Add useful indexes at deploy time.

add_requested_resource_by_name

Add a resource request to the testrun using resource names. Specify multiple resources to provide alternatives. When the testrun is running one of these is reserved to the testrun.

@param @alternatives resource names @returns successful

add_requested_resource_by_id

Add a resource request to the testrun using resource ids. Specify multiple resources to provide alternatives. When the testrun is running one of these is reserved to the testrun.

@param @resource_ids resource ids @returns successful

AUTHORS

  • AMD OSRC Tapper Team <tapper@amd64.org>

  • Tapper Team <tapper-ops@amazon.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2024 by Advanced Micro Devices, Inc.

This is free software, licensed under:

The (two-clause) FreeBSD License