My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3135: WIP Plugin: get a 'fetch failure on changes' error when attempting to use WIP feature
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Jan 2015
Cc:  David.Os...@gmail.com


Sign in to add a comment
 
Project Member Reported by zaro0508, Jan 28, 2015
Affected Version: Gerrit ver 2.9.4, WIP plugin ver 2.9

What steps will reproduce the problem?
1. built the Work In Progress plugin from stable-2.9 branch[1] against Gerrit core 2.9.4 branch[2] 
2. create a new Gerrit site
3. install built WIP plugin
4. push some changes to gerrit
5. WIP button appears on the new change screen
6. Click on white WIP button and enter some text then click on blue whip button to apply it.

What is the expected output? What do you see instead?
The change should be put into WIP state instead Internal Server error appears on UI.  Gerrit log is attached, it contains a bunch of failures which appears to be SQL related.  

[1] https://gerrit.googlesource.com/plugins/wip/+/stable-2.9
[2] https://gerrit.googlesource.com/gerrit/+/stable-2.9
wip-error.txt
148 KB   View   Download
Jan 28, 2015
Project Member #1 zaro0508
(No comment was entered for this change.)
Owner: ---
Cc: David.Os...@gmail.com
Jan 28, 2015
Project Member #2 zaro0508
The error looked like a MySQL specific failure so I tried running the gerrit site against a fresh mysql db (ver 5.5.38-0ubuntu0.14.04.1).  Once I did that this error no longer occurs.  So the error in this bug is specific to using the H2 DB.  
Jan 28, 2015
Project Member #3 David.Os...@gmail.com
Yes, i wonder if you have old H2 driver? Does the newest one solves that problem for H2 as well?
Jan 28, 2015
Project Member #4 zaro0508
Gerrit 2.9.4 seems to have a custom implementation of H2?  I see some code in the gerrit-cache-h2 foler.  Is it even possible to swap with with an upstream implementation?  Anyways it looks like it may take some work to do use the latest upstream of that lib. 
Jan 28, 2015
Project Member #5 David.Os...@gmail.com
OK, i can reproduce it, and i have an idea what going wrong here. This is not H2 bug.
Status: Accepted
Jan 28, 2015
Project Member #6 David.Os...@gmail.com
https://gerrit-review.googlesource.com/63816
Status: ChangeUnderReview
Jan 29, 2015
Project Member #7 David.Os...@gmail.com
(No comment was entered for this change.)
Status: Submitted
Labels: FixedIn-2.11
Apr 16, 2015
Project Member #8 david.pu...@sonymobile.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting