| Issue 3539: | Error Delete Plugin | |
| 6 people starred this issue and may be notified of changes. | Back to list |
*****************************************************************
***** *****
***** !!!! THIS BUG TRACKER IS FOR GERRIT CODE REVIEW !!!! *****
***** *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, CYANOGENMOD, *****
***** INTERNAL ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.*****
***** *****
***** THOSE ISSUES BELONG IN DIFFERENT ISSUE TRACKERS *****
***** *****
*****************************************************************
Affected Version:
What steps will reproduce the problem?
1. Connect to tuleap as administrator
2. Go to git section -> settings button -> gerrit tab
3. Disconnect from gerrit section -> Select "Also delete project on gerrit"
4. Generate error in logs/error_log
What is the expected output? What do you see instead?
ERROR com.google.gerrit.httpd.restapi.RestApiServlet : Error in DELETE /a/projects/tggitest%2FTGGITest
java.nio.file.FileSystemException: /srv/gitRepos/tggitest -> /srv/gitRepos/tggitest/TGGITest.1440922387678.deleted: Invalid argument
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixCopyFile.move(UnixCopyFile.java:396)
at sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:262)
at java.nio.file.Files.move(Files.java:1395)
at com.googlesource.gerrit.plugins.deleteproject.fs.FilesystemDeleteHandler.moveToTrash(FilesystemDeleteHandler.java:144)
at com.googlesource.gerrit.plugins.deleteproject.fs.FilesystemDeleteHandler.deleteGitRepository(FilesystemDeleteHandler.java:112)
at com.googlesource.gerrit.plugins.deleteproject.fs.FilesystemDeleteHandler.delete(FilesystemDeleteHandler.java:79)
at com.googlesource.gerrit.plugins.deleteproject.DeleteProject.doDelete(DeleteProject.java:150)
at com.googlesource.gerrit.plugins.deleteproject.DeleteProject.apply(DeleteProject.java:104)
at com.googlesource.gerrit.plugins.deleteproject.DeleteProject.apply(DeleteProject.java:49)
at com.google.gerrit.httpd.restapi.RestApiServlet.service(RestApiServlet.java:322)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
Please provide any additional information below.
Aug 30, 2015
#1
sina.tad...@gmail.com
Aug 30, 2015
This looks more like an issue with tuleap than gerrit itself.
Aug 30, 2015
I have been tested delete plugin from ssh then as a result do nothing. version: delete-plugin-2.11.1
Sep 15, 2015
> This looks more like an issue with tuleap than gerrit itself. No, it isn't. I have the same problem with a clean Gerrit standalone installation: [2015-09-15 09:17:55,096] ERROR com.google.gerrit.httpd.restapi.RestApiServlet : Error in POST /projects/sdm%2Fsdm-hybrid/deleteproject~delete java.nio.file.FileSystemException: /var/lib/gerrit2/git/sdm -> /var/lib/gerrit2/git/sdm/sdm-hybrid.1442301475095.deleted: Invalid argument Gerrit 2.11.3 deleteproject v2.11.3
Sep 15, 2015
This issue should be fixed by (the meanwhile merged): https://gerrit-review.googlesource.com/#/c/70542/
Sep 16, 2015
This didn't solve problem for me...
Sep 16, 2015
What version of the delete-project plugin are you using?
Sep 16, 2015
I have Gerrit 2.11.3 and deleteproject 2.11.3
Sep 16, 2015
As you only listed the version number and not the commit hash, I assume that you're running a too old delete-project plugin. The fix only got merged yesterday (2015-09-15). You can try running a nightly deleteproject jar which has the fix included. For example: http://builds.quelltextlich.at/gerrit/nightly/stable-2.11/2015-09-16/delete-project.jar has the fix included (it is built from commit 9eb4988b).
Sep 16, 2015
You are right, I was running an old plugin... Sorry about that, now it works! Thank`s!
Sep 16, 2015
I've tried 9eb4988b build, and now I'm getting another error: {"preserve":false,"force":true} com.google.gwtorm.server.OrmConcurrencyException: Concurrent modification detected
|
|
| ► Sign in to add a comment |