Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-09 Thread Tom Chadwin
I've only experience one such delay. Does this need to be reverted?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5240499.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-09 Thread Tom Chadwin
Forgive off-topic, but is the Travis website down at the mo? It's doing
builds and sending result email fine, but I can't browse to travis-ci.org.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5240554.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-09 Thread Matthias Kuhn
Works fine for me...

On 12/09/2015 04:59 PM, Tom Chadwin wrote:
> Forgive off-topic, but is the Travis website down at the mo? It's doing
> builds and sending result email fine, but I can't browse to travis-ci.org.
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5240554.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source




signature.asc
Description: OpenPGP digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-09 Thread Tom Chadwin
Ah. Site has started failing in Internet Explorer. Fine in Chrome/Win.
Apologies for noise.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5240558.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-07 Thread Nyall Dawson
On 3 December 2015 at 22:05, Tom Chadwin  wrote:
> Apologies if this is too off-topic, but with Travis releasing their new
> Google Compute Engine infrastructure, I've done some work on my Travis
> setup, including moving from Ubuntu Precise to Trusty. Briefly, the issues I
> encountered under Trusty as opposed to Precise were:

Seems like this change has made the Linux builds of QGIS on Travis
very unstable - the builds frequently take much longer than usual and
result in timing out before completion.

If your PR has reported a failure on Travis, and Travis is saying
"errored" rather than "failed", it's NOT your fault! Don't spend ages
trying to debug it - we'll just have to hope that Travis gets things
sorted quickly on their end.

Nyall
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Moving to Trusty for Travis tests

2015-12-03 Thread Tom Chadwin
Apologies if this is too off-topic, but with Travis releasing their new
Google Compute Engine infrastructure, I've done some work on my Travis
setup, including moving from Ubuntu Precise to Trusty. Briefly, the issues I
encountered under Trusty as opposed to Precise were:

- xvfb now has to be installed as it is no longer part of the environment

- most pip installs now have to be run with sudo, or you get permission
denied (don't know why this has changed)

- in my .travis.yml, I had to move from "language: python" to "language:
generic", as it seemed that there was confusion between system Python and
QGIS Python (resulting in fatal numpy Unicode errors)

- unit tests which open a webpage now pause Travis, indefinitely as far as I
can tell (the Travis output says "≪ ↑ ↓ Viewing "). I don't know
how to get round this, so I've had to avoid any tests which open a webpage.
Any help in this gratefully received.

- nose-faulthandler fails to install ("faulthandler.c:7:20: fatal error:
Python.h: No such file or directory"). No idea why, again, any suggestions
welcome

The increased reliance on sudo is a shame, as this make transition to their
container-based infrastructure less possible.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-03 Thread Tom Chadwin
I should also have mentioned that Travis are also migrating "Precise with
sudo" jobs over to Google Compute Engine (GCE) this week. This should lower
test times, but watch out for any resulting differences in behaviour. If you
want to stick with Precise, but force your tests onto GCE immediately, you
can do so in .travis.yml:

sudo: required 
dist: precise 
group: edge 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5239825.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-03 Thread Matthias Kuhn
Hi Tom,

Testing here:
https://github.com/qgis/QGIS/pull/2532

Recently build times are horrible and we get a lot of false alarms due
to build timeouts. If this makes it any better we should switch.

Looking forward to trusty but had no success so far unfortunately.
https://github.com/m-kuhn/QGIS/commits/trtr

If you have any further hints concerning this, please keep them coming!!

Matthias

On 12/03/2015 12:21 PM, Tom Chadwin wrote:
> I should also have mentioned that Travis are also migrating "Precise with
> sudo" jobs over to Google Compute Engine (GCE) this week. This should lower
> test times, but watch out for any resulting differences in behaviour. If you
> want to stick with Precise, but force your tests onto GCE immediately, you
> can do so in .travis.yml:
>
> sudo: required 
> dist: precise 
> group: edge 
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5239825.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source




signature.asc
Description: OpenPGP digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-03 Thread Tom Chadwin
Apologies - my instructions for forcing GCE were correct only for
Precise-only Travis configs. The QGIS config is both Linux and OSX. See this
page for instructions to force GCE for multiple os: configs:

https://gist.github.com/meatballhat/d0c8aab9e3bd8a8bcacd#file-00-intro-md

I'm not familiar with the matrix: syntax they are using, so I don't feel I
can construct a PR for this. Hope it might help, though.

That said, the build you link to did run on GCE, so perhaps all is well with
the config, and we just aren't getting the performance boost one might have
hoped for from GCE.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5239859.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-03 Thread Matthias Kuhn


On 12/03/2015 03:57 PM, Tom Chadwin wrote:
>> we could use a different platform for Qt5 tests
> ...and Python 3?
... is enabled automatically when compiling against Qt5 but none of the
python tests will currently pass because there's a lot of work missing.
But enabling Qt5 builds even without python tests would have the benefit
of notifying about commits that break Qt5 builds as simple as [1].

[1]
https://github.com/qgis/QGIS/commit/9e5528b1115a1e7b033a845cc339a5b255376225

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-03 Thread Tom Chadwin
OK. And the OSX build was unaffected by the top-level selection of Precise?
Seems not, but I have no experience of reading OSX test output.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5239879.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-03 Thread Matthias Kuhn
Hi Tom,

I merged the pull request linked in the last mail since there were no
errors and no timeout.
I hope that this solves our issues.

The matrix notation should only be required if there are different
requirements for different platforms.
However, what I just DID realize while reading your link is that with a
build matrix we could use a different platform for Qt5 tests. Levaing
Qt4 tests on precise and run Qt5 tests on travis. I may explore this
road if I find time.

Cheers,
Matthias

On 12/03/2015 03:42 PM, Tom Chadwin wrote:
> Apologies - my instructions for forcing GCE were correct only for
> Precise-only Travis configs. The QGIS config is both Linux and OSX. See this
> page for instructions to force GCE for multiple os: configs:
>
> https://gist.github.com/meatballhat/d0c8aab9e3bd8a8bcacd#file-00-intro-md
>
> I'm not familiar with the matrix: syntax they are using, so I don't feel I
> can construct a PR for this. Hope it might help, though.
>
> That said, the build you link to did run on GCE, so perhaps all is well with
> the config, and we just aren't getting the performance boost one might have
> hoped for from GCE.
>
>
>
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5239859.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source




signature.asc
Description: OpenPGP digital signature
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Moving to Trusty for Travis tests

2015-12-03 Thread Tom Chadwin
> we could use a different platform for Qt5 tests

...and Python 3?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Moving-to-Trusty-for-Travis-tests-tp5239822p5239867.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer