Skip to content

src/sage/env.py: canonicalize paths in a test #15970

src/sage/env.py: canonicalize paths in a test

src/sage/env.py: canonicalize paths in a test #15970

Triggered via pull request October 19, 2024 19:46
Status Cancelled
Total duration 15m 19s
Artifacts 1

build.yml

on: pull_request
Matrix: test-long
Matrix: test-mod
coverage-report
39s
coverage-report
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Failed example:: src/sage/env.py#L17
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.env[8]>", line 1, in <module> out = check_output([sys.executable, "-c", cmd], env=env).decode().strip() # long time File "/usr/lib/python3.10/subprocess.py", line 421, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/sage/local/var/lib/sage/venv-python3.10/bin/python3', '-c', "from {module_name} import SAGE_ROOT, SAGE_LOCAL;from os.path import samefile;s1 = samefile(SAGE_ROOT, '/sage');s2 = samefile(SAGE_LOCAL, '/sage/local');print(s1 and s2);"]' returned non-zero exit status 1.
Failed example:: src/sage/env.py#L18
Failed example:: Exception raised: Traceback (most recent call last): File "/sage/src/sage/doctest/forker.py", line 714, in _run self.compile_and_execute(example, compiler, test.globs) File "/sage/src/sage/doctest/forker.py", line 1144, in compile_and_execute exec(compiled, globs) File "<doctest sage.env[9]>", line 1, in <module> out == "True" # long time NameError: name 'out' is not defined
test-new
Process completed with exit code 1.
coverage-report
Canceling since a higher priority waiting request for 'Build & Test-refs/pull/38826/merge' exists
coverage-report
The operation was canceled.

Artifacts

Produced during runtime
Name Size
sagemath~sage~TM7SAU.dockerbuild
170 KB