Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47904

P4 Task: failed: java.io.IOException: Failed to list contents

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • p4-plugin
    • Master: 2.73.1 (WIndows 2012 server)
      Node: (Windows 2012 server)
      P4 Plugin: 1.8.0

      When force syncing, we sporadically hit this error (sometimes it works just fine, even on the same node):

      12:14:17 p4 sync -q d:\myBuild/...#none
      {{12:14:17 }}
      {{12:14:17 }}
      12:14:17 ... rm -rf d:\myBuild
      {{12:14:17 }}
      12:15:16 P4 Task: attempt: 1
      12:15:19 P4 Task: failed: java.io.IOException: Failed to list contents of d:\myBuild\src\Tools\Python\2.7.13\mac\Python.framework\Versions\2.7\Headers

      Note that this file is a symlink on a Windows machine (not sure if that's relevant).

      Also note that the entire workspace is empty after the failure, with the exception of this one file.

          [JENKINS-47904] P4 Task: failed: java.io.IOException: Failed to list contents

          Jay Spang created issue -
          Jay Spang made changes -
          Description Original: When force syncing, we sporadically hit this error (sometimes it works just fine, even on the same node):

          {{12:14:17 p4 sync -q d:\myBuild/...#none}}
          {{12:14:17 }}
          {{12:14:17 }}
          {{12:14:17 ... rm -rf d:\myBuild}}
          {{12:14:17 }}
          {{12:15:16 P4 Task: attempt: 1}}
          {{12:15:19 P4 Task: failed: java.io.IOException: Failed to list contents of d:\myBuild\src\Tools\Python\2.7.13\mac\Python.framework\Versions\2.7\Headers}}

          Note that this file is a symlink on a Windows machine (not sure if that's relevant). Also note that the entire workspace is gone after the failure (so it looks like the rm -rf actually succeeded?)
          New: When force syncing, we sporadically hit this error (sometimes it works just fine, even on the same node):

          {{12:14:17 p4 sync -q d:\myBuild/...#none}}
           \{\{12:14:17 }}
           \{\{12:14:17 }}
           {{12:14:17 ... rm -rf d:\myBuild}}
           \{\{12:14:17 }}
           {{12:15:16 P4 Task: attempt: 1}}
           {{12:15:19 P4 Task: failed: java.io.IOException: Failed to list contents of d:\myBuild\src\Tools\Python\2.7.13\mac\Python.framework\Versions\2.7\Headers}}

          Note that this file is a symlink on a Windows machine (not sure if that's relevant).

          Also note that the entire workspace is empty after the failure, with the exception of this one file.
          Karl Wirth made changes -
          Labels New: P4_PLUGIN

            Unassigned Unassigned
            jayspang Jay Spang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: