Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nomerge] Upgrade to asm 9.7, for JDK23 support #10747

Draft
wants to merge 1 commit into
base: 2.12.x
Choose a base branch
from

Upgrade to asm 9.7, for JDK23 support

06fbf01
Select commit
Failed to load commit list.
Draft

[nomerge] Upgrade to asm 9.7, for JDK23 support #10747

Upgrade to asm 9.7, for JDK23 support
06fbf01
Select commit
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Apr 10, 2024 in 14m 26s

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 #10747 [nomerge] Upgrade to asm 9.7, for JDK23 support.
Any changes that have been made to the 2.12.x branch before the build ran are also included.

Jobs and Stages

This build has two jobs, running in parallel.

Stage 1: build

This stage failed.

Job Ruby ENV OS State
19822.1 JDK 8 pr validation ADOPTOPENJDK=8 Linux failed
19822.2 2.7 ADOPTOPENJDK=8 Linux passed

Build Configuration

Build Option Setting
Language Scala
Operating System Linux (Xenial)
Build Configuration
{
  "language": "scala",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "version": "~> 1.0",
  "stages": [
    {
      "name": "build"
    }
  ],
  "jobs": {
    "include": [
      {
        "stage": "build",
        "if": "type != pull_request",
        "script": [
          "(cd admin && ./init.sh)",
          "source scripts/common",
          "source scripts/bootstrap_fun",
          "determineScalaVersion",
          "deriveModuleVersions",
          "removeExistingBuilds $integrationRepoUrl",
          "if [ ! -z \"$STARR_REF\" ]; then buildStarr; fi",
          "buildLocker",
          "buildQuick",
          "triggerScalaDist"
        ]
      },
      {
        "stage": "build",
        "name": "JDK 8 pr validation",
        "if": "type = pull_request",
        "script": [
          "sbt -warn setupPublishCore generateBuildCharacterPropertiesFile headerCheck publishLocal",
          "STARR=`cat buildcharacter.properties | grep ^maven.version.number | cut -d= -f2` && echo $STARR",
          "sbt -Dstarr.version=$STARR -warn setupValidateTest test:compile info testAll"
        ]
      },
      {
        "stage": "build",
        "dist": "focal",
        "language": "ruby",
        "rvm": "2.7",
        "install": [
          "ruby -v",
          "gem install bundler -v \"< 2.5\"",
          "bundler --version",
          "bundle install"
        ],
        "script": [
          "if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then (cd admin && ./init.sh); fi",
          "bundle exec jekyll build -s spec/ -d build/spec"
        ],
        "after_success": [
          "if [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then ./scripts/travis-publish-spec.sh; fi"
        ]
      }
    ]
  },
  "env": [
    "global={:ADOPTOPENJDK=>\"8\"}=PRIV_KEY_SECRET=[secure]=PRIVATE_REPO_PASS=[secure]=GPG_SUBKEY_SECRET=[secure]=TRAVIS_TOKEN=[secure]=SONA_USER=[secure]=SONA_PASS=[secure]"
  ],
  "cache": {
    "directories": [
      "$HOME/.ivy2/cache",
      "$HOME/.sbt",
      "$HOME/.sdkman",
      "$HOME/.cache/coursier",
      "$HOME/.rvm"
    ]
  },
  "notifications": {
    "webhooks": [
      {
        "urls": [
          "https://scala-ci.typesafe.com/benchq/webhooks/travis"
        ]
      }
    ]
  },
  "before_install": [
    "# adding $HOME/.sdkman to cache would create an empty directory, which interferes with the initial installation\n[[ -d $HOME/.sdkman/bin/ ]] || rm -rf $HOME/.sdkman/\ncurl -sL https://get.sdkman.io | bash\necho sdkman_auto_answer=true > $HOME/.sdkman/etc/config\necho sdkman_auto_selfupdate=true >> $HOME/.sdkman/etc/config\nsource $HOME/.sdkman/bin/sdkman-init.sh\nsdkJava=$(sdk list java | grep -o \" $ADOPTOPENJDK\\.[0-9\\.]*-tem\" | head -1 | cut -c2-)\n# if we didn't find Temurin, accept an early access build from Java.net\nif [[ -z $sdkJava ]]; then sdkJava=$(sdk list java | egrep -o \" $ADOPTOPENJDK\\\\.ea.[0-9]+-open\" | head -1 | cut -c2-); fi\nif [[ -z $sdkJava ]]; then sdk list java; echo \"no matching JDK found: $ADOPTOPENJDK\"; travis_terminate 1; fi\nsdk install java $sdkJava || true # install fails if it's already installed\nsdk use java $sdkJava\nunset JAVA_HOME\nif [[ $ADOPTOPENJDK == 8 ]]; then versionPrefix=\"1\\.8\"; else versionPrefix=$ADOPTOPENJDK; fi\njava -version\n",
    "java -version 2>&1 | grep 'OpenJDK.*[^0-9]'$versionPrefix'[^0-9]' || exit 1",
    "unset SBT_OPTS\nunset JVM_OPTS\nunset SBT_ETC_FILE\ncurl -L --silent \"https://raw.githubusercontent.com/sbt/sbt/1.6.x/sbt\" > $HOME/sbt\nchmod +x $HOME/sbt && sudo mv $HOME/sbt /usr/local/bin/sbt\n"
  ],
  "before_cache": [
    "rm -fv $HOME/.ivy2/.sbt.ivy.lock",
    "rm -fv $HOME/.sdkman/var/broadcast",
    "rm -fv $HOME/.sdkman/var/broadcast_id",
    "find $HOME/.ivy2/cache -name \"ivydata-*.properties\"     -print -delete",
    "find $HOME/.sbt        -name \"*.lock\"                   -print -delete",
    "find $HOME/.sbt        -name \"*compiler-bridge_*-bin-*\" -print -delete"
  ]
}