Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

ULib: some tuning plus add mongodb test - #1888

Closed
stefanocasazza wants to merge 6 commits into
TechEmpower:masterfrom
stefanocasazza:master
Closed

stefanocasazza wants to merge 6 commits into
TechEmpower:masterfrom
stefanocasazza:master

Conversation

@stefanocasazza

Copy link
Copy Markdown
Contributor

Hi,

I point out again that no longer appear the results of ULib in the round 10

Greetings
Stefano

Comment thread toolset/setup/linux/frameworks/ulib.sh Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood; that's fine then.

@msmith-techempower

Copy link
Copy Markdown
Member

Travis says that many of the ULib tests failed to start/run.

@stefanocasazza

stefanocasazza commented Jan 18, 2016 via email

Copy link
Copy Markdown
Contributor Author

@stefanocasazza

Copy link
Copy Markdown
Contributor Author

Hi,
I do not understand the meaning of the label attached ' PR: Please update!'.
What should I do... ? @msmith-techempower

Stefano
​

@msmith-techempower

Copy link
Copy Markdown
Member

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.

@stefanocasazza

Copy link
Copy Markdown
Contributor Author

In my opinion the issue is not relative to the pull request, it happen also
now with the current status of framework, there are also plenty of other
frameworks that have the same failure on travis...

2016-01-29 16:18 GMT+01:00 Mike Smith [email protected]:

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.

—
Reply to this email directly or view it on GitHub
#1888 (comment)
.

Comment thread toolset/setup/linux/frameworks/ulib.sh Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.gz

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@ssmith-techempower

Copy link
Copy Markdown
Contributor

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.

@stefanocasazza

Copy link
Copy Markdown
Contributor Author

Ok,
thanks...

2016-02-01 23:09 GMT+01:00 ssmith-techempower [email protected]:

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.

—
Reply to this email directly or view it on GitHub
#1888 (comment)
.

Comment thread toolset/setup/linux/frameworks/ulib.sh Outdated

# 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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These commented-out checks will need to be reinstated before we merge in.

@msmith-techempower

Copy link
Copy Markdown
Member

We have also elected to disallow Redis tests for the time being, so please remove that from your benchmark_config.json

@msmith-techempower

Copy link
Copy Markdown
Member

Additionally, seems that all your database connection attempts are failing.

msmith-techempower added a commit that referenced this pull request Mar 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants