-
Notifications
You must be signed in to change notification settings - Fork 500
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
Vagrant fails to build a war file #2744
Comments
@bricas thanks for the heads up about this. I see a similar elsewhere. I just tested the 2731-techupdate branch yesterday as part of #2151 and artifacts should be downloaded fresh in an ~/.m2 directory on the VM. Yesterday a collaborator at @sbgrid mentioned Vagrant couldn't build war from 3612859 which is what we tagged as 4.2.1: https://github.com/IQSS/dataverse/tree/v4.2.1 Where there's smoke there's fire... As a workaround you can grab the war file from https://github.com/IQSS/dataverse/releases/download/v4.2.1/dataverse-4.2.1.war so that Vagrant doesn't have to built it but let's leave this issue open until we've confirmed that Vagrant is still able to build a war file. I would start with |
I switched to the v4.2.1 tag and I'm having trouble with
Hopefully these are transient problems. I just added to my growing list of automated testing ideas at #2746 the idea that we should test I'm going to try again in a new branch in a bit related to #2628 and I'll report back. |
I was getting that same error just now too -- but it seems to have been resolved. FYI, I tried to destroy and re-up a number of times yesterday (into this morning) and had the exact same issue i initially reported. I'm currently attempting to |
Success! |
Ok, I messed around with Vagrant a bit more in a new 2628-payara branch (forked from 2731-techupdate branch) and the Vagrant part seems to work fine: 1c0c7be Since @bricas says Vagrant is now working on the v4.2.1 tag I'm going to close this issue. (This was blessed by @kcondon .) Maybe it was a transient problem, my favorite. @bricas if you have ideas for making this the Vagrant setup more robust, please let me know. People like @posixeleni sometimes use it such as when she is editing tsv files for metadata blocks. I have an email thread going with @sbgrid so I'll ask them to reopen this issue or create a new one if the problem they're seeing is different. |
My vagrant only worked with the pre-built .war file Without it, the build step failed every time in the exact same way as originally reported. |
@bricas hmm. Let me re-open this issue then, and think about it some more. |
I just tried
...
Here's the output: vagrant-up-fail-4a3e7b2.txt Vagrant is really only used for demonstration and testing purposes but I'm going to go ahead and put this in the 4.2.2 milestone since I'm having trouble in that branch. Heads up to @scolapasta As I said earlier at #2744 (comment) I believe |
Interesting... |
Also fix hardcoded "dataverse-4.0.war" filename.
In ef1720b I added @bricas thanks for pointing out that Vagrant was failing to build the war file (I updated the subject of this issue). I made my fix in the 4.2.2 branch so when we tag it, people should be able to get |
I've checked out the v4.2.1 tag and tried to do a
vagrant up
, but it keeps failing on building the .war file. I've add -X to the maven command and I'm getting this output:The stange thing is that I can do
and get this output:
Any thoughts?
The text was updated successfully, but these errors were encountered: