Closed the-gpt closed 1 week ago
Thanks -- any chance you have some formal documentation on what is in that file?
Looks like that was a spammer trying to get folks to download a file. Sorry about that!
Updated error log after re-installing LLVM and adding to path. Will uninstall everything and try restarting the installation process later.
(max-nightly-venv) evan@LAPTOP-JL0BGSA2:~$ modular update nightly/mojo
# Found release for https://packages.modular.com/nightly/mojo @ 2024.8.2705
# Downloading archive: packages/2024.8.2705/mojo-x86_64-unknown-linux-gnu-2024.8.2705-137-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/tmpg88olmiy/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:
[26863:26863:20240827,012820.756816:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[26863:26863:20240827,012820.756906:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: 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
[26863:26864:20240827,012820.758421:ERROR directory_reader_posix.cc:42] opendir /home/evan/.modular/crashdb/attachments/94669807-7bd7-4428-9068-c7bac4d1c650: No such file or directory (2)
#0 0x000055f868eb7538 (/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x12ee538)
#1 0x000055f868eb542e (/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x12ec42e)
#2 0x000055f868eb7bcd (/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x12eebcd)
#3 0x00007f551a5f8520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
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:/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/tmpg88olmiy/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:
[26863:26863:20240827,012820.756816:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[26863:26863:20240827,012820.756906:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: 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
[26863:26864:20240827,012820.758421:ERROR directory_reader_posix.cc:42] opendir /home/evan/.modular/crashdb/attachments/94669807-7bd7-4428-9068-c7bac4d1c650: No such file or directory (2)
#0 0x000055f868eb7538 (/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x12ee538)
#1 0x000055f868eb542e (/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x12ec42e)
#2 0x000055f868eb7bcd (/home/evan/.modular/pkg/packages.modular.com_nightly_mojo/bin/mojo+0x12eebcd)
#3 0x00007f551a5f8520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
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.
Bug description
Raising a bug as instructed by the error handling in the
modular update nightly/mojo
sequence: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
System information