view tool_test_output.json @ 6:8928e6d1e7ba draft

Uploaded
author bgruening
date Thu, 08 Jan 2015 09:07:31 -0500
parents
children
line wrap: on
line source

{"tests": [{"data": {"status": "success", "inputs": {"token_set_0|line": "freedom"}, "job": {"inputs": {}, "update_time": "2015-01-08T12:53:15.015881", "tool_id": "tp_text_file_with_recurring_lines", "outputs": {"outfile": {"src": "hda", "id": "2891970512fa2d5a"}}, "stdout": "", "command_line": "times=10; yes -- \"freedom\" 2>/dev/null | head -n $times >> /tmp/tmp2u132Ifiles/000/dataset_1.dat;", "exit_code": 0, "state": "ok", "create_time": "2015-01-08T12:53:12.504736", "params": {"token_set": "[{\"__index__\": 0, \"line\": \"freedom\", \"repeat_select\": {\"repeat_select_opts\": \"user\", \"__current_case__\": 0, \"times\": \"10\"}}]", "chromInfo": "\"/home/bag/projects/code/galaxy-central/tool-data/shared/ucsc/chrom/?.len\"", "dbkey": "\"?\""}, "stderr": "", "job_metrics": [], "model_class": "Job", "id": "2891970512fa2d5a"}}, "id": "functional.test_toolbox.TestForTool_tp_text_file_with_recurring_lines.test_tool_000000", "has_data": true}, {"data": {"status": "failure", "inputs": {"token_set_1|line": "war is over", "token_set_0|line": "freedom"}, "output_problems": ["History item  different than expected, difference (using diff):\n( /home/bag/projects/code/galaxytools/text_processing/text_processing/test-data/recurring_result2.txt v. /tmp/tmp2u132I/tmp/tmpg7l0Jdrecurring_result2.txt )\n--- local_file\n+++ history_data\n@@ -8,3 +8,13 @@\n freedom\n freedom\n freedom\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n"], "job": {"inputs": {}, "update_time": "2015-01-08T12:53:19.516495", "tool_id": "tp_text_file_with_recurring_lines", "outputs": {"outfile": {"src": "hda", "id": "5729865256bc2525"}}, "stdout": "", "command_line": "times=10; yes -- \"freedom\" 2>/dev/null | head -n $times >> /tmp/tmp2u132Ifiles/000/dataset_2.dat; times=10; yes -- \"war is over\" 2>/dev/null | head -n $times >> /tmp/tmp2u132Ifiles/000/dataset_2.dat;", "exit_code": 0, "state": "ok", "create_time": "2015-01-08T12:53:17.104670", "params": {"token_set": "[{\"__index__\": 0, \"line\": \"freedom\", \"repeat_select\": {\"repeat_select_opts\": \"user\", \"__current_case__\": 0, \"times\": \"10\"}}, {\"__index__\": 1, \"line\": \"war is over\", \"repeat_select\": {\"repeat_select_opts\": \"user\", \"__current_case__\": 0, \"times\": \"10\"}}]", "chromInfo": "\"/home/bag/projects/code/galaxy-central/tool-data/shared/ucsc/chrom/?.len\"", "dbkey": "\"?\""}, "stderr": "", "job_metrics": [], "model_class": "Job", "id": "5729865256bc2525"}, "problem_log": "Traceback (most recent call last):\n  File \"/usr/lib/python2.7/unittest/case.py\", line 329, in run\n    testMethod()\n  File \"/home/bag/projects/code/galaxy-central/test/functional/test_toolbox.py\", line 182, in test_tool\n    self.do_it( td )\n  File \"/home/bag/projects/code/galaxy-central/test/functional/test_toolbox.py\", line 65, in do_it\n    raise e\nJobOutputsError: History item  different than expected, difference (using diff):\n( /home/bag/projects/code/galaxytools/text_processing/text_processing/test-data/recurring_result2.txt v. /tmp/tmp2u132I/tmp/tmpg7l0Jdrecurring_result2.txt )\n--- local_file\n+++ history_data\n@@ -8,3 +8,13 @@\n freedom\n freedom\n freedom\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n+war is over\n\n-------------------- >> begin captured logging << --------------------\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\ngalaxy.web.framework.webapp: INFO: Session authenticated using Galaxy master api key\nrequests.packages.urllib3.connectionpool: DEBUG: \"GET /api/users?key=test_key HTTP/1.1\" 200 None\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\ngalaxy.web.framework.webapp: INFO: Session authenticated using Galaxy master api key\nrequests.packages.urllib3.connectionpool: DEBUG: \"POST /api/users/2891970512fa2d5a/api_key HTTP/1.1\" 200 None\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\nrequests.packages.urllib3.connectionpool: DEBUG: \"POST /api/histories HTTP/1.1\" 200 None\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\ngalaxy.jobs: DEBUG: (2) Working directory for job is: /tmp/tmp2u132I/job_working_directory/000/2\nrequests.packages.urllib3.connectionpool: DEBUG: \"POST /api/tools HTTP/1.1\" 200 None\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\ngalaxy.jobs.handler: DEBUG: (2) Dispatching to local runner\nrequests.packages.urllib3.connectionpool: DEBUG: \"GET /api/jobs/5729865256bc2525?key=4ae730223dcd94beeb67e4990d1568f0 HTTP/1.1\" 200 None\ngalaxy.jobs: DEBUG: (2) Persisting job destination (destination id: local:///)\ngalaxy.jobs.handler: INFO: (2) Job dispatched\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\nrequests.packages.urllib3.connectionpool: DEBUG: \"GET /api/jobs/5729865256bc2525?key=4ae730223dcd94beeb67e4990d1568f0 HTTP/1.1\" 200 None\ngalaxy.jobs.runners: DEBUG: (2) command is: times=10; yes -- \"freedom\" 2>/dev/null | head -n $times >> /tmp/tmp2u132Ifiles/000/dataset_2.dat; times=10; yes -- \"war is over\" 2>/dev/null | head -n $times >> /tmp/tmp2u132Ifiles/000/dataset_2.dat; return_code=$?; cd /home/bag/projects/code/galaxy-central; /home/bag/projects/code/galaxy-central/set_metadata.sh /tmp/tmp2u132Ifiles /tmp/tmp2u132I/job_working_directory/000/2 . /tmp/tmps7TGPy/functional_tests_wsgi.ini /tmp/tmp2u132I/tmp/tmplMl0my /tmp/tmp2u132I/job_working_directory/000/2/galaxy.json /tmp/tmp2u132I/job_working_directory/000/2/metadata_in_HistoryDatasetAssociation_2_3vVc3k,/tmp/tmp2u132I/job_working_directory/000/2/metadata_kwds_HistoryDatasetAssociation_2_yZP_M2,/tmp/tmp2u132I/job_working_directory/000/2/metadata_out_HistoryDatasetAssociation_2_Xs7G1C,/tmp/tmp2u132I/job_working_directory/000/2/metadata_results_HistoryDatasetAssociation_2_DTBxkX,,/tmp/tmp2u132I/job_working_directory/000/2/metadata_override_HistoryDatasetAssociation_2_nGbyiQ; sh -c \"exit $return_code\"\ngalaxy.jobs.runners.local: DEBUG: (2) executing job script: /tmp/tmp2u132I/job_working_directory/000/2/galaxy_2.sh\ngalaxy.jobs: DEBUG: (2) Persisting job destination (destination id: local:///)\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\ngalaxy.jobs.runners.local: DEBUG: execution finished: /tmp/tmp2u132I/job_working_directory/000/2/galaxy_2.sh\ngalaxy.datatypes.metadata: DEBUG: loading metadata from file for: HistoryDatasetAssociation 2\ngalaxy.jobs: DEBUG: job 2 ended\nrequests.packages.urllib3.connectionpool: DEBUG: \"GET /api/jobs/5729865256bc2525?key=4ae730223dcd94beeb67e4990d1568f0 HTTP/1.1\" 200 None\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\nrequests.packages.urllib3.connectionpool: DEBUG: \"GET /api/jobs/5729865256bc2525?key=4ae730223dcd94beeb67e4990d1568f0 HTTP/1.1\" 200 None\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\nrequests.packages.urllib3.connectionpool: DEBUG: \"GET /api/histories/5729865256bc2525/contents/5729865256bc2525/display?raw=true&key=4ae730223dcd94beeb67e4990d1568f0 HTTP/1.1\" 200 None\nbase.twilltestcase: DEBUG: keepoutdir: /tmp/tmp2u132I/jobfiles, ofn: /tmp/tmp2u132I/jobfiles/recurring_result2.txt\nbase.twilltestcase: DEBUG: ## GALAXY_TEST_SAVE=/tmp/tmp2u132I/jobfiles. saved /tmp/tmp2u132I/jobfiles/recurring_result2.txt\nbase.twilltestcase: INFO: ## files diff on /home/bag/projects/code/galaxytools/text_processing/text_processing/test-data/recurring_result2.txt and /tmp/tmp2u132I/tmp/tmpg7l0Jdrecurring_result2.txt lines_diff=0, found diff = 10\nrequests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): localhost\nrequests.packages.urllib3.connectionpool: DEBUG: \"GET /api/jobs/5729865256bc2525?full=true&key=4ae730223dcd94beeb67e4990d1568f0 HTTP/1.1\" 200 None\n--------------------- >> end captured logging << ---------------------\n", "problem_type": "functional.test_toolbox.JobOutputsError"}, "id": "functional.test_toolbox.TestForTool_tp_text_file_with_recurring_lines.test_tool_000001", "has_data": true}], "version": "0.1", "summary": {"num_skips": 0, "num_errors": 0, "num_failures": 1, "num_tests": 2}}