Repository navigation
ULib: some tuning plus add mongodb test - #1888
stefanocasazza wants to merge 6 commits into
Conversation
There was a problem hiding this comment.
This RETCODE business is unnecessary since you have the sentinel check above (ulib.installed). If the script gets here, then ulib is not installed and therefore the mongo-c-driver is not installed.
There was a problem hiding this comment.
I noticed that other frameworks (ffead-cpp) must do the same installation of mongo-c-driver,
I thought that this would spare duplication of work...
There was a problem hiding this comment.
Understood; that's fine then.
|
Travis says that many of the ULib tests failed to start/run. |
|
Hi,
this happens to be by a bit of time and I have no idea why, I believe it is
related to the Travis environment. I don't see any problem in an
local environment.
Stefano
|
|
Hi, Stefano |
|
I would say create a completely clean test environment, clone the repository, set it up, then merge your pull request in and test ulib. This is essentially what Travis-CI does every time it runs, so if the logs are not enough information, you will have to do the process manually to try and reproduce the issue. |
|
In my opinion the issue is not relative to the pull request, it happen also 2016-01-29 16:18 GMT+01:00 Mike Smith [email protected]:
|
There was a problem hiding this comment.
So, this is causing issues. Apparently, github is responding with a header suggesting the filesize is [something] but the actual size of the file is [something else], which causes curl to return a status 18.
EDIT: You can try passing --ignore-content-length as a flag to see if that works around the issue.
fw_get --ignore-content-length -O https://github.com/mongodb/mongo-c-driver/releases/download/1.1.10/mongo-c-driver-1.1.10.tar.gzThere was a problem hiding this comment.
Hi,
I added the fix but Travis remain broken, it can someone please pull and test locally so it can be verified my opinion of correctness for the pull request...? @msmith-techempower
Greetings
Stefano
|
I've recently attempted to run these tests locally, and they seem to all be working correctly minus the MongoDB tests, which are returning 404s. I'll be looking into ulib on Travis and see if we can't figure out what the problem is there. |
|
Ok, 2016-02-01 23:09 GMT+01:00 ssmith-techempower [email protected]:
|
|
|
||
| # We need to install mongo-c-driver (we don't have a ubuntu package) | ||
| #RETCODE=$(fw_exists ${IROOT}/mongo-c-driver.installed) | ||
| #if [ "$RETCODE" != 0 ]; then |
There was a problem hiding this comment.
These commented-out checks will need to be reinstated before we merge in.
|
We have also elected to disallow Redis tests for the time being, so please remove that from your |
|
Additionally, seems that all your database connection attempts are failing. |
ULib: substitute for #1888
Hi,
I point out again that no longer appear the results of ULib in the round 10
Greetings
Stefano