Skip to content

[JENKINS-57758] Build failed  #797

@jenkins-infra-bot

Description

@jenkins-infra-bot

Hello Team,

 

I am new in jenkins, i am trying to made a build via Bitbucket repo but unable to do.

below is console output, please help me to solve this. 

 

Thanks 

 

 

 
Started by user
Batooni
Building in workspace /opt/bitnami/apps/jenkins/jenkins_home/workspace/bitbucket
using credential b0af93f6-1038-4e93-8ab0-1594db8262a6
> /opt/bitnami/git/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> /opt/bitnami/git/bin/git config remote.origin.url git@​bitbucket.org:ap2406/soundrecorder.git # timeout=10
Fetching upstream changes from git@​bitbucket.org:ap2406/soundrecorder.git
> /opt/bitnami/git/bin/git --version # timeout=10
using GIT_SSH to set credentials
> /opt/bitnami/git/bin/git fetch --tags --progress git@​bitbucket.org:ap2406/soundrecorder.git +refs/heads/:refs/remotes/origin/
> /opt/bitnami/git/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> /opt/bitnami/git/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision dfe1e1caa2a091def5233927f99b6a746fc5b320 (refs/remotes/origin/master)
> /opt/bitnami/git/bin/git config core.sparsecheckout # timeout=10
> /opt/bitnami/git/bin/git checkout -f dfe1e1caa2a091def5233927f99b6a746fc5b320
Commit message: "Merge pull request #70 from andrewgaul/action-high-quality"
First time build. Skipping changelog.
No emails were triggered.
[Gradle] - Launching build.
[bitbucket] $ /opt/bitnami/apps/jenkins/jenkins_home/workspace/bitbucket/gradlew clean assembleDebug test connectedAndroidTest
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: /opt/bitnami/.gradle/wrapper/dists/gradle-3.3-all/2n0i7hqatcbtk57vvql575dbap/gradle-3.3-all.zip.lck (No such file or directory)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)
at org.gradle.wrapper.Install.createDist(Install.java:47)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)
Caused by: java.io.FileNotFoundException: /opt/bitnami/.gradle/wrapper/dists/gradle-3.3-all/2n0i7hqatcbtk57vvql575dbap/gradle-3.3-all.zip.lck (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.(RandomAccessFile.java:243)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49)
... 3 more
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
An attempt to send an e-mail to empty list of recipients, ignored.
Finished: FAILURE


Originally reported by ashokpatidar, imported from: Build failed
  • assignee: wolfs
  • status: Fixed but Unreleased
  • priority: Major
  • component(s): gradle-plugin, jenkinslint-plugin
  • resolution: Fixed
  • resolved: 2019-06-03T13:18:20+00:00
  • votes: 0
  • watchers: 1
  • imported: 20251218-222106
Raw content of original issue

Hello Team,

 

I am new in jenkins, i am trying to made a build via Bitbucket repo but unable to do.

below is console output, please help me to solve this. 

 

Thanks 

 

 

  Started by user Batooni Building in workspace /opt/bitnami/apps/jenkins/jenkins_home/workspace/bitbucket using credential b0af93f6-1038-4e93-8ab0-1594db8262a6 > /opt/bitnami/git/bin/git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > /opt/bitnami/git/bin/git config remote.origin.url git@bitbucket.org:ap2406/soundrecorder.git # timeout=10 Fetching upstream changes from git@bitbucket.org:ap2406/soundrecorder.git > /opt/bitnami/git/bin/git --version # timeout=10 using GIT_SSH to set credentials > /opt/bitnami/git/bin/git fetch --tags --progress git@bitbucket.org:ap2406/soundrecorder.git +refs/heads/:refs/remotes/origin/ > /opt/bitnami/git/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /opt/bitnami/git/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision dfe1e1caa2a091def5233927f99b6a746fc5b320 (refs/remotes/origin/master) > /opt/bitnami/git/bin/git config core.sparsecheckout # timeout=10 > /opt/bitnami/git/bin/git checkout -f dfe1e1caa2a091def5233927f99b6a746fc5b320 Commit message: "Merge pull request #70 from andrewgaul/action-high-quality" First time build. Skipping changelog. No emails were triggered. [Gradle] - Launching build. [bitbucket] $ /opt/bitnami/apps/jenkins/jenkins_home/workspace/bitbucket/gradlew clean assembleDebug test connectedAndroidTest Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: /opt/bitnami/.gradle/wrapper/dists/gradle-3.3-all/2n0i7hqatcbtk57vvql575dbap/gradle-3.3-all.zip.lck (No such file or directory) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78) at org.gradle.wrapper.Install.createDist(Install.java:47) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48) Caused by: java.io.FileNotFoundException: /opt/bitnami/.gradle/wrapper/dists/gradle-3.3-all/2n0i7hqatcbtk57vvql575dbap/gradle-3.3-all.zip.lck (No such file or directory) at java.io.RandomAccessFile.open0(Native Method) at java.io.RandomAccessFile.open(RandomAccessFile.java:316) at java.io.RandomAccessFile.<init>(RandomAccessFile.java:243) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:49) ... 3 more Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure Archiving artifacts Recording test results ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error? Email was triggered for: Failure - Any Sending email for trigger: Failure - Any An attempt to send an e-mail to empty list of recipients, ignored. Finished: FAILURE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions