Some checks failed
Basic validation / Basic validation (push) Failing after 0s
Check dist/ / Check dist/ (push) Failing after 0s
Licensed / Licensed (push) Failing after 0s
Validate cache with cache-dependency-path option / gradle1-save (macos-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-save (ubuntu-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-save (windows-latest) (push) Has been cancelled
Validate cache / gradle-save (macos-latest) (push) Has been cancelled
Validate cache / gradle-save (ubuntu-latest) (push) Has been cancelled
Validate cache / gradle-save (windows-latest) (push) Has been cancelled
Validate cache / maven-save (macos-latest) (push) Has been cancelled
Validate cache / maven-save (ubuntu-latest) (push) Has been cancelled
Validate cache / maven-save (windows-latest) (push) Has been cancelled
Validate cache / sbt-save (macos-latest) (push) Has been cancelled
Validate cache / sbt-save (ubuntu-latest) (push) Has been cancelled
Validate cache / sbt-save (windows-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Adopt (macos-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Adopt (ubuntu-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Adopt (windows-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Zulu (macos-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Zulu (ubuntu-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Zulu (windows-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Eclipse Temurin (macos-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Eclipse Temurin (ubuntu-latest) (push) Has been cancelled
Validate local file / Validate installation from local file Eclipse Temurin (windows-latest) (push) Has been cancelled
Validate publishing functionality / Validate settings.xml (macos-latest) (push) Has been cancelled
Validate publishing functionality / Validate settings.xml (ubuntu-latest) (push) Has been cancelled
Validate publishing functionality / Validate settings.xml (windows-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is overwritten if flag is true (macos-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is overwritten if flag is true (ubuntu-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is overwritten if flag is true (windows-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is not overwritten if flag is false (macos-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is not overwritten if flag is false (ubuntu-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml is not overwritten if flag is false (windows-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml in custom location (macos-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml in custom location (ubuntu-latest) (push) Has been cancelled
Validate publishing functionality / settings.xml in custom location (windows-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-restore (macos-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-restore (ubuntu-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle1-restore (windows-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle2-restore (macos-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle2-restore (ubuntu-latest) (push) Has been cancelled
Validate cache with cache-dependency-path option / gradle2-restore (windows-latest) (push) Has been cancelled
Validate cache / gradle-restore (macos-latest) (push) Has been cancelled
Validate cache / gradle-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / gradle-restore (windows-latest) (push) Has been cancelled
Validate cache / maven-restore (macos-latest) (push) Has been cancelled
Validate cache / maven-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / maven-restore (windows-latest) (push) Has been cancelled
Validate cache / sbt-restore (macos-latest) (push) Has been cancelled
Validate cache / sbt-restore (ubuntu-latest) (push) Has been cancelled
Validate cache / sbt-restore (windows-latest) (push) Has been cancelled
Update configuration files / Update configuration files (push) Failing after 0s
CodeQL analysis / CodeQL analysis (push) Failing after 0s
Validate Java e2e / adopt 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt 11 (jdk-x64) - ubuntu-latest (push) Failing after 4s
Validate Java e2e / adopt 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / corretto 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / corretto 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / corretto 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / corretto 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / corretto 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / corretto 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / dragonwell 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / dragonwell 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / dragonwell 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / liberica 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / liberica 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / liberica 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / liberica 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / liberica 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / liberica 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / microsoft 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / adopt 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / microsoft 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / microsoft 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / oracle 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / oracle 20 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / semeru 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / semeru 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / semeru 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / semeru 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / semeru 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / semeru 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / temurin 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / temurin 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / temurin 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / temurin 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / temurin 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / temurin 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / zulu 11 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / zulu 17 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / zulu 8 (jdk-x64) - macos-latest (push) Waiting to run
Validate Java e2e / zulu 11 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / zulu 17 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / zulu 8 (jdk-x64) - windows-latest (push) Waiting to run
Validate Java e2e / dragonwell 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell 11.0.13+9 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 8.0.302 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 8.0.302 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 8.0.302 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / oracle 20.0.1 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 8.0.302 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 8.0.302 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 8.0.302 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8.0.302 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8.0.302 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11.0 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0.7+7 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8.0.302 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu - check-latest flag - windows-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / dragonwell - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu - multiple jdks - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 15.0.0-ea.14 (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17-ea (jdk-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto 8 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 8 (jdk+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jre+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0 (jre-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0 (jre-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 17.0 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / semeru 17.0 (jre-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / semeru 17.0 (jre-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / semeru 17.0 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0 (jre-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0 (jre-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / temurin 17.0 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8.0.242 (jdk+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 8 (jre+fx-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0 (jre-x64) - macos-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0 (jre-x64) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 17.0 (jre-x64) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto 11 (jdk-) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / corretto 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jdk-) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / liberica 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11 (jdk-) - ubuntu-latest (push) Blocked by required conditions
Validate Java e2e / zulu 11 (jdk-) - windows-latest (push) Blocked by required conditions
Validate Java e2e / corretto version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / corretto version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / microsoft version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - macos-latest (push) Waiting to run
Validate Java e2e / temurin version (should be from input) - windows-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - macos-latest (push) Waiting to run
Validate Java e2e / corretto version from file X - windows-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - macos-latest (push) Waiting to run
Validate Java e2e / liberica version from file X - windows-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - macos-latest (push) Waiting to run
Validate Java e2e / microsoft version from file X - windows-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - macos-latest (push) Waiting to run
Validate Java e2e / temurin version from file X - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file X - windows-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / adopt version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / adopt-openj9 version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file X.Y.Z - windows-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-11.0.2' - macos-latest (push) Waiting to run
Validate Java e2e / adopt version from file 'openjdk64-11.0.2' - windows-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-11.0.2' - macos-latest (push) Waiting to run
Validate Java e2e / liberica version from file 'openjdk64-11.0.2' - windows-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-11.0.2' - macos-latest (push) Waiting to run
Validate Java e2e / zulu version from file 'openjdk64-11.0.2' - windows-latest (push) Waiting to run
Validate Java e2e / adopt 8 (jdk-x64) - ubuntu-latest (push) Failing after 5s
Validate Java e2e / adopt-openj9 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / adopt-openj9 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / adopt-openj9 8 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / corretto 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / corretto 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / corretto 8 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / dragonwell 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / dragonwell 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / dragonwell 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / liberica 11 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / liberica 17 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / liberica 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / microsoft 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / microsoft 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / microsoft 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / oracle 20 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / semeru 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / semeru 17 (jdk-x64) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / semeru 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / temurin 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / temurin 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / temurin 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / zulu 11 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / zulu 17 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / zulu 8 (jdk-x64) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / corretto version (should be from input) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / microsoft version (should be from input) - ubuntu-latest (push) Failing after 2s
Validate Java e2e / temurin version (should be from input) - ubuntu-latest (push) Failing after 3s
Validate Java e2e / corretto version from file X - ubuntu-latest (push) Failing after 2s
Validate Java e2e / liberica version from file X - ubuntu-latest (push) Failing after 3s
Validate Java e2e / microsoft version from file X - ubuntu-latest (push) Failing after 3s
Validate Java e2e / temurin version from file X - ubuntu-latest (push) Failing after 3s
Validate Java e2e / zulu version from file X - ubuntu-latest (push) Failing after 3s
Validate Java e2e / adopt version from file X.Y.Z - ubuntu-latest (push) Failing after 3s
Validate Java e2e / adopt-openj9 version from file X.Y.Z - ubuntu-latest (push) Failing after 3s
Validate Java e2e / zulu version from file X.Y.Z - ubuntu-latest (push) Failing after 2s
Validate Java e2e / adopt version from file 'openjdk64-11.0.2' - ubuntu-latest (push) Failing after 3s
Validate Java e2e / liberica version from file 'openjdk64-11.0.2' - ubuntu-latest (push) Failing after 3s
Validate Java e2e / zulu version from file 'openjdk64-11.0.2' - ubuntu-latest (push) Failing after 3s
391 lines
11 KiB
TypeScript
Executable File
391 lines
11 KiB
TypeScript
Executable File
import fs from 'fs';
|
|
|
|
import * as tc from '@actions/tool-cache';
|
|
import * as core from '@actions/core';
|
|
|
|
import path from 'path';
|
|
import * as semver from 'semver';
|
|
import * as util from '../../src/util';
|
|
|
|
import {LocalDistribution} from '../../src/distributions/local/installer';
|
|
|
|
describe('setupJava', () => {
|
|
const actualJavaVersion = '11.1.10';
|
|
const javaPath = path.join('Java_jdkfile_jdk', actualJavaVersion, 'x86');
|
|
|
|
let mockJavaBase: LocalDistribution;
|
|
|
|
let spyGetToolcachePath: jest.SpyInstance;
|
|
let spyTcCacheDir: jest.SpyInstance;
|
|
let spyTcFindAllVersions: jest.SpyInstance;
|
|
let spyCoreDebug: jest.SpyInstance;
|
|
let spyCoreInfo: jest.SpyInstance;
|
|
let spyCoreExportVariable: jest.SpyInstance;
|
|
let spyCoreAddPath: jest.SpyInstance;
|
|
let spyCoreSetOutput: jest.SpyInstance;
|
|
let spyFsStat: jest.SpyInstance;
|
|
let spyFsReadDir: jest.SpyInstance;
|
|
let spyUtilsExtractJdkFile: jest.SpyInstance;
|
|
let spyPathResolve: jest.SpyInstance;
|
|
const expectedJdkFile = 'JavaLocalJdkFile';
|
|
|
|
beforeEach(() => {
|
|
spyGetToolcachePath = jest.spyOn(util, 'getToolcachePath');
|
|
spyGetToolcachePath.mockImplementation(
|
|
(toolname: string, javaVersion: string, architecture: string) => {
|
|
const semverVersion = new semver.Range(javaVersion);
|
|
|
|
if (
|
|
path.basename(javaPath) !== architecture ||
|
|
!javaPath.includes(toolname)
|
|
) {
|
|
return '';
|
|
}
|
|
|
|
return semver.satisfies(actualJavaVersion, semverVersion)
|
|
? javaPath
|
|
: '';
|
|
}
|
|
);
|
|
|
|
spyTcCacheDir = jest.spyOn(tc, 'cacheDir');
|
|
spyTcCacheDir.mockImplementation(
|
|
(
|
|
archivePath: string,
|
|
toolcacheFolderName: string,
|
|
version: string,
|
|
architecture: string
|
|
) => path.join(toolcacheFolderName, version, architecture)
|
|
);
|
|
|
|
spyTcFindAllVersions = jest.spyOn(tc, 'findAllVersions');
|
|
spyTcFindAllVersions.mockReturnValue([actualJavaVersion]);
|
|
|
|
// Spy on core methods
|
|
spyCoreDebug = jest.spyOn(core, 'debug');
|
|
spyCoreDebug.mockImplementation(() => undefined);
|
|
|
|
spyCoreInfo = jest.spyOn(core, 'info');
|
|
spyCoreInfo.mockImplementation(() => undefined);
|
|
|
|
spyCoreAddPath = jest.spyOn(core, 'addPath');
|
|
spyCoreAddPath.mockImplementation(() => undefined);
|
|
|
|
spyCoreExportVariable = jest.spyOn(core, 'exportVariable');
|
|
spyCoreExportVariable.mockImplementation(() => undefined);
|
|
|
|
spyCoreSetOutput = jest.spyOn(core, 'setOutput');
|
|
spyCoreSetOutput.mockImplementation(() => undefined);
|
|
|
|
// Spy on fs methods
|
|
spyFsReadDir = jest.spyOn(fs, 'readdirSync');
|
|
spyFsReadDir.mockImplementation(() => ['JavaTest']);
|
|
|
|
spyFsStat = jest.spyOn(fs, 'statSync');
|
|
spyFsStat.mockImplementation((file: string) => {
|
|
return {isFile: () => file === expectedJdkFile};
|
|
});
|
|
|
|
// Spy on util methods
|
|
spyUtilsExtractJdkFile = jest.spyOn(util, 'extractJdkFile');
|
|
spyUtilsExtractJdkFile.mockImplementation(() => 'some/random/path/');
|
|
|
|
// Spy on path methods
|
|
spyPathResolve = jest.spyOn(path, 'resolve');
|
|
spyPathResolve.mockImplementation((path: string) => path);
|
|
});
|
|
|
|
afterEach(() => {
|
|
jest.resetAllMocks();
|
|
jest.clearAllMocks();
|
|
jest.restoreAllMocks();
|
|
});
|
|
|
|
it('java is resolved from toolcache, jdkfile is untouched', async () => {
|
|
const inputs = {
|
|
version: actualJavaVersion,
|
|
architecture: 'x86',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
};
|
|
const jdkFile = 'not_existing_one';
|
|
const expected = {
|
|
version: actualJavaVersion,
|
|
path: path.join('Java_jdkfile_jdk', inputs.version, inputs.architecture)
|
|
};
|
|
|
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
|
await expect(mockJavaBase.setupJava()).resolves.toEqual(expected);
|
|
expect(spyGetToolcachePath).toHaveBeenCalled();
|
|
expect(spyCoreInfo).toHaveBeenCalledWith(
|
|
`Resolved Java ${actualJavaVersion} from tool-cache`
|
|
);
|
|
expect(spyCoreInfo).not.toHaveBeenCalledWith(
|
|
`Java ${inputs.version} was not found in tool-cache. Trying to unpack JDK file...`
|
|
);
|
|
});
|
|
|
|
it("java is resolved from toolcache, jdkfile doesn't exist", async () => {
|
|
const inputs = {
|
|
version: actualJavaVersion,
|
|
architecture: 'x86',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
};
|
|
const jdkFile = undefined;
|
|
const expected = {
|
|
version: actualJavaVersion,
|
|
path: path.join('Java_jdkfile_jdk', inputs.version, inputs.architecture)
|
|
};
|
|
|
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
|
await expect(mockJavaBase.setupJava()).resolves.toEqual(expected);
|
|
expect(spyGetToolcachePath).toHaveBeenCalled();
|
|
expect(spyCoreInfo).toHaveBeenCalledWith(
|
|
`Resolved Java ${actualJavaVersion} from tool-cache`
|
|
);
|
|
expect(spyCoreInfo).not.toHaveBeenCalledWith(
|
|
`Java ${inputs.version} was not found in tool-cache. Trying to unpack JDK file...`
|
|
);
|
|
});
|
|
|
|
it('java is unpacked from jdkfile', async () => {
|
|
const inputs = {
|
|
version: '11.0.289',
|
|
architecture: 'x86',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
};
|
|
const jdkFile = expectedJdkFile;
|
|
const expected = {
|
|
version: '11.0.289',
|
|
path: path.join('Java_jdkfile_jdk', inputs.version, inputs.architecture)
|
|
};
|
|
|
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
|
await expect(mockJavaBase.setupJava()).resolves.toEqual(expected);
|
|
expect(spyTcFindAllVersions).toHaveBeenCalled();
|
|
expect(spyCoreInfo).not.toHaveBeenCalledWith(
|
|
`Resolved Java ${actualJavaVersion} from tool-cache`
|
|
);
|
|
expect(spyCoreInfo).toHaveBeenCalledWith(
|
|
`Extracting Java from '${jdkFile}'`
|
|
);
|
|
expect(spyCoreInfo).toHaveBeenCalledWith(
|
|
`Java ${inputs.version} was not found in tool-cache. Trying to unpack JDK file...`
|
|
);
|
|
});
|
|
|
|
it('jdk file is not found', async () => {
|
|
const inputs = {
|
|
version: '11.0.289',
|
|
architecture: 'x86',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
};
|
|
const jdkFile = 'not_existing_one';
|
|
const expected = {
|
|
javaVersion: '11.0.289',
|
|
javaPath: path.join(
|
|
'Java_jdkfile_jdk',
|
|
inputs.version,
|
|
inputs.architecture
|
|
)
|
|
};
|
|
|
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
|
expected.javaPath = path.join(
|
|
'Java_jdkfile_jdk',
|
|
inputs.version,
|
|
inputs.architecture
|
|
);
|
|
await expect(mockJavaBase.setupJava()).rejects.toThrow(
|
|
"JDK file was not found in path 'not_existing_one'"
|
|
);
|
|
expect(spyTcFindAllVersions).toHaveBeenCalled();
|
|
expect(spyCoreInfo).not.toHaveBeenCalledWith(
|
|
`Resolved Java ${actualJavaVersion} from tool-cache`
|
|
);
|
|
expect(spyCoreInfo).not.toHaveBeenCalledWith(
|
|
`Extracting Java from '${jdkFile}'`
|
|
);
|
|
expect(spyCoreInfo).toHaveBeenCalledWith(
|
|
`Java ${inputs.version} was not found in tool-cache. Trying to unpack JDK file...`
|
|
);
|
|
});
|
|
|
|
it('java is resolved from toolcache including Contents/Home on MacOS', async () => {
|
|
const inputs = {
|
|
version: actualJavaVersion,
|
|
architecture: 'x86',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
};
|
|
const jdkFile = 'not_existing_one';
|
|
const expected = {
|
|
version: actualJavaVersion,
|
|
path: path.join(
|
|
'Java_jdkfile_jdk',
|
|
inputs.version,
|
|
inputs.architecture,
|
|
'Contents',
|
|
'Home'
|
|
)
|
|
};
|
|
const originalPlatform = process.platform;
|
|
Object.defineProperty(process, 'platform', {
|
|
value: 'darwin'
|
|
});
|
|
|
|
spyFsStat = jest.spyOn(fs, 'existsSync');
|
|
spyFsStat.mockImplementation((file: string) => {
|
|
return file.endsWith('Home');
|
|
});
|
|
|
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
|
await expect(mockJavaBase.setupJava()).resolves.toEqual(expected);
|
|
expect(spyGetToolcachePath).toHaveBeenCalled();
|
|
expect(spyCoreInfo).toHaveBeenCalledWith(
|
|
`Resolved Java ${actualJavaVersion} from tool-cache`
|
|
);
|
|
expect(spyCoreInfo).not.toHaveBeenCalledWith(
|
|
`Java ${inputs.version} was not found in tool-cache. Trying to unpack JDK file...`
|
|
);
|
|
|
|
Object.defineProperty(process, 'platform', {
|
|
value: originalPlatform
|
|
});
|
|
});
|
|
|
|
it('java is unpacked from jdkfile including Contents/Home on MacOS', async () => {
|
|
const inputs = {
|
|
version: '11.0.289',
|
|
architecture: 'x86',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
};
|
|
const jdkFile = expectedJdkFile;
|
|
const expected = {
|
|
version: '11.0.289',
|
|
path: path.join(
|
|
'Java_jdkfile_jdk',
|
|
inputs.version,
|
|
inputs.architecture,
|
|
'Contents',
|
|
'Home'
|
|
)
|
|
};
|
|
const originalPlatform = process.platform;
|
|
Object.defineProperty(process, 'platform', {
|
|
value: 'darwin'
|
|
});
|
|
spyFsStat = jest.spyOn(fs, 'existsSync');
|
|
spyFsStat.mockImplementation((file: string) => {
|
|
return file.endsWith('Home');
|
|
});
|
|
|
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
|
await expect(mockJavaBase.setupJava()).resolves.toEqual(expected);
|
|
expect(spyTcFindAllVersions).toHaveBeenCalled();
|
|
expect(spyCoreInfo).not.toHaveBeenCalledWith(
|
|
`Resolved Java ${actualJavaVersion} from tool-cache`
|
|
);
|
|
expect(spyCoreInfo).toHaveBeenCalledWith(
|
|
`Extracting Java from '${jdkFile}'`
|
|
);
|
|
expect(spyCoreInfo).toHaveBeenCalledWith(
|
|
`Java ${inputs.version} was not found in tool-cache. Trying to unpack JDK file...`
|
|
);
|
|
Object.defineProperty(process, 'platform', {
|
|
value: originalPlatform
|
|
});
|
|
});
|
|
|
|
it.each([
|
|
[
|
|
{
|
|
version: '8.0.289',
|
|
architecture: 'x64',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
},
|
|
'otherJdkFile'
|
|
],
|
|
[
|
|
{
|
|
version: '11.0.289',
|
|
architecture: 'x64',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
},
|
|
'otherJdkFile'
|
|
],
|
|
[
|
|
{
|
|
version: '12.0.289',
|
|
architecture: 'x64',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
},
|
|
'otherJdkFile'
|
|
],
|
|
[
|
|
{
|
|
version: '11.1.11',
|
|
architecture: 'x64',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
},
|
|
'not_existing_one'
|
|
]
|
|
])(
|
|
`Throw an error if jdkfile has wrong path, inputs %s, jdkfile %s, real name ${expectedJdkFile}`,
|
|
async (inputs, jdkFile) => {
|
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
|
await expect(mockJavaBase.setupJava()).rejects.toThrow(
|
|
/JDK file was not found in path */
|
|
);
|
|
expect(spyTcFindAllVersions).toHaveBeenCalled();
|
|
}
|
|
);
|
|
|
|
it.each([
|
|
[
|
|
{
|
|
version: '8.0.289',
|
|
architecture: 'x64',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
},
|
|
''
|
|
],
|
|
[
|
|
{
|
|
version: '7.0.289',
|
|
architecture: 'x64',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
},
|
|
undefined
|
|
],
|
|
[
|
|
{
|
|
version: '11.0.289',
|
|
architecture: 'x64',
|
|
packageType: 'jdk',
|
|
checkLatest: false
|
|
},
|
|
undefined
|
|
]
|
|
])(
|
|
'Throw an error if jdkfile is not specified, inputs %s',
|
|
async (inputs, jdkFile) => {
|
|
mockJavaBase = new LocalDistribution(inputs, jdkFile);
|
|
await expect(mockJavaBase.setupJava()).rejects.toThrow(
|
|
"'jdkFile' is not specified"
|
|
);
|
|
expect(spyTcFindAllVersions).toHaveBeenCalled();
|
|
}
|
|
);
|
|
});
|