Skip to content

post-merge fix

63c7ad5
Select commit
Loading
Failed to load commit list.
Draft

HYRAX-1964: Update docker images to use bes image as base instead of installing rpms #89

post-merge fix
63c7ad5
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Feb 2, 2026 in 3m 35s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #89 HYRAX-1964: Update docker images to use bes image as base instead of installing rpms.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Xenial)
Python Version 3.9.7
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "python": [
    "3.9.7"
  ],
  "install": [
    "echo \"print env:\"",
    "printenv",
    "echo $DOCKER_HUB_PSWD | docker login -u $DOCKER_HUB_UID --password-stdin",
    "echo \"Retrieving libdap RH8 RPM ${LIBDAP_RH8_RPM}\"",
    "aws --region=us-east-1 s3 cp ${LIBDAP_RH8_RPM_URL} ./builds/${LIBDAP_RH8_RPM}",
    "echo \"Retrieving BES RH8 RPM ${BES_RH8_RPM}\"",
    "aws --region=us-east-1 s3 cp ${BES_RH8_RPM_URL} ./builds/${BES_RH8_RPM}",
    "echo \"Retrieving OLFS Distribution file ${OLFS_DISTRO}\"",
    "aws --region=us-east-1 s3 cp ${OLFS_DISTRO_URL} ./builds/${OLFS_DISTRO}",
    "echo \"Retrieving ROBOTS Distribution file ${ROBOTS_DISTRO}\"",
    "aws --region=us-east-1 s3 cp ${ROBOTS_DISTRO_URL} ./builds/${ROBOTS_DISTRO}",
    "echo \"Retrieving NGAP Distribution file ${NGAP_DISTRO}\"",
    "aws --region=us-east-1 s3 cp ${NGAP_DISTRO_URL} ./builds/${NGAP_DISTRO}",
    "ls -l ./builds"
  ],
  "services": [
    "docker"
  ],
  "branches": {
    "only": [
      "master"
    ]
  },
  "notifications": {
    "email": [
      {
        "recipients": [
          "ndp@opendap.org"
        ]
      },
      {
        "recipients": [
          "jgallagher@opendap.org"
        ]
      }
    ]
  },
  "addons": {
    "apt": {
      "packages": [
        "gnupg",
        "jq"
      ]
    }
  },
  "env": [
    "global=AWS_ACCESS_KEY_ID=[secure]=AWS_SECRET_ACCESS_KEY=[secure]=DOCKER_HUB_UID=[secure]=DOCKER_HUB_PSWD=[secure]={:TARGET_OS=>\"\\\"el8\\\"\"}={:RELEASE_DATE=>\"`date +%s`\"}={:VERSION_FILE=>\"\\\"${TARGET_OS}-build-recipe\\\"\"}={:LIBDAP_VERSION=>\"$(grep \\\"libdap4-\\\" ${VERSION_FILE} | awk '{print $1;}' - | sed \\\"s/libdap4-//g\\\")\"}={:BES_VERSION=>\"$(grep \\\"bes-\\\" ${VERSION_FILE} | awk '{print $1;}' - | sed \\\"s/bes-//g\\\")\"}={:HYRAX_VERSION=>\"$(grep \\\"hyrax-\\\" ${VERSION_FILE} | awk '{print $1;}' - | sed \\\"s/hyrax-//g\\\")\"}={:OLFS_VERSION=>\"$(grep \\\"olfs-\\\" ${VERSION_FILE} | awk '{print $1;}' - | sed \\\"s/olfs-//g\\\")\"}={:OLFS_DISTRO=>\"\\\"olfs-${OLFS_VERSION}-webapp.tgz\\\"\"}={:OLFS_DISTRO_URL=>\"\\\"s3://opendap.travis.build/${OLFS_DISTRO}\\\"\"}={:NGAP_DISTRO=>\"\\\"ngap-${OLFS_VERSION}-webapp.tgz\\\"\"}={:NGAP_DISTRO_URL=>\"\\\"s3://opendap.travis.build/${NGAP_DISTRO}\\\"\"}={:ROBOTS_DISTRO=>\"\\\"robots-olfs-${OLFS_VERSION}-webapp.tgz\\\"\"}={:ROBOTS_DISTRO_URL=>\"\\\"s3://opendap.travis.build/${ROBOTS_DISTRO}\\\"\"}={:LIBDAP_RH8_RPM=>\"\\\"libdap-${LIBDAP_VERSION}.el8.x86_64.rpm\\\"\"}={:LIBDAP_RH8_RPM_URL=>\"\\\"s3://opendap.travis.build/${LIBDAP_RH8_RPM}\\\"\"}={:BES_RH8_RPM=>\"\\\"bes-${BES_VERSION}.static.el8.x86_64.rpm\\\"\"}={:BES_RH8_RPM_URL=>\"\\\"s3://opendap.travis.build/${BES_RH8_RPM}\\\"\"}={:TOMCAT_MAJOR_VERSION=>\"9\"}={:S3_BUILD_BUCKET=>\"\\\"opendap.travis.build\\\"\"}={:ADD_DEBUG_RPMS=>\"\\\"\\\"\"}"
  ],
  "before_install": [
    "python3 --version",
    "pip3 install awscli",
    "if test \"${TRAVIS_PULL_REQUEST}\" = \"false\"; then export DEPLOY_ME=\"true\"; else export DEPLOY_ME=\"false\"; fi"
  ],
  "stages": [
    {
      "name": "BUILD_AND_TEST",
      "if": "branch = master"
    },
    {
      "name": "BUILD",
      "if": "branch = master"
    },
    {
      "name": "TEST_DEPLOYED_IMAGE",
      "if": "branch = master"
    },
    {
      "name": "disabled",
      "if": "branch = disabled"
    }
  ],
  "jobs": {
    "include": [
      {
        "stage": "BUILD_AND_TEST",
        "name": "Build and Test opendap/hyrax:snapshot (RH8)",
        "script": [
          "cd \"${TARGET_OS}-builds\"",
          "export DOCKER_NAME=\"hyrax\"",
          "source ./build-rh8",
          "export SNAPSHOT_IMAGE_TAG=\"opendap/${DOCKER_NAME}:snapshot$TEST_DEPLOYMENT\"",
          "export BUILD_VERSION_TAG=\"opendap/${DOCKER_NAME}:${HYRAX_VERSION}$TEST_DEPLOYMENT\"",
          "export TOMCAT_VERSION=$(get_latest_tomcat_version_number \"${TOMCAT_MAJOR_VERSION}\")",
          "export BES_IMAGE_TAG=\"opendap/bes_rhel8:snapshot\"",
          "show_version",
          "set -e",
          "docker build --build-arg TOMCAT_VERSION --build-arg RELEASE_DATE --build-arg HYRAX_VERSION --build-arg LIBDAP_VERSION --build-arg BES_VERSION --build-arg BES_IMAGE_TAG --build-arg OLFS_VERSION --tag \"${SNAPSHOT_IMAGE_TAG}\" --tag \"${BUILD_VERSION_TAG}\" \"${DOCKER_NAME}\"",
          "docker image ls -a",
          "cd ..",
          "echo \"Running Test Script\"",
          "./travis/regression_test_script -i ${SNAPSHOT_IMAGE_TAG}"
        ]
      }
    ]
  }
}