Public/Stable/Replaceable

relative_dir

relative_dir path

is a given directory relative to BASEDIR?

1 - no, path

0 - yes, path - BASEDIR

Classification Level
Audience Public
Stability Stable
Replaceable Yes

verify_multijdk_test

verify_multijdk_test test

Verify if a given test is multijdk

0 = yes

1 = no

Classification Level
Audience Public
Stability Stable
Replaceable Yes

Public/Stable/Not Replaceable

add_footer_table subsystem string

Add to the footer of the display. @@BASE@@ will get replaced with the correct location for the local filesystem in dev mode or the URL for Jenkins mode.

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

add_header_line

add_header_line string

Add to the header of the display

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

add_test_table

add_test_table failurereason testlist

Special table just for unit test failures

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

add_vote_table

add_vote_table +1/0/-1/H subsystem string

Add to the output table. If the first parameter is a number that is the vote for that column and calculates the elapsed time based upon the last start_clock(). The second parameter is the reporting subsystem (or test) that is providing the vote. The second parameter is always required. The third parameter is any extra verbage that goes with that subsystem. if the vote is H, then that designates that subsystem should be a header in the vote table comment output. The other parameters are ignored

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

big_console_header

big_console_header string

Large display for the user console

large chunk of text

Classification Level
Audience Public
Stability Stable
Replaceable No

clock_display

clock_display seconds

Convert time in seconds to m + s

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

echo_and_redirect

echo_and_redirect filename command [..]

Print the command to be executing to the screen. Then run the command, sending stdout and stderr to the given filename This will also ensure that any directories in ${BASEDIR} have the exec bit set as a pre-exec step.

$?

Classification Level
Audience Public
Stability Stable
Replaceable No

generate_stack

generate_stack

generate a stack trace when in debug mode

exits

Classification Level
Audience Public
Stability Stable
Replaceable No

module_file_fragment

module_file_fragment module

Convert the given module name to a file fragment

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

offset_clock

offset_clock seconds

Add time to the local timer

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

setup_defaults

setup_defaults

Setup the default global variables

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

start_clock

start_clock

Activate the local timer

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

stop_clock

stop_clock

Print the elapsed time in seconds since the start of the local timer

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

write_comment

write_comment filename

Write the contents of a file to all of the bug systems (so content should avoid special formatting)

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

yetus_usage

yetus_usage

Print the usage information

Nothing

Classification Level
Audience Public
Stability Stable
Replaceable No

Public/Evolving/Not Replaceable

archive

archive

Save file names and directory to the patch dir

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

bugsystem_linecomments

bugsystem_linecomments filename

Write comments onto bug systems that have code review support. File should be in the form of file:line:comment

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

buildtool_cwd

buildtool_cwd MODULE_ index

change the working directory to execute the buildtool

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

calcdiffs

calcdiffs branchlog patchlog testtype

Wrapper to call specific version of calcdiffs if available otherwise calls error_calcdiffs

differences

Classification Level
Audience Public
Stability Evolving
Replaceable No

clear_personality_queue

clear_personality_queue

Reset the queue for tests

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

column_calcdiffs

column_calcdiffs branchlog patchlog

Calculate the differences between the specified files using just the column+ messages (third+ column in a

differences

Classification Level
Audience Public
Stability Evolving
Replaceable No

compile

compile branch|patch

Execute the compile phase. This will callout to _compile

0 on success

1 on failure

Classification Level
Audience Public
Stability Evolving
Replaceable No

compile_cycle

compile_cycle branch|patch

Execute the static analysis test cycle. This will callout to _precompile, compile, _postcompile and _rebuild

0 on success

1 on failure

Classification Level
Audience Public
Stability Evolving
Replaceable No

compile_jvm

compile_jvm branch|patch

Execute the compile phase. This will callout to _compile

0 on success

1 on failure

Classification Level
Audience Public
Stability Evolving
Replaceable No

compile_nonjvm

compile_nonjvm branch|patch

Execute the compile phase. This will callout to _compile

0 on success

1 on failure

Classification Level
Audience Public
Stability Evolving
Replaceable No

dequeue_personality_module

dequeue_personality_module modulenames

Remove a module

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

distclean

distclean

Wipe the repo clean to not invalidate tests

0 on success

1 on failure

Classification Level
Audience Public
Stability Evolving
Replaceable No

error_calcdiffs

error_calcdiffs branchlog patchlog

Calculate the differences between the specified files using just the error messages (last column in a

differences

Classification Level
Audience Public
Stability Evolving
Replaceable No

generic_calcdiff_status

generic_calcdiff_status totalbranchissues totalpatchissues newpatchissues

generate a standarized calcdiff status message

errorstring

Classification Level
Audience Public
Stability Evolving
Replaceable No

generic_logfilter

generic_logfilter

Helper routine for plugins to ask projects, etc to count problems in a log file and output it to stdout.

number of issues

Classification Level
Audience Public
Stability Evolving
Replaceable No

generic_post_handler

generic_post_handler origlog testtype multijdkmode run commands

Generic post-patch handler

0 on success

1 on failure

Classification Level
Audience Public
Stability Evolving
Replaceable No

generic_postlog_compare

generic_postlog_compare origlog testtype multijdkmode

Generic post-patch log handler

0 on success

1 on failure

Classification Level
Audience Public
Stability Evolving
Replaceable No

generic_pre_handler

generic_pre_handler testype multijdk

Helper routine for plugins to do a pre-patch prun

1 on failure

0 on success

Classification Level
Audience Public
Stability Evolving
Replaceable No

initialize

initialize $@

Setup to execute

0 on success

1 on failure

Classification Level
Audience Public
Stability Evolving
Replaceable No

module_status

module_status moduleindex -1-0|0|+1 logvalue message

Add or update a test result. Update requires at least the first two parameters. WARNING: If the message is updated, then the JDK version is also calculated to match the current JAVA_HOME.

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

modules_backup

modules_backup

Backup the MODULE globals prior to loop processing

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

modules_messages

modules_messages repostatus testtype summarymode

Utility to print standard module errors

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

modules_reset

modules_reset

Reset the test results

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

modules_restore

modules_restore

Restore the backup

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

modules_workers

modules_workers repostatus testtype mvncmdline

run the tests for the queued modules

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

patchfiletests

patchfiletests branch|patch

Execute the patch file test phase. Calls out to to _patchfile

0 on success

1 on failure

Classification Level
Audience Public
Stability Evolving
Replaceable No

personality_enqueue_module

personality_enqueue_module module profiles/flags/etc

Build the queue for tests

Nothing

Classification Level
Audience Public
Stability Evolving
Replaceable No

Private/Stable/Replaceable

prepopulate_footer

Put the opening environment information at the bottom of the footer table

Nothing

Classification Level
Audience Private
Stability Stable
Replaceable Yes

report_jvm_version

report_jvm_version directory

Report the JVM version of the given directory

version

Classification Level
Audience Private
Stability Stable
Replaceable Yes

Private/Evolving/Replaceable

verify_patchdir_still_exists

verify_patchdir_still_exists

Verify that the patch directory is still in working order since bad actors on some systems wipe it out. If not, recreate it and then exit

may exit on failure

Classification Level
Audience Private
Stability Evolving
Replaceable Yes