jazzer icon indicating copy to clipboard operation
jazzer copied to clipboard

https://github.com/CodeIntelligenceTesting/jazzer/tree/main/examples/junit not compling

Open nagkumar opened this issue 1 year ago • 4 comments

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project jazzer-junit-example: Compilation failure: Compilation failure:
[ERROR] /C:/temp/jazzer/examples/junit/src/test/java/com/example/MutatorFuzzTest.java:[42,34] cannot find symbol
[ERROR]   symbol:   method invalidCorpusFilesPresent()
[ERROR]   location: class com.code_intelligence.jazzer.driver.FuzzTargetRunner
[ERROR] /C:/temp/jazzer/examples/junit/src/test/java/com/example/MutatorFuzzTest.java:[43,36] cannot find symbol
[ERROR]   symbol:   method mutatorDebugString()
[ERROR]   location: class com.code_intelligence.jazzer.driver.FuzzTargetRunner
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

image

nagkumar avatar Apr 19 '23 10:04 nagkumar

something wrong with https://repo1.maven.org/maven2/com/code-intelligence/jazzer/0.16.1/jazzer-0.16.1.jar

image jazzer-0.16.1.jar as dates are 1985

nagkumar avatar Apr 19 '23 11:04 nagkumar

image image

these are the changed versions that are not reflected in 0.16.1

nagkumar avatar Apr 19 '23 11:04 nagkumar

Both changes are done in on 3rd and 4th Aprill after 0.161 uploaded that is 30th March 2023

image

Time to release the new version of jazzer-0.16.x.jar

nagkumar avatar Apr 19 '23 11:04 nagkumar

Some of the examples turned into internal tests, sorry for that. Please see https://github.com/CodeIntelligenceTesting/jazzer/tree/main/examples/junit-spring-web for an actual example - we will move the other tests to prevent confusion in the future.

The modification times of entries in Jazzer's release JARs are set to hardcoded values for reproducibility - this is working as intended.

fmeum avatar May 30 '23 14:05 fmeum