Skip to content

Conversation

@stefanocasazza
Copy link
Contributor

Hi,
I lived a very hard time to try to make things work in my test environment.
I am a beginner for Python and git and very easy I made some error.
Now, this is what I have understood so far:

I run the command:
toolset/run-tests.py -p --install server --install-strategy pertest --install-error-action continue --test ULib --type all --verbose

before the print of message:
INSTALL: Installing server software (strategy=pertest)
the setup.py is (called/loaded) but without IROOT and TROOT var set...
I choose to avoid in this case to do something...

after the check if prerequisites are installed we have the message
INFO:root:Running installation for ULib
INSTALL:
export TROOT=$FWROOT/ULib &&
export IROOT=$FWROOT/installs &&
. $FWROOT/toolset/setup/linux/bash_functions.sh &&
. $FWROOT/ULib/install.sh (cwd=$FWROOT//installs)
now start the installation process, good, and after various operation the setup.py is called with IROOT and TROOT var set, good

@https://github.com/hamiltont
I hope that what I done is what you know is needed for your contributions

@aschneider-techempower
Yes, I mean to replace #921 because my previous fork is messing and I delete and refork...

Thank you all (TechEmpower and contributors) for the work you're doing with this project!

Stefano

PS:
Sorry, how can avoid the warning for:
/queries?queries=0 - WARNING
/queries?queries=foo - WARNING
/queries?queries=501 - WARNING
the response from ULib server are correct!

@aschneider-techempower
Copy link
Contributor

Did you mean to update #921?

@stefanocasazza stefanocasazza changed the title end of the tunnel end of the tunnel - New benchmark: ULib framework #921 Jul 24, 2014
@stefanocasazza
Copy link
Contributor Author

Hi Alexander,

yes I mean to replace #921
#921 because I
made error with git and I delete and refork...

Thanks
Kind regards

Stefano

2014-07-24 18:49 GMT+02:00 Alexander Schneider [email protected]:

Did you mean to update #921
#921?


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

@aschneider-techempower
Copy link
Contributor

I just pushed a commit that should add more detail to the warnings and errors, to help with some of the issues that you and others have been having.

I'm having trouble with the install.sh - [Errno 2] No such file or directory: '/home/tfb/FrameworkBenchmarks/installs/pertest/ULib/ULib/benchmark.cfg'

I'm pretty sure I didn't install it pertest, any idea why your framework would think that it is in the installs/pertest?

Also, perhaps you confused the TROOT variable with IROOT.

@stefanocasazza
Copy link
Contributor Author

Hi Alexander,

I am confused, in my uderstanding this issue is bind to the call:
toolset/run-tests.py --test ULib --type all
without the parameter --install server

I put some comment in setup.py to describe my understanding.
Anyway I forced the code to work also with this kind of situation.

THIS CALLING IS WORKING

----------------------------------------------------------------------

toolset/run-tests.py --install server --test ULib --type all --verbose

----------------------------------------------------------------------

....

ULib: setup.py running - FWROOT is /home/tfb/FrameworkBenchmarks

....

INFO:root:Running installation for ULib

INSTALL:

export TROOT=$FWROOT/ULib &&

export IROOT=$FWROOT/installs &&

. $FWROOT/toolset/setup/linux/bash_functions.sh &&

. $FWROOT/ULib/install.sh (cwd=$FWROOT//installs)

....

-----------------------------------------------------

Running Test: ULib ...

-----------------------------------------------------

ULib: TROOT is EMPTY

ULib: setup.py START - IROOT is

/home/tfb/FrameworkBenchmarks/installs/pertest/ULib - TROOT is
/home/tfb/FrameworkBenchmarks/ULib

ULib: bash_profile.sh script START

ULib: trying to start server

/home/tfb/FrameworkBenchmarks/installs/pertest/ULib/ULib/bin/userver_tcp -c
/home/tfb/FrameworkBenchmarks/installs/pertest/ULib/ULib/benchmark.cfg

ULib: server STARTED

{'results': []}

ULib: TROOT is EMPTY

ULib: setup.py STOP - IROOT is

/home/tfb/FrameworkBenchmarks/installs/pertest/ULib - TROOT is
/home/tfb/FrameworkBenchmarks/ULib

ULib: bash_profile.sh script START

----------------------------------------------------------------------

NOW THIS CALLING IS WORKING TOO BUT IT IS CORRECT TO CALL IT BEFORE

INSTALLING...?

toolset/run-tests.py --test ULib --type all --verbose

....

ULib: setup.py running - FWROOT is /home/tfb/FrameworkBenchmarks

....

-----------------------------------------------------

Running Test: ULib ...

-----------------------------------------------------

ULib: TROOT is EMPTY

ULib: setup.py START - IROOT is

/home/tfb/FrameworkBenchmarks/installs/pertest/ULib - TROOT is
/home/tfb/FrameworkBenchmarks/ULib

ULib: bash_profile.sh script START

ULib: NOT INSTALLED...

ULib: install.sh script START

ULib: trying to start server

/home/tfb/FrameworkBenchmarks/installs/pertest/ULib/ULib/bin/userver_tcp -c
/home/tfb/FrameworkBenchmarks/installs/pertest/ULib/ULib/benchmark.cfg

ULib: server STARTED

{'results': []}

ULib: TROOT is EMPTY

ULib: setup.py STOP - IROOT is

/home/tfb/FrameworkBenchmarks/installs/pertest/ULib - TROOT is
/home/tfb/FrameworkBenchmarks/ULib

ULib: bash_profile.sh script START

-----------------------------------------------------

Thanks
Kind regards

Stefano

2014-07-24 20:38 GMT+02:00 Alexander Schneider [email protected]:

I just pushed a commit that should add more detail to the warnings and
errors, to help with some of the issues that you and others have been
having.

I'm having trouble with the install.sh - [Errno 2] No such file or
directory:
'/home/tfb/FrameworkBenchmarks/installs/pertest/ULib/ULib/benchmark.cfg'

I'm pretty sure I didn't install it pertest, any idea why your framework
would think that it is in the installs/pertest?

Also, perhaps you confused the TROOT variable with IROOT.


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

@aschneider-techempower
Copy link
Contributor

I'd like to clean this up, but at the moment, these tests work properly, so we'll merge it and have it in round 10.

Thanks for persevering - I know it was difficult.

aschneider-techempower added a commit that referenced this pull request Jul 25, 2014
end of the tunnel -  New benchmark: ULib framework #921
@aschneider-techempower aschneider-techempower merged commit a527ab0 into TechEmpower:master Jul 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants