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

Build success but the status is "failure" without any navigating error #18

Open
SrengGueckly opened this issue Sep 3, 2023 · 4 comments

Comments

@SrengGueckly
Copy link

Orb version

What happened

I am using this orb for checking schema compatibility. I got the final result said "BUILD SUCCESS", but the status in "failure" without any error navigating. Could you help advise me how could I check the error detail or this is related to orb?
Screenshot 2023-09-03 at 4 00 08 PM

Expected behavior

If the build is success, the status supposes to be success as well or there's other possible issue which couldn't be shown in the log?

@yahavi
Copy link
Member

yahavi commented Sep 3, 2023

@SrengGueckly the JFrog CLI runs Maven commands.
Based on the screenshot you've shared, it seems like the Maven command was executed successfully, but there was a problem when trying to upload the artifact using the JFrog CLI. This issue could potentially be related to permissions or an incorrect target repository.

It's worth noting that your CI might not be displaying stderr output for some unknown reason, as it should typically show error messages.

@SrengGueckly
Copy link
Author

@yahavi We have a step build and publish package to jfrog running before this step, and as of the result our CI is able to publish to jfrog as normal except while it tries to run command jfrog mvn io.confluent:kafka-schema-registry-maven-plugin:test-compatibility. I have tried to do SSH to the workflow and re-running the command with debugging mode, but I do not receive any error messages except the final status "failure".

@yahavi
Copy link
Member

yahavi commented Sep 3, 2023

@SrengGueckly
Why are you using the JFrog CLI to run the io.confluent:kafka-schema-registry-maven-plugin:test-compatibility plugin goal instead of running the Maven goal directly?

mvn io.confluent:kafka-schema-registry-maven-plugin:test-compatibility

@SrengGueckly
Copy link
Author

SrengGueckly commented Sep 4, 2023

@yahavi Looks like this is related to the existing configuration as before we used jfrog mvn, but looks like this is outdated and the recently command we use mvn without jfrog, and it's fine as we publish to jfrog in a different command and workflow.

However, I got another issue when checking test-compatibility as it shows the error io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException: Version -1 not found.; error code: 40402.
This error is not showing unless upload the base schema to confluent cloud manually. (The red cross-out)

Screenshot 2023-09-04 at 2 04 34 PM

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

No branches or pull requests

2 participants