Eclipse Build:
Unstable!\n";
}
?>
This page provides access to the various deliverables of Eclipse Platform build along with
its logs and tests.
POM updates made";
}
// check if test build only, just to give warning of oversite.
// see bug 404545
if (isset($testbuildonly) && ($testbuildonly)) {
echo "
Test-Build-Only flag found set. Input was not tagged.\n";
}
// $NEWS_ID needs to be added to buildproperties.php, such as $NEWS_ID="4.5/M4";
// Once ready to display it.
if (isset ($NEWS_ID)) {
echo "New and Noteworthy
\n";
}
// Similar for $ACK_ID and $README_ID, but they are added only for 'R builds',
// And, are added by the promotion scripts, as long as we keep same conventions.
if (isset ($ACK_ID)) {
echo "Acknowledgments
\n";
}
if (isset ($README_ID)) {
echo "Eclipse Project ${BUILD_ID} Readme
\n";
}
if (isset ($BUILD_FAILED) ) {
echo "Build Failed
See logs.
\n";
$PATTERN='!(.*)(/buildlogs/)(.*)!';
$result = preg_match($PATTERN, $BUILD_FAILED, $MATCHES);
// cheap short cut, since we expect only 1 such file
$summaryFile=glob("buildFailed-*");
if ($result !== FALSE) {
$SPECIFIC_LOG=$MATCHES[3];
echo "
Specifically, see the log with errors, \n";
echo "or a summary.
\n";
echo "Or see traditional Compile Logs (if any).\n";
echo "See recent changes in the git log.
\n";
}
}
else {
?>
Logs and Test Links
";
echo "
";
// build notes are put at the top of the list under the assumption if there is something
// there, then it it pretty important for everyone to read. Such as "this build does not export" or
// something like that.
if (file_exists("buildnotes/")) {
$fileArray=glob("buildnotes/buildnotes_*.html");
if (count($fileArray) > 0) {
echo "- View build notes for the current build.
";
}
}
// We will always display link to logs (as normal link, not using color:inherit;)
echo "- View the logs for the current build.
\n";
// This section if for overall status if anything failed, overall is failed
// -3 is special code meaning no testResults directory exists yet.
if ($boxes == -3) {
$testResultsStatus = "pending";
} else {
/* since boxes is not -3, there must be at least one */
$totalFailed = 0;
$expectedBoxes = count($expectedTestConfigs);
foreach ($expectedTestConfigs as $config) {
if (isset($testResults[$config])) {
$testRes = $testResults[$config];
$failed = $testRes['failCount'];
$totalFailed = $totalFailed + $failed;
}
}
if ($totalFailed == 0 && $boxes == $expectedBoxes) {
$testResultsStatus = "success";
} elseif ($totalFailed == 0 && $boxes < $expectedBoxes) {
$testResultsStatus = "inProgress";
} elseif ($totalFailed > 0 && $boxes > 0) {
$testResultsStatus = "failed";
} else {
// This is some sort of programming error?
// Don't think we should get to here?
// Will flag as "unknown" but not sure how to convey that ....
// would only be useful if debugging.
$testResultsStatus = "unknown";
}
}
if (file_exists("overrideTestColor")) {
$linkColor='text-success';
}
else {
if ($testResultsStatus === "failed") {
/* note we don't override 'inherit' cases, just 'failed'. */
if (file_exists("overrideTestColor")) {
$linkColor='text-success';
} else {
$linkColor = 'text-danger';
}
} elseif ($testResultsStatus === "success") {
$linkColor='text-success';
} elseif ($testResultsStatus === "pending") {
$linkColor='text-muted';
} elseif ($testResultsStatus === "inProgress") {
$linkColor='text-muted';
}
}
if ($testResultsStatus == "pending") {
echo "- Integration and unit tests are pending.
\n";
} else {
echo "- View the integration and unit test results for the current build.
\n";
}
/* performance tests line item */
$generated=file_exists("performance/global_fp.php");
if (file_exists("performance/performance.php") && $generated) {
echo "- View the performance test results for the current build.
\n";
} else {
echo "- Performance tests are pending.
\n";
}
echo "
\n";
if (file_exists("TEST_INVOCATION_FAILED.html")) {
$tf_file = file_get_contents("TEST_INVOCATION_FAILED.html");
echo "
Test Invocation Failed for some Machines
$tf_file";
}
echo "
Summary of Unit Tests Results
";
echo "
\n";
echo " \n";
echo "".$boxesDisplay." of ".count($expectedTestConfigs)." integration and unit test configurations are complete.
\n";
if (file_exists("testNotes.html")) {
$my_file = file_get_contents("testNotes.html");
echo $my_file;
}
echo " \n";
echo "Tested Platform | Failed | Passed | Total | Test Time (s) |
\n";
foreach ($expectedTestConfigs as $config) {
//var_dump($testResults);
$displayConfig = computeDisplayConfig($config);
if (isset($testResults[$config])) {
$testRes = $testResults[$config];
$failed = $testRes['failCount'];
$passed = $testRes['passCount'];
$total = $failed + $passed;
$duration = $testRes['duration'];
if (file_exists("overrideTestColor")) {
$linkColor='text-success';
}
else {
if ($failed > 0) {
// note we don't override 'inherit' cases, just 'failed'.
if (file_exists("overrideTestColor")) {
$linkColor='text-success';
} else {
$linkColor = 'text-danger';
}
} else {
$linkColor='text-success';
}
}
echo "\n";
echo "\n";
echo "".$displayConfig."";
echo " | \n";
echo "$failed | $passed | $total | $duration | \n";
echo "
\n";
}
else {
// Yes, all configs intentionally links, since all go to the same place, but if no results yet, would not look like one.
$linkColor = 'text-muted';
echo "\n";
echo "\n";
echo "".$displayConfig."";
echo " | \n";
echo " | | | | \n";
echo "
\n";
}
}
echo "
\n";
?>
Related Links
SHA512 Checksums for $BUILD_ID (
GPG)";
} else if (file_exists($sums512file)) {
echo "
SHA512 Checksums for $BUILD_ID";
}
?>
Report of changes from previous build.
";
}
?>
Eclipse p2 Repository
\n";
echo "To update your Eclipse installation to this development stream, you can use the software repository at \n";
echo " $STREAM_REPO_URL \n";
echo " | \n";
}
if ((file_exists("$relativePath3/updates/"."$BUILD_REPO_NAME")) || (file_exists("$relativePath4/updates/"."$BUILD_REPO_NAME")) ) {
echo "
\n";
echo "To update your build to use this specific build, you can use the software repository at \n";
echo " $BUILD_REPO_URL \n";
echo " |
\n";
}
?>
Eclipse SDK
%sdk%
Tests and Testing Framework
%tests%
Example Plug-ins
%example%
RCP Runtime Binary
%rcpruntime%
RCP SDK
%rcpsdk%
%runtime%
JDT Runtime Binary
%jdt%
JDT SDK
%jdtsdk%
JDT Core Batch Compiler
%jdtc%
PDE Runtime Binary
%pde%
PDE SDK
%pdesdk%
CVS Client Runtime Binary
%cvs%
CVS Client SDK
%cvssdk%
SWT Binary and Source
%swt%
org.eclipse.releng.tools plug-in
%relengtools%