mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-08-31 01:02:04 +08:00
4e650b4e9a
(which started failing since ubuntu-latest was moved to 24.04) by upgrading apptainer to >=1.3.3 to include https://github.com/apptainer/apptainer/pull/2262 . Fix: ``` > assert "samtools:1.0--1" in results["passed"], results E AssertionError: E {'failed': [{'commands': ['python -c "import pyBigWig; assert(pyBigWig.numpy ' E '== 1); assert(pyBigWig.remote == 1)"'], E 'container': 'pybigwig:0.3.22--py36h54a71a5_0', E 'errors': [{'command': 'python -c "import pyBigWig; ' E 'assert(pyBigWig.numpy == 1); ' E 'assert(pyBigWig.remote == 1)"', E 'output': '\x1b[91mERROR : Could not write info to ' E 'setgroups: Permission denied\n' E '\x1b[0m\x1b[91mERROR : Error while ' E 'waiting event for user namespace mappings: ' E 'no event received\n' E '\x1b[0m'}, E {'import': 'pyBigWig', E 'output': '\x1b[91mERROR : Could not write info to ' E 'setgroups: Permission denied\n' E '\x1b[0m\x1b[91mERROR : Error while ' E 'waiting event for user namespace mappings: ' E 'no event received\n' E '\x1b[0m'}], E 'import_lang': 'python -c', E 'imports': ['pyBigWig']}, E {'commands': ['samtools view --help 2>&1 | grep Notes > /dev/null'], E 'container': 'samtools:1.0--1', E 'errors': [{'command': 'samtools view --help 2>&1 | grep Notes > ' E '/dev/null', E 'output': '\x1b[91mERROR : Could not write info to ' E 'setgroups: Permission denied\n' E '\x1b[0m\x1b[91mERROR : Error while ' E 'waiting event for user namespace mappings: ' E 'no event received\n' E '\x1b[0m'}], E 'import_lang': 'python -c'}], E 'notest': ['yasm:1.3.0--0'], E 'passed': []} E assert 'samtools:1.0--1' in [] ``` Also: - Improve assertion messages to facilitate debugging
49 lines
2.6 KiB
INI
49 lines
2.6 KiB
INI
[pytest]
|
|
addopts = --doctest-continue-on-failure --verbosity=1 --showlocals
|
|
asyncio_mode = auto
|
|
log_level = DEBUG
|
|
# Install pytest-memray and set memray to true here to enable memory profiling of tests
|
|
# memray = true
|
|
pythonpath = lib
|
|
markers =
|
|
data_manager: marks test as a data_manager test
|
|
external_dependency_management: slow tests which resolves dependencies with e.g. conda
|
|
require_new_history: test that needs to be given a new history
|
|
tool: marks test as a tool test
|
|
requires_tool_id: marks API test as requiring specified tool id
|
|
gtn_screenshot: marks test as a screenshot producer for galaxy training network
|
|
local: mark indicates, that it is sufficient to run test locally to get relevant artifacts (e.g. screenshots)
|
|
external: mark indicates, that test has to be run against external production server to get relevant artifacts (e.g. screenshots)
|
|
green: test expected to pass
|
|
red: test expected to fail
|
|
command_line_tool: CWL conformance test tagged command_line_tool
|
|
conditional: CWL conformance test tagged conditional
|
|
docker: CWL conformance test tagged docker
|
|
env_var: CWL conformance test tagged env_var
|
|
expression_tool: CWL conformance test tagged expression_tool
|
|
format_checking: CWL conformance test tagged format_checking
|
|
initial_work_dir: CWL conformance test tagged initial_work_dir
|
|
inline_javascript: CWL conformance test tagged inline_javascript
|
|
inplace_update: CWL conformance test tagged inplace_update
|
|
input_object_requirements: CWL conformance test tagged input_object_requirements
|
|
load_listing: CWL conformance test tagged load_listing
|
|
multiple: CWL conformance test tagged multiple
|
|
multiple_input: CWL conformance test tagged multiple_input
|
|
networkaccess: CWL conformance test tagged networkaccess
|
|
required: required for CWL conformance
|
|
resource: CWL conformance test tagged resource
|
|
scatter: CWL conformance test tagged scatter
|
|
schema_def: CWL conformance test tagged schema_def
|
|
secondary_files: CWL conformance test tagged secondary_files
|
|
shell_command: CWL conformance test tagged shell_command
|
|
step_input: CWL conformance test tagged step_input
|
|
step_input_expression: CWL conformance test tagged step_input_expression
|
|
subworkflow: CWL conformance test tagged subworkflow
|
|
timelimit: CWL conformance test tagged timelimit
|
|
workflow: CWL conformance test tagged workflow
|
|
work_reuse: CWL conformance test tagged work_reuse
|
|
cwl_conformance: all CWL conformance tests
|
|
cwl_conformance_v1_0: CWL v1.0 conformance tests
|
|
cwl_conformance_v1_1: CWL v1.1 conformance tests
|
|
cwl_conformance_v1_2: CWL v1.2 conformance tests
|