You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/01/19 15:36:53 UTC

[GitHub] [nifi] exceptionfactory commented on a change in pull request #5675: NIFI-9586 - investigate CI failures

exceptionfactory commented on a change in pull request #5675:
URL: https://github.com/apache/nifi/pull/5675#discussion_r787873482



##########
File path: .github/workflows/ci-workflow.yml
##########
@@ -93,6 +94,17 @@ jobs:
           ${{ env.MAVEN_COMMAND }}
           ${{ env.MAVEN_PROFILES }}
           ${{ env.MAVEN_PROJECTS }}
+      - name: upload-on-failure
+        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()

Review comment:
       Unfortunately it looks like this does not pull any files for the current failure on JDK 11, so perhaps capturing some other output may be helpful.

##########
File path: .github/workflows/ci-workflow.yml
##########
@@ -191,3 +216,14 @@ jobs:
         run: >-
           ${{ env.MAVEN_COMMAND }}
           ${{ env.MAVEN_PROJECTS }}
+      - name: upload-on-failure
+        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: System Information (after)
+        run: df

Review comment:
       Will this command work on Windows?

##########
File path: .github/workflows/ci-workflow.yml
##########
@@ -93,6 +94,17 @@ jobs:
           ${{ env.MAVEN_COMMAND }}
           ${{ env.MAVEN_PROFILES }}
           ${{ env.MAVEN_PROJECTS }}
+      - name: upload-on-failure
+        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: System Information (after)

Review comment:
       It is probably worth renaming this to Disk Usage or something similar.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org