java.io.IOException: Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home]

Atlassian JIRA | Brydie McCoy [Atlassian] | 5 years ago
  1. 0

    2011-12-12 17:21:22,082 INFO [qtp1153274506-521] [AccessLogFilter] admin GET http://localhost:8085/admin/agent/viewAgent.action?agentId=131076 122638kb 2011-12-12 17:21:22,312 INFO [qtp1153274506-521] [SystemInfo] Can't get free disk space. A warning returned. java.io.IOException: Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home] at org.apache.commons.io.FileSystemUtils.performCommand(FileSystemUtils.java:419) at org.apache.commons.io.FileSystemUtils.freeSpaceUnix(FileSystemUtils.java:323) at org.apache.commons.io.FileSystemUtils.freeSpaceOS(FileSystemUtils.java:196) at org.apache.commons.io.FileSystemUtils.freeSpaceKb(FileSystemUtils.java:166) at com.atlassian.bamboo.configuration.SystemInfo.getFreeDiskSpace(SystemInfo.java:286) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:778) at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1297) at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60) at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:147) at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1940) at ognl.ASTProperty.getValueBody(ASTProperty.java:114) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) at ognl.SimpleNode.getValue(SimpleNode.java:258) at ognl.ASTChain.getValueBody(ASTChain.java:141) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) at ognl.SimpleNode.getValue(SimpleNode.java:258) at ognl.Ognl.getValue(Ognl.java:494) at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:300) at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:258) at com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:151) at com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:101) at com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:74) at com.opensymphony.webwork.components.Component.findValue(Component.java:296) at com.opensymphony.webwork.components.UIBean.evaluateParams(UIBean.java:823) at com.opensymphony.webwork.components.UIBean.end(UIBean.java:591) at com.opensymphony.webwork.views.freemarker.tags.CallbackWriter.afterBody(CallbackWriter.java:65) at freemarker.core.Environment.visit(Environment.java:301) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.visit(Environment.java:395) at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Macro$Context.runMacro(Macro.java:172) at freemarker.core.Environment.visit(Environment.java:603) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.visit(Environment.java:395) at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Macro$Context.runMacro(Macro.java:172) at freemarker.core.Environment.visit(Environment.java:603) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92)

    Atlassian JIRA | 5 years ago | Brydie McCoy [Atlassian]
    java.io.IOException: Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home]
  2. 0

    2011-12-12 17:21:22,082 INFO [qtp1153274506-521] [AccessLogFilter] admin GET http://localhost:8085/admin/agent/viewAgent.action?agentId=131076 122638kb 2011-12-12 17:21:22,312 INFO [qtp1153274506-521] [SystemInfo] Can't get free disk space. A warning returned. java.io.IOException: Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home] at org.apache.commons.io.FileSystemUtils.performCommand(FileSystemUtils.java:419) at org.apache.commons.io.FileSystemUtils.freeSpaceUnix(FileSystemUtils.java:323) at org.apache.commons.io.FileSystemUtils.freeSpaceOS(FileSystemUtils.java:196) at org.apache.commons.io.FileSystemUtils.freeSpaceKb(FileSystemUtils.java:166) at com.atlassian.bamboo.configuration.SystemInfo.getFreeDiskSpace(SystemInfo.java:286) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:778) at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1297) at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60) at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:147) at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1940) at ognl.ASTProperty.getValueBody(ASTProperty.java:114) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) at ognl.SimpleNode.getValue(SimpleNode.java:258) at ognl.ASTChain.getValueBody(ASTChain.java:141) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) at ognl.SimpleNode.getValue(SimpleNode.java:258) at ognl.Ognl.getValue(Ognl.java:494) at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:300) at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:258) at com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:151) at com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:101) at com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:74) at com.opensymphony.webwork.components.Component.findValue(Component.java:296) at com.opensymphony.webwork.components.UIBean.evaluateParams(UIBean.java:823) at com.opensymphony.webwork.components.UIBean.end(UIBean.java:591) at com.opensymphony.webwork.views.freemarker.tags.CallbackWriter.afterBody(CallbackWriter.java:65) at freemarker.core.Environment.visit(Environment.java:301) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.visit(Environment.java:395) at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Macro$Context.runMacro(Macro.java:172) at freemarker.core.Environment.visit(Environment.java:603) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.visit(Environment.java:395) at freemarker.core.BodyInstruction.accept(BodyInstruction.java:93) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Macro$Context.runMacro(Macro.java:172) at freemarker.core.Environment.visit(Environment.java:603) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92)

    Atlassian JIRA | 5 years ago | Brydie McCoy [Atlassian]
    java.io.IOException: Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home]
  3. 0

    Disk usage: Command line returned OS error code '1' for command [df, -k, /home/teamcity/.BuildServer/system/artifacts]

    YouTrack | 3 years ago
    java.io.IOException: Command line returned OS error code '1' for command [df, -k, /home/teamcity/.BuildServer/system/artifacts]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting IOException while getting free Space on the working drive

    Stack Overflow | 4 years ago | Tej Kiran
    java.io.IOException: Command line returned OS error code '3' for command [cmd.exe, /C, dir /-c "F:\MyApp"]
  6. 0

    On server sutdown: Failed to compute size of file... :Command line threw an InterruptedException 'null'

    YouTrack | 7 years ago
    java.io.IOException: Command line threw an InterruptedException 'null' for command [cmd.exe, /C, dir /-c C:]

    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

      Command line returned OS error code '1' for command [df, -k, C:/Users/Bamboo/bamboo-agent-home]

      at org.apache.commons.io.FileSystemUtils.performCommand()
    2. Commons IO
      FileSystemUtils.freeSpaceKb
      1. org.apache.commons.io.FileSystemUtils.performCommand(FileSystemUtils.java:419)
      2. org.apache.commons.io.FileSystemUtils.freeSpaceUnix(FileSystemUtils.java:323)
      3. org.apache.commons.io.FileSystemUtils.freeSpaceOS(FileSystemUtils.java:196)
      4. org.apache.commons.io.FileSystemUtils.freeSpaceKb(FileSystemUtils.java:166)
      4 frames
    3. com.atlassian.bamboo
      SystemInfo.getFreeDiskSpace
      1. com.atlassian.bamboo.configuration.SystemInfo.getFreeDiskSpace(SystemInfo.java:286)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. OGNL - Object Graph Navigation Library
      ObjectPropertyAccessor.getProperty
      1. ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:778)
      2. ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1297)
      3. ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60)
      4. ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:147)
      4 frames
    6. XWork Tiger Extensions
      OgnlValueStack$ObjectAccessor.getProperty
      1. com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57)
      1 frame
    7. OGNL - Object Graph Navigation Library
      Ognl.getValue
      1. ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1940)
      2. ognl.ASTProperty.getValueBody(ASTProperty.java:114)
      3. ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
      4. ognl.SimpleNode.getValue(SimpleNode.java:258)
      5. ognl.ASTChain.getValueBody(ASTChain.java:141)
      6. ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
      7. ognl.SimpleNode.getValue(SimpleNode.java:258)
      8. ognl.Ognl.getValue(Ognl.java:494)
      8 frames
    8. XWork Tiger Extensions
      TextParseUtil.translateVariables
      1. com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:300)
      2. com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:258)
      3. com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:151)
      4. com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:101)
      5. com.opensymphony.xwork.util.TextParseUtil.translateVariables(TextParseUtil.java:74)
      5 frames
    9. WebWork
      CallbackWriter.afterBody
      1. com.opensymphony.webwork.components.Component.findValue(Component.java:296)
      2. com.opensymphony.webwork.components.UIBean.evaluateParams(UIBean.java:823)
      3. com.opensymphony.webwork.components.UIBean.end(UIBean.java:591)
      4. com.opensymphony.webwork.views.freemarker.tags.CallbackWriter.afterBody(CallbackWriter.java:65)
      4 frames
    10. FreeMarker
      MixedContent.accept
      1. freemarker.core.Environment.visit(Environment.java:301)
      2. freemarker.core.UnifiedCall.accept(UnifiedCall.java:130)
      3. freemarker.core.Environment.visit(Environment.java:210)
      4. freemarker.core.Environment.visit(Environment.java:395)
      5. freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
      6. freemarker.core.Environment.visit(Environment.java:210)
      7. freemarker.core.MixedContent.accept(MixedContent.java:92)
      8. freemarker.core.Environment.visit(Environment.java:210)
      9. freemarker.core.Macro$Context.runMacro(Macro.java:172)
      10. freemarker.core.Environment.visit(Environment.java:603)
      11. freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
      12. freemarker.core.Environment.visit(Environment.java:210)
      13. freemarker.core.MixedContent.accept(MixedContent.java:92)
      14. freemarker.core.Environment.visit(Environment.java:210)
      15. freemarker.core.IfBlock.accept(IfBlock.java:82)
      16. freemarker.core.Environment.visit(Environment.java:210)
      17. freemarker.core.Environment.visit(Environment.java:395)
      18. freemarker.core.BodyInstruction.accept(BodyInstruction.java:93)
      19. freemarker.core.Environment.visit(Environment.java:210)
      20. freemarker.core.MixedContent.accept(MixedContent.java:92)
      21. freemarker.core.Environment.visit(Environment.java:210)
      22. freemarker.core.Macro$Context.runMacro(Macro.java:172)
      23. freemarker.core.Environment.visit(Environment.java:603)
      24. freemarker.core.UnifiedCall.accept(UnifiedCall.java:106)
      25. freemarker.core.Environment.visit(Environment.java:210)
      26. freemarker.core.MixedContent.accept(MixedContent.java:92)
      26 frames