From 17276ad65b93d52a29d4da79d3bf408c1ef308c4 Mon Sep 17 00:00:00 2001 From: Accelerator1996 <1054516680@qq.com> Date: Mon, 7 Mar 2022 19:21:54 +0800 Subject: [PATCH] [Misc] Add jdk testcase Summary: Add jdk testcase Test Plan: CI pipeline Reviewed-by: joeylee.lz, yuleil Issue: https://github.com/alibaba/dragonwell8/issues/301 --- .github/workflows/jdk_test.yml | 1531 ++++++++++++++++++++++++++++++++ 1 file changed, 1531 insertions(+) create mode 100644 .github/workflows/jdk_test.yml diff --git a/.github/workflows/jdk_test.yml b/.github/workflows/jdk_test.yml new file mode 100644 index 000000000..481a41347 --- /dev/null +++ b/.github/workflows/jdk_test.yml @@ -0,0 +1,1531 @@ +# +# Copyright (c) 2019 Alibaba Group Holding Limited. All Rights Reserved. +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# This code is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 only, as +# published by the Free Software Foundation. Alibaba designates this +# particular file as subject to the "Classpath" exception as provided +# by Oracle in the LICENSE file that accompanied this code. +# +# This code is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# version 2 for more details (a copy is included in the LICENSE file that +# accompanied this code). +# +# You should have received a copy of the GNU General Public License version +# 2 along with this work; if not, write to the Free Software Foundation, +# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. +# + +name: Dragonwell_8_build_test + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + build_release_jdk_tier1: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile release mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + find . -maxdepth 3 + sh configure --with-debug-level=release --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-release/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier1 test + run: | + cd dragonwell8 + make test TEST="jdk_tier1" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(cat $(find build -iname jdk_tier1)/faillist.txt | wc -l)" -eq 0 ];then exit 0 ;else exit 1; fi; + + build_release_jdk_tier2_part1: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile release mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + find . -maxdepth 3 + sh configure --with-debug-level=release --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-release/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part1 + run: | + cd dragonwell8 + make test TEST="jdk_io jdk_nio jdk_net jdk_rmi" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ];then exit 0 ;else exit 1; fi; + + build_release_jdk_tier2_part2: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile release mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + find . -maxdepth 3 + sh configure --with-debug-level=release --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-release/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part2 + run: | + cd dragonwell8 + make test TEST="jdk_time jdk_security jdk_text" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ];then exit 0 ;else exit 1; fi; + + build_release_jdk_tier2_part3: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile release mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + find . -maxdepth 3 + sh configure --with-debug-level=release --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-release/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part3 + run: | + cd dragonwell8 + make test TEST="core_tools jdk_other jdk_svc" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + build_fastdebug_jdk_tier1: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile fastdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=fastdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-fastdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier1 test + run: | + cd dragonwell8 + make test TEST="jdk_tier1" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(cat $(find build -iname jdk_tier1)/faillist.txt | wc -l)" -eq 0 ];then exit 0 ;else exit 1; fi; + + build_fastdebug_jdk_tier2_part1: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile fastdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=fastdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-fastdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part1 + run: | + cd dragonwell8 + make test TEST="jdk_io jdk_nio jdk_net jdk_rmi" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_fastdebug_jdk_tier2_part2: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile fastdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=fastdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-fastdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part2 + run: | + cd dragonwell8 + make test TEST="jdk_time jdk_security jdk_text" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_fastdebug_jdk_tier2_part3: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile fastdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=fastdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-fastdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part3 + run: | + cd dragonwell8 + make test TEST="core_tools jdk_other jdk_svc" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier1_part1: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier1 test part1 + run: | + cd dragonwell8 + make test TEST="jdk_lang" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ];then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier1_part2: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier1 test part2 + run: | + cd dragonwell8 + make test TEST="jdk_math jdk_jdi" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ];then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier1_part3: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier1 test part3 + run: | + cd dragonwell8 + make test TEST="jdk_util" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ];then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier2_part1: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part1 + run: | + cd dragonwell8 + make test TEST="jdk_io jdk_nio" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier2_part2: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part2 + run: | + cd dragonwell8 + make test TEST="jdk_net jdk_rmi" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier2_part3: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part3 + run: | + cd dragonwell8 + make test TEST="jdk_time" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier2_part4: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part4 + run: | + cd dragonwell8 + make test TEST="jdk_text core_tools" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier2_part5: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part5 + run: | + cd dragonwell8 + make test TEST="jdk_other jdk_svc" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier2_part6: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part6 + run: | + cd dragonwell8 + make test TEST="jdk_security1" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier2_part7: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part7 + run: | + cd dragonwell8 + make test TEST="jdk_security2" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier2_part8: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part8 + run: | + cd dragonwell8 + make test TEST="jdk_security3" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; + + build_slowdebug_jdk_tier2_part9: + runs-on: ubuntu-latest + container: + image: docker.io/dragonwelljdk/build_jdk:8u + steps: + - name: Check out alibaba/dragonwell8_hotspot + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_hotspot' + path: 'hotspot' + - name: Check out alibaba/dragonwell8_corba + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_corba' + path: 'corba' + - name: Check out alibaba/dragonwell8_langtools + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_langtools' + path: 'langtools' + - name: Check out alibaba/dragonwell8 + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8' + path: 'dragonwell8' + - name: Check out alibaba/dragonwell8_jdk + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jdk' + path: 'jdk' + - name: Check out alibaba/dragonwell8_jaxws + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxws' + path: 'jaxws' + - name: Check out alibaba/dragonwell8_jaxp + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_jaxp' + path: 'jaxp' + - name: Check out alibaba/dragonwell8_nashorn + uses: actions/checkout@v2 + with: + repository: 'alibaba/dragonwell8_nashorn' + path: 'nashorn' + + - name: Compile slowdebug mode + run: | + mv hotspot dragonwell8 + mv jdk dragonwell8 + mv langtools dragonwell8 + mv corba dragonwell8 + mv jaxp dragonwell8 + mv jaxws dragonwell8 + mv nashorn dragonwell8 + cd dragonwell8 + sh configure --with-debug-level=slowdebug --with-cacerts-file=${PWD}/common/security/cacerts --with-milestone=fcs --enable-unlimited-crypto + make LOG=trace images + + - name: Sanity test + run: | + cd dragonwell8 + TEST_JDK_HOME=build/linux-x86_64-normal-server-slowdebug/images/j2sdk-image + ${TEST_JDK_HOME}/bin/java -version + + - name: Tier2 test part6 + run: | + cd dragonwell8 + make test TEST="jdk_security4" + + - name: Check test result + run: | + cd dragonwell8 + if [ "$(grep -i 'failed\|error' build/*/testoutput/*/faillist.txt | wc -l)" -eq 0 ] ;then exit 0 ;else exit 1; fi; +