Comments (8)
Hi @TteamMBK, the error usually indicates that the called program returned exit code 1.
In your case, gradlew returned exit code 1 and probably there is some error during the execution.
Could you please share a full log with diagnostic logs enabled?
from azure-pipelines-tasks.
error logs.txt
Here is the txt file of logs
from azure-pipelines-tasks.
Based on the logs I see that the task :eventoffers:kaptReleaseKotlin was failed with exception
2024-05-21T10:24:54.6902360Z e: java.lang.IllegalStateException: failed to analyze: com.sun.tools.javac.code.ClassFinder$BadClassFile: bad class file: %fileName% (/io/realm/MutableRealmInteger.class)
2024-05-21T10:24:54.6927810Z unable to access file: java.nio.file.ClosedFileSystemException
2024-05-21T10:24:54.7167060Z Please remove or make sure it appears in the correct subdirectory of the classpath.
I also see that in the pipeline jdk version is 1.11 but in the yml you set 1.8. Is your project should be built via 1.11 and gradle 6.5? Are you able to build it locally with same setup?
from azure-pipelines-tasks.
I tried your suggestion and changed jdk version in YML file from 1.8 to 1.11, then pushed code and run pipeline.
but still (Android prod) pipeline got failed.
Yes, we are able to build our project locally.
from azure-pipelines-tasks.
@TteamMBK, Thanks for the answer, from what we see, the task wasn't changed but the images chagned recently, specifically version of kotlin was changed from 1.9.23 to 1.9.24 on almost all images. Could you please try to test it with new version of Kotlin and create an issue in runner-images repository?
from azure-pipelines-tasks.
Could you please elaborate a bit-
- do you want me to upgrade kotlin version of the code ?
- How to create issue in runner-images repository
from azure-pipelines-tasks.
- It would be great if you could try to build the project with the same setup as on ms-hosted agent where the Kotlin version is 1.9.24-release-822.
- The runner images repository is located on GHl, this repo is for ms-hosted images. As I suspect that something may be incorrect with a software and not with the task, this might help to find a root cause.
from azure-pipelines-tasks.
For #1. We changed the version of pipeline same as of our Android studio but still getting the same error
from azure-pipelines-tasks.
Related Issues (20)
- [REGRESSION]: Java Tool Installer task HOT 1
- [REGRESSION]: ##[error]Failed to download or parse releases-index.json with error: Request timeout: /dotnet/release-metadata/releases-index.json HOT 6
- [BUG]: DockerCompose@1 error pulling from private repository: 401 Unauthorized
- [BUG]: Version 2.245.1 Produces warning HOT 13
- [BUG]: Ansible Task when executed gives error if all tasks are passed
- [BUG]: Azure file copy version 6.* is displaying some warnings HOT 1
- [BUG]: No agent found in pool Azure Pipelines which satisfies the following demand: maven. All demands: Agent.OS -equals Linux, maven, Agent.Version -gtVersion 3.225.2 HOT 2
- [BUG]: AzureFileCopyV6 failed copy to azure vm HOT 6
- [BUG]: Error: The process dotnet.exe failed with exit code 1 HOT 3
- [REGRESSION]: VSBuild@1 doesn't work on latest windows image HOT 2
- [BUG]: DotNetCoreCLI@2 restore - handle relative paths in nuget.config just like nuget HOT 3
- [enhancement]: Add support to authenticate to Azure Functions using managed identities
- [Question]: How to patch a singke key-value pair in an existing ConfigMap HOT 2
- [BUG]: Fail to run new version of nuget from pwsh script in self-hosted anget
- [BUG]: AzureCLI task is too slow HOT 1
- [BUG]: AzureContainerApps@1 creates resources after dicovery failed due to network error
- [BUG]: AzureKeyVault@2 is failing on the Node 20 version. HOT 8
- [Question]: automated Test with DynamicData setup
- DirectoryNotFoundException when extracting downloaded .NET 9 SDK by Powershell in the UseDotNet2Task HOT 2
- [BUG]: SSH@0 seems to add extra new line for some or each command HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-pipelines-tasks.