You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Susan Hinrichs <sh...@network-geographics.com> on 2015/03/18 22:04:10 UTC

Intro to running new_tsqa

Or more aptly, how to set up your new_tsqa environment for python dunces.

http://jjinux.blogspot.com/2014/01/python-lightning-quick-introduction-to.html 
got me part way there.  But still no nosetests.  Can someone point me to 
the quick start guide for new_tsqa?

Thanks,
Susan

Re: Intro to running new_tsqa

Posted by James Peach <jp...@apache.org>.
> On Mar 19, 2015, at 10:36 AM, Meera Mosale Nataraja <me...@gmail.com> wrote:
> 
> James,
> 
> "make update" failed for me because the url
> https://github.com/jacksontj/tsqa/archive/master.zip is not found.

You're using something old; master uses https://github.com/apache/trafficserver-qa/archive/master.zip

> 
> Details:
> 
> Meeras-MacBook-Pro:new_tsqa meera$ make update
> 
> source virtualenv/bin/activate && virtualenv/bin/pip install --upgrade
> -r requirements.txt
> 
> You are using pip version 6.0.6, however version 6.0.8 is available.
> 
> You should consider upgrading via the 'pip install --upgrade pip' command.
> 
> Collecting https://github.com/jacksontj/tsqa/archive/master.zip (from
> -r requirements.txt (line 4))
> 
>  HTTP error 404 while getting
> https://github.com/jacksontj/tsqa/archive/master.zip
> 
>  Could not install requirement
> https://github.com/jacksontj/tsqa/archive/master.zip (from -r
> requirements.txt (line 4)) because of error 404 Client Error: Not
> Found
> 
>  Could not install requirement
> https://github.com/jacksontj/tsqa/archive/master.zip (from -r
> requirements.txt (line 4)) because of HTTP error 404 Client Error: Not
> Found for URL https://github.com/jacksontj/tsqa/archive/master.zip
> 
> make: *** [update] Error 1
> 
> Meeras-MacBook-Pro:new_tsqa meera$
> 
> -Meera
> 
> On Thu, Mar 19, 2015 at 9:29 AM, James Peach <jp...@apache.org> wrote:
>> 
>>> On Mar 19, 2015, at 9:04 AM, Susan Hinrichs <sh...@network-geographics.com> wrote:
>>> 
>>> I don't have the appropriate python things set up.
>>> 
>>> What I get now is (I changed the virtualenv_dir dir in the makefile to venv)
>>> 
>>> /bin/sh: venv/bin/nosetests: No such file or directory
>>> make: *** [test] Error 127
>>> [shinrich@localhost new_tsqa]$
>>> 
>>> This is after I figured out how to include the python virtual environment.  Like I said, I need the intro for python environment dunces.
>> 
>> Do a "make update" to bring the virtualenv up to date. I'm guessing that the original virtualenv construction was not completed for some reason.
>> 
>>> 
>>> On 3/19/2015 10:49 AM, James Peach wrote:
>>>>> On Mar 18, 2015, at 2:04 PM, Susan Hinrichs <sh...@network-geographics.com> wrote:
>>>>> 
>>>>> Or more aptly, how to set up your new_tsqa environment for python dunces.
>>>>> 
>>>>> http://jjinux.blogspot.com/2014/01/python-lightning-quick-introduction-to.html got me part way there.  But still no nosetests.  Can someone point me to the quick start guide for new_tsqa?
>>>> It should work if you just type "make" in ci/new_tsqa. What happens for you>
>>> 
>> 


Re: Intro to running new_tsqa

Posted by Meera Mosale Nataraja <me...@gmail.com>.
James,

"make update" failed for me because the url
https://github.com/jacksontj/tsqa/archive/master.zip is not found.

Details:

Meeras-MacBook-Pro:new_tsqa meera$ make update

source virtualenv/bin/activate && virtualenv/bin/pip install --upgrade
-r requirements.txt

You are using pip version 6.0.6, however version 6.0.8 is available.

You should consider upgrading via the 'pip install --upgrade pip' command.

Collecting https://github.com/jacksontj/tsqa/archive/master.zip (from
-r requirements.txt (line 4))

  HTTP error 404 while getting
https://github.com/jacksontj/tsqa/archive/master.zip

  Could not install requirement
https://github.com/jacksontj/tsqa/archive/master.zip (from -r
requirements.txt (line 4)) because of error 404 Client Error: Not
Found

  Could not install requirement
https://github.com/jacksontj/tsqa/archive/master.zip (from -r
requirements.txt (line 4)) because of HTTP error 404 Client Error: Not
Found for URL https://github.com/jacksontj/tsqa/archive/master.zip

make: *** [update] Error 1

Meeras-MacBook-Pro:new_tsqa meera$

-Meera

