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

Exception due to unexpected "entering directory" messages

      When doing some "scp" command with a "-v" flag for verbosity, then you might see messages like:

      Entering directory: D0750 0 deploy

      This will later on result in an error when doing some parsing with maybe e.g. warnings-ng (or similar).
      The final line, where the codes within jenkinsci/analysis-model library then will exit, is of that format:

      throw new ParsingException("Unable to change directory using: %s to match %s", makePath.toString(), line);

      For now, as a work around, i will drop the "-v" switch from my project. But being able to debug even scp invocations without breaking the build result should still be possible.

      References:
      https://github.com/jenkinsci/analysis-model/blob/master/src/main/java/edu/hm/hafner/analysis/LookaheadParser.java
      https://unix.stackexchange.com/questions/655319/how-to-scp-from-remote-root-directory
      https://issues.jenkins.io/browse/JENKINS-32191

          [JENKINS-70996] Exception due to unexpected "entering directory" messages

          Alexander created issue -
          Ulli Hafner made changes -
          Component/s New: analysis-model [ 23523 ]
          Component/s Original: warnings-ng-plugin [ 24526 ]
          Ulli Hafner made changes -
          Assignee Original: Ulli Hafner [ drulli ]
          Ulli Hafner made changes -
          Labels New: help-wanted newbie-friendly
          Ulli Hafner made changes -
          Labels Original: help-wanted newbie-friendly New: hacktoberfest help-wanted newbie-friendly
          Ulli Hafner made changes -
          Summary Original: warnings-ng fails hard on "scp -v" logs via jenkinsci/analysis-model New: Exception due to unexpected "entering directory" messages
          Ulli Hafner made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ulli Hafner made changes -
          Assignee New: Ulli Hafner [ drulli ]
          Ulli Hafner made changes -
          Remote Link New: This issue links to "PR #998 (Web Link)" [ 29430 ]
          Ulli Hafner made changes -
          Released As New: https://github.com/jenkinsci/analysis-model/releases/tag/v11.15.0
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            drulli Ulli Hafner
            alexanderstohr_li Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: