java.io.IOException: java.io.IOException: An error 'Checkout conflict with files: generic/README.md ... tests/test.sh

JFrog JIRA | David Welsh | 1 year ago
  1. 0

    When attempting to run the Release & Promotion step of a successful build that has a Artifactory Maven 3 task the build will fail if Symbolic Links are part of the git repository. The error will look like this: {noformat} Exception occurred while executing custom pre-build action 'org.jfrog.bamboo.release.action.ArtifactoryPreBuildAction@354a1t21'. Building will abort... java.io.IOException: java.io.IOException: An error 'Checkout conflict with files: generic/README.md ... tests/test.sh at org.eclipse.jgit.dircache.DirCacheCheckout.doCheckout(DirCacheCheckout.java:405) at org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:385) at org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:173) ... 14 more {noformat} With the error occuring during checkout branch phase: {noformat} simple 20-Aug-2015 15:08:41 [RELEASE] Release Build Active simple 20-Aug-2015 15:08:41 [RELEASE] Checking out branch: release/sprint5 {noformat} I looked into it and extracted the plugin jar ({{bamboo-artifactory-plugin-1.7.6.jar}}) and viewed its pom.xml file ({{META-INF\maven\org.jfrog.bamboo\bamboo-artifactory-plugin\pom.xml}}) which showed me the following dependency information for JGit: {code:xml} <dependency> <groupId>org.eclipse.jgit</groupId> <artifactId>org.eclipse.jgit</artifactId> <version>2.0.0.201206130900-r</version> <exclusions> <exclusion> <groupId>com.jcraft</groupId> <artifactId>jsch</artifactId> </exclusion> </exclusions> </dependency> {code} Which from viewing [JGit Bug 354367|https://bugs.eclipse.org/bugs/show_bug.cgi?id=354367] this appears to be resolved as of version 3.7 which means the JGit dependency in the plugin requires updating in order for Symbolic Links to work within Git Repositories during the Release & Promition step.

    JFrog JIRA | 1 year ago | David Welsh
    java.io.IOException: java.io.IOException: An error 'Checkout conflict with files: generic/README.md ... tests/test.sh
  2. 0

    Too many open files when using perforce (Bugzilla #18227)

    GitHub | 4 years ago | vladak
    java.io.IOException: Cannot run program "p4" (in directory "/x/search/opengrok/stage1/source/ContentSuite_8.0-cefix/appsvcs-ui/src/jsp/serviceprovider/role/images"): java.io.IOException: error=24, Too ma ny open files
  3. 0

    Hadoop-Hdfs-trunk - Build # 554 - Still Failing

    hadoop-hdfs-dev | 6 years ago | Apache Hudson Server
    java.lang.RuntimeException: Error while running command to get file permissions : java.io.IOException: Cannot run program "/bin/ls": java.io.IOException: error=24, Too many open files
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hadoop-Hdfs-22-branch - Build # 14 - Still Failing

    hadoop-hdfs-dev | 6 years ago | Apache Hudson Server
    java.io.IOException: Cannot run program "du": java.io.IOException: error=24, Too many open files
  6. 0

    TimeSlotPolicy: Too many open files

    GitHub | 7 years ago | activeeon-bot
    java.io.IOException: Cannot run program "/bin/sh": java.io.IOException: error=24, Too many open files

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      java.io.IOException: An error 'Checkout conflict with files: generic/README.md ... tests/test.sh

      at org.eclipse.jgit.dircache.DirCacheCheckout.doCheckout()
    2. JGit - Core
      CheckoutCommand.call
      1. org.eclipse.jgit.dircache.DirCacheCheckout.doCheckout(DirCacheCheckout.java:405)
      2. org.eclipse.jgit.dircache.DirCacheCheckout.checkout(DirCacheCheckout.java:385)
      3. org.eclipse.jgit.api.CheckoutCommand.call(CheckoutCommand.java:173)
      3 frames