Skip to content

Nondex fails to generate debugging information for failed test #161

@nrmancuso

Description

@nrmancuso

From https://checkstyle.semaphoreci.com/jobs/be9551ed-3f01-40f6-8afa-45167307b891
Corresponding txt file: https://gist.githubusercontent.com/nmancus1/80acd2d4036844ce7d063f600ccf9839/raw/c390066fe8e1660a92b240cd51ae43cec4405041/gistfile1.txt
Corresponding xml file: https://gist.githubusercontent.com/nmancus1/eb12544e544ab4007c46fa3f7ea5b266/raw/1908660d57bc3490b463e947c23897cbc9113141/gistfile1.txt

Output from mvn nondex:debug:

[WARNING] REPRO for com.puppycrawl.tools.checkstyle.JavadocPropertiesGeneratorTest#testNonExistentArgument{Capturable, Capturable}:
mvn nondex:nondex  -DnondexFilter='.*' -DnondexMode=FULL -DnondexSeed=933178 -DnondexStart=0 -DnondexEnd=0 -DnondexPrintstack=true -DnondexDir="/home/nick/IdeaProjects/checkstyle/.nondex" -DnondexJarDir="/home/nick/IdeaProjects/checkstyle/.nondex" -DnondexExecid=sNqtQaVysFO1urNJCLDuR1wM11bz2sYOF3j1gDGe22Q= -DnondexLogging=CONFIG -Dtest=com.puppycrawl.tools.checkstyle.JavadocPropertiesGeneratorTest#testNonExistentArgument{Capturable, Capturable}
DEBUG RESULTS FOR com.puppycrawl.tools.checkstyle.JavadocPropertiesGeneratorTest#testNonExistentArgument{Capturable, Capturable} AT: /home/nick/IdeaProjects/checkstyle/.nondex/sNqtQaVysFO1urNJCLDuR1wM11bz2sYOF3j1gDGe22Q=/debug

...

➜   ls .nondex/sNqtQaVysFO1urNJCLDuR1wM11bz2sYOF3j1gDGe22Q= 
2020-12-15T00-16-24_298.dumpstream  config  failures  invocations
➜   cat .nondex/sNqtQaVysFO1urNJCLDuR1wM11bz2sYOF3j1gDGe22Q=/2020-12-15T00-16-24_298.dumpstream 
# Created at 2020-12-15T00:16:25.041
Error: Could not find or load main class Capturable}

Identified at checkstyle/checkstyle#9083

For now, I have added this test to the excludedGroups section in Checkstyle's pom.xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions