From 14f022579e5e4869635433b4e6f77eade6fe231f Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Tue, 3 Dec 2024 10:07:25 -0800 Subject: [PATCH] Run OSD integ test ci-groups in parallel (#5179) Signed-off-by: Rishabh Singh --- .../integ-test.jenkinsfile | 145 ++-- .../integ_test/integ_test_runner.py | 19 +- src/test_workflow/test_args.py | 3 + .../TestOpenSearchDashboardsIntegTest.groovy | 33 +- ...eg-test-without-validation.jenkinsfile.txt | 797 ++++++++++++++---- .../integ-test.jenkinsfile.txt | 797 ++++++++++++++---- .../test_integ_test_runner_opensearch.py | 1 + ...integ_test_runner_opensearch_dashboards.py | 6 +- 8 files changed, 1348 insertions(+), 453 deletions(-) diff --git a/jenkins/opensearch-dashboards/integ-test.jenkinsfile b/jenkins/opensearch-dashboards/integ-test.jenkinsfile index 812b733039..3e78ab7647 100644 --- a/jenkins/opensearch-dashboards/integ-test.jenkinsfile +++ b/jenkins/opensearch-dashboards/integ-test.jenkinsfile @@ -7,7 +7,7 @@ * compatible open source license. */ -lib = library(identifier: 'jenkins@7.3.0', retriever: modernSCM([ +lib = library(identifier: 'jenkins@8.0.0', retriever: modernSCM([ $class: 'GitSCMSource', remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', ])) @@ -230,73 +230,94 @@ pipeline { // Must use local variable due to groovy for loop and closure scope // Or the stage will be fixed to the last item in return when new stages are triggered here // https://web.archive.org/web/20181121065904/http://blog.freeside.co/2013/03/29/groovy-gotcha-for-loops-and-closure-scope/ - def local_component = component.trim() - def local_component_index = componentList.indexOf(local_component) - def wait_seconds = local_component_index * 20 - echo "Adding Component: ${local_component}" - componentTests["Run Integtest ${local_component}"] = { - // Using scripted pipelines to trigger dynamic parallel stages - timeout(time: 6, unit: 'HOURS') { + // Changes to run OpenSearch-Dashboards ci-groups in parallel. + // There are total 9 ci-groups + if (component == "OpenSearch-Dashboards") { + for (int i = 1; i <= 9; i++) { + def local_component = 'OpenSearch-Dashboards' + def wait_seconds = i * 20 + def ciNum = i.toString() + + echo "Adding Component: ${local_component}-ci-group-${ciNum}" + + componentTests["Run Integtest ${local_component}-ci-group-${ciNum}"] = { + timeout(time: 3, unit: 'HOURS') { node(AGENT_LABEL) { - docker.withRegistry('https://public.ecr.aws/') { - docker.image(docker_images["$distribution"]).inside(docker_args["$distribution"]) { - try { - stage("${local_component}") { - // Jenkins tend to not clean up workspace at times even though ws clean is called - // Since docker is mounted on the agent node directly so it can communicated with the agent - // This sometimes causes the workspace to retain last run test-results and ends with build failures - // https://github.com/opensearch-project/opensearch-build/blob/6ed1ce3c583233eae4fe1027969d778cfc7660f7/src/test_workflow/test_recorder/test_recorder.py#L99 - sh("echo ${local_component} with index ${local_component_index} will sleep ${wait_seconds} seconds to reduce load && sleep ${wait_seconds}") - unstash "integtest-opensearch-dashboards-$BUILD_NUMBER" - if (env.platform == 'windows') { - echo "On Windows Platform, unstash repository and download the artifacts" - echo "Downloading from S3: ${artifactPathOpenSearch}" - downloadFromS3( - assumedRoleName: 'opensearch-bundle', - roleAccountNumberCred: 'jenkins-aws-account-public', - downloadPath: "${artifactPathOpenSearch}/", - bucketName: "${ARTIFACT_BUCKET_NAME}", - localPath: "${WORKSPACE}/artifacts", - force: true - ) - sh("cp -a $WORKSPACE/artifacts/${artifactPathOpenSearch} $WORKSPACE") + docker.withRegistry('https://public.ecr.aws/') { + docker.image(docker_images["$distribution"]).inside(docker_args["$distribution"]) { + try { + stage("${local_component}-ci-group-${ciNum}") { + sh("echo ${local_component}-ci-group-${ciNum} will sleep ${wait_seconds} seconds to reduce load && sleep ${wait_seconds}") + runIntegTestScriptForOSD( + localComponent: "${local_component}", + switchUserNonRoot: "${switch_user_non_root}", + ciGroup: "${ciNum}", + artifactPathOpenSearch: "${artifactPathOpenSearch}", + artifactPath: "${artifactPath}", + artifactBucketName: "${ARTIFACT_BUCKET_NAME}", + distribution: "${distribution}", + buildManifest: "${BUILD_MANIFEST}", + testManifest: "${TEST_MANIFEST}" + ) + } + } catch (e) { + throw new Exception("Error running integtest for component ${local_component}-ci-group-${ciNum}", e) + } finally { + echo "Completed running integtest for component ${local_component}-ci-group-${ciNum}" + uploadTestResults( + buildManifestFileName: BUILD_MANIFEST, + jobName: JOB_NAME + ) + postCleanup() + } + } + } + } + } + } + } + } else { + def local_component = component.trim() + def local_component_index = componentList.indexOf(local_component) + def wait_seconds = local_component_index * 20 - echo "Downloading from S3: ${artifactPath}" - downloadFromS3( - assumedRoleName: 'opensearch-bundle', - roleAccountNumberCred: 'jenkins-aws-account-public', - downloadPath: "${artifactPath}/", - bucketName: "${ARTIFACT_BUCKET_NAME}", - localPath: "${WORKSPACE}/artifacts", - force: true - ) - sh("cp -a $WORKSPACE/artifacts/${artifactPath} $WORKSPACE") - sh("rm -rf $WORKSPACE/artifacts") + echo "Adding Component: ${local_component}" + componentTests["Run Integtest ${local_component}"] = { + // Using scripted pipelines to trigger dynamic parallel stages + timeout(time: 6, unit: 'HOURS') { + node(AGENT_LABEL) { + docker.withRegistry('https://public.ecr.aws/') { + docker.image(docker_images["$distribution"]).inside(docker_args["$distribution"]) { + try { + stage("${local_component}") { + // Jenkins tend to not clean up workspace at times even though ws clean is called + // Since docker is mounted on the agent node directly so it can communicated with the agent + // This sometimes causes the workspace to retain last run test-results and ends with build failures + // https://github.com/opensearch-project/opensearch-build/blob/6ed1ce3c583233eae4fe1027969d778cfc7660f7/src/test_workflow/test_recorder/test_recorder.py#L99 + sh("echo ${local_component} with index ${local_component_index} will sleep ${wait_seconds} seconds to reduce load && sleep ${wait_seconds}") + runIntegTestScriptForOSD( + localComponent: local_component, + switchUserNonRoot: switch_user_non_root, + ciGroup: "", + artifactPathOpenSearch: "${artifactPathOpenSearch}", + artifactPath: "${artifactPath}", + artifactBucketName: "${ARTIFACT_BUCKET_NAME}", + distribution: "${distribution}", + buildManifest: "${BUILD_MANIFEST}", + testManifest: "${TEST_MANIFEST}" + ) } - else { - echo "Not on Windows, unstash repository+artifacts" - } - - sh("rm -rf test-results") - runIntegTestScript( - jobName: "$BUILD_JOB_NAME", - componentName: "${local_component}", - buildManifest: "$BUILD_MANIFEST", - testManifest: "manifests/${TEST_MANIFEST}", - localPath: "${WORKSPACE}/${distribution}", - switchUserNonRoot: "${switch_user_non_root}" + } catch (e) { + throw new Exception("Error running integtest for component ${local_component}", e) + } finally { + echo "Completed running integtest for component ${local_component}" + uploadTestResults( + buildManifestFileName: BUILD_MANIFEST, + jobName: JOB_NAME ) + postCleanup() } - } catch (e) { - throw new Exception("Error running integtest for component ${local_component}", e) - } finally { - echo "Completed running integtest for component ${local_component}" - uploadTestResults( - buildManifestFileName: BUILD_MANIFEST, - jobName: JOB_NAME - ) - postCleanup() } } } diff --git a/src/test_workflow/integ_test/integ_test_runner.py b/src/test_workflow/integ_test/integ_test_runner.py index a9f410057b..4caad01dd5 100644 --- a/src/test_workflow/integ_test/integ_test_runner.py +++ b/src/test_workflow/integ_test/integ_test_runner.py @@ -43,19 +43,12 @@ def run(self) -> TestSuiteResults: if component.name in self.test_manifest.components: test_config = self.test_manifest.components[component.name] if test_config.integ_test: - if 'ci-groups' in test_config.integ_test.keys(): - orig_component_name = component.name - for i in range(1, test_config.integ_test['ci-groups'] + 1): - component.name = f"{orig_component_name}-ci-group-{i}" - test_suite = self.__create_test_suite__(component, test_config, work_dir.path) - test_results = test_suite.execute_tests() - [self.test_recorder.test_results_logs.generate_component_yml(result_data) for result_data in test_suite.result_data] - all_results.append(component.name, test_results) - else: - test_suite = self.__create_test_suite__(component, test_config, work_dir.path) - test_results = test_suite.execute_tests() - [self.test_recorder.test_results_logs.generate_component_yml(result_data) for result_data in test_suite.result_data] - all_results.append(component.name, test_results) + if self.args.ci_group: + component.name = f"{component.name}-ci-group-{self.args.ci_group}" + test_suite = self.__create_test_suite__(component, test_config, work_dir.path) + test_results = test_suite.execute_tests() + [self.test_recorder.test_results_logs.generate_component_yml(result_data) for result_data in test_suite.result_data] + all_results.append(component.name, test_results) else: logging.info(f"Skipping integ-tests for {component.name}, as it is currently not supported") else: diff --git a/src/test_workflow/test_args.py b/src/test_workflow/test_args.py index 2a9a15de6a..c734c76cb1 100644 --- a/src/test_workflow/test_args.py +++ b/src/test_workflow/test_args.py @@ -23,6 +23,7 @@ class TestArgs: logging_level: int test_manifest_path: str paths: dict + ci_group: str def __init__(self) -> None: parser = argparse.ArgumentParser(description="Test an OpenSearch Bundle") @@ -36,6 +37,7 @@ def __init__(self) -> None: parser.add_argument( "-v", "--verbose", help="Show more verbose output.", action="store_const", default=logging.INFO, const=logging.DEBUG, dest="logging_level" ) + parser.add_argument("--ci-group", type=str, default=None, help="ci group number.") args = parser.parse_args() self.test_run_id = args.test_run_id or uuid.uuid4().hex self.components = args.components @@ -44,6 +46,7 @@ def __init__(self) -> None: self.test_manifest_path = args.test_manifest_path self.paths = args.paths self.base_path = args.base_path + self.ci_group = args.ci_group TestArgs.__test__ = False # type:ignore diff --git a/tests/jenkins/TestOpenSearchDashboardsIntegTest.groovy b/tests/jenkins/TestOpenSearchDashboardsIntegTest.groovy index 7cd7ef21a4..94737a410a 100644 --- a/tests/jenkins/TestOpenSearchDashboardsIntegTest.groovy +++ b/tests/jenkins/TestOpenSearchDashboardsIntegTest.groovy @@ -26,7 +26,7 @@ class TestOpenSearchDashboardsIntegTest extends BuildPipelineTest { helper.registerSharedLibrary( library().name('jenkins') - .defaultVersion('7.3.0') + .defaultVersion('8.0.0') .allowOverride(true) .implicit(true) .targetPath('vars') @@ -65,6 +65,7 @@ class TestOpenSearchDashboardsIntegTest extends BuildPipelineTest { binding.setVariable('RUN_DISPLAY_URL', 'https://some/url/redirect') binding.setVariable('AGENT_LABEL', agentLabel) binding.setVariable('BUILD_MANIFEST', buildManifest) + binding.setVariable('BUILD_JOB_NAME', 'test-integ-job') binding.setVariable('BUILD_MANIFEST_OPENSEARCH', buildManifestOpenSearch) binding.setVariable('BUILD_ID', "${buildId}") binding.setVariable('distribution', 'tar' ) @@ -99,6 +100,15 @@ class TestOpenSearchDashboardsIntegTest extends BuildPipelineTest { helper.registerAllowedMethod("s3Upload", [Map]) helper.registerAllowedMethod('findFiles', [Map.class], null) helper.registerAllowedMethod('unstash', [String.class], null) + helper.registerAllowedMethod("parallel", [Map]) { stages -> + println "Mock parallel stages:" + stages.each { stageName, stageContent -> + println "\nStage: ${stageName}" + println "Content: ${stageContent.toString()}" + // Execute the stage content to simulate parallel execution + stageContent.call() + } +} } /// @@ -108,11 +118,20 @@ class TestOpenSearchDashboardsIntegTest extends BuildPipelineTest { 'tests/jenkins/jenkinsjob-regression-files/opensearch-dashboards/integ-test.jenkinsfile') assert getCommandExecutions('stage', 'validate-artifacts').size() == 1 assertThat(getCommandExecutions('sh', 'test.sh'), hasItems( - 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), - 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), - 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), - 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), - 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString() + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 1 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 2 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 3 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 4 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 5 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 6 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 7 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 8 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString(), + 'env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 9 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar '.toString() )) assertThat(getCommandExecutions('sh', 'report.sh'), hasItems('./report.sh manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --artifact-paths opensearch=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/215/linux/x64/tar opensearch-dashboards=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar --test-run-id 215 --test-type integ-test --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar --release-candidate 0 ')) assertCallStack().contains('curl -sSL https://ci.opensearch.org/ci/dbc/integ-test-opensearch-dashboards/3.0.0/215/linux/x64/tar/test-results/215/integ-test/test-report.yml --output test-results-osd-215/test-report.yml') @@ -131,7 +150,7 @@ class TestOpenSearchDashboardsIntegTest extends BuildPipelineTest { @Test void checkIfRunningInParallel(){ runScript('jenkins/opensearch-dashboards/integ-test.jenkinsfile') - assertThat(getCommandExecutions('parallel', ''), hasItem('{Run Integtest ganttChartDashboards=groovy.lang.Closure, Run Integtest indexManagementDashboards=groovy.lang.Closure, Run Integtest anomalyDetectionDashboards=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards=groovy.lang.Closure, Run Integtest reportsDashboards=groovy.lang.Closure, Run Integtest queryWorkbenchDashboards=groovy.lang.Closure, Run Integtest observabilityDashboards=groovy.lang.Closure}')) + assertThat(getCommandExecutions('parallel', ''), hasItem('{Run Integtest ganttChartDashboards=groovy.lang.Closure, Run Integtest indexManagementDashboards=groovy.lang.Closure, Run Integtest anomalyDetectionDashboards=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-1=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-2=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-3=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-4=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-5=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-6=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-7=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-8=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-9=groovy.lang.Closure, Run Integtest reportsDashboards=groovy.lang.Closure, Run Integtest queryWorkbenchDashboards=groovy.lang.Closure, Run Integtest observabilityDashboards=groovy.lang.Closure}')) } @Test diff --git a/tests/jenkins/jenkinsjob-regression-files/opensearch-dashboards/integ-test-without-validation.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/opensearch-dashboards/integ-test-without-validation.jenkinsfile.txt index f5cd6f7c93..311aacc197 100644 --- a/tests/jenkins/jenkinsjob-regression-files/opensearch-dashboards/integ-test-without-validation.jenkinsfile.txt +++ b/tests/jenkins/jenkinsjob-regression-files/opensearch-dashboards/integ-test-without-validation.jenkinsfile.txt @@ -1,6 +1,6 @@ integ-test.run() integ-test.modernSCM({$class=GitSCMSource, remote=https://github.com/opensearch-project/opensearch-build-libraries.git}) - integ-test.library({identifier=jenkins@7.3.0, retriever=null}) + integ-test.library({identifier=jenkins@8.0.0, retriever=null}) integ-test.pipeline(groovy.lang.Closure) integ-test.credentials(jenkins-artifact-bucket-name) integ-test.timeout({time=7, unit=HOURS}) @@ -13,7 +13,7 @@ integ-test.fileExists(manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) @@ -21,7 +21,7 @@ BuildManifest.asBoolean() integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/215/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/215/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) @@ -36,7 +36,7 @@ BuildManifest.getArtifactBuildId() BuildManifest.getArtifactBuildId() BuildManifest.getDistribution() - BuildManifest.getArtifactRoot(distribution-build-opensearch-dashboards, 215) + BuildManifest.getArtifactRoot(test-integ-job, 215) BuildManifest.getArtifactRoot(distribution-build-opensearch, 215) integ-test.echo(Version: 3.0.0, VersionOpenSearch: 3.0.0, Agent: Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, OSD_BuildId: 215, OS_BuildId: 215, Distribution: tar) integ-test.postCleanup() @@ -47,7 +47,7 @@ integ-test.script(groovy.lang.Closure) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) @@ -66,53 +66,64 @@ downloadFromS3.withAWS({role=opensearch-bundle, roleAccount=AWS_ACCOUNT_NUMBER, duration=900, roleSessionName=jenkins-session, region=us-east-1}, groovy.lang.Closure) downloadFromS3.s3Download({file=/tmp/workspace/artifacts, bucket=job-s3-bucket-name, path=distribution-build-opensearch/3.0.0/215/linux/x64/tar/, force=true}) integ-test.sh(cp -a /tmp/workspace/artifacts/distribution-build-opensearch/3.0.0/215/linux/x64/tar /tmp/workspace) - integ-test.echo(Downloading from S3: distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - integ-test.downloadFromS3({assumedRoleName=opensearch-bundle, roleAccountNumberCred=jenkins-aws-account-public, downloadPath=distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/, bucketName=job-s3-bucket-name, localPath=/tmp/workspace/artifacts, force=true}) + integ-test.echo(Downloading from S3: test-integ-job/3.0.0/215/linux/x64/tar) + integ-test.downloadFromS3({assumedRoleName=opensearch-bundle, roleAccountNumberCred=jenkins-aws-account-public, downloadPath=test-integ-job/3.0.0/215/linux/x64/tar/, bucketName=job-s3-bucket-name, localPath=/tmp/workspace/artifacts, force=true}) downloadFromS3.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_NUMBER}) downloadFromS3.withCredentials([AWS_ACCOUNT_NUMBER], groovy.lang.Closure) downloadFromS3.withAWS({role=opensearch-bundle, roleAccount=AWS_ACCOUNT_NUMBER, duration=900, roleSessionName=jenkins-session, region=us-east-1}, groovy.lang.Closure) - downloadFromS3.s3Download({file=/tmp/workspace/artifacts, bucket=job-s3-bucket-name, path=distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/, force=true}) - integ-test.sh(cp -a /tmp/workspace/artifacts/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar /tmp/workspace) + downloadFromS3.s3Download({file=/tmp/workspace/artifacts, bucket=job-s3-bucket-name, path=test-integ-job/3.0.0/215/linux/x64/tar/, force=true}) + integ-test.sh(cp -a /tmp/workspace/artifacts/test-integ-job/3.0.0/215/linux/x64/tar /tmp/workspace) integ-test.sh(rm -rf /tmp/workspace/artifacts) integ-test.stash({includes=**, name=integtest-opensearch-dashboards-215}) integ-test.echo(Adding Component: ganttChartDashboards) integ-test.echo(Adding Component: indexManagementDashboards) integ-test.echo(Adding Component: anomalyDetectionDashboards) - integ-test.echo(Adding Component: OpenSearch-Dashboards) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-1) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-2) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-3) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-4) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-5) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-6) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-7) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-8) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-9) integ-test.echo(Adding Component: reportsDashboards) integ-test.echo(Adding Component: queryWorkbenchDashboards) integ-test.echo(Adding Component: observabilityDashboards) - integ-test.parallel({Run Integtest ganttChartDashboards=groovy.lang.Closure, Run Integtest indexManagementDashboards=groovy.lang.Closure, Run Integtest anomalyDetectionDashboards=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards=groovy.lang.Closure, Run Integtest reportsDashboards=groovy.lang.Closure, Run Integtest queryWorkbenchDashboards=groovy.lang.Closure, Run Integtest observabilityDashboards=groovy.lang.Closure}) + integ-test.parallel({Run Integtest ganttChartDashboards=groovy.lang.Closure, Run Integtest indexManagementDashboards=groovy.lang.Closure, Run Integtest anomalyDetectionDashboards=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-1=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-2=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-3=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-4=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-5=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-6=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-7=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-8=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-9=groovy.lang.Closure, Run Integtest reportsDashboards=groovy.lang.Closure, Run Integtest queryWorkbenchDashboards=groovy.lang.Closure, Run Integtest observabilityDashboards=groovy.lang.Closure}) integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo ganttChartDashboards with index 0 will sleep 0 seconds to reduce load && sleep 0) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=ganttChartDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: ganttChartDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=ganttChartDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=ganttChartDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: ganttChartDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component ganttChartDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -133,33 +144,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo indexManagementDashboards with index 1 will sleep 20 seconds to reduce load && sleep 20) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=indexManagementDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: indexManagementDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component indexManagementDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component indexManagementDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=indexManagementDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=indexManagementDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: indexManagementDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component indexManagementDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component indexManagementDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component indexManagementDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -180,33 +194,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo anomalyDetectionDashboards with index 2 will sleep 40 seconds to reduce load && sleep 40) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=anomalyDetectionDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: anomalyDetectionDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=anomalyDetectionDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=anomalyDetectionDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: anomalyDetectionDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component anomalyDetectionDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -224,36 +241,439 @@ uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) integ-test.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-1 will sleep 20 seconds to reduce load && sleep 20) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=1, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=1}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 1 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 1 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-1) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-2 will sleep 40 seconds to reduce load && sleep 40) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=2, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=2}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 2 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 2 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-2) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-3 will sleep 60 seconds to reduce load && sleep 60) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=3, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=3}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 3 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 3 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-3) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-4 will sleep 80 seconds to reduce load && sleep 80) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=4, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=4}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 4 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 4 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-4) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-5 will sleep 100 seconds to reduce load && sleep 100) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=5, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=5}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 5 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 5 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-5) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) - integ-test.sh(echo OpenSearch-Dashboards with index 3 will sleep 60 seconds to reduce load && sleep 60) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-6 will sleep 120 seconds to reduce load && sleep 120) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=6, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=6}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 6 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 6 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-6) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: OpenSearch-Dashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - integ-test.echo(Completed running integtest for component OpenSearch-Dashboards) + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-7 will sleep 140 seconds to reduce load && sleep 140) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=7, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=7}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 7 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 7 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-7) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-8 will sleep 160 seconds to reduce load && sleep 160) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=8, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=8}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 8 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 8 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-8) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-9 will sleep 180 seconds to reduce load && sleep 180) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=9, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=9}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 9 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 9 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-9) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -274,33 +694,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo reportsDashboards with index 4 will sleep 80 seconds to reduce load && sleep 80) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=reportsDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: reportsDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=reportsDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=reportsDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: reportsDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component reportsDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -321,33 +744,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo queryWorkbenchDashboards with index 5 will sleep 100 seconds to reduce load && sleep 100) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=queryWorkbenchDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: queryWorkbenchDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=queryWorkbenchDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=queryWorkbenchDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: queryWorkbenchDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component queryWorkbenchDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -368,33 +794,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo observabilityDashboards with index 6 will sleep 120 seconds to reduce load && sleep 120) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=observabilityDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: observabilityDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=observabilityDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=observabilityDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: observabilityDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component observabilityDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -418,7 +847,7 @@ integ-test.checkout(groovy.lang.Closure) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) @@ -426,7 +855,7 @@ BuildManifest.asBoolean() integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/215/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/215/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) @@ -434,7 +863,7 @@ BuildManifest.asBoolean() integ-test.createUploadTestReportManifest({testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, dashboardsBuildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testRunID=215, testType=integ-test, rcNumber=0, componentName=}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@7.3.0, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@8.0.0, retriever=null}) createUploadTestReportManifest.readYaml({file=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) TestManifest.asBoolean() createUploadTestReportManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) diff --git a/tests/jenkins/jenkinsjob-regression-files/opensearch-dashboards/integ-test.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/opensearch-dashboards/integ-test.jenkinsfile.txt index c51cab8396..2f33f5e97a 100644 --- a/tests/jenkins/jenkinsjob-regression-files/opensearch-dashboards/integ-test.jenkinsfile.txt +++ b/tests/jenkins/jenkinsjob-regression-files/opensearch-dashboards/integ-test.jenkinsfile.txt @@ -1,6 +1,6 @@ integ-test.run() integ-test.modernSCM({$class=GitSCMSource, remote=https://github.com/opensearch-project/opensearch-build-libraries.git}) - integ-test.library({identifier=jenkins@7.3.0, retriever=null}) + integ-test.library({identifier=jenkins@8.0.0, retriever=null}) integ-test.pipeline(groovy.lang.Closure) integ-test.credentials(jenkins-artifact-bucket-name) integ-test.timeout({time=7, unit=HOURS}) @@ -13,7 +13,7 @@ integ-test.fileExists(manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) @@ -21,7 +21,7 @@ BuildManifest.asBoolean() integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/215/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/215/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) @@ -36,7 +36,7 @@ BuildManifest.getArtifactBuildId() BuildManifest.getArtifactBuildId() BuildManifest.getDistribution() - BuildManifest.getArtifactRoot(distribution-build-opensearch-dashboards, 215) + BuildManifest.getArtifactRoot(test-integ-job, 215) BuildManifest.getArtifactRoot(distribution-build-opensearch, 215) integ-test.echo(Version: 3.0.0, VersionOpenSearch: 3.0.0, Agent: Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, OSD_BuildId: 215, OS_BuildId: 215, Distribution: tar) integ-test.postCleanup() @@ -59,7 +59,7 @@ integ-test.script(groovy.lang.Closure) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) @@ -78,53 +78,64 @@ downloadFromS3.withAWS({role=opensearch-bundle, roleAccount=AWS_ACCOUNT_NUMBER, duration=900, roleSessionName=jenkins-session, region=us-east-1}, groovy.lang.Closure) downloadFromS3.s3Download({file=/tmp/workspace/artifacts, bucket=job-s3-bucket-name, path=distribution-build-opensearch/3.0.0/215/linux/x64/tar/, force=true}) integ-test.sh(cp -a /tmp/workspace/artifacts/distribution-build-opensearch/3.0.0/215/linux/x64/tar /tmp/workspace) - integ-test.echo(Downloading from S3: distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - integ-test.downloadFromS3({assumedRoleName=opensearch-bundle, roleAccountNumberCred=jenkins-aws-account-public, downloadPath=distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/, bucketName=job-s3-bucket-name, localPath=/tmp/workspace/artifacts, force=true}) + integ-test.echo(Downloading from S3: test-integ-job/3.0.0/215/linux/x64/tar) + integ-test.downloadFromS3({assumedRoleName=opensearch-bundle, roleAccountNumberCred=jenkins-aws-account-public, downloadPath=test-integ-job/3.0.0/215/linux/x64/tar/, bucketName=job-s3-bucket-name, localPath=/tmp/workspace/artifacts, force=true}) downloadFromS3.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_NUMBER}) downloadFromS3.withCredentials([AWS_ACCOUNT_NUMBER], groovy.lang.Closure) downloadFromS3.withAWS({role=opensearch-bundle, roleAccount=AWS_ACCOUNT_NUMBER, duration=900, roleSessionName=jenkins-session, region=us-east-1}, groovy.lang.Closure) - downloadFromS3.s3Download({file=/tmp/workspace/artifacts, bucket=job-s3-bucket-name, path=distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/, force=true}) - integ-test.sh(cp -a /tmp/workspace/artifacts/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar /tmp/workspace) + downloadFromS3.s3Download({file=/tmp/workspace/artifacts, bucket=job-s3-bucket-name, path=test-integ-job/3.0.0/215/linux/x64/tar/, force=true}) + integ-test.sh(cp -a /tmp/workspace/artifacts/test-integ-job/3.0.0/215/linux/x64/tar /tmp/workspace) integ-test.sh(rm -rf /tmp/workspace/artifacts) integ-test.stash({includes=**, name=integtest-opensearch-dashboards-215}) integ-test.echo(Adding Component: ganttChartDashboards) integ-test.echo(Adding Component: indexManagementDashboards) integ-test.echo(Adding Component: anomalyDetectionDashboards) - integ-test.echo(Adding Component: OpenSearch-Dashboards) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-1) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-2) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-3) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-4) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-5) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-6) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-7) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-8) + integ-test.echo(Adding Component: OpenSearch-Dashboards-ci-group-9) integ-test.echo(Adding Component: reportsDashboards) integ-test.echo(Adding Component: queryWorkbenchDashboards) integ-test.echo(Adding Component: observabilityDashboards) - integ-test.parallel({Run Integtest ganttChartDashboards=groovy.lang.Closure, Run Integtest indexManagementDashboards=groovy.lang.Closure, Run Integtest anomalyDetectionDashboards=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards=groovy.lang.Closure, Run Integtest reportsDashboards=groovy.lang.Closure, Run Integtest queryWorkbenchDashboards=groovy.lang.Closure, Run Integtest observabilityDashboards=groovy.lang.Closure}) + integ-test.parallel({Run Integtest ganttChartDashboards=groovy.lang.Closure, Run Integtest indexManagementDashboards=groovy.lang.Closure, Run Integtest anomalyDetectionDashboards=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-1=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-2=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-3=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-4=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-5=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-6=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-7=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-8=groovy.lang.Closure, Run Integtest OpenSearch-Dashboards-ci-group-9=groovy.lang.Closure, Run Integtest reportsDashboards=groovy.lang.Closure, Run Integtest queryWorkbenchDashboards=groovy.lang.Closure, Run Integtest observabilityDashboards=groovy.lang.Closure}) integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo ganttChartDashboards with index 0 will sleep 0 seconds to reduce load && sleep 0) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=ganttChartDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: ganttChartDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=ganttChartDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=ganttChartDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: ganttChartDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component ganttChartDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component ganttChartDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -145,33 +156,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo indexManagementDashboards with index 1 will sleep 20 seconds to reduce load && sleep 20) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=indexManagementDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: indexManagementDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component indexManagementDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component indexManagementDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=indexManagementDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=indexManagementDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: indexManagementDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component indexManagementDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component indexManagementDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component indexManagementDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -192,33 +206,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo anomalyDetectionDashboards with index 2 will sleep 40 seconds to reduce load && sleep 40) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=anomalyDetectionDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: anomalyDetectionDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=anomalyDetectionDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=anomalyDetectionDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: anomalyDetectionDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component anomalyDetectionDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component anomalyDetectionDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -236,36 +253,439 @@ uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) integ-test.postCleanup() postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) - integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-1 will sleep 20 seconds to reduce load && sleep 20) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=1, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=1}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 1 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 1 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-1) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-2 will sleep 40 seconds to reduce load && sleep 40) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=2, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=2}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 2 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 2 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-2) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-3 will sleep 60 seconds to reduce load && sleep 60) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=3, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=3}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 3 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 3 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-3) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-4 will sleep 80 seconds to reduce load && sleep 80) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=4, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=4}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 4 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 4 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-4) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-5 will sleep 100 seconds to reduce load && sleep 100) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=5, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=5}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 5 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 5 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-5) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) - integ-test.sh(echo OpenSearch-Dashboards with index 3 will sleep 60 seconds to reduce load && sleep 60) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-6 will sleep 120 seconds to reduce load && sleep 120) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=6, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=6}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 6 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 6 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-6) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: OpenSearch-Dashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - integ-test.echo(Completed running integtest for component OpenSearch-Dashboards) + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-7 will sleep 140 seconds to reduce load && sleep 140) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=7, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=7}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 7 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 7 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-7) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-8 will sleep 160 seconds to reduce load && sleep 160) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=8, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=8}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 8 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 8 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-8) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) + uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + uploadTestResults.echo(Build Id: 215) + BuildManifest.getArtifactRoot(dummy_job, 215) + uploadTestResults.string({credentialsId=jenkins-artifact-bucket-name, variable=ARTIFACT_BUCKET_NAME}) + uploadTestResults.string({credentialsId=jenkins-aws-account-public, variable=AWS_ACCOUNT_PUBLIC}) + uploadTestResults.withCredentials([ARTIFACT_BUCKET_NAME, AWS_ACCOUNT_PUBLIC], groovy.lang.Closure) + uploadTestResults.echo(Uploading to s3://ARTIFACT_BUCKET_NAME/dummy_job/3.0.0/215/linux/x64/tar) + uploadTestResults.withAWS({role=opensearch-test, roleAccount=AWS_ACCOUNT_PUBLIC, duration=900, roleSessionName=jenkins-session}, groovy.lang.Closure) + uploadTestResults.s3Upload({file=test-results, bucket=ARTIFACT_BUCKET_NAME, path=dummy_job/3.0.0/215/linux/x64/tar/test-results}) + BuildManifest.getArtifactRootUrl(DUMMY_PUBLIC_ARTIFACT_URL, dummy_job) + Messages.asBoolean() + Messages.add(DUMMY_STAGE_NAME, https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/) + uploadTestResults.writeFile({file=messages/DUMMY_STAGE_NAME.msg, text=https://ci.opensearch.org/ci/dbc/DUMMY_PUBLIC_ARTIFACT_URL/3.0.0/dummy_job/linux/x64/tar/test-results/}) + uploadTestResults.stash({includes=messages/*, name=messages-DUMMY_STAGE_NAME}) + integ-test.postCleanup() + postCleanup.cleanWs({disableDeferredWipeout=true, deleteDirs=true}) + integ-test.timeout({time=3, unit=HOURS}, groovy.lang.Closure) + integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) + integ-test.sh(echo OpenSearch-Dashboards-ci-group-9 will sleep 180 seconds to reduce load && sleep 180) + integ-test.runIntegTestScriptForOSD({localComponent=OpenSearch-Dashboards, switchUserNonRoot=false, ciGroup=9, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=OpenSearch-Dashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=9}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: OpenSearch-Dashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 9 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component OpenSearch-Dashboards --ci-group 9 --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.echo(Completed running integtest for component OpenSearch-Dashboards-ci-group-9) + integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) + uploadTestResults.legacySCM(groovy.lang.Closure) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -286,33 +706,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo reportsDashboards with index 4 will sleep 80 seconds to reduce load && sleep 80) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=reportsDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: reportsDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=reportsDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=reportsDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: reportsDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component reportsDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component reportsDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -333,33 +756,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo queryWorkbenchDashboards with index 5 will sleep 100 seconds to reduce load && sleep 100) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=queryWorkbenchDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: queryWorkbenchDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=queryWorkbenchDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=queryWorkbenchDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: queryWorkbenchDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component queryWorkbenchDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component queryWorkbenchDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -380,33 +806,36 @@ integ-test.timeout({time=6, unit=HOURS}, groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.sh(echo observabilityDashboards with index 6 will sleep 120 seconds to reduce load && sleep 120) - integ-test.unstash(integtest-opensearch-dashboards-215) - integ-test.echo(Not on Windows, unstash repository+artifacts) - integ-test.sh(rm -rf test-results) - integ-test.runIntegTestScript({jobName=distribution-build-opensearch-dashboards, componentName=observabilityDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) - runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@7.3.0, retriever=null}) - runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) - BuildManifest.asBoolean() - BuildManifest.getArtifactArchitecture() - BuildManifest.getDistribution() - BuildManifest.getArtifactPlatform() - runIntegTestScript.echo(Start integTest on: tar x64 linux) - runIntegTestScript.echo(Possible Java Home: ) - runIntegTestScript.echo(Build Id: 215) - BuildManifest.getArtifactRootUrl(distribution-build-opensearch-dashboards, 215) - runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) - runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) - runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) - runIntegTestScript.echo(Component: observabilityDashboards) - runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) - runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) - runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + integ-test.runIntegTestScriptForOSD({localComponent=observabilityDashboards, switchUserNonRoot=false, ciGroup=, artifactPathOpenSearch=distribution-build-opensearch/3.0.0/215/linux/x64/tar, artifactPath=test-integ-job/3.0.0/215/linux/x64/tar, artifactBucketName=job-s3-bucket-name, distribution=tar, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) + runIntegTestScriptForOSD.legacySCM(groovy.lang.Closure) + runIntegTestScriptForOSD.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScriptForOSD.unstash(integtest-opensearch-dashboards-215) + runIntegTestScriptForOSD.echo(Not on Windows, unstash repository+artifacts) + runIntegTestScriptForOSD.sh(rm -rf test-results) + runIntegTestScriptForOSD.runIntegTestScript({jobName=test-integ-job, componentName=observabilityDashboards, buildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false, ciGroup=}) + runIntegTestScript.legacySCM(groovy.lang.Closure) + runIntegTestScript.library({identifier=jenkins@8.0.0, retriever=null}) + runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) + BuildManifest.asBoolean() + BuildManifest.getArtifactArchitecture() + BuildManifest.getDistribution() + BuildManifest.getArtifactPlatform() + runIntegTestScript.echo(Start integTest on: tar x64 linux) + runIntegTestScript.echo(Possible Java Home: ) + runIntegTestScript.echo(Build Id: 215) + BuildManifest.getArtifactRootUrl(test-integ-job, 215) + runIntegTestScript.echo(Artifact root URL: https://ci.opensearch.org/ci/dbc/test-integ-job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(User provides localPath, use local artifacts: /tmp/workspace/tar) + runIntegTestScript.echo(Paths: opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar) + runIntegTestScript.echo(Base Path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar) + runIntegTestScript.echo(Component: observabilityDashboards) + runIntegTestScript.echo(Switch User to Non-Root (uid=1000): false) + runIntegTestScript.echo(Run command: env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) + runIntegTestScript.sh(env PATH=$PATH ./test.sh integ-test manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml --component observabilityDashboards --test-run-id 215 --paths opensearch=/tmp/workspace/tar opensearch-dashboards=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/215/linux/x64/tar ) integ-test.echo(Completed running integtest for component observabilityDashboards) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@7.3.0, retriever=null}) + uploadTestResults.library({identifier=jenkins@8.0.0, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -430,7 +859,7 @@ integ-test.checkout(groovy.lang.Closure) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch-dashboards/3.0.0/215/linux/x64/tar/builds/opensearch-dashboards/opensearch-dashboards-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml) @@ -438,7 +867,7 @@ BuildManifest.asBoolean() integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/215/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz, path=tests/jenkins/data/opensearch-3.0.0-build.yml}) downloadBuildManifest.legacySCM(groovy.lang.Closure) - downloadBuildManifest.library({identifier=jenkins@7.3.0, retriever=null}) + downloadBuildManifest.library({identifier=jenkins@8.0.0, retriever=null}) downloadBuildManifest.sh(mkdir -p $(dirname "tests/jenkins/data/opensearch-3.0.0-build.yml")) downloadBuildManifest.sh(touch tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.sh(curl -sSL --retry 5 https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/215/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) @@ -446,7 +875,7 @@ BuildManifest.asBoolean() integ-test.createUploadTestReportManifest({testManifest=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, dashboardsBuildManifest=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml, testRunID=215, testType=integ-test, rcNumber=0, componentName=}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@7.3.0, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@8.0.0, retriever=null}) createUploadTestReportManifest.readYaml({file=manifests/tests/jenkins/data/opensearch-dashboards-3.0.0-test.yml}) TestManifest.asBoolean() createUploadTestReportManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) diff --git a/tests/tests_test_workflow/test_integ_workflow/integ_test/test_integ_test_runner_opensearch.py b/tests/tests_test_workflow/test_integ_workflow/integ_test/test_integ_test_runner_opensearch.py index 2d86aac3f5..dcfe192919 100644 --- a/tests/tests_test_workflow/test_integ_workflow/integ_test/test_integ_test_runner_opensearch.py +++ b/tests/tests_test_workflow/test_integ_workflow/integ_test/test_integ_test_runner_opensearch.py @@ -24,6 +24,7 @@ def test_with_integ_test(self, mock_temp: Mock, mock_test_recorder: Mock, mock_s self.args.paths = {"opensearch": "test-path"} self.args.component = "sql" self.args.test_run_id = "12345" + self.args.ci_group = None mock_test_config = MagicMock() mock_test_config.integ_test = MagicMock() diff --git a/tests/tests_test_workflow/test_integ_workflow/integ_test/test_integ_test_runner_opensearch_dashboards.py b/tests/tests_test_workflow/test_integ_workflow/integ_test/test_integ_test_runner_opensearch_dashboards.py index de8a4346a2..0a18fff24b 100644 --- a/tests/tests_test_workflow/test_integ_workflow/integ_test/test_integ_test_runner_opensearch_dashboards.py +++ b/tests/tests_test_workflow/test_integ_workflow/integ_test/test_integ_test_runner_opensearch_dashboards.py @@ -25,6 +25,7 @@ def test_with_integ_test(self, mock_temp: Mock, mock_test_recorder: Mock, mock_s self.args.paths = {"opensearch-dashboards": "test-path"} self.args.component = "sql" self.args.test_run_id = "12345" + self.args.ci_group = None mock_test_config = MagicMock() mock_test_config.integ_test = MagicMock() @@ -100,6 +101,7 @@ def test_with_integ_test_ci_groups(self, mock_temp: Mock, mock_test_recorder: Mo self.args.paths = {"opensearch-dashboards": "test-path"} self.args.component = "sql" self.args.test_run_id = "12345" + self.args.ci_group = '1' mock_test_config = MagicMock() mock_test_config.integ_test = {'test-configs': ['with-security'], 'ci-groups': 3} @@ -149,8 +151,6 @@ def test_with_integ_test_ci_groups(self, mock_temp: Mock, mock_test_recorder: Mo results = runner.run() self.assertEqual(results["sql-ci-group-1"], mock_test_results) - self.assertEqual(results["sql-ci-group-2"], mock_test_results) - self.assertEqual(results["sql-ci-group-3"], mock_test_results) mock_suite_object.result_data.__iter__.assert_called() mock_test_recorder_object.test_results_logs.generate_component_yml.assert_called() @@ -167,4 +167,4 @@ def test_with_integ_test_ci_groups(self, mock_temp: Mock, mock_test_recorder: Mo mock_path, mock_test_recorder_object ) - mock_suite.assert_has_calls([expected_call, expected_call, expected_call], any_order=True) + mock_suite.assert_has_calls([expected_call])