On Thu, Mar 19, 2015 at 9:29 AM, James Peach <jp...@apache.org> wrote:
>
>> On Mar 19, 2015, at 9:04 AM, Susan Hinrichs <sh...@network-geographics.com> wrote:
>>
>> I don't have the appropriate python things set up.
>>
>> What I get now is (I changed the virtualenv_dir dir in the makefile to venv)
>>
>> /bin/sh: venv/bin/nosetests: No such file or directory
>> make: *** [test] Error 127
>> [shinrich@localhost new_tsqa]$
>>
>> This is after I figured out how to include the python virtual environment.  Like I said, I need the intro for python environment dunces.
>
> Do a "make update" to bring the virtualenv up to date. I'm guessing that the original virtualenv construction was not completed for some reason.
>
>>
>> On 3/19/2015 10:49 AM, James Peach wrote:
>>>> On Mar 18, 2015, at 2:04 PM, Susan Hinrichs <sh...@network-geographics.com> wrote:
>>>>
>>>> Or more aptly, how to set up your new_tsqa environment for python dunces.
>>>>
>>>> http://jjinux.blogspot.com/2014/01/python-lightning-quick-introduction-to.html got me part way there.  But still no nosetests.  Can someone point me to the quick start guide for new_tsqa?
>>> It should work if you just type "make" in ci/new_tsqa. What happens for you>
>>
>

Re: Intro to running new_tsqa

Posted by Susan Hinrichs <sh...@network-geographics.com>.
I think my original box just didn't have enough space in the root 
partition.  Moved to another box, and things seem to be humming along.

On both boxes to get going I had to do the following
* Enable the epel yum repository
* Install python-pip (yum package)
* Use pip to install virtualenv

On my first box I had to also install python-devel and libffi-devel yum 
packages.  Evidently they were already present on my second box.

Then "cd ci/new_tsqa; make" made it go off and think for quite a while.

I'll find someplace to upload my notes for the next python-newbie who 
comes along.

On 3/19/2015 11:29 AM, James Peach wrote:
>> On Mar 19, 2015, at 9:04 AM, Susan Hinrichs <sh...@network-geographics.com> wrote:
>>
>> I don't have the appropriate python things set up.
>>
>> What I get now is (I changed the virtualenv_dir dir in the makefile to venv)
>>
>> /bin/sh: venv/bin/nosetests: No such file or directory
>> make: *** [test] Error 127
>> [shinrich@localhost new_tsqa]$
>>
>> This is after I figured out how to include the python virtual environment.  Like I said, I need the intro for python environment dunces.
> Do a "make update" to bring the virtualenv up to date. I'm guessing that the original virtualenv construction was not completed for some reason.
>
>> On 3/19/2015 10:49 AM, James Peach wrote:
>>>> On Mar 18, 2015, at 2:04 PM, Susan Hinrichs <sh...@network-geographics.com> wrote:
>>>>
>>>> Or more aptly, how to set up your new_tsqa environment for python dunces.
>>>>
>>>> http://jjinux.blogspot.com/2014/01/python-lightning-quick-introduction-to.html got me part way there.  But still no nosetests.  Can someone point me to the quick start guide for new_tsqa?
>>> It should work if you just type "make" in ci/new_tsqa. What happens for you>


Re: Intro to running new_tsqa

Posted by James Peach <jp...@apache.org>.
> On Mar 19, 2015, at 9:04 AM, Susan Hinrichs <sh...@network-geographics.com> wrote:
> 
> I don't have the appropriate python things set up.
> 
> What I get now is (I changed the virtualenv_dir dir in the makefile to venv)
> 
> /bin/sh: venv/bin/nosetests: No such file or directory
> make: *** [test] Error 127
> [shinrich@localhost new_tsqa]$
> 
> This is after I figured out how to include the python virtual environment.  Like I said, I need the intro for python environment dunces.

Do a "make update" to bring the virtualenv up to date. I'm guessing that the original virtualenv construction was not completed for some reason.

> 
> On 3/19/2015 10:49 AM, James Peach wrote:
>>> On Mar 18, 2015, at 2:04 PM, Susan Hinrichs <sh...@network-geographics.com> wrote:
>>> 
>>> Or more aptly, how to set up your new_tsqa environment for python dunces.
>>> 
>>> http://jjinux.blogspot.com/2014/01/python-lightning-quick-introduction-to.html got me part way there.  But still no nosetests.  Can someone point me to the quick start guide for new_tsqa?
>> It should work if you just type "make" in ci/new_tsqa. What happens for you>
> 


Re: Intro to running new_tsqa

Posted by Susan Hinrichs <sh...@network-geographics.com>.
I don't have the appropriate python things set up.

What I get now is (I changed the virtualenv_dir dir in the makefile to venv)

/bin/sh: venv/bin/nosetests: No such file or directory
make: *** [test] Error 127
[shinrich@localhost new_tsqa]$

This is after I figured out how to include the python virtual 
environment.  Like I said, I need the intro for python environment dunces.

On 3/19/2015 10:49 AM, James Peach wrote:
>> On Mar 18, 2015, at 2:04 PM, Susan Hinrichs <sh...@network-geographics.com> wrote:
>>
>> Or more aptly, how to set up your new_tsqa environment for python dunces.
>>
>> http://jjinux.blogspot.com/2014/01/python-lightning-quick-introduction-to.html got me part way there.  But still no nosetests.  Can someone point me to the quick start guide for new_tsqa?
> It should work if you just type "make" in ci/new_tsqa. What happens for you>


Re: Intro to running new_tsqa

Posted by James Peach <jp...@apache.org>.
> On Mar 18, 2015, at 2:04 PM, Susan Hinrichs <sh...@network-geographics.com> wrote:
> 
> Or more aptly, how to set up your new_tsqa environment for python dunces.
> 
> http://jjinux.blogspot.com/2014/01/python-lightning-quick-introduction-to.html got me part way there.  But still no nosetests.  Can someone point me to the quick start guide for new_tsqa?

It should work if you just type "make" in ci/new_tsqa. What happens for you>