dev@glassfish.java.net

Re: v3 trunk build is too slow?

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Wed, 31 Mar 2010 22:07:41 -0700

There is still a problem with downloads: the build doesn't move past the
1st 2 lines:

[INFO] Scanning for projects...
Downloading:
http://download.java.net/maven/glassfish/org/glassfish/pom/8/pom-8.pom

-marina

Jane Young wrote:
> Can you try building with a clean maven repo (remove ~/.m2/respository
> or use -Dmaven.repo.local)?
>
> Thanks,
> Jane
>
> Marina Vatkina wrote:
>> I was too optimistic - the build is sitting there after these lines:
>>
>> Running com.sun.enterprise.universal.xml.MiniXmlParserTest
>> This exception is expected. Here it is:
>> com.sun.enterprise.universal.xml.MiniXmlParserException: "Could not
>> find the config (server-config) for server
>>
>>
>> I updated my ws. today around 1 or 2pm.
>>
>> -marina
>>
>> 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
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>