-
Bug
-
Resolution: Fixed
-
Trivial
-
Jenkins v2.190.1
Warnings-NG v6.1.1
wsbt test run fails in Jenkins build, producing a line such as:
[error] Total time: 127 s, completed Oct 7, 2019 9:11:30 AM
Later, during
post { always { recordIssues enabledForFailure: true, tools: [scala()] } }
the following output occurs in Jenkins log:
[Scala Compiler] [-ERROR-] Can't resolve absolute paths for some files: [Scala Compiler] [-ERROR-] - Total time: 127 s, completed Oct 7, 2019 9 [Scala Compiler] [-ERROR-] Can't create fingerprints for some files: [Scala Compiler] [-ERROR-] - 'Total time: 127 s, completed Oct 7, 2019 9', IO exception has been thrown: java.nio.file.NoSuchFileException: Total time: 127 s, completed Oct 7, 2019 9
Looks like a false positive from [Sbt]ScalacParser regex capture at first glance:
Not a big deal at all, but can be confusing (in particular since scalac ran green).
[JENKINS-59865] Bogus Scala Compiler warning about missing files after test failure in sbt
Component/s | New: analysis-model [ 23523 ] | |
Component/s | Original: warnings-ng-plugin [ 24526 ] | |
Labels | Original: sbt | New: help-wanted newbie-friendly |
Description |
Original:
sbt test run fails in Jenkins build, producing a line such as: [error] Total time: 127 s, completed Oct 7, 2019 9:11:30 AM Later, during post { always { recordIssues enabledForFailure: true, tools: [scala()] } } the following output occurs in Jenkins log: [Scala Compiler] [-ERROR-] Can't resolve absolute paths for some files: [Scala Compiler] [-ERROR-] - Total time: 127 s, completed Oct 7, 2019 9 [Scala Compiler] [-ERROR-] Can't create fingerprints for some files: [Scala Compiler] [-ERROR-] - 'Total time: 127 s, completed Oct 7, 2019 9', IO exception has been thrown: java.nio.file.NoSuchFileException: Total time: 127 s, completed Oct 7, 2019 9 Looks like a false positive from [Sbt]ScalacParser regex capture at first glance: [https://github.com/jenkinsci/analysis-model/blob/ddc3068166835508c4a5b1a8d30cec7d92109bfc/src/main/java/edu/hm/hafner/analysis/parser/SbtScalacParser.java#L19] [https://github.com/jenkinsci/analysis-model/blob/ddc3068166835508c4a5b1a8d30cec7d92109bfc/src/main/java/edu/hm/hafner/analysis/parser/ScalacParser.java#L20] Not a big deal at all, but can be confusing (in particular since scalac ran green). |
New:
sbt test run fails in Jenkins build, producing a line such as: {noformat} [error] Total time: 127 s, completed Oct 7, 2019 9:11:30 AM {noformat} Later, during {noformat} post { always { recordIssues enabledForFailure: true, tools: [scala()] } } {noformat} the following output occurs in Jenkins log: {noformat} [Scala Compiler] [-ERROR-] Can't resolve absolute paths for some files: [Scala Compiler] [-ERROR-] - Total time: 127 s, completed Oct 7, 2019 9 [Scala Compiler] [-ERROR-] Can't create fingerprints for some files: [Scala Compiler] [-ERROR-] - 'Total time: 127 s, completed Oct 7, 2019 9', IO exception has been thrown: java.nio.file.NoSuchFileException: Total time: 127 s, completed Oct 7, 2019 9 {noformat} Looks like a false positive from [Sbt]ScalacParser regex capture at first glance: [https://github.com/jenkinsci/analysis-model/blob/ddc3068166835508c4a5b1a8d30cec7d92109bfc/src/main/java/edu/hm/hafner/analysis/parser/SbtScalacParser.java#L19] [https://github.com/jenkinsci/analysis-model/blob/ddc3068166835508c4a5b1a8d30cec7d92109bfc/src/main/java/edu/hm/hafner/analysis/parser/ScalacParser.java#L20] Not a big deal at all, but can be confusing (in particular since scalac ran green). |
Assignee | Original: Ulli Hafner [ drulli ] |
Assignee | New: Jarred Parrett [ jarredparrett ] |
Assignee | Original: Jarred Parrett [ jarredparrett ] | New: Ulli Hafner [ drulli ] |
Assignee | Original: Ulli Hafner [ drulli ] | New: Jarred Parrett [ jarredparrett ] |
Assignee | Original: Jarred Parrett [ jarredparrett ] | New: Benjamin Cross [ benjamincross ] |
Perfectly looks like a Hacktoberfest candidate.