Welcome to the Linux Foundation Forum!

No Space left on device

I have using jenkins lab and while running build, it gives below error-

ERROR: Failed to download https://golang.org/dl/go1.14.linux-amd64.tar.gz from agent; will retry from master
java.io.IOException: No space left on device
at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
at sun.nio.ch.FileDispatcherImpl.write(FileDispatcherImpl.java:60)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:211)
at java.nio.channels.Channels.writeFullyImpl(Channels.java:78)
at java.nio.channels.Channels.writeFully(Channels.java:101)
at java.nio.channels.Channels.access$000(Channels.java:61)
at java.nio.channels.Channels$1.write(Channels.java:174)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2315)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:2246)
at hudson.util.IOUtils.copy(IOUtils.java:43)
at hudson.FilePath.readFromTar(FilePath.java:2641)
Caused: java.io.IOException: Failed to extract input stream
at hudson.FilePath.readFromTar(FilePath.java:2651)
at hudson.FilePath.access$500(FilePath.java:212)
at hudson.FilePath$Unpack.invoke(FilePath.java:955)
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to docker-agent-0001uysl2dy9c
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1800)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:1001)
at hudson.FilePath.act(FilePath.java:1070)
at hudson.FilePath.act(FilePath.java:1059)
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:915)
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:851)
at org.jenkinsci.plugins.golang.GolangInstaller.performInstallation(GolangInstaller.java:57)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:69)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
at org.jenkinsci.plugins.golang.GolangInstallation.forNode(GolangInstallation.java:44)
at org.jenkinsci.plugins.golang.GolangInstallation.forNode(GolangInstallation.java:22)
at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:152)
at org.jenkinsci.plugins.workflow.steps.ToolStep$Execution.run(ToolStep.java:133)
at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
Caused: java.io.IOException: Failed to unpack https://golang.org/dl/go1.14.linux-amd64.tar.gz (12328880 bytes read)
at hudson.FilePath$Unpack.invoke(FilePath.java:958)
at hudson.FilePath$Unpack.invoke(FilePath.java:943)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3112)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:375)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:73)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[Pipeline] }

I have kept 3 as "Discard Old Items"

Comments

  • Ravirai
    Ravirai Posts: 12

    I logged into vagrant box and tried freeing up some space . GUI giving same error as last time

  • luisviveropena
    luisviveropena Posts: 1,249

    Hi @Ravirai , what's the chapter and section you are working on? Or lab number, so I can take a look to it.

    Regards,
    Luis.

  • Ravirai
    Ravirai Posts: 12

    Hello @luisviveropena , thank you for responding. I am working on Jenkins Essentials (LFS267)(section 08). I am trying to create some pipeline jobs and it failed with above error.

  • luisviveropena
    luisviveropena Posts: 1,249

    Hi @Ravirai , sorry for taking long to answer, I didn't see any notification for your last post.

    So, the error indicates that there isn't free space in the volume where the VM resides. So it can't get anything from the network, because there isn't enough space.

    My recommendation is to check for free space in the volume/directory/mount point where you are running the VM.

    Regards,
    Luis.

Categories

Upcoming Training