HYRAX-1951, implement a BES key to turn off the compression of floati… #1242
Travis CI / Travis CI - Branch
succeeded
Jan 28, 2026 in 35m 22s
Build Passed
The build passed. This is a change from the previous build, which errored.
Details
This is a normal build for the hyrax-1951-test-deploy branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build has seven jobs, running in two sequential stages.
Stage 1: build-and-package
This stage passed.
| Job | Compiler | ENV | OS | State |
|---|---|---|---|---|
| gcc | GDAL_OPTION=--without-gdal | Linux | passed | |
| gcc | GDAL_OPTION=--without-gdal | Linux | passed | |
| gcc | GDAL_OPTION=--without-gdal | Linux | passed | |
| gcc | GDAL_OPTION=--without-gdal | Linux | passed | |
| gcc | GDAL_OPTION=--without-gdal | Linux | passed | |
| gcc | GDAL_OPTION=--without-gdal | Linux | passed |
Stage 2: hyrax-olfs-trigger
This stage passed.
| Job | Compiler | ENV | OS | State |
|---|---|---|---|---|
| gcc | GDAL_OPTION=--without-gdal | Linux | passed |
Build Configuration
| Build Option | Setting |
|---|---|
| Language | C++ |
| Operating System | Linux (Focal) |
| Compiler Version | gcc |
Build Configuration
{
"language": "cpp",
"os": [
"linux"
],
"dist": "focal",
"vm": {
"size": "2x-large"
},
"compiler": [
"gcc"
],
"branches": {
"only": [
"master",
"main",
"/^(.*-test-deploy)$/"
]
},
"cache": {
"directories": [
"./.cache/sonar/"
]
},
"addons": {
"sonarcloud": {
"enabled": true
},
"apt": {
"packages": [
"uuid-dev",
"libxml2-dev",
"libcurl4-openssl-dev",
"libcppunit-dev",
"libicu-dev",
"gcovr",
"grep",
"libfl-dev",
"openjdk-17-jdk-headless"
]
}
},
"git": {
"depth": 1
},
"env": [
"global={:GDAL_OPTION=>\"--without-gdal\"}={:prefix=>\"$HOME/install\"}={:PATH=>\"$prefix/bin:$prefix/deps/bin:$PATH\"}={:TESTSUITEFLAGS=>\"-j7\"}={:LIBDAP_RPM_VERSION=>\"3.21.1-0\"}=SONAR_LOGIN=[secure]=SONAR_MODULES_LOGIN=[secure]=SONAR_SUBMODULES_LOGIN=[secure]=AWS_ACCESS_KEY_ID=[secure]=AWS_SECRET_ACCESS_KEY=[secure]=GIT_UID=[secure]=GIT_PSWD=[secure]={:CMAC_ID=>\"\\\"${AWS_ACCESS_KEY_ID}\\\"\"}={:CMAC_ACCESS_KEY=>\"\\\"${AWS_SECRET_ACCESS_KEY}\\\"\"}={:CMAC_URL=>\"\\\"https://s3.amazonaws.com/cloudydap/\\\"\"}={:CMAC_REGION=>\"\\\"us-east-1\\\"\"}={:CMAC_ON=>\"\\\"yes\\\"\"}"
],
"before_install": [
"gem install bundler",
"pip install --user awscli",
"export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64",
"export PATH=\"$JAVA_HOME/bin:$PATH\"",
"java -version"
],
"install": [
"aws s3 cp s3://opendap.travis.build/hyrax-dependencies-build.tgz $TRAVIS_BUILD_DIR",
"tar -C $HOME -xzvf $TRAVIS_BUILD_DIR/hyrax-dependencies-build.tgz",
"aws s3 cp s3://opendap.travis.build/libdap-build.tar.gz $TRAVIS_BUILD_DIR",
"tar -C $HOME -xzvf $TRAVIS_BUILD_DIR/libdap-build.tar.gz"
],
"before_script": [
"source travis/travis_bes_build_offset.sh",
"export BES_BUILD_NUMBER=$(expr $TRAVIS_BUILD_NUMBER - $BES_TRAVIS_BUILD_OFFSET)",
"echo \"BES_BUILD_NUMBER is ${BES_BUILD_NUMBER} = ${TRAVIS_BUILD_NUMBER} - ${BES_TRAVIS_BUILD_OFFSET}\"",
"export LIBDAP_RPM_VERSION=$(grep \"libdap4-\" libdap4-snapshot | awk '{print $1;}' - | sed \"s/libdap4-//g\")",
"echo \"Travis default env:\"",
"printenv"
],
"stages": [
{
"name": "build-and-package"
},
{
"name": "scan",
"if": "branch = master"
},
{
"name": "hyrax-olfs-trigger",
"if": "type != pull_request OR branch =~ ^(.*-test-deploy)$"
},
{
"name": "never",
"if": "branch = never"
}
],
"jobs": {
"include": [
{
"stage": "build-and-package",
"name": "check",
"script": [
"export BES_BUILD=main",
"autoreconf --force --install --verbose",
"./configure --disable-dependency-tracking --prefix=$prefix --with-dependencies=$prefix/deps $GDAL_OPTION --enable-developer",
"export LD_LIBRARY_PATH=\"/home/travis/install/deps/lib:$LD_LIBRARY_PATH\"",
"echo \"LD_LIBRARY_PATH - $LD_LIBRARY_PATH\" >&2",
"make -j16 && make install && besctl start && make check -j16 && besctl stop"
]
},
{
"stage": "build-and-package",
"name": "distcheck",
"script": [
"export BES_BUILD=distcheck",
"autoreconf --force --install --verbose",
"./configure --disable-dependency-tracking --prefix=$prefix --with-dependencies=$prefix/deps $GDAL_OPTION--enable-developer",
"make distcheck -j16 GZIP_ENV=--fast"
]
},
{
"stage": "build-and-package",
"name": "Enterprise Linux 8 RPMs (via Rocky8)",
"script": [
"export BES_BUILD=rocky8",
"mkdir -p $prefix/rpmbuild",
"echo \"branch name ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}\"",
"docker run --env prefix=/root/install --volume $prefix/rpmbuild:/root/rpmbuild --volume $TRAVIS_BUILD_DIR:/root/travis --env GDAL_OPTION=\"$GDAL_OPTION\" --env OS=rocky8 --env DIST=el8 --env LIBDAP_RPM_VERSION=$LIBDAP_RPM_VERSION --env BES_BUILD_NUMBER=$BES_BUILD_NUMBER --env AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID --env AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY opendap/rocky8_hyrax_builder:latest /root/travis/travis/build-rh8-rpm.sh"
]
},
{
"stage": "build-and-package",
"name": "Enterprise Linux 9 RPMs (via Rocky9)",
"script": [
"export BES_BUILD=rocky9",
"mkdir -p $prefix/rpmbuild",
"echo \"branch name ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}\"",
"docker run --env prefix=/root/install --volume $prefix/rpmbuild:/root/rpmbuild --volume $TRAVIS_BUILD_DIR:/root/bes --env GDAL_OPTION=\"$GDAL_OPTION\" --env DIST=\"el9\" --env LIBDAP_RPM_VERSION=\"$LIBDAP_RPM_VERSION\" --env BES_BUILD_NUMBER=\"$BES_BUILD_NUMBER\" --env AWS_ACCESS_KEY_ID=\"$AWS_ACCESS_KEY_ID\" --env AWS_SECRET_ACCESS_KEY=\"$AWS_SECRET_ACCESS_KEY\" opendap/rocky9_hyrax_builder:latest /root/bes/travis/build-rh9-rpm.sh"
]
},
{
"stage": "build-and-package",
"name": "Build bes docker image (RHEL8)",
"script": [
"export BES_BUILD=docker-rhel8",
"echo \"branch name ${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}\"",
"export DOCKER_NAME=\"bes_rhel8\"",
"export SNAPSHOT_IMAGE_TAG=\"opendap/${DOCKER_NAME}:snapshot\"",
"export BASE_IMAGE=\"opendap/rocky8_hyrax_builder:latest\"",
"export DIST=el8",
"export OS=rocky8",
"export BES_REPO_DIR=${TRAVIS_BUILD_DIR}",
"source ${TRAVIS_BUILD_DIR}/travis/build-rhel-docker.sh"
]
},
{
"stage": "build-and-package",
"name": "dist",
"script": [
"export BES_BUILD=srcdist",
"autoreconf --force --install --verbose",
"./configure --disable-dependency-tracking --prefix=$prefix --with-dependencies=$prefix/deps $GDAL_OPTION --with-build=$BES_BUILD_NUMBER",
"make dist -j7",
"SOURCE_VERSION=$(cat bes_VERSION)",
"mv bes-*.tar.gz bes-$SOURCE_VERSION.tar.gz",
"cp bes-$SOURCE_VERSION.tar.gz bes-snapshot.tar.gz"
]
},
{
"stage": "scan",
"name": "scan bes",
"script": [
"export BES_BUILD=sonar-bes-framework",
"autoreconf --force --install --verbose",
"./configure --disable-dependency-tracking --prefix=$prefix --with-dependencies=$prefix/deps --enable-developer --enable-coverage",
"build-wrapper-linux-x86-64 --out-dir bw-output make -j16",
"sonar-scanner -Dproject.settings=sonar-bes-framework.properties -Dsonar.login=$SONAR_LOGIN",
"curl -s https://sonarcloud.io/api/project_badges/quality_gate?project=opendap-bes | grep \"QUALITY GATE PASS\""
]
},
{
"stage": "scan",
"name": "scan bes-modules-1",
"script": [
"export BES_BUILD=sonar-bes-modules",
"autoreconf --force --install --verbose",
"./configure --disable-dependency-tracking --prefix=$prefix --with-dependencies=$prefix/deps --enable-developer --enable-coverage",
"build-wrapper-linux-x86-64 --out-dir bw-output make -j16",
"sonar-scanner -Dproject.settings=sonar-bes-modules-1.properties -Dsonar.login=$SONAR_MODULES_LOGIN",
"curl -s https://sonarcloud.io/api/project_badges/quality_gate?project=opendap-bes-modules | grep \"QUALITY GATE PASS\""
]
},
{
"stage": "scan",
"name": "scan bes-hdf-handlers",
"script": [
"export BES_BUILD=sonar-bes-hdf-handlers",
"autoreconf --force --install --verbose",
"./configure --disable-dependency-tracking --prefix=$prefix --with-dependencies=$prefix/deps --enable-developer --enable-coverage",
"build-wrapper-linux-x86-64 --out-dir bw-output make -j16",
"sonar-scanner -Dproject.settings=sonar-bes-hdf-handlers.properties -Dsonar.login=$SONAR_SUBMODULES_LOGIN",
"curl -s https://sonarcloud.io/api/project_badges/quality_gate?project=opendap-bes-submodules | grep \"QUALITY GATE PASS\""
]
},
{
"stage": "hyrax-olfs-trigger",
"name": "Hyrax OLFS Trigger",
"script": [
"export STAGE=hyrax-olfs",
"echo $STAGE",
"autoreconf --force --install --verbose",
"./configure --disable-dependency-tracking --prefix=$prefix --with-dependencies=$prefix/deps --with-build=$BES_BUILD_NUMBER",
"./travis/trigger-olfs-build.sh"
]
}
]
},
"after_script": [
"./travis/upload-test-results.sh"
],
"before_deploy": [
"export DEPLOY=\"S3\"",
"mkdir -p $TRAVIS_BUILD_DIR/package;",
"if test \"$BES_BUILD\" = \"srcdist\"; then cp bes-*.tar.gz $TRAVIS_BUILD_DIR/package; fi",
"if test \"$BES_BUILD\" = \"rocky8\"; then ./travis/rpm-to-package-dir.sh \"el8\"; fi",
"if test \"$BES_BUILD\" = \"rocky9\"; then ./travis/rpm-to-package-dir.sh \"el9\"; fi",
"ls -l $TRAVIS_BUILD_DIR/package"
],
"deploy": [
{
"provider": "s3",
"access_key_id": "$AWS_ACCESS_KEY_ID",
"secret_access_key": "$AWS_SECRET_ACCESS_KEY",
"bucket": "opendap.travis.build",
"skip_cleanup": true,
"local_dir": "$TRAVIS_BUILD_DIR/package",
"on": {
"all_branches": true,
"condition": [
"$BES_BUILD =~ ^rocky8|rocky9|srcdist$"
]
}
},
{
"provider": "script",
"script": "bash ${TRAVIS_BUILD_DIR}/travis/deploy-to-docker-hub.sh",
"on": {
"all_branches": true,
"condition": [
"$BES_BUILD =~ ^docker$"
]
}
}
]
}
Loading