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)
- [enhancement]: Make CopyFiles usable to copy single files out of source folders with a lot of subfolders/subpaths HOT 1
- [Question]: What code coverage formats does VSTest@3 support for automatic publishing?
- [BUG]: AzureFunctionApp is not accepting package variable correctly HOT 1
- [BUG]: FileTransform@V2 prints error, but replaces strings HOT 1
- [BUG]: AzureKeyVault task ignores no_proxy env variable
- [enhancement]: UseDotNet should support `major.minor.patchXX' syntax to support floating within an SDK feature band HOT 2
- [BUG]: AzureCLI@2 failOnStandardError does not fail with stderr on Windows
- [BUG]: AzureFunctionAppV2 has invalid json for Russian Resource files HOT 3
- [enhancement]: Allow Options to be passed to Compose
- [BUG]: UseDotNet task installs x86 build on Windows arm64 HOT 2
- [BUG]: Data issue with Azure PowerShell telemetry - ADO telemetry data not recorded. HOT 2
- [BUG]: Getting warnining Task 'Azure Key Vault' version 1 (AzureKeyVault@1) is deprecated while using library linked with keyvault HOT 30
- [BUG]: Latest ArtifactTool binary from UniversalPackage task is not compatible with CentOS HOT 8
- [Question]: What is the FileTransform@1 migration path? HOT 2
- [enhancement]: HOT 1
- [Question]: Azure SQL Database Deployment: How to use Active Directory - Integrated authentication HOT 2
- [BUG]: Cache@2 post-job task fails with cache miss. HOT 2
- [BUG]: Download build artifacts (1.220.0/2.198.0) is failing with error "System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.." HOT 3
- [REGRESSION]: NuGetAuthenticate failing when updating existing credentials HOT 1
- [BUG]: AzureCli task fails to authenticate to service connection when multiple managed identities are assigned. HOT 1
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.