@@ -886,12 +886,24 @@ jobs:
886886 path : |
887887 ${{ needs.setup.outputs.directory-path }}/test-results/cim_field_report.json
888888 - name : Test Report
889+ id : test_report
889890 uses : dorny/test-reporter@v1
890891 if : always()
891892 with :
892893 name : splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} test report
893894 path : " ${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
894895 reporter : java-junit
896+ - name : pull diag from s3 bucket
897+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
898+ run : |
899+ echo "pulling diag"
900+ aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/
901+ - uses : actions/upload-artifact@v3
902+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
903+ with :
904+ name : archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} tests diag
905+ path : |
906+ ${{ needs.setup.outputs.directory-path }}/diag*
895907
896908 run-requirement-tests :
897909 if : ${{ needs.test-inventory.outputs.requirement_test == 'true' && needs.setup-workflow.outputs.execute-requirement_test == 'Yes' }}
@@ -1053,12 +1065,24 @@ jobs:
10531065 path : |
10541066 ${{ needs.setup.outputs.directory-path }}/argo-logs
10551067 - name : Test Report
1068+ id : test_report
10561069 uses : dorny/test-reporter@v1
10571070 if : always()
10581071 with :
10591072 name : splunk ${{ matrix.splunk.version }} ${{ env.TEST_TYPE }} test report
10601073 path : " ${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
10611074 reporter : java-junit
1075+ - name : pull diag from s3 bucket
1076+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1077+ run : |
1078+ echo "pulling diag"
1079+ aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/
1080+ - uses : actions/upload-artifact@v3
1081+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1082+ with :
1083+ name : archive splunk ${{ matrix.splunk.version }} ${{ env.TEST_TYPE }} tests diag
1084+ path : |
1085+ ${{ needs.setup.outputs.directory-path }}/diag*
10621086
10631087 run-ui-tests :
10641088 if : ${{ needs.test-inventory.outputs.ui == 'true' && needs.setup-workflow.outputs.execute-ui == 'Yes' }}
@@ -1228,12 +1252,24 @@ jobs:
12281252 path : |
12291253 ${{ needs.setup.outputs.directory-path }}/argo-logs
12301254 - name : Test Report
1255+ id : test_report
12311256 uses : dorny/test-reporter@v1
12321257 if : always()
12331258 with :
12341259 name : splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} ${{ matrix.vendor-version.image }} test report
12351260 path : " ${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
12361261 reporter : java-junit
1262+ - name : pull diag from s3 bucket
1263+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1264+ run : |
1265+ echo "pulling diag"
1266+ aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/
1267+ - uses : actions/upload-artifact@v3
1268+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1269+ with :
1270+ name : archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} ${{ matrix.vendor-version.image }} tests diag
1271+ path : |
1272+ ${{ needs.setup.outputs.directory-path }}/diag*
12371273
12381274 run-modinput-tests :
12391275 if : ${{ needs.test-inventory.outputs.modinput_functional == 'true' && needs.setup-workflow.outputs.execute-modinput_functional == 'Yes' }}
@@ -1416,12 +1452,24 @@ jobs:
14161452 path : |
14171453 ${{ needs.setup.outputs.directory-path }}/argo-logs
14181454 - name : Test Report
1455+ id : test_report
14191456 uses : dorny/test-reporter@v1
14201457 if : always()
14211458 with :
14221459 name : splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} test report
14231460 path : " ${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
14241461 reporter : java-junit
1462+ - name : pull diag from s3 bucket
1463+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1464+ run : |
1465+ echo "pulling diag"
1466+ aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/
1467+ - uses : actions/upload-artifact@v3
1468+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1469+ with :
1470+ name : archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} tests diag
1471+ path : |
1472+ ${{ needs.setup.outputs.directory-path }}/diag*
14251473
14261474 run-scripted-input-tests-full-matrix :
14271475 if : ${{ needs.test-inventory.outputs.scripted_inputs == 'true' && ( github.base_ref == 'main' || github.ref_name == 'main' ) && needs.setup-workflow.outputs.execute-scripted_inputs == 'Yes' }}
@@ -1596,12 +1644,24 @@ jobs:
15961644 path : |
15971645 ${{ needs.setup.outputs.directory-path }}/argo-logs
15981646 - name : Test Report
1647+ id : test_report
15991648 uses : dorny/test-reporter@v1
16001649 if : always()
16011650 with :
16021651 name : splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} test report
16031652 path : " ${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
16041653 reporter : java-junit
1654+ - name : pull diag from s3 bucket
1655+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1656+ run : |
1657+ echo "pulling diag"
1658+ aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/
1659+ - uses : actions/upload-artifact@v3
1660+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1661+ with :
1662+ name : archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} tests diag
1663+ path : |
1664+ ${{ needs.setup.outputs.directory-path }}/diag*
16051665
16061666 run-scripted-input-tests-canary :
16071667 if : ${{ needs.test-inventory.outputs.scripted_inputs == 'true' && ( github.base_ref == 'develop' || github.ref_name == 'develop' ) && needs.setup-workflow.outputs.execute-scripted_inputs == 'Yes' }}
@@ -1775,12 +1835,24 @@ jobs:
17751835 path : |
17761836 ${{ needs.setup.outputs.directory-path }}/argo-logs
17771837 - name : Test Report
1838+ id : test_report
17781839 uses : dorny/test-reporter@v1
17791840 if : always()
17801841 with :
17811842 name : splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} test report
17821843 path : " ${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
17831844 reporter : java-junit
1845+ - name : pull diag from s3 bucket
1846+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1847+ run : |
1848+ echo "pulling diag"
1849+ aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/
1850+ - uses : actions/upload-artifact@v3
1851+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
1852+ with :
1853+ name : archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} tests diag
1854+ path : |
1855+ ${{ needs.setup.outputs.directory-path }}/diag*
17841856
17851857 run-escu-tests :
17861858 if : ${{ needs.test-inventory.outputs.escu == 'true' && ( github.base_ref == 'main' || github.ref_name == 'main' || github.base_ref == 'develop' || github.ref_name == 'develop' ) && needs.setup-workflow.outputs.execute-escu == 'Yes' }}
@@ -1964,12 +2036,24 @@ jobs:
19642036 path : |
19652037 ${{ needs.setup.outputs.directory-path }}/test-results/escu-result.xml
19662038 - name : Test Report
2039+ id : test_report
19672040 uses : dorny/test-reporter@v1
19682041 if : ${{ steps.get-escu-detections.outputs.escu-test-run == 'true' }}
19692042 with :
19702043 name : splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} test report
19712044 path : " ${{ needs.setup.outputs.directory-path }}/test-results/*.xml"
19722045 reporter : java-junit
2046+ - name : pull diag from s3 bucket
2047+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
2048+ run : |
2049+ echo "pulling diag"
2050+ aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/
2051+ - uses : actions/upload-artifact@v3
2052+ if : ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }}
2053+ with :
2054+ name : archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} tests diag
2055+ path : |
2056+ ${{ needs.setup.outputs.directory-path }}/diag*
19732057
19742058 validate-pr-title :
19752059 name : Validate PR title
0 commit comments