diff --git a/jenkins/opensearch-dashboards/distribution-build.jenkinsfile b/jenkins/opensearch-dashboards/distribution-build.jenkinsfile index b94d104128..50e84a00b1 100644 --- a/jenkins/opensearch-dashboards/distribution-build.jenkinsfile +++ b/jenkins/opensearch-dashboards/distribution-build.jenkinsfile @@ -7,7 +7,7 @@ * compatible open source license. */ -lib = library(identifier: 'jenkins@6.7.1', retriever: modernSCM([ +lib = library(identifier: 'jenkins@6.7.2', retriever: modernSCM([ $class: 'GitSCMSource', remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', ])) diff --git a/jenkins/opensearch-dashboards/integ-test.jenkinsfile b/jenkins/opensearch-dashboards/integ-test.jenkinsfile index 13c79026bc..b86b9e7e2c 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@6.7.1', retriever: modernSCM([ +lib = library(identifier: 'jenkins@6.7.2', retriever: modernSCM([ $class: 'GitSCMSource', remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', ])) @@ -343,6 +343,7 @@ pipeline { docker.withRegistry('https://public.ecr.aws/') { docker.image(docker_images["$distribution"]).inside(docker_args["$distribution"]) { checkout scm + sh 'sleep 10' downloadBuildManifest( url: BUILD_MANIFEST_URL, path: BUILD_MANIFEST diff --git a/jenkins/opensearch/distribution-build.jenkinsfile b/jenkins/opensearch/distribution-build.jenkinsfile index 375a130fbc..ec27ebf8d6 100644 --- a/jenkins/opensearch/distribution-build.jenkinsfile +++ b/jenkins/opensearch/distribution-build.jenkinsfile @@ -7,7 +7,7 @@ * compatible open source license. */ -lib = library(identifier: 'jenkins@6.7.1', retriever: modernSCM([ +lib = library(identifier: 'jenkins@6.7.2', retriever: modernSCM([ $class: 'GitSCMSource', remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', ])) diff --git a/jenkins/opensearch/integ-test.jenkinsfile b/jenkins/opensearch/integ-test.jenkinsfile index 5ebf34254d..901f256905 100644 --- a/jenkins/opensearch/integ-test.jenkinsfile +++ b/jenkins/opensearch/integ-test.jenkinsfile @@ -7,7 +7,7 @@ * compatible open source license. */ -lib = library(identifier: 'jenkins@6.7.1', retriever: modernSCM([ +lib = library(identifier: 'jenkins@6.7.2', retriever: modernSCM([ $class: 'GitSCMSource', remote: 'https://github.com/opensearch-project/opensearch-build-libraries.git', ])) @@ -297,12 +297,11 @@ pipeline { docker.withRegistry('https://public.ecr.aws/') { docker.image(docker_images["$distribution"]).inside(docker_args["$distribution"]) { checkout scm - + sh 'sleep 10' downloadBuildManifest( url: BUILD_MANIFEST_URL, path: BUILD_MANIFEST ) - createUploadTestReportManifest( testManifest: "manifests/${TEST_MANIFEST}", buildManifest: BUILD_MANIFEST, @@ -311,14 +310,14 @@ pipeline { componentName: "${COMPONENT_NAME}", ) echo("Download report manifest from https://ci.opensearch.org/ci/dbc/integ-test/${env.version}/${env.buildId}/${env.platform}/${env.architecture}/${env.distribution}/test-results/${env.BUILD_NUMBER}/integ-test/test-report.yml") - stash includes: 'test-report.yml', name: "test-report-$BUILD_NUMBER" archiveArtifacts artifacts: 'test-report.yml' } } } node(agent_nodes['linux_x64']) { - unstash "test-report-$BUILD_NUMBER" def rc = (params.RC_NUMBER.toInteger() > 0) + sh "mkdir -p test-results-os-${env.BUILD_NUMBER}" + sh "curl -sSL https://ci.opensearch.org/ci/dbc/integ-test/${env.version}/${env.buildId}/${env.platform}/${env.architecture}/${env.distribution}/test-results/${env.BUILD_NUMBER}/integ-test/test-report.yml --output test-results-os-${env.BUILD_NUMBER}/test-report.yml" publishIntegTestResults( version: env.version, distributionBuildNumber: env.buildId, @@ -329,7 +328,7 @@ pipeline { platform: env.platform, architecture: env.architecture, distribution: env.distribution, - testReportManifestYml: "test-report.yml" + testReportManifestYml: "test-results-os-${env.BUILD_NUMBER}/test-report.yml" ) } } diff --git a/tests/jenkins/TestOpenSearchDashboardsIntegTest.groovy b/tests/jenkins/TestOpenSearchDashboardsIntegTest.groovy index 3b074c4ee2..c2371dc3e3 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('6.7.1') + .defaultVersion('6.7.2') .allowOverride(true) .implicit(true) .targetPath('vars') diff --git a/tests/jenkins/TestOpenSearchIntegTest.groovy b/tests/jenkins/TestOpenSearchIntegTest.groovy index b85a4361a8..ef760baa8c 100644 --- a/tests/jenkins/TestOpenSearchIntegTest.groovy +++ b/tests/jenkins/TestOpenSearchIntegTest.groovy @@ -25,7 +25,7 @@ class TestOpenSearchIntegTest extends BuildPipelineTest { helper.registerSharedLibrary( library().name('jenkins') - .defaultVersion('6.7.1') + .defaultVersion('6.7.2') .allowOverride(true) .implicit(true) .targetPath('vars') @@ -95,7 +95,8 @@ class TestOpenSearchIntegTest extends BuildPipelineTest { assertThat(getCommandExecutions('sh', 'test.sh'), hasItem('env PATH=$PATH JAVA_HOME=/opt/java/openjdk-17 ./test.sh integ-test manifests/tests/jenkins/data/opensearch-3.0.0-test.yml --component k-NN --test-run-id 234 --paths opensearch=/tmp/workspace/tar --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/9010/linux/x64/tar ')) assertThat(getCommandExecutions('sh', 'report.sh'), hasItem('./report.sh manifests/tests/jenkins/data/opensearch-3.0.0-test.yml --artifact-paths opensearch=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/linux/x64/tar --test-run-id 234 --test-type integ-test --base-path DUMMY_PUBLIC_ARTIFACT_URL/dummy_job/3.0.0/9010/linux/x64/tar ')) assertThat(getCommandExecutions('echo', 'Testing'), hasItem('Testing components: [ml-commons, anomaly-detection, neural-search, security-analytics, security, k-NN, notifications]')) - assertCallStack().contains('{version=3.0.0, distributionBuildNumber=9010, distributionBuildUrl=https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch/detail/distribution-build-opensearch/9010/pipeline, rc=false, jobName=dummy_job, rcNumber=null, platform=linux, architecture=x64, distribution=tar, testReportManifestYml=test-report.yml}') + assertCallStack().contains('curl -sSL https://ci.opensearch.org/ci/dbc/integ-test/3.0.0/234/linux/x64/tar/test-results/234/integ-test/test-report.yml --output test-results-od-234/test-report.yml') + assertCallStack().contains('{version=3.0.0, distributionBuildNumber=9010, distributionBuildUrl=https://build.ci.opensearch.org/blue/organizations/jenkins/distribution-build-opensearch/detail/distribution-build-opensearch/9010/pipeline, rc=false, jobName=dummy_job, rcNumber=null, platform=linux, architecture=x64, distribution=tar, testReportManifestYml=test-results-os-234/test-report.yml}') } @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 7fd1cf64c3..4e286b655f 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@6.7.1, retriever=null}) + integ-test.library({identifier=jenkins@6.7.2, retriever=null}) integ-test.pipeline(groovy.lang.Closure) integ-test.credentials(jenkins-artifact-bucket-name) integ-test.timeout({time=7, unit=HOURS}) @@ -13,14 +13,18 @@ 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) @@ -43,8 +47,10 @@ 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) @@ -85,7 +91,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -106,7 +112,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -132,7 +138,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -153,7 +159,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -179,7 +185,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -200,7 +206,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -226,7 +232,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -247,7 +253,7 @@ integ-test.echo(Completed running integtest for component OpenSearch-Dashboards) 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -273,7 +279,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -294,7 +300,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -320,7 +326,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -341,7 +347,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -367,7 +373,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -388,7 +394,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -409,21 +415,26 @@ integ-test.script(groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.checkout(groovy.lang.Closure) + integ-test.sh(sleep 10) 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) 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, componentName=}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@6.7.1, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@6.7.2, 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 7f59ac16e1..7ce8c6ab73 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@6.7.1, retriever=null}) + integ-test.library({identifier=jenkins@6.7.2, retriever=null}) integ-test.pipeline(groovy.lang.Closure) integ-test.credentials(jenkins-artifact-bucket-name) integ-test.timeout({time=7, unit=HOURS}) @@ -13,14 +13,18 @@ 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) @@ -55,8 +59,10 @@ 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) @@ -97,7 +103,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -118,7 +124,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -144,7 +150,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -165,7 +171,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -191,7 +197,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -212,7 +218,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -238,7 +244,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -259,7 +265,7 @@ integ-test.echo(Completed running integtest for component OpenSearch-Dashboards) 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -285,7 +291,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -306,7 +312,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -332,7 +338,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -353,7 +359,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -379,7 +385,7 @@ 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@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -400,7 +406,7 @@ 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@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 215) @@ -421,21 +427,26 @@ integ-test.script(groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.checkout(groovy.lang.Closure) + integ-test.sh(sleep 10) 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-dashboards-3.0.0-build.yml}) 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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL 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) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) 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, componentName=}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@6.7.1, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@6.7.2, 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/integ-test-without-validation.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/opensearch/integ-test-without-validation.jenkinsfile.txt index 00c8fd2d77..7c61ee3809 100644 --- a/tests/jenkins/jenkinsjob-regression-files/opensearch/integ-test-without-validation.jenkinsfile.txt +++ b/tests/jenkins/jenkinsjob-regression-files/opensearch/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@6.7.1, retriever=null}) + integ-test.library({identifier=jenkins@6.7.2, retriever=null}) integ-test.pipeline(groovy.lang.Closure) integ-test.credentials(jenkins-artifact-bucket-name) integ-test.timeout({time=4, unit=HOURS}) @@ -13,8 +13,10 @@ integ-test.fileExists(manifests/tests/jenkins/data/opensearch-3.0.0-test.yml) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) @@ -31,8 +33,10 @@ integ-test.script(groovy.lang.Closure) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) @@ -75,7 +79,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=ml-commons, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -84,7 +88,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -103,7 +107,7 @@ integ-test.echo(Completed running integtest for component ml-commons) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -129,7 +133,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=anomaly-detection, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -138,7 +142,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -157,7 +161,7 @@ integ-test.echo(Completed running integtest for component anomaly-detection) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -183,7 +187,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=neural-search, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -192,7 +196,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -211,7 +215,7 @@ integ-test.echo(Completed running integtest for component neural-search) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -237,7 +241,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=security-analytics, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -246,7 +250,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -265,7 +269,7 @@ integ-test.echo(Completed running integtest for component security-analytics) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -291,7 +295,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=security, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -300,7 +304,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -319,7 +323,7 @@ integ-test.echo(Completed running integtest for component security) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -345,7 +349,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=k-NN, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -354,7 +358,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -373,7 +377,7 @@ integ-test.echo(Completed running integtest for component k-NN) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -399,7 +403,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=notifications, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -408,7 +412,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -427,7 +431,7 @@ integ-test.echo(Completed running integtest for component notifications) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -448,15 +452,18 @@ integ-test.script(groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.checkout(groovy.lang.Closure) + integ-test.sh(sleep 10) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.createUploadTestReportManifest({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testRunID=234, testType=integ-test, componentName=}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@6.7.1, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@6.7.2, retriever=null}) createUploadTestReportManifest.readYaml({file=manifests/tests/jenkins/data/opensearch-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/integ-test.jenkinsfile.txt b/tests/jenkins/jenkinsjob-regression-files/opensearch/integ-test.jenkinsfile.txt index 9ed3aa9b11..41dc5d0577 100644 --- a/tests/jenkins/jenkinsjob-regression-files/opensearch/integ-test.jenkinsfile.txt +++ b/tests/jenkins/jenkinsjob-regression-files/opensearch/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@6.7.1, retriever=null}) + integ-test.library({identifier=jenkins@6.7.2, retriever=null}) integ-test.pipeline(groovy.lang.Closure) integ-test.credentials(jenkins-artifact-bucket-name) integ-test.timeout({time=4, unit=HOURS}) @@ -13,8 +13,10 @@ integ-test.fileExists(manifests/tests/jenkins/data/opensearch-3.0.0-test.yml) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) @@ -42,8 +44,10 @@ integ-test.script(groovy.lang.Closure) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) @@ -86,7 +90,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=ml-commons, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -95,7 +99,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -121,7 +125,7 @@ integ-test.echo(Completed running integtest for component ml-commons) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -147,7 +151,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=anomaly-detection, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -156,7 +160,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -182,7 +186,7 @@ integ-test.echo(Completed running integtest for component anomaly-detection) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -208,7 +212,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=neural-search, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -217,7 +221,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -243,7 +247,7 @@ integ-test.echo(Completed running integtest for component neural-search) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -269,7 +273,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=security-analytics, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -278,7 +282,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -304,7 +308,7 @@ integ-test.echo(Completed running integtest for component security-analytics) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -330,7 +334,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=security, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -339,7 +343,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -365,7 +369,7 @@ integ-test.echo(Completed running integtest for component security) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -391,7 +395,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=k-NN, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -400,7 +404,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -426,7 +430,7 @@ integ-test.echo(Completed running integtest for component k-NN) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -452,7 +456,7 @@ integ-test.sh(rm -rf test-results) integ-test.runIntegTestScript({jobName=distribution-build-opensearch, componentName=notifications, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, localPath=/tmp/workspace/tar, switchUserNonRoot=false}) runIntegTestScript.legacySCM(groovy.lang.Closure) - runIntegTestScript.library({identifier=jenkins@6.7.1, retriever=null}) + runIntegTestScript.library({identifier=jenkins@6.7.2, retriever=null}) runIntegTestScript.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() BuildManifest.getArtifactArchitecture() @@ -461,7 +465,7 @@ runIntegTestScript.echo(Start integTest on: tar x64 linux) runIntegTestScript.detectTestDockerAgent({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) detectTestDockerAgent.legacySCM(groovy.lang.Closure) - detectTestDockerAgent.library({identifier=jenkins@6.7.1, retriever=null}) + detectTestDockerAgent.library({identifier=jenkins@6.7.2, retriever=null}) detectTestDockerAgent.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() detectTestDockerAgent.echo(Using Docker image opensearchstaging/ci-runner:ci-runner-centos7-opensearch-build-v3 (-e JAVA_HOME=/opt/java/openjdk-17)) @@ -487,7 +491,7 @@ integ-test.echo(Completed running integtest for component notifications) integ-test.uploadTestResults({buildManifestFileName=tests/jenkins/data/opensearch-3.0.0-build.yml, jobName=dummy_job}) uploadTestResults.legacySCM(groovy.lang.Closure) - uploadTestResults.library({identifier=jenkins@6.7.1, retriever=null}) + uploadTestResults.library({identifier=jenkins@6.7.2, retriever=null}) uploadTestResults.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() uploadTestResults.echo(Build Id: 9010) @@ -508,15 +512,18 @@ integ-test.script(groovy.lang.Closure) integ-test.node(Jenkins-Agent-AL2-X64-C54xlarge-Docker-Host, groovy.lang.Closure) integ-test.checkout(groovy.lang.Closure) + integ-test.sh(sleep 10) integ-test.downloadBuildManifest({url=https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/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@6.7.1, retriever=null}) - downloadBuildManifest.sh(curl -sSL https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/3.0.0/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) + downloadBuildManifest.library({identifier=jenkins@6.7.2, 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/9010/linux/x64/tar/dist/opensearch/opensearch-3.0.0-linux-x64.tar.gz --output tests/jenkins/data/opensearch-3.0.0-build.yml) downloadBuildManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml}) BuildManifest.asBoolean() integ-test.createUploadTestReportManifest({testManifest=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml, buildManifest=tests/jenkins/data/opensearch-3.0.0-build.yml, testRunID=234, testType=integ-test, componentName=}) createUploadTestReportManifest.legacySCM(groovy.lang.Closure) - createUploadTestReportManifest.library({identifier=jenkins@6.7.1, retriever=null}) + createUploadTestReportManifest.library({identifier=jenkins@6.7.2, retriever=null}) createUploadTestReportManifest.readYaml({file=manifests/tests/jenkins/data/opensearch-3.0.0-test.yml}) TestManifest.asBoolean() createUploadTestReportManifest.readYaml({file=tests/jenkins/data/opensearch-3.0.0-build.yml})