Launching External functional tests fails with: local variable 'galaxy_test_proxy_port' referenced before assignment

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Launching External functional tests fails with: local variable 'galaxy_test_proxy_port' referenced before assignment

Renato Alves
I'm trying to run functional tests on the stable branch of galaxy using:

GALAXY_TEST_EXTERNAL=1 GALAXY_TEST_HOST=galaxy GALAXY_TEST_PORT=80
./run_functional_tests.sh

But I'm getting the error:

Traceback (most recent call last):
  File "./scripts/functional_tests.py", line 457, in <module>
    sys.exit( main() )
  File "./scripts/functional_tests.py", line 362, in main
    if galaxy_test_proxy_port:
UnboundLocalError: local variable 'galaxy_test_proxy_port' referenced
before assignment
'run_functional_tests.sh help'                  for help

Am I doing something wrong? I'm following the instructions at
https://wiki.galaxyproject.org/Admin/Running Tests

Renato


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

signature.asc (271 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Launching External functional tests fails with: local variable 'galaxy_test_proxy_port' referenced before assignment

John Chilton
I asked around a while ago about this (GALAXY_TEST_EXTERNAL) and I
believe the consensus was it does not work and has not worked for
sometime - this is unfortunate because it was very useful. I have
created a Trello card - please up vote it if you feel this should be a
priority.

https://trello.com/c/8K86l4Qk

Thanks,
-John

On Wed, Feb 5, 2014 at 9:11 AM, Renato Alves <[hidden email]> wrote:

> I'm trying to run functional tests on the stable branch of galaxy using:
>
> GALAXY_TEST_EXTERNAL=1 GALAXY_TEST_HOST=galaxy GALAXY_TEST_PORT=80
> ./run_functional_tests.sh
>
> But I'm getting the error:
>
> Traceback (most recent call last):
>   File "./scripts/functional_tests.py", line 457, in <module>
>     sys.exit( main() )
>   File "./scripts/functional_tests.py", line 362, in main
>     if galaxy_test_proxy_port:
> UnboundLocalError: local variable 'galaxy_test_proxy_port' referenced
> before assignment
> 'run_functional_tests.sh help'                  for help
>
> Am I doing something wrong? I'm following the instructions at
> https://wiki.galaxyproject.org/Admin/Running Tests
>
> Renato
>
>
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>   http://lists.bx.psu.edu/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
Reply | Threaded
Open this post in threaded view
|

Re: Launching External functional tests fails with: local variable 'galaxy_test_proxy_port' referenced before assignment

Renato Alves
Hi John,

Thanks for the reply and the trello card.

Since there's no mention of this in the documentation, do you know if
there are any other way(s) (official or not) of running functional tests
on "production" servers?

Thanks again,
Renato

Quoting John Chilton on 05-02-2014 21:41:

> I asked around a while ago about this (GALAXY_TEST_EXTERNAL) and I
> believe the consensus was it does not work and has not worked for
> sometime - this is unfortunate because it was very useful. I have
> created a Trello card - please up vote it if you feel this should be a
> priority.
>
> https://trello.com/c/8K86l4Qk
>
> Thanks,
> -John
>
> On Wed, Feb 5, 2014 at 9:11 AM, Renato Alves <[hidden email]> wrote:
>> I'm trying to run functional tests on the stable branch of galaxy using:
>>
>> GALAXY_TEST_EXTERNAL=1 GALAXY_TEST_HOST=galaxy GALAXY_TEST_PORT=80
>> ./run_functional_tests.sh
>>
>> But I'm getting the error:
>>
>> Traceback (most recent call last):
>>   File "./scripts/functional_tests.py", line 457, in <module>
>>     sys.exit( main() )
>>   File "./scripts/functional_tests.py", line 362, in main
>>     if galaxy_test_proxy_port:
>> UnboundLocalError: local variable 'galaxy_test_proxy_port' referenced
>> before assignment
>> 'run_functional_tests.sh help'                  for help
>>
>> Am I doing something wrong? I'm following the instructions at
>> https://wiki.galaxyproject.org/Admin/Running Tests
>>
>> Renato
>>
>>
>> ___________________________________________________________
>> Please keep all replies on the list by using "reply all"
>> in your mail client.  To manage your subscriptions to this
>> and other Galaxy lists, please use the interface at:
>>   http://lists.bx.psu.edu/
>>
>> To search Galaxy mailing lists use the unified search at:
>>   http://galaxyproject.org/search/mailinglists/

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

signature.asc (271 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Launching External functional tests fails with: local variable 'galaxy_test_proxy_port' referenced before assignment

John Chilton
I cannot think of another way to do this, sorry.

-John

On Thu, Feb 6, 2014 at 4:41 AM, Renato Alves <[hidden email]> wrote:

> Hi John,
>
> Thanks for the reply and the trello card.
>
> Since there's no mention of this in the documentation, do you know if
> there are any other way(s) (official or not) of running functional tests
> on "production" servers?
>
> Thanks again,
> Renato
>
> Quoting John Chilton on 05-02-2014 21:41:
>> I asked around a while ago about this (GALAXY_TEST_EXTERNAL) and I
>> believe the consensus was it does not work and has not worked for
>> sometime - this is unfortunate because it was very useful. I have
>> created a Trello card - please up vote it if you feel this should be a
>> priority.
>>
>> https://trello.com/c/8K86l4Qk
>>
>> Thanks,
>> -John
>>
>> On Wed, Feb 5, 2014 at 9:11 AM, Renato Alves <[hidden email]> wrote:
>>> I'm trying to run functional tests on the stable branch of galaxy using:
>>>
>>> GALAXY_TEST_EXTERNAL=1 GALAXY_TEST_HOST=galaxy GALAXY_TEST_PORT=80
>>> ./run_functional_tests.sh
>>>
>>> But I'm getting the error:
>>>
>>> Traceback (most recent call last):
>>>   File "./scripts/functional_tests.py", line 457, in <module>
>>>     sys.exit( main() )
>>>   File "./scripts/functional_tests.py", line 362, in main
>>>     if galaxy_test_proxy_port:
>>> UnboundLocalError: local variable 'galaxy_test_proxy_port' referenced
>>> before assignment
>>> 'run_functional_tests.sh help'                  for help
>>>
>>> Am I doing something wrong? I'm following the instructions at
>>> https://wiki.galaxyproject.org/Admin/Running Tests
>>>
>>> Renato
>>>
>>>
>>> ___________________________________________________________
>>> Please keep all replies on the list by using "reply all"
>>> in your mail client.  To manage your subscriptions to this
>>> and other Galaxy lists, please use the interface at:
>>>   http://lists.bx.psu.edu/
>>>
>>> To search Galaxy mailing lists use the unified search at:
>>>   http://galaxyproject.org/search/mailinglists/
>
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/