This only affects tests that are run manually, the automated testing framework correctly resolves tool dependencies.

   --Dave B.

On 5/9/13 10:41:22.000, Peter Cock wrote:
On 5/8/13 20:08:08.000, Ira Cooke wrote:

Hi All,

I'm starting to add functional tests to my tools but I've found that I
can't get the test framework to work well with tool dependencies.

The tool I'm considering is xtandem

When I install this tool on my local galaxy instance (on a clean install)
the tool runs fine and if I look in the handler logs I see

export PACKAGE_BASE; .
export PACKAGE_BASE; .
rvm 1.9.3@protk-1.2.0 do tandem_search.rb -d
--var-mods='            57.021464__at__C                '       --fix-mods='
15.994915__at__M                '
/home/iracooke/galaxy-central/database/files/000/dataset_2.dat -o
/home/iracooke/galaxy-central/database/files/000/dataset_4.dat -r
--enzyme=Trypsin --precursor-ion-tol-units=ppm -v 0 -f 0.65 -p 100.0
--strict-monoisotopic-mass --keep-params-files DEBUG 2013-04-27 06:53:35,586 (4) Persisting job destination
(destination id: local:///)

Note that in this case the tool environments from my tool dependencies are
loaded ... and the tool runs fine.

When running functional tests however the tests are executed without first
loading the environments from tool dependencies ... and naturally the tool
fails.  On my local machine I get the following when running the tests (Note
that no loading of dependency shel environments occurs).  (This seems to be
the same issue on the ).

Job dispatched DEBUG 2013-04-27 06:55:19,564 (3) executing: rvm
1.9.3@protk-1.2.0 do tandem_search.rb -d
/tmp/tmp3I8GgN/database/files/000/dataset_1.dat             --var-mods='
15.994915__at__M                ,               '               --fix-mods='
57.021464__at__C                '
/tmp/tmp3I8GgN/database/files/000/dataset_2.dat -o
/tmp/tmp3I8GgN/database/files/000/dataset_3.dat -r --enzyme=Trypsin
--precursor-ion-tol-units=ppm -v 0 -f 0.65 -p 100.0
--strict-monoisotopic-mass --keep-params-files DEBUG 2013-04-27 06:55:19,730 (3) Persisting job destination
(destination id: local:///) DEBUG 2013-04-27 06:55:19,889 execution
finished: rvm 1.9.3@protk-1.2.0 do tandem_search.rb -d
/tmp/tmp3I8GgN/database/files/000/dataset_1.dat                --var-mods='
15.994915__at__M                ,'              --fix-mods='
57.021464__at__C                '
/tmp/tmp3I8GgN/database/files/000/dataset_2.dat -o
/tmp/tmp3I8GgN/database/files/000/dataset_3.dat -r --enzyme=Trypsin
--precursor-ion-tol-units=ppm -v 0 -f 0.65 -p 100.0
--strict-monoisotopic-mass --keep-params-files
... DEBUG 2013-04-27 06:55:24,277 setting dataset state to ERROR

Is there something wrong with the way I've defined my tool dependencies
for this tool?  Or perhaps it's a bug in the testing framework.


On Thu, May 9, 2013 at 3:10 PM, Dave Bouvier <> wrote:

There is a known issue with resolving tool dependencies when running
functional tests. One workaround is to set the GALAXY_TOOL_DEPENDENCY_DIR
environment variable to the path configured in your universe_wsgi.ini.

This issue is documented in

    --Dave B.

Does this issue affect the Tool Shed tests as well, or just when run
via (I'm working though a couple of test
failures related to the dependency installation breaking somehow).



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:

To search Galaxy mailing lists use the unified search at:

Reply via email to