Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zwe support verify-fingerprints: clean up for crashing java #3931

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

Martin-Zeithaml
Copy link
Contributor

When java code HashFiles crashes, the return code is zero and the shell script continues in processing. This new check will stop processing in this case. Clean up is called, when:

  • java returns 1
  • file does not exist
  • file exists with size 0

Signed-off-by: Martin Zeithaml <66114686+Martin-Zeithaml@users.noreply.github.com>
Copy link

github-actions bot commented Aug 8, 2024

build 5722 SUCCEEDED.
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/10302840601

Copy link

github-actions bot commented Aug 8, 2024

Test workflow 5110 is started.
Running install test: Convenience Pax
The zowe artifact being used by this test workflow: libs-snapshot-local/org/zowe/2.18.0-PR-3931/zowe-2.18.0-pr-3931-5722-20240808132209.pax
Running on machine: zzow06
Result: SUCCESS
Link to workflow run: https://github.com/zowe/zowe-install-packaging/actions/runs/10302957570

@MarkAckert MarkAckert merged commit 83b086f into v2.x/staging Aug 12, 2024
11 checks passed
@MarkAckert MarkAckert deleted the v2.x/bugfix/verifyFingerprints branch August 12, 2024 14:46
MarkAckert added a commit that referenced this pull request Aug 12, 2024
* install command step optional

Signed-off-by: pz636264 <pavel.zlatnik@broadcom.com>

* Minor changes

Signed-off-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>

* Minor update

Signed-off-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>

* language refactor

Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>

* fix component abstract/description language

Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>

* fix abstract lengths

Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>

* Promote PTF after release v2.17.0

Signed-off-by: zowe-robot <zowe.robot@gmail.com>

* update manifest to create 2.18 staging builds

Signed-off-by: MarkAckert <mark.ackert@broadcom.com>

* Switch launcher path to point to staging

Signed-off-by: James Struga <jstruga@rocketsoftware.com>

* Backport fixes in v2.x/master to v2.x/staging (#3923)

* Rename ssh host name (#3927)

Signed-off-by: ManjuVNair133 <manjuvnair133@gmail.com>

* Clean up for crashing java (#3931)

Signed-off-by: Martin Zeithaml <66114686+Martin-Zeithaml@users.noreply.github.com>

* update safkeyring schema (#3928)

Signed-off-by: MarkAckert <mark.ackert@broadcom.com>

* add sleep buffer to uss test

Signed-off-by: MarkAckert <mark.ackert@broadcom.com>

---------

Signed-off-by: pz636264 <pavel.zlatnik@broadcom.com>
Signed-off-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>
Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>
Signed-off-by: zowe-robot <zowe.robot@gmail.com>
Signed-off-by: MarkAckert <mark.ackert@broadcom.com>
Signed-off-by: James Struga <jstruga@rocketsoftware.com>
Signed-off-by: ManjuVNair133 <manjuvnair133@gmail.com>
Signed-off-by: Martin Zeithaml <66114686+Martin-Zeithaml@users.noreply.github.com>
Co-authored-by: pz636264 <pavel.zlatnik@broadcom.com>
Co-authored-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>
Co-authored-by: Andrew Jandacek <andrew.jandacek@broadcom.com>
Co-authored-by: zowe-robot <zowe.robot@gmail.com>
Co-authored-by: James Struga <jstruga@rocketsoftware.com>
Co-authored-by: James Struga <xhejmsstruga@gmail.com>
Co-authored-by: ManjuVNair133 <160747386+ManjuVNair133@users.noreply.github.com>
Co-authored-by: Martin Zeithaml <66114686+Martin-Zeithaml@users.noreply.github.com>
MarkAckert added a commit that referenced this pull request Aug 14, 2024
* Remove deprecated commented value for createZosmfTrust

Signed-off-by: Joe Winchester <winchest@uk.ibm.com>

* Change path to home (#3896)

Signed-off-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>
Co-authored-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>

* install command step optional

Signed-off-by: pz636264 <pavel.zlatnik@broadcom.com>

* fix (#3897)

Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>

* Backport fixes in the v2.x/rc branch to staging (#3907)

* Fix default schema validation error when using keyrings (#3901)

Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>

* Respect "import" option on pkcs12 certificate setup (#3905)

Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>

---------

Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Co-authored-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>

* Minor changes

Signed-off-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>

* Minor update

Signed-off-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>

* language refactor

Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>

* fix component abstract/description language

Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>

* fix abstract lengths

Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>

* Promote PTF after release v2.17.0

Signed-off-by: zowe-robot <zowe.robot@gmail.com>

* update manifest to create 2.18 staging builds

Signed-off-by: MarkAckert <mark.ackert@broadcom.com>

* Switch launcher path to point to staging

Signed-off-by: James Struga <jstruga@rocketsoftware.com>

* Backport fixes in v2.x/master to v2.x/staging (#3923)

* Rename ssh host name (#3927)

Signed-off-by: ManjuVNair133 <manjuvnair133@gmail.com>

* Clean up for crashing java (#3931)

Signed-off-by: Martin Zeithaml <66114686+Martin-Zeithaml@users.noreply.github.com>

* update safkeyring schema (#3928)

Signed-off-by: MarkAckert <mark.ackert@broadcom.com>

* Use correct parameters (#3929)

Signed-off-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>

* NONRLS vsam mode if variable not initialized (#3935)

Signed-off-by: pz636264 <pavel.zlatnik@broadcom.com>

* update licenses

Signed-off-by: MarkAckert <mark.ackert@broadcom.com>

---------

Signed-off-by: Joe Winchester <winchest@uk.ibm.com>
Signed-off-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>
Signed-off-by: pz636264 <pavel.zlatnik@broadcom.com>
Signed-off-by: Pavel Jares <Pavel.Jares@broadcom.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: Andrew Jandacek <andrew.jandacek@broadcom.com>
Signed-off-by: zowe-robot <zowe.robot@gmail.com>
Signed-off-by: MarkAckert <mark.ackert@broadcom.com>
Signed-off-by: James Struga <jstruga@rocketsoftware.com>
Signed-off-by: ManjuVNair133 <manjuvnair133@gmail.com>
Signed-off-by: Martin Zeithaml <66114686+Martin-Zeithaml@users.noreply.github.com>
Co-authored-by: Joe Winchester <winchest@uk.ibm.com>
Co-authored-by: Martin Zeithaml <66114686+Martin-Zeithaml@users.noreply.github.com>
Co-authored-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Co-authored-by: pz636264 <pavel.zlatnik@broadcom.com>
Co-authored-by: Pavel Jareš <58428711+pj892031@users.noreply.github.com>
Co-authored-by: Martin Zeithaml <Martin.Zeithaml@broadcom.com>
Co-authored-by: Andrew Jandacek <andrew.jandacek@broadcom.com>
Co-authored-by: zowe-robot <zowe.robot@gmail.com>
Co-authored-by: James Struga <jstruga@rocketsoftware.com>
Co-authored-by: James Struga <xhejmsstruga@gmail.com>
Co-authored-by: ManjuVNair133 <160747386+ManjuVNair133@users.noreply.github.com>
Co-authored-by: pavelzlatnik <45940302+pavelzlatnik@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants