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

[MONITOR-SPEC-PR] BUILD FAILURE in Java SDK Automation generation, but return succeeded #9824

Open
jianingwang123 opened this issue Feb 13, 2025 · 1 comment

Comments

@jianingwang123
Copy link

Description:
BUILD FAILURE in Java SDK Automation, but return succeeded.

10:50:51.005 cmdout 	[Java-Sdk-Automation] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.13.0:compile (default-compile) on project azure-resourcemanager-sql-generated: Compilation failure: Compilation failure: 
10:50:51.005 cmdout 	[Java-Sdk-Automation] [ERROR] /mnt/vss/_work/1/s/azure-sdk-for-java/sdk/sql/azure-resourcemanager-sql-generated/src/main/java/com/azure/resourcemanager/sql/generated/implementation/SqlVulnerabilityAssessmentImpl.java:[124,61] incompatible types: com.azure.resourcemanager.sql.generated.models.VulnerabilityAssessmentName cannot be converted to com.azure.resourcemanager.sql.generated.models.SqlVulnerabilityAssessmentName
10:50:51.005 cmdout 	[Java-Sdk-Automation] [ERROR] /mnt/vss/_work/1/s/azure-sdk-for-java/sdk/sql/azure-resourcemanager-sql-generated/src/main/java/com/azure/resourcemanager/sql/generated/implementation/SqlVulnerabilityAssessmentImpl.java:[132,61] incompatible types: com.azure.resourcemanager.sql.generated.models.VulnerabilityAssessmentName cannot be converted to com.azure.resourcemanager.sql.generated.models.SqlVulnerabilityAssessmentName
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR] -> [Help 1]
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR] 
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR] 
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR] For more information about the errors and possible solutions, please read the following articles:
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR] 
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR] After correcting the problems, you can resume the build with the command
10:50:51.006 cmdout 	[Java-Sdk-Automation] [ERROR]   mvn <args> -rf :azure-resourcemanager-sql-generated
10:50:51.133 cmdout 	[Java-Sdk-Automation] /mnt/vss/_work/1/s/azure-sdk-for-java
10:50:51.133 cmdout 	[Java-Sdk-Automation] 2025-02-12 10:50:51 [ERROR] [COMPILE] Maven build fail.
10:50:51.133 cmdout 	[Java-Sdk-Automation] 2025-02-12 10:50:51 [ERROR] You can inquire in "Language - Java" Teams channel. Please include the link of this Pull Request in the query.
10:50:51.156 info 	Script return with result [succeeded] code [0] signal [null] cwd [azure-sdk-for-java]: ./eng/automation/generate.py
10:50:51.156 endsection 	Call generateScript

Additional context:
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4557037&view=logs&j=a8a7a537-82b0-583c-7971-bac70b9822ca&t=37e3947b-3cfb-5d36-86ba-0e22bb7dbc33&l=4582
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4557037&view=logs&j=a8a7a537-82b0-583c-7971-bac70b9822ca&t=37e3947b-3cfb-5d36-86ba-0e22bb7dbc33&l=4598
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4557037&view=logs&j=a8a7a537-82b0-583c-7971-bac70b9822ca&t=37e3947b-3cfb-5d36-86ba-0e22bb7dbc33&l=6881

@jianingwang123
Copy link
Author

@v-hongli1 Could you help troubleshoot this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant