java.io.IOException: Call fails for Destination [bucketName=testing-content-pugpig, objectName=templatestest/generic/generated/page-256.html]: java.io.FileNotFoundException: /home/tomcat/.jenkins/jobs/kaldor-templatestest-server-dev/workspace/templatestest/generic/generated/page-256.html (Too many open files):: Failed after 1 tries.

Jenkins JIRA | Stephen Hartley | 7 months ago
  1. 0

    I've tried boosting the maximum number of open files to >1000000, and still get this error. But I may not have upped the limit properly (although "ulimit -n" for tomcat does show the updated limit). {code} ... Publish artifacts to S3 Bucket bucket=testing-content-pugpig, file=video.css region=eu-west-1, will be uploaded from slave=false managed=false , server encryption false ERROR: Failed to upload files java.io.IOException: Call fails for Destination [bucketName=testing-content-pugpig, objectName=templatestest/generic/generated/page-256.html]: java.io.FileNotFoundException: /home/tomcat/.jenkins/jobs/kaldor-templatestest-server-dev/workspace/templatestest/generic/generated/page-256.html (Too many open files):: Failed after 1 tries. at hudson.plugins.s3.S3Profile.repeat(S3Profile.java:249) at hudson.plugins.s3.S3Profile.upload(S3Profile.java:156) at hudson.plugins.s3.S3BucketPublisher.parallelUpload(S3BucketPublisher.java:241) at hudson.plugins.s3.S3BucketPublisher.perform(S3BucketPublisher.java:170) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:403) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:345) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.Run.run(Run.java:1676) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:284) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.FileNotFoundException: /home/tomcat/.jenkins/jobs/kaldor-templatestest-server-dev/workspace/templatestest/generic/generated/page-256.html (Too many open files) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at hudson.FilePath.read(FilePath.java:1751) at hudson.plugins.s3.MD5.generateFromFile(MD5.java:19) at hudson.plugins.s3.callable.S3UploadCallable.invoke(S3UploadCallable.java:30) at hudson.plugins.s3.S3Profile$1.call(S3Profile.java:163) at hudson.plugins.s3.S3Profile$1.call(S3Profile.java:156) at hudson.plugins.s3.S3Profile.repeat(S3Profile.java:245) ... 12 more build hudson.plugins.s3.S3BucketPublisher@6820b43b UNSTABLE {code}

    Jenkins JIRA | 7 months ago | Stephen Hartley
    java.io.IOException: Call fails for Destination [bucketName=testing-content-pugpig, objectName=templatestest/generic/generated/page-256.html]: java.io.FileNotFoundException: /home/tomcat/.jenkins/jobs/kaldor-templatestest-server-dev/workspace/templatestest/generic/generated/page-256.html (Too many open files):: Failed after 1 tries.
  2. 0

    I've tried boosting the maximum number of open files to >1000000, and still get this error. But I may not have upped the limit properly (although "ulimit -n" for tomcat does show the updated limit). {code} ... Publish artifacts to S3 Bucket bucket=testing-content-pugpig, file=video.css region=eu-west-1, will be uploaded from slave=false managed=false , server encryption false ERROR: Failed to upload files java.io.IOException: Call fails for Destination [bucketName=testing-content-pugpig, objectName=templatestest/generic/generated/page-256.html]: java.io.FileNotFoundException: /home/tomcat/.jenkins/jobs/kaldor-templatestest-server-dev/workspace/templatestest/generic/generated/page-256.html (Too many open files):: Failed after 1 tries. at hudson.plugins.s3.S3Profile.repeat(S3Profile.java:249) at hudson.plugins.s3.S3Profile.upload(S3Profile.java:156) at hudson.plugins.s3.S3BucketPublisher.parallelUpload(S3BucketPublisher.java:241) at hudson.plugins.s3.S3BucketPublisher.perform(S3BucketPublisher.java:170) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:403) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:345) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.Run.run(Run.java:1676) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:284) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.io.FileNotFoundException: /home/tomcat/.jenkins/jobs/kaldor-templatestest-server-dev/workspace/templatestest/generic/generated/page-256.html (Too many open files) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at hudson.FilePath.read(FilePath.java:1751) at hudson.plugins.s3.MD5.generateFromFile(MD5.java:19) at hudson.plugins.s3.callable.S3UploadCallable.invoke(S3UploadCallable.java:30) at hudson.plugins.s3.S3Profile$1.call(S3Profile.java:163) at hudson.plugins.s3.S3Profile$1.call(S3Profile.java:156) at hudson.plugins.s3.S3Profile.repeat(S3Profile.java:245) ... 12 more build hudson.plugins.s3.S3BucketPublisher@6820b43b UNSTABLE {code}

    Jenkins JIRA | 7 months ago | Stephen Hartley
    java.io.IOException: Call fails for Destination [bucketName=testing-content-pugpig, objectName=templatestest/generic/generated/page-256.html]: java.io.FileNotFoundException: /home/tomcat/.jenkins/jobs/kaldor-templatestest-server-dev/workspace/templatestest/generic/generated/page-256.html (Too many open files):: Failed after 1 tries.
  3. 0

    [#JENKINS-10626] Task scanner dies on bad symlink (unhandled java.io.FileNotFoundException) - Jenkins JIRA

    jenkins-ci.org | 2 years ago
    java.io.FileNotFoundException: "symlink source" (No such file or directory)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If a file in the workspace is a symlink whose target path isn't retrievable (say its absolute and isn't completely contained (relatively) in the workspace, then the task scanner plugin dies. [TASKS] Scanning workspace files for tasks... ERROR: Publisher hudson.plugins.tasks.TasksPublisher aborted due to exception java.io.FileNotFoundException: "symlink source" (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:137) at hudson.FilePath.read(FilePath.java:1250) at hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:140) at hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:26) at hudson.FilePath.act(FilePath.java:758) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.tasks.TasksPublisher.perform(TasksPublisher.java:206) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:310) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175) [ClearCase] Restored the original build steps. Finished: FAILURE Suggest Tasks Plugin just log something non fatal to console and continue in such circumstances.

    Jenkins JIRA | 5 years ago | Greg Moncreaff
    java.io.FileNotFoundException: "symlink source" (No such file or directory)
  6. 0

    Jenkins Build Jobs Issue: When building jobs pom should be copied to workspace in different pass

    Stack Overflow | 3 years ago | Peter
    java.io.FileNotFoundException: /var/lib/jenkins/jobs/NXP C++ Development Linux 64bit Utilities/workspace/home/workspaces/cpp/NXP/Utilities/pom.xml (No such file or directory)

  1. r1chjames 1 times, last 4 days ago
  2. richard77 1 times, last 1 week ago
  3. gehel 2 times, last 2 weeks ago
  4. Kialandei 100 times, last 2 weeks ago
  5. Reich 1 times, last 2 weeks ago
45 more registered users
50 unregistered visitors
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.FileNotFoundException

    /home/tomcat/.jenkins/jobs/kaldor-templatestest-server-dev/workspace/templatestest/generic/generated/page-256.html (Too many open files)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:138)
    2 frames
  3. Hudson
    FilePath.read
    1. hudson.FilePath.read(FilePath.java:1751)
    1 frame
  4. hudson.plugins.s3
    S3BucketPublisher.perform
    1. hudson.plugins.s3.MD5.generateFromFile(MD5.java:19)
    2. hudson.plugins.s3.callable.S3UploadCallable.invoke(S3UploadCallable.java:30)
    3. hudson.plugins.s3.S3Profile$1.call(S3Profile.java:163)
    4. hudson.plugins.s3.S3Profile$1.call(S3Profile.java:156)
    5. hudson.plugins.s3.S3Profile.repeat(S3Profile.java:245)
    6. hudson.plugins.s3.S3Profile.upload(S3Profile.java:156)
    7. hudson.plugins.s3.S3BucketPublisher.parallelUpload(S3BucketPublisher.java:241)
    8. hudson.plugins.s3.S3BucketPublisher.perform(S3BucketPublisher.java:170)
    8 frames
  5. Hudson
    BuildStepCompatibilityLayer.perform
    1. hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
    1 frame
  6. hudson.plugins.promoted_builds
    Promotion$RunnerImpl.doRun
    1. hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:403)
    2. hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:345)
    2 frames
  7. Hudson
    Run.run
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
    2. hudson.model.Run.execute(Run.java:1738)
    3. hudson.model.Run.run(Run.java:1676)
    3 frames
  8. hudson.plugins.promoted_builds
    Promotion.run
    1. hudson.plugins.promoted_builds.Promotion.run(Promotion.java:284)
    1 frame
  9. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:98)
    2. hudson.model.Executor.run(Executor.java:410)
    2 frames