It is currently 24 Apr 2024, 23:01
   
Text Size

Forge version 1.5.34

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Forge version 1.5.34

Postby Chris H. » 31 Jan 2015, 15:42

My efforts to do a beta build and deploy ended in a failure.

Code: Select all
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Forge Parent ....................................... SUCCESS [04:03 min]
[INFO] [INFO] Forge Core ......................................... SUCCESS [02:16 min]
[INFO] [INFO] Forge Game ......................................... SUCCESS [07:00 min]
[INFO] [INFO] Forge AI ........................................... SUCCESS [02:42 min]
[INFO] [INFO] Forge Net .......................................... SUCCESS [ 48.990 s]
[INFO] [INFO] Forge Gui .......................................... SUCCESS [04:09 min]
[INFO] [INFO] Forge .............................................. SKIPPED
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 25:37 min
[INFO] [INFO] Finished at: 2015-01-31T10:29:05-05:00
[INFO] [INFO] Final Memory: 75M/317M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] PermGen space -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge Parent ....................................... FAILURE [30:28 min]
[INFO] Forge Core ......................................... SUCCESS [  2.833 s]
[INFO] Forge Game ......................................... SUCCESS [  3.148 s]
[INFO] Forge AI ........................................... SUCCESS [  0.697 s]
[INFO] Forge Net .......................................... SUCCESS [  0.107 s]
[INFO] Forge Gui .......................................... SUCCESS [  1.558 s]
[INFO] Forge .............................................. SUCCESS [01:32 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32:11 min
[INFO] Finished at: 2015-01-31T10:29:06-05:00
[INFO] Final Memory: 34M/206M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:perform (default-cli) on project forge: Maven execution failed, exit code: '1' -> [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/MojoExecutionException
logout

[Process completed]

 
I had removed "site" from my Maven goal and yet noticed a lot of report generation and uploading going on.
 
Attachments
log.txt.zip
(280.76 KiB) Downloaded 469 times
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge version 1.5.34

Postby Chris H. » 31 Jan 2015, 15:44

Chris H. wrote:My efforts to add in the missing credentials must have worked.
 
Hey KTF, I think that I now understand the credentials problem that you were having.
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: Forge version 1.5.34

Postby KrazyTheFox » 31 Jan 2015, 16:07

Chris H. wrote:
Chris H. wrote:My efforts to add in the missing credentials must have worked.
 
Hey KTF, I think that I now understand the credentials problem that you were having.
Could you PM to me what you did for future reference? If I ever need to do another build that'll be very helpful.

Also, I'm not sure why it's still uploading stuff—I'd like to re-write the poms sometime since they're needlessly complex at the moment. As for the error, though, it looks like Maven ran out of memory. You can fix that (I think) with this environment variable:
Code: Select all
export MAVEN_OPTS='-Xmx2048m -XX:MaxPermSize=2048m'
(or similar parameters)

One thing that the current deployment does is create and upload the full collection of .pom, .jar, and hashes to cardforge. If this is something we don't need then the deployment can be drastically simplified and a lot of time saved. I'll need to do some testing of this as I'm not terribly familiar with the way Maven deploys stuff.

Regardless, it appears that the 1.5.34 release was successful on the cardforge site and that should work until the next release.
User avatar
KrazyTheFox
Programmer
 
Posts: 725
Joined: 18 Mar 2014, 23:51
Has thanked: 66 times
Been thanked: 226 times

Re: Forge version 1.5.34

Postby Chris H. » 31 Jan 2015, 22:33

Thank you KTF.

I posted a release message.

I added the maven opts to my bash.profile. Previously it had only

Code: Select all
export MAVEN_OPTS='-Xmx1024m'
 
I will send you a pm with the details in a day or two as I am also trying to paint the dinning room this weekend. :)
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 67 guests


Who is online

In total there are 67 users online :: 0 registered, 0 hidden and 67 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 67 guests

Login Form