Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nagkumar opened this issue Apr 19, 2023 · 4 comments

Comments

@nagkumar
Copy link

[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
Copy link
Author

nagkumar commented Apr 19, 2023

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
Copy link
Author

image
image

these are the changed versions that are not reflected in 0.16.1

@nagkumar
Copy link
Author

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

@fmeum
Copy link
Contributor

fmeum commented May 30, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants