-
Notifications
You must be signed in to change notification settings - Fork 1
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
Failing to execute mvn clean install on AuthzForce as described in tutorial #3
Comments
Since the tutorial cannot control the build status of that project, I suggest to indicate in the tutorial the checkout a given SHA1 or tag. |
I also tried to download authzforce dependencies as described in tutorial, with following command:
It fails (folllowing the output), it is definitely an issue related to downloading a required AuthzForce dependency
|
Hi @danzone! As suggested by @vmassol I have updated the checkout command to get the latest released version of the project. The missing dependency is an artifact that could not be built in the project.
Using the latest released version should solve this. |
Dear @xdevroey, I made some progress: now it's able to update all NVE CVD, but it fails on another module:
|
OK, one step further: I added proxy settings to
Now I can proceed with the tutorial. I will keep you informed, and I will close this issue once I complete with success the tutorial itself. |
I have tried several times to build authzforce-core, failing each time with the same error as in the first post. I have cloned the release-13.3.1 branch as the tutorial now says. I have tried adding the proxy settings from @danzone. I still get warnings on some of the NVD CVE downloads failing. Complete output from last attempt included. |
Hi @ltboye, from the log you provided, I see that there is a problem with the dependency-check plugin. In the documentation, they indicate that you need to setup the configuration if you use a proxy. Alternatively, you can also add the following element to the parent
|
Dear @xdevroey, I have been able to complete the tutorial, yesterday. Then I started with the model generation.
Following the output of generation of behavioural models:
Then I started to generate new test cases with the command:
Following the output:
Please find attached the new generated test cases. The strange thing is that all generated tests don't contain any assertion, just failing condition on expected exception. Don't know whether this is simply related to this specific project behavioral model |
Dear @xdevroey, today I performed further experiments, in order to gain some familiarity with this new tool, but unexpectedly I'm facing again compilation issues. I tried before to re-run to whole tutorial on authzforce repository I cloned yesterday (version: authzforce-core.13.3.2-SNAPSHOT). But it fails, complainaing about one or more errors during dependency-ceck analysis (Maven goal:
So I decided to follow your advice to work on branch release 13.3.1:
got following output:
I perfomed following commands:
But the errors remain the same. Following the output:
I can't figure out what's going on here. |
@xdevroey I am not using any proxy as far I as know. Skipping the dependency check with your suggested addition to the pom did the trick, and it builds. |
Continuing the tutorial, I was able to get test coverage with jacoco. Trying to generate mutation score with pit gave me an error: mvn test runs ok, but I still get same error with pit. The tutorial specifies how to use the "export" command on Windows, but Windows does not have this command. I tried to continue the tutorial with Git bash on Windows, but it doesn't seem to work. Running the export command, there was no error message (but no other feedback either). But trying to run botsing-model-generation, there is an error: $ java -d64 -Xmx10000m -jar evosuite-model-seeding-tutorial/bin/botsing-model-generation-1.0.4-SNAPSHOT-jar-with-dependencies.jar \
|
With some help in Stockholm, I was able to complete the tutorial. On Windows I needed to use git-bash but with Windows separator path separator in authzforce_classpath. A test class with 13 new tests was created. |
Hi all, I solved the problem of installation of AuthZForce. |
Characteristics
Description
Following tutorial, a step
mvn clean install
I got following errors (complete maven output):Steps to reproduce
Execute tutorial as described at https://github.com/STAMP-project/evosuite-model-seeding-tutorial:
I'm not behind a proxy.
The text was updated successfully, but these errors were encountered: