On 22 Feb 2013, at 12:13, Sven Van Caekenberghe <sven@stfx.eu> wrote:
OK, good ;-)
What about the URL ?
It is now
https://ci.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=/*...)
it used to be
https://ci.lille.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xp...)
Is this call/URL still possible or has it changed ?
Without the /text() the URL https://ci.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=/*... works, with it there is a security exception: $ curl https://ci.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=/*... <description>2.0 #20563</description> $ curl "https://ci.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=/*...)" <html><head><title>Error 403</title></head><body bgcolor="#ffffff"><h1>Status Code: 403</h1>Exception: primitive XPath result sets forbidden; can use -Dhudson.model.Api.INSECURE=true if you run without security<br>Stacktrace: <pre>(none) </pre><br><hr size="1" width="90%"><i>Generated by Winstone Servlet Engine v0.9.10 at Fri Feb 22 13:06:16 CET 2013</i></body></html> I guess the test can run without /text() unless someone can explain what is going on...
Sven
On 22 Feb 2013, at 12:07, Camillo Bruni <camillobruni@gmail.com> wrote:
It is failing (only now?)
https://ci.inria.fr/pharo/job/Pharo-2.0-Tests/lastCompletedBuild/testReport/
;)
On 2013-02-22, at 12:04, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Hi,
When testing in #20561 I noticed that ZnHTTPSTests>>#testGetPharoVersion consistently fails for me (Mac OS X, NBCog VM), probably because the URL is wrong - this is a function/regression test on https://ci.inria.fr/pharo/job/Pharo-2.0/lastSuccessfulBuild/api/xml?xpath=/*...)
My point is that I don't see that failing on the CI servers, but maybe I looked in the wrong places.
The test code does contain a
self isNativeSSLPluginPresent ifFalse: [ ^ self ].
so it is possible that the test is skipped.
But if that test is skipped, many more are skipped as well, and that would be not-goodâ¢.
Sven
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill