Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Buckminster headless SVN not working (Juno)
Buckminster headless SVN not working (Juno) [message #1220466] Wed, 11 December 2013 18:23 Go to next message
Philip Bedingfield is currently offline Philip Bedingfield
Messages: 42
Registered: August 2011
Member
I'm trying to setup buckminster headless 4.2 but I can't get svn working.

Here is my headless ->

D:\buckminster-headless-4.2-NEW>buckminster listsite
Features:
org.eclipse.buckminster.core.headless.feature (%featureName)
org.eclipse.buckminster.cvs.headless.feature (%featureName)
org.eclipse.buckminster.pde.headless.feature (%featureName)
org.eclipse.buckminster.product (%featureName)
org.eclipse.buckminster.subversive.headless.feature (%featureName)
org.eclipse.equinox.p2.core.feature (%featureName)
org.eclipse.equinox.p2.director.feature (%featureName)

D:\buckminster-headless-4.2-NEW>

Am I missing something?

I'm using Jenkins, the out put is ->

ERROR [0001] : Rejecting provider svn(http://{0}:{1}@tmb-s6-buildsrv:81/svn/ssdi/head/ssdi/{2}[http://buck:svn@tmb-s6-buildsrv:81/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.releng]): No component match was found
ERROR java.lang.NullPointerException

Any help much appreciated.
Re: Buckminster headless SVN not working (Juno) [message #1220495 is a reply to message #1220466] Thu, 12 December 2013 03:18 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3228
Registered: July 2009
Senior Member
Looks like a bug. Can you run with loglevel DEBUG and get a full stack trace?

- thomas

On 2013-12-12 00:23, Philip Bedingfield wrote:
> I'm trying to setup buckminster headless 4.2 but I can't get svn working.
>
> Here is my headless ->
>
> D:\buckminster-headless-4.2-NEW>buckminster listsite
> Features:
> org.eclipse.buckminster.core.headless.feature (%featureName)
> org.eclipse.buckminster.cvs.headless.feature (%featureName)
> org.eclipse.buckminster.pde.headless.feature (%featureName)
> org.eclipse.buckminster.product (%featureName)
> org.eclipse.buckminster.subversive.headless.feature (%featureName)
> org.eclipse.equinox.p2.core.feature (%featureName)
> org.eclipse.equinox.p2.director.feature (%featureName)
>
> D:\buckminster-headless-4.2-NEW>
>
> Am I missing something?
>
> I'm using Jenkins, the out put is ->
>
> ERROR [0001] : Rejecting provider
> svn(http://{0}:{1}@tmb-s6-buildsrv:81/svn/ssdi/head/ssdi/{2}[http://buck:svn@tmb-s6-buildsrv:81/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.releng]):
> No component match was found
> ERROR java.lang.NullPointerException
>
> Any help much appreciated.
Re: Buckminster headless SVN not working (Juno) [message #1220661 is a reply to message #1220495] Thu, 12 December 2013 18:11 Go to previous messageGo to next message
Philip Bedingfield is currently offline Philip Bedingfield
Messages: 42
Registered: August 2011
Member
This is with debug on ->

au.gov.nsw.rms.ssdi.client.releng:buckminster: Using search path svn.ssdi
au.gov.nsw.rms.ssdi.client.releng:buckminster: Trying provider svn(http://{0}:{1}svn_hostname:port/svn/ssdi/head/ssdi/{2}[http://username:password@svn_hostname:port/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.releng])
INFO: System property http.proxyHost is not set but should be proxy-hostname.
INFO: System property http.proxyPort is not set but should be portnumber.
au.gov.nsw.rms.ssdi.client.releng:buckminster: trunk/head will be searched
Listing remote folder http://svn_hostname:port/svn/ssdi/head/ssdi#HEAD
au.gov.nsw.rms.ssdi.client.releng:buckminster: Rejecting provider svn(http://{0}:{1}@svn_hostname:port/svn/ssdi/head/ssdi/{2}[http://username:password@svn_hostname:port/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.releng]): No component match was found
au.gov.nsw.rms.ssdi.client.releng:buckminster: No provider was found that could resolve the request
ERROR [0001] : No suitable provider for component au.gov.nsw.rms.ssdi.client.releng:buckminster was found in resourceMap file:/D:/Jenkins/jobs/SSDI%20Continuous/workspace/ssdi.rmap
ERROR [0001] : No suitable provider for component au.gov.nsw.rms.ssdi.client.releng:buckminster was found in searchPath localsources
ERROR [0001] : Resolution attempt ended with exception: Provider local(D:/Jenkins/jobs/SSDI Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng): Missing CSpec source required by component type buckminster
ERROR Provider local(D:/Jenkins/jobs/SSDI Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng): Missing CSpec source required by component type buckminster
ERROR [0001] : No suitable provider for component au.gov.nsw.rms.ssdi.client.releng:buckminster was found in searchPath eclipse
ERROR [0001] : Rejecting provider p2({0}[http://tmb-bs-tmis01/targetPlatform/juno]): Components of type buckminster are not supported
ERROR [0001] : No suitable provider for component au.gov.nsw.rms.ssdi.client.releng:buckminster was found in searchPath svn.ssdi
ERROR [0001] : Rejecting provider svn(http://{0}:{1}@tmb-s6-buildsrv:81/svn/ssdi/head/ssdi/{2}[http://username:password@svn_hostname:port/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.releng]): No component match was found
ERROR java.lang.NullPointerException
INFO: TAG-ID 0001 = Query for au.gov.nsw.rms.ssdi.client.releng:buckminster

Doing full workspace refresh
Waiting for jobs to end
Build step 'Run Buckminster' marked build as failure
Archiving artifacts
An attempt to send an e-mail to empty list of recipients, ignored.
Notifying upstream projects of job completion
Finished: FAILURE
Re: Buckminster headless SVN not working (Juno) [message #1220665 is a reply to message #1220661] Thu, 12 December 2013 19:01 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3228
Registered: July 2009
Senior Member
The message of interest here is probably:

ERROR [0001] : Resolution attempt ended with exception: Provider local(D:/Jenkins/jobs/SSDI
Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng): Missing CSpec source required by component type buckminster

which indiciates that Buckminster was unable to find a buckminster.cspec file at the root of
au.gov.nsw.rms.ssdi.client.releng. Is there such a file? If there is, is it syntactically correct and have required
attributes such as the name and version?

- thomas

On 2013-12-13 00:11, Philip Bedingfield wrote:
> This is with debug on ->
>
> au.gov.nsw.rms.ssdi.client.releng:buckminster: Using search path svn.ssdi
> au.gov.nsw.rms.ssdi.client.releng:buckminster: Trying provider
> svn(http://{0}:{1}svn_hostname:port/svn/ssdi/head/ssdi/{2}[http://username:password@svn_hostname:port/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.releng])
>
> INFO: System property http.proxyHost is not set but should be proxy-hostname.
> INFO: System property http.proxyPort is not set but should be portnumber.
> au.gov.nsw.rms.ssdi.client.releng:buckminster: trunk/head will be searched
> Listing remote folder http://svn_hostname:port/svn/ssdi/head/ssdi#HEAD
> au.gov.nsw.rms.ssdi.client.releng:buckminster: Rejecting provider
> svn(http://{0}:{1}@svn_hostname:port/svn/ssdi/head/ssdi/{2}[http://username:password@svn_hostname:port/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.releng]):
> No component match was found
> au.gov.nsw.rms.ssdi.client.releng:buckminster: No provider was found that could resolve the request
> ERROR [0001] : No suitable provider for component au.gov.nsw.rms.ssdi.client.releng:buckminster was found in
> resourceMap file:/D:/Jenkins/jobs/SSDI%20Continuous/workspace/ssdi.rmap
> ERROR [0001] : No suitable provider for component au.gov.nsw.rms.ssdi.client.releng:buckminster was found in
> searchPath localsources
> ERROR [0001] : Resolution attempt ended with exception: Provider local(D:/Jenkins/jobs/SSDI
> Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng): Missing CSpec source required by component type buckminster
> ERROR Provider local(D:/Jenkins/jobs/SSDI Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng): Missing CSpec
> source required by component type buckminster
> ERROR [0001] : No suitable provider for component au.gov.nsw.rms.ssdi.client.releng:buckminster was found in
> searchPath eclipse
> ERROR [0001] : Rejecting provider p2({0}[http://tmb-bs-tmis01/targetPlatform/juno]): Components of type
> buckminster are not supported
> ERROR [0001] : No suitable provider for component au.gov.nsw.rms.ssdi.client.releng:buckminster was found in
> searchPath svn.ssdi
> ERROR [0001] : Rejecting provider
> svn(http://{0}:{1}@tmb-s6-buildsrv:81/svn/ssdi/head/ssdi/{2}[http://username:password@svn_hostname:port/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.releng]):
> No component match was found
> ERROR java.lang.NullPointerException
> INFO: TAG-ID 0001 = Query for au.gov.nsw.rms.ssdi.client.releng:buckminster
>
> Doing full workspace refresh
> Waiting for jobs to end
> Build step 'Run Buckminster' marked build as failure
> Archiving artifacts
> An attempt to send an e-mail to empty list of recipients, ignored.
> Notifying upstream projects of job completion
> Finished: FAILURE
Re: Buckminster headless SVN not working (Juno) [message #1220672 is a reply to message #1220665] Thu, 12 December 2013 20:46 Go to previous messageGo to next message
Philip Bedingfield is currently offline Philip Bedingfield
Messages: 42
Registered: August 2011
Member
To answer your question, NO it doesn't exist and neither does the project "D:/Jenkins/jobs/SSDI Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng"

ERROR [0001] : Resolution attempt ended with exception: Provider local(D:/Jenkins/jobs/SSDI Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng): Missing CSpec source required by component type buckminster

So why is it complaining about a missing CSpec?

[Updated on: Thu, 12 December 2013 22:21]

Report message to a moderator

Re: Buckminster headless SVN not working (Juno) [message #1220678 is a reply to message #1220672] Thu, 12 December 2013 22:12 Go to previous messageGo to next message
Philip Bedingfield is currently offline Philip Bedingfield
Messages: 42
Registered: August 2011
Member
I've got Jenkins to explicitly checkout releng into "au.gov.nsw.rms.ssdi.client.releng" and now it gets past that point, however it fails on the very next project which is the main feature ->

No materialization found for org.eclipse.help:eclipse.feature/[1.4.1.v20120912-144938-8R7xFOXFLWUl7PpNBh_HIGkb4,1.4.1.v20120912-144938-8R7xFOXFLWUl7PpNBh_HIGkb4]
org.eclipse.ui.views.properties.tabbed:osgi.bundle/[3.5.300.v20120912-132807,3.5.300.v20120912-132807]: Using search path localsources
org.eclipse.help:eclipse.feature/[1.4.1.v20120912-144938-8R7xFOXFLWUl7PpNBh_HIGkb4,1.4.1.v20120912-144938-8R7xFOXFLWUl7PpNBh_HIGkb4]: Trying provider local(workspace)
No open workspace project found that corresponds to org.eclipse.help:eclipse.feature/[1.4.1.v20120912-144938-8R7xFOXFLWUl7PpNBh_HIGkb4,1.4.1.v20120912-144938-8R7xFOXFLWUl7PpNBh_HIGkb4]
ERROR [0002] : No suitable provider for component au.gov.nsw.rms.ssdi.client.product.feature:eclipse.feature was found in resourceMap file:/D:/Jenkins/jobs/SSDITest/workspace/au.gov.nsw.rms.ssdi.client.releng/ssdi.rmap
ERROR [0002] : No suitable provider for component au.gov.nsw.rms.ssdi.client.product.feature:eclipse.feature was found in searchPath localsources
ERROR [0002] : Resolution attempt ended with exception: Provider local(D:/Jenkins/jobs/SSDITest/workspace/au.gov.nsw.rms.ssdi.client.product.feature): Missing CSpec source required by component type eclipse.feature
ERROR Provider local(D:/Jenkins/jobs/SSDITest/workspace/au.gov.nsw.rms.ssdi.client.product.feature): Missing CSpec source required by component type eclipse.feature
ERROR [0002] : No suitable provider for component au.gov.nsw.rms.ssdi.client.product.feature:eclipse.feature was found in searchPath eclipse
ERROR [0002] : Rejecting provider p2({0}[http://tmb-bs-tmis01/targetPlatform/juno]): No component match was found
ERROR [0002] : No suitable provider for component au.gov.nsw.rms.ssdi.client.product.feature:eclipse.feature was found in searchPath svn.ssdi
ERROR [0002] : Rejecting provider svn(http://{0}:{1}@tmb-s6-buildsrv:81/svn/ssdi/head/ssdi/{2}[http://buck:svn@tmb-s6-buildsrv:81/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.product.feature]): No component match was found
ERROR java.lang.NullPointerException

It's like buckminster expects it to be local. My rmap looks like this ->


<rm:locator searchPathRef="localsources" failOnError="false"/>
<rm:locator searchPathRef="eclipse" failOnError="false"/>
<rm:locator pattern="^jashkel$" searchPathRef="svn.jashkel" />
<rm:locator pattern="^jcodelib$" searchPathRef="svn.jcodelib" />
<rm:locator pattern="^jpdobjectslibrary$" searchPathRef="svn.jpdobjectslibrary" />
<rm:locator pattern="^org.apache.commons$" searchPathRef="svn.tsb.common" />
<rm:locator searchPathRef="svn.ssdi" />

BTW
http://tmb-s6-buildsrv:81/svn/ssdi/head/ssdi/au.gov.nsw.rms.ssdi.client.product.feature/
does exit. I can put it into a browser and it works fine.

[Updated on: Thu, 12 December 2013 22:18]

Report message to a moderator

Re: Buckminster headless SVN not working (Juno) [message #1220680 is a reply to message #1220678] Thu, 12 December 2013 22:24 Go to previous messageGo to next message
Philip Bedingfield is currently offline Philip Bedingfield
Messages: 42
Registered: August 2011
Member
BTW this project builds with buckminster headless 3.7. Were there any significant changes between 3.x and 4.x?
Re: Buckminster headless SVN not working (Juno) [message #1220699 is a reply to message #1220672] Fri, 13 December 2013 02:36 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3228
Registered: July 2009
Senior Member
On 2013-12-13 02:46, Philip Bedingfield wrote:
> ERROR [0001] : Resolution attempt ended with exception: Provider local(D:/Jenkins/jobs/SSDI
> Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng): Missing CSpec source required by component type buckminster
>
> But the project "D:/Jenkins/jobs/SSDI Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng" doesn't exist in the
> workspace. So why is it complaining about a missing CSpec?
>
>
Because it tries to obtain metadata about the project from its remote location. Does it contain a buckminster.cspec file?

- thomas
Re: Buckminster headless SVN not working (Juno) [message #1220840 is a reply to message #1220699] Fri, 13 December 2013 22:32 Go to previous messageGo to next message
Philip Bedingfield is currently offline Philip Bedingfield
Messages: 42
Registered: August 2011
Member
Thomas Hallgren wrote on Fri, 13 December 2013 02:36
On 2013-12-13 02:46, Philip Bedingfield wrote:
> ERROR [0001] : Resolution attempt ended with exception: Provider local(D:/Jenkins/jobs/SSDI
> Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng): Missing CSpec source required by component type buckminster
>
> But the project "D:/Jenkins/jobs/SSDI Continuous/workspace/au.gov.nsw.rms.ssdi.client.releng" doesn't exist in the
> workspace. So why is it complaining about a missing CSpec?
>
>
Because it tries to obtain metadata about the project from its remote location. Does it contain a buckminster.cspec file?

- thomas


No the project doesn't exist in that location, so why is it looking for the metadata? Shouldn't it try the next location?

[Updated on: Fri, 13 December 2013 22:33]

Report message to a moderator

Re: Buckminster headless SVN not working (Juno) [message #1220905 is a reply to message #1220840] Sun, 15 December 2013 22:59 Go to previous message
Philip Bedingfield is currently offline Philip Bedingfield
Messages: 42
Registered: August 2011
Member
FIXED!

There was something wrong with my headless buckminster. Not sure what yet.

I used Jenkins Buckminster "Install Automatically" option and it worked fine.
Previous Topic:Fetching a plugin from target platform
Next Topic:No component named xyz is known to buckminster
Goto Forum:
  


Current Time: Thu Aug 21 08:10:35 EDT 2014

Powered by FUDForum. Page generated in 0.02271 seconds