Skip to content

Topics Test

Topics Test #1748

Workflow file for this run

# Copyright 2020, 2023, Oracle Corporation and/or its affiliates.
#
# Licensed under the Universal Permissive License v 1.0 as shown at
# http://oss.oracle.com/licenses/upl.
# ---------------------------------------------------------------------------
# Coherence CE GitHub Actions CI build.
# ---------------------------------------------------------------------------
name: Topics Test
on:
workflow_dispatch:
schedule:
- cron: '0/30 * * * *'
push:
branches-ignore:
- gh-pages
- p4-integ*
- last-p4-*
pull_request:
types:
- opened
- committed
branches:
- 'main'
env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
matrixName:
- stage1
- stage2
- stage3
- stage4
- stage5
- stage6
- stage7
- stage8
- stage9
- stage10
- stage11
- stage12
- stage13
include:
- matrixName: stage1
stage: stage11
- matrixName: stage2
stage: stage11
- matrixName: stage3
stage: stage11
- matrixName: stage4
stage: stage11
- matrixName: stage5
stage: stage11
- matrixName: stage6
stage: stage11
- matrixName: stage7
stage: stage11
- matrixName: stage8
stage: stage11
- matrixName: stage9
stage: stage11
- matrixName: stage10
stage: stage11
- matrixName: stage11
stage: stage11
- matrixName: stage12
stage: stage11
- matrixName: stage13
stage: stage11
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: oracle-actions/setup-java@v1
with:
website: jdk.java.net
release: 21
- name: Print Maven & Java version
run: mvn -version
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2-
# Run the Verify stages in parallel
- name: Verify
timeout-minutes: 180
shell: bash
env:
MAVEN_USER: ${{ secrets.MavenUser }}
MAVEN_PASSWORD: ${{ secrets.MavenPassword }}
run: |
echo "Building and running tests in ${{ matrix.stage }}"
export DEV_ROOT=$(pwd)
mvn --file prj/pom.xml --batch-mode -U -e -s .github/maven/settings.xml -P-modules,${{ matrix.stage }} -Doptional -Dcoherence.SkipLargeMemoryTests=true clean install -DskipTests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu -Doptional -Dcoherence.SkipLargeMemoryTests=true clean install -DskipTests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=Bug35945522Tests
# mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics -Dit.test=LocalNamedTopicTests#shouldSeekToHead[*
#
# mvn --file prj/pom.xml --batch-mode -e -s .github/maven/settings.xml -Pmodules,-coherence,${{ matrix.stage }} -nsu clean verify -pl test/functional/topics
# Upload build artifacts for diagnosing failures
- name: Build Artifacts test logs
uses: actions/upload-artifact@v3
if: failure()
with:
name: test-output-${{ matrix.matrixName }}
path: prj/**/target/test-output/**/*
if-no-files-found: ignore
- name: Build Artifacts test reports
uses: actions/upload-artifact@v3
if: failure()
with:
name: failsafe-surefire-test-reports-${{ matrix.matrixName }}
path: prj/**/target/*-reports/**/*
if-no-files-found: ignore
- name: Build Artifacts core dumps
uses: actions/upload-artifact@v3
if: failure()
with:
name: core-dumps-${{ matrix.matrixName }}
path: prj/**/core.*
if-no-files-found: ignore
- name: Build Artifacts compiler replays
uses: actions/upload-artifact@v3
if: failure()
with:
name: compiler-replay-logs-${{ matrix.matrixName }}
path: prj/**/replay_pid*.log
if-no-files-found: ignore