cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject PostgreSQL and MySQL tests on Travis / Docker
Date Sat, 17 Dec 2016 12:51:34 GMT
So I merged Travis/Docker support PR by @IRus [1]. 

It didn't work on MacOS:

[INFO] --- docker-maven-plugin:0.15.6:start (start-postgres) @ cayenne-server ---
[INFO] DOCKER> [postgres:9.5] "db": Start container bb8f98855916
[INFO] DOCKER> [postgres:9.5] "db": Waiting for ports [5432] directly on container with
IP (172.17.0.2).
[ERROR] DOCKER> [postgres:9.5] "db": Timeout after 30229 ms while waiting on tcp port '[/172.17.0.2:5432]'
[ERROR] DOCKER> Error occurred during container startup, shutting down...

Could be something configuration-related, as container startup was actually successful. The
tests just could not figure out correct network connection. Need to debug this some more.

It also failed on Travis [2]. But there are more reasons for optimism. All the failures are
unit test failures that can either be fixed or disabled conditionally. The Docker setup itself
works correctly, and this is a big step forward. MySQL failures are all expected - the exact
same set we saw during release testing. PostgreSQL failures are all new. Not sure what's up
with those?

I disabled these 2 profiles on Travis for now. Should be easy to add them back [3].

Andrus


[1] https://github.com/apache/cayenne/pull/152
[2] https://travis-ci.org/apache/cayenne/builds/184759909
[3] https://github.com/apache/cayenne/commit/544375feb3f54921e0f74cc1744585d2b6117689#diff-354f30a63fb0907d4ad57269548329e3
Mime
View raw message