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

Confidential ML python app fails but returns 0 #1486

Open
salsal97 opened this issue Aug 2, 2023 · 0 comments
Open

Confidential ML python app fails but returns 0 #1486

salsal97 opened this issue Aug 2, 2023 · 0 comments
Labels
severity/minimal Severity: Minimal status/triaged Status: Triaged

Comments

@salsal97
Copy link
Member

salsal97 commented Aug 2, 2023

Images in the confml sample were corrupted and hence it was failing, but it was not propagating an error code and failing silently.
Eg: https://openenclaveci.westus.cloudapp.azure.com/blue/organizations/jenkins/Mystikos%2FStandalone-Pipelines%2FSolutions-Tests-Pipeline/detail/Solutions-Tests-Pipeline/2994/pipeline

Main issue:
The client sends the corrupted image as a payload to the server, which fails out. The issue is that the server is a background process and does not have a check on it.

Fixes tried (unsuccessfully):

  1. Checking the exit code for the sample and client binaries.
  2. Putting an exception error and exit 1 in the inference_service.py file (server)
  3. Checking the status of the pid of the server process before killing it

Note: Corrupted images have now been fixed, but this limitation persists.

@radhikaj radhikaj added status/triaged Status: Triaged severity/minimal Severity: Minimal labels Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minimal Severity: Minimal status/triaged Status: Triaged
Projects
None yet
Development

No branches or pull requests

2 participants