dev@glassfish.java.net

Re: v3 trunk build is too slow?

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Wed, 31 Mar 2010 21:56:42 -0700

Thanks for letting me know. I'll look into how to improve "-U". From
the build output, looks like it's checking the SNAPSHOTs in the all the
repositories.

Jane

Marina Vatkina wrote:
> -U still waits too long, but clean build is running quite nicely.
>
> thanks,
> -marina
>
> Jane Young wrote:
>> Hi Marina,
>>
>> Is it still slow? I restarted Nexus. It was taking up 100% CPU on
>> maven.glassfish.org. Can you try again?
>>
>> Thanks,
>> Jane
>>
>>
>> Marina Vatkina wrote:
>>> It's not hanging, it's running very-very slowly (in an hour it
>>> didn't yet finish building common/glassfish-api module).
>>>
>>> sorry about the confusion (and I adjusted the subject :) ),
>>> -marina
>>>
>>> Jane Young wrote:
>>>> No sure what's going on... The continuous build that started at
>>>> 4:31pm on gf-hudson
>>>> (http://gf-hudson.sfbay/hudson/job/gf-trunk-build-continuous/3945/)
>>>> took 26min. My local build is still running but it's not hanging.
>>>> Jane
>>>>
>>>> Marina Vatkina wrote:
>>>>
>>>>> It is slowly building, but so slowly that it feels like the build
>>>>> is hanging at each download :(
>>>>>
>>>>> thanks,
>>>>> -marina
>>>>>
>>>>> Jane Young wrote:
>>>>>
>>>>>> Jane Young wrote:
>>>>>>
>>>>>>> That's strange... I can download
>>>>>>> http://maven.glassfish.org/content/groups/glassfish/com/sun/enterprise/config/1.0.6/config-1.0.6.jar
>>>>>>> with no issues.
>>>>>>> I'm building locally and see if I can reproduce the hanging
>>>>>>> you're facing.
>>>>>>>
>>>>>>> Jane
>>>>>>>
>>>>>>>
>>>>>>> Marina Vatkina wrote:
>>>>>>>
>>>>>>>> It was with -U. But even without -U 'mvn
>>>>>>>> -Dmaven.repo.local=/export/m3 clean build' takes forever (and I
>>>>>>>> renamed settings.xml):
>>>>>>>>
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> [INFO] Building GlassFish Parent Project
>>>>>>>> [INFO] task-segment: [clean, install]
>>>>>>>> [INFO]
>>>>>>>> ------------------------------------------------------------------------
>>>>>>>>
>>>>>>>> [INFO] [clean:clean]
>>>>>>>> [INFO] [enforcer:enforce {execution: enforce-versions}]
>>>>>>>> [INFO] [osgiversion:compute-osgi-version {execution:
>>>>>>>> compute-osgi-version}]
>>>>>>>> Downloading:
>>>>>>>> http://maven.glassfish.org/content/groups/glassfish/com/sun/enterprise/config/1.0.6/config-1.0.6.jar
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> and it stays there :(
>>>>>>>>
>>>>>>>> -marina
>>>>>>>>
>>>>>>>> Jane Young wrote:
>>>>>>>>
>>>>>>>>> Looks like it's checking for SNAPSHOT updates in all the
>>>>>>>>> repositories.
>>>>>>>>> Are you building with "mvn -U install"? Are you overriding
>>>>>>>>> the repository element in your settings.xml (<home>/.m2)?
>>>>>>>>>
>>>>>>>>> 2 hours is way too long. I'd just stop the build and check
>>>>>>>>> settings.xml. To be sure that it does not override, you can
>>>>>>>>> rename settings.xml to settings.xml-tmp and restart your build.
>>>>>>>>>
>>>>>>>>> Jane
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Marina Vatkina wrote:
>>>>>>>>>
>>>>>>>>>> Local build. In 2 hours this is all the output that I got:
>>>>>>>>>>
>>>>>>>>>> <...>
>>>>>>>>>> [INFO] OSGi/JTA implementation in GlassFish
>>>>>>>>>> [INFO] Build aggregator for various OSGi/JavaEE modules
>>>>>>>>>> WAGON_VERSION: 1.0-beta-2
>>>>>>>>>> [INFO] snapshot
>>>>>>>>>> org.glassfish.build:maven-glassfishbuild-extension:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from glassfish-repository
>>>>>>>>>> [INFO] snapshot
>>>>>>>>>> org.glassfish.build:maven-glassfishbuild-extension:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from java.net
>>>>>>>>>> [INFO] snapshot
>>>>>>>>>> org.glassfish.build:maven-glassfishbuild-extension:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from glassfish-repo-archive
>>>>>>>>>> [INFO] snapshot org.glassfish.build:build:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from glassfish-repository
>>>>>>>>>> [INFO] snapshot org.glassfish.build:build:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from java.net
>>>>>>>>>> [INFO] snapshot org.glassfish.build:build:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from glassfish-repo-archive
>>>>>>>>>> [INFO] snapshot
>>>>>>>>>> org.glassfish.build:maven-glassfishbuild-plugin:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from glassfish-repo-archive
>>>>>>>>>> [INFO] snapshot
>>>>>>>>>> org.glassfish.build:maven-glassfishbuild-plugin:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from glassfish-repository
>>>>>>>>>> [INFO] snapshot
>>>>>>>>>> org.glassfish.build:maven-glassfishbuild-plugin:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from java.net
>>>>>>>>>> [INFO] snapshot
>>>>>>>>>> org.glassfish.build:maven-glassfishbuild-plugin:3.1-SNAPSHOT:
>>>>>>>>>> checking for updates from glassfish-repo-archive
>>>>>>>>>>
>>>>>>>>>> -marina
>>>>>>>>>>
>>>>>>>>>> Jane Young wrote:
>>>>>>>>>>
>>>>>>>>>>> Is this happening in your local build ?
>>>>>>>>>>>
>>>>>>>>>>> Hudson continuous build is taking about 30 min with a clean
>>>>>>>>>>> maven repo while dev is taking about 13min with an existing
>>>>>>>>>>> maven repo:
>>>>>>>>>>> http://gf-hudson.sfbay/hudson/view/GFv3%20Trunk/job/gf-trunk-build-continuous/
>>>>>>>>>>>
>>>>>>>>>>> http://gf-hudson.sfbay/hudson/view/GFv3%20Trunk/job/gf-trunk-build-dev/
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Where is it hanging?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Marina Vatkina wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Is it a known problem or I need to change my setup somehow?
>>>>>>>>>>>>
>>>>>>>>>>>> thanks,
>>>>>>>>>>>> -marina
>>>>>>>>>>>>
>>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>>
>>>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>>>>> For additional commands, e-mail:
>>>>>>>>>>>> dev-help_at_glassfish.dev.java.net
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>
>>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>>>> For additional commands, e-mail:
>>>>>>>>>>> dev-help_at_glassfish.dev.java.net
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>
>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>