This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 70aa719 NIFI-9586 Removed Surefire ForkNodeFactory configuration
70aa719 is described below
commit 70aa719cbfd9e9ca5ce38252ba16c345657d8bea
Author: Paul Grey <[email protected]>
AuthorDate: Tue Jan 18 19:05:18 2022 -0500
NIFI-9586 Removed Surefire ForkNodeFactory configuration
- Falling back to default LegacyForkNodeFactory due to SUREFIRE-1800
- Added upload of Surefire results on automated build failures
This closes #5675
Signed-off-by: David Handermann <[email protected]>
---
.github/workflows/ci-workflow.yml | 38 ++++++++++++++++++++++++++++++++++++++
pom.xml | 1 -
2 files changed, 38 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci-workflow.yml
b/.github/workflows/ci-workflow.yml
index 0da281b..229a951 100644
--- a/.github/workflows/ci-workflow.yml
+++ b/.github/workflows/ci-workflow.yml
@@ -55,8 +55,10 @@ jobs:
steps:
- name: System Information
run: |
+ hostname
cat /proc/cpuinfo
cat /proc/meminfo
+ df
- name: Checkout Code
uses: actions/checkout@v2
- name: Cache Maven Dependencies
@@ -93,6 +95,17 @@ jobs:
${{ env.MAVEN_COMMAND }}
${{ env.MAVEN_PROFILES }}
${{ env.MAVEN_PROJECTS }}
+ - name: Upload Test Reports
+ uses: actions/upload-artifact@v2
+ with:
+ name: surefire-reports-ubuntu-en
+ path: |
+ ./**/target/surefire-reports/*.txt
+ ./**/target/surefire-reports/*.xml
+ retention-days: 3
+ if: failure()
+ - name: Post Disk Usage
+ run: df
macos-build-jp:
timeout-minutes: 120
@@ -101,8 +114,10 @@ jobs:
steps:
- name: System Information
run: |
+ hostname
top -l 1 | grep PhysMem
sysctl machdep.cpu
+ df
- name: Checkout Code
uses: actions/checkout@v2
- name: Cache Maven Dependencies
@@ -139,6 +154,17 @@ jobs:
${{ env.MAVEN_COMMAND }}
${{ env.MAVEN_PROFILES }}
${{ env.MAVEN_PROJECTS }}
+ - name: Upload Test Reports
+ uses: actions/upload-artifact@v2
+ with:
+ name: surefire-reports-macos-jp
+ path: |
+ ./**/target/surefire-reports/*.txt
+ ./**/target/surefire-reports/*.xml
+ retention-days: 3
+ if: failure()
+ - name: Post Disk Usage
+ run: df
windows-build:
timeout-minutes: 120
@@ -148,6 +174,7 @@ jobs:
- name: System Information
run: |
systeminfo
+ df
- name: Setup Git
run: |
git config --global core.autocrlf false
@@ -191,3 +218,14 @@ jobs:
run: >-
${{ env.MAVEN_COMMAND }}
${{ env.MAVEN_PROJECTS }}
+ - name: Upload Test Reports
+ uses: actions/upload-artifact@v2
+ with:
+ name: surefire-reports-windows-fr
+ path: |
+ ./**/target/surefire-reports/*.txt
+ ./**/target/surefire-reports/*.xml
+ retention-days: 3
+ if: failure()
+ - name: Post Disk Usage
+ run: df
diff --git a/pom.xml b/pom.xml
index f4413b7..6c4ae03 100644
--- a/pom.xml
+++ b/pom.xml
@@ -622,7 +622,6 @@
<exclude>**/*ITSpec.class</exclude>
</excludes>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
- <forkNode
implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"
/>
<argLine combine.children="append">-Xmx1g
-Djava.net.preferIPv4Stack=true
-Duser.language=${user.language}