Bug description
Raising a bug as instructed by the error handling in the modular update nightly/mojo
sequence:
(max-nightly-venv) evan@LAPTOP-JL0BGSA2:~$ modular update nightly/mojo
# Found release for https://packages.modular.com/nightly/mojo @ 2024.8.2605
# Downloading archive: packages/2024.8.2605/mojo-x86_64-unknown-linux-gnu-2024.8.2605-135-0.tar.zst
Downloaded [ ███████████████████████████████████████████████████████████████████████████████ ] 100% 144MiB/144MiB
# Running pre-uninstall hooks for the old version...
# Extracting downloaded archives.
Extracted [ ███████████████████████████████████████████████████████████████████████████████ ] 100% 144MiB/144MiB
# Running post-install scripts...
Mojo Interop [ ███████████████████████████████████████████████░░░░░░░░░░░░░░░ ] 60% [mojo][error] Mojo SDK post-install test "`mojo build test_python.mojo`" failed:
SubprocessError: Command '/tmp/tmpvfdve2ir/test_python' died with <Signals.SIGSEGV: 11>.
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 215, in test_mojo_build
self.run(Path(tmp) / "test_python")[0],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 172, in run
raise SubprocessError(
[mojo][error] Mojo SDK post-install test "`mojo test_python.mojo`" failed:
SubprocessError: Command '/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo /home/evan/.modular/pkg/packages.modular.com_nightly_mojo/test/test_python.mojo' died with <Signals.SIGSEGV: 11>.
stderr:
[12985:12985:20240826,091313.485246:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[12985:12985:20240826,091313.485314:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[12985:12986:20240826,091313.486038:ERROR directory_reader_posix.cc:42] opendir /home/evan/.modular/crashdb/attachments/6bfb7216-7312-47b9-84d2-a5a5a12e319e: No such file or directory (2)
Please submit a bug report to https://github.com/modularml/mojo/issues and include the crash backtrace along with all the relevant source codes.
Stack dump:
0. Program arguments: /home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo /home/evan/.modular/pkg/packages.modular.com_nightly_mojo/test/test_python.mojo
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 mojo 0x0000555a035c2478
1 mojo 0x0000555a035c036e
2 mojo 0x0000555a035c2b0d
3 libc.so.6 0x00007f250d7ec520
mojo crashed!
Please file a bug report.
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 362, in test_mojo_run
self.run_mojo(self.test_dir / "test_python.mojo")[0],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 184, in run_mojo
return self.run(self.mojo, subcommand, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 172, in run
raise SubprocessError(
[mojo][error] Some components of the Mojo SDK may have been installed successfully, but others may not work as expected.
[mojo][error] Please submit an issue to https://github.com/modularml/mojo and include the full output of the command you just ran.
Mojo Interop [ ███████████████████████████████████████████████░░░░░░░░░░░░░░░ ] 60%
modular: error: failed to run script
==========================
Failure Information:
- Script: `PATH=/home/evan/max-nightly-venv/bin:/home/evan/.modular/pkg/packages.modular.com_nightly_max/bin:/home/evan/.modular/pkg/packages.modular.com_max/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin HOME=/home/evan MODULAR_HOME=/home/evan/.modular PYTHONPATH=/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/venv/lib/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/venv/bin/python /home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py --modular-home /home/evan/.modular --modular-data /home/evan/.modular --modular-config /home/evan/.modular --package-path /home/evan/.modular/pkg/packages.modular.com_nightly_mojo --mojo-config-section mojo-nightly --tests build,run`
- Result: 1
- Stderr:
[mojo][error] Mojo SDK post-install test "`mojo build test_python.mojo`" failed:
SubprocessError: Command '/tmp/tmpvfdve2ir/test_python' died with <Signals.SIGSEGV: 11>.
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 215, in test_mojo_build
self.run(Path(tmp) / "test_python")[0],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 172, in run
raise SubprocessError(
[mojo][error] Mojo SDK post-install test "`mojo test_python.mojo`" failed:
SubprocessError: Command '/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo /home/evan/.modular/pkg/packages.modular.com_nightly_mojo/test/test_python.mojo' died with <Signals.SIGSEGV: 11>.
stderr:
[12985:12985:20240826,091313.485246:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[12985:12985:20240826,091313.485314:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[12985:12986:20240826,091313.486038:ERROR directory_reader_posix.cc:42] opendir /home/evan/.modular/crashdb/attachments/6bfb7216-7312-47b9-84d2-a5a5a12e319e: No such file or directory (2)
Please submit a bug report to https://github.com/modularml/mojo/issues and include the crash backtrace along with all the relevant source codes.
Stack dump:
0. Program arguments: /home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo /home/evan/.modular/pkg/packages.modular.com_nightly_mojo/test/test_python.mojo
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 mojo 0x0000555a035c2478
1 mojo 0x0000555a035c036e
2 mojo 0x0000555a035c2b0d
3 libc.so.6 0x00007f250d7ec520
mojo crashed!
Please file a bug report.
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 362, in test_mojo_run
self.run_mojo(self.test_dir / "test_python.mojo")[0],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 184, in run_mojo
return self.run(self.mojo, subcommand, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/scripts/checks/self-test-complex.py", line 172, in run
raise SubprocessError(
[mojo][error] Some components of the Mojo SDK may have been installed successfully, but others may not work as expected.
[mojo][error] Please submit an issue to https://github.com/modularml/mojo and include the full output of the command you just ran.
In addition, running the command again to retry leads to # No updates available for this packages found
, which I believe leads to confusion since that message suggests no updates are needed, while running mojo/max --version shows an outdated version:
(max-nightly-venv) evan@LAPTOP-JL0BGSA2:~$ mojo --version mojo 2024.8.1517 (ee6ccd9a)
(max-nightly-venv) evan@LAPTOP-JL0BGSA2:~$ max --version max 2024.8.1517 (ee6ccd9a) Modular version 2024.8.1517
Steps to reproduce
- Include relevant code snippet or link to code that did not work as expected.
- If applicable, add screenshots to help explain the problem.
- If using the Playground, name the pre-existing notebook that failed and the steps that led to failure.
- Include anything else that might help us debug the issue.
System information
- What OS did you do install Mojo on ? Ubuntu 22.04.3 LTS (GNU/Linux 5.15.153.1-microsoft-standard-WSL2 x86_64) (Ubuntu via WSL2 on Windows)
- Provide version information for Mojo by pasting the output of `mojo -v`
- Provide Modular CLI version by pasting the output of `modular -v`
Trying to go to `https://packages.modular.com/nightly/mojo @ 2024.8.2605` while on 2024.8.1517.