Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in mlcr --quiet --tags=get,sys-utils-cm #179

Closed
KathpaliaChirag opened this issue Feb 3, 2025 · 2 comments
Closed

Error in mlcr --quiet --tags=get,sys-utils-cm #179

KathpaliaChirag opened this issue Feb 3, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@KathpaliaChirag
Copy link

command used : mlcr --quiet --tags=get,sys-utils-cm

issue : Requirement already satisfied: pip in c:\users\chira\appdata\local\programs\python\python313\lib\site-packages (24.3.1)
Collecting pip
Downloading pip-25.0-py3-none-any.whl.metadata (3.7 kB)
Downloading pip-25.0-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 4.3 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 24.3.1
Uninstalling pip-24.3.1:
Successfully uninstalled pip-24.3.1
Successfully installed pip-25.0
PS C:\Users\chira> mlcr --quiet --tags=get,sys-utils-cm
[2025-02-03 20:46:35,921 module.py:574 INFO] - * mlcr get,sys-utils-cm
[2025-02-03 20:46:35,941 module.py:574 INFO] - * mlcr detect,os
[2025-02-03 20:46:35,954 module.py:5354 INFO] - ! cd C:\Users\chira\mlc\repos\local\cache\get-sys-utils-cm_7ab27bc1
[2025-02-03 20:46:35,954 module.py:5355 INFO] - ! call C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\run.bat from tmp-run.bat
[2025-02-03 20:46:35,998 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\customize.py
[2025-02-03 20:46:36,003 module.py:574 INFO] - * mlcr get,sys-utils-min
[2025-02-03 20:46:36,024 module.py:574 INFO] - * mlcr detect,os
[2025-02-03 20:46:36,028 module.py:5354 INFO] - ! cd C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d
[2025-02-03 20:46:36,028 module.py:5355 INFO] - ! call C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\run.bat from tmp-run.bat
[2025-02-03 20:46:36,056 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\customize.py
[2025-02-03 20:46:36,115 module.py:574 INFO] - * mlcr get,generic,sys-util,_xz
[2025-02-03 20:46:36,138 module.py:574 INFO] - * mlcr detect,os
[2025-02-03 20:46:36,142 module.py:5354 INFO] - ! cd C:\Users\chira\mlc\repos\local\cache\get-generic-sys-util_0ac914a8
[2025-02-03 20:46:36,142 module.py:5355 INFO] - ! call C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\run.bat from tmp-run.bat
[2025-02-03 20:46:36,171 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\customize.py
[2025-02-03 20:46:36,179 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\get-generic-sys-util\customize.py
[2025-02-03 20:46:36,243 module.py:574 INFO] - * mlcr get,generic,sys-util,_zlib
[2025-02-03 20:46:36,257 module.py:574 INFO] - * mlcr detect,os
[2025-02-03 20:46:36,260 module.py:5354 INFO] - ! cd C:\Users\chira\mlc\repos\local\cache\get-generic-sys-util_600c42d1
[2025-02-03 20:46:36,260 module.py:5355 INFO] - ! call C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\run.bat from tmp-run.bat
[2025-02-03 20:46:36,288 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\customize.py
[2025-02-03 20:46:36,328 module.py:574 INFO] - * mlcr get,generic-sys-util,_install,_zlib
[2025-02-03 20:46:36,340 module.py:574 INFO] - * mlcr detect,os
[2025-02-03 20:46:36,344 module.py:5354 INFO] - ! cd C:\Users\chira\mlc\repos\local\cache\get-generic-sys-util_d657c721
[2025-02-03 20:46:36,344 module.py:5355 INFO] - ! call C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\run.bat from tmp-run.bat
[2025-02-03 20:46:36,374 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\customize.py
[2025-02-03 20:46:36,380 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\get-generic-sys-util\customize.py
[2025-02-03 20:46:36,389 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\get-generic-sys-util\customize.py

Current directory: C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d

Downloading from https://zenodo.org/records/13868077/files/cm-artifact-os-windows-32.zip?download=1
[2025-02-03 20:46:36,414 module.py:574 INFO] - * mlcr download-and-extract,_extract
[2025-02-03 20:46:36,437 module.py:574 INFO] - * mlcr download,file,_cmutil,_url.https://zenodo.org/records/13868077/files/cm-artifact-os-windows-32.zip?download=1
[2025-02-03 20:46:36,455 module.py:574 INFO] - * mlcr detect,os
[2025-02-03 20:46:36,458 module.py:5354 INFO] - ! cd C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d
[2025-02-03 20:46:36,458 module.py:5355 INFO] - ! call C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\run.bat from tmp-run.bat
[2025-02-03 20:46:36,489 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\customize.py

Downloading from https://zenodo.org/records/13868077/files/cm-artifact-os-windows-32.zip?download=1
Downloading to C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d\cm-artifact-os-windows-32.zip

C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\urllib3\connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'zenodo.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
Downloaded: 100%
[2025-02-03 20:46:41,707 module.py:5354 INFO] - ! cd C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d
[2025-02-03 20:46:41,707 module.py:5355 INFO] - ! call C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\download-file\run.bat from tmp-run.bat
[2025-02-03 20:46:41,753 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\download-file\customize.py
[2025-02-03 20:46:41,756 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\download-and-extract\customize.py
[2025-02-03 20:46:41,761 module.py:574 INFO] - * mlcr extract,file,_path.C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d\cm-artifact-os-windows-32.zip
[2025-02-03 20:46:41,777 module.py:574 INFO] - * mlcr detect,os
[2025-02-03 20:46:41,781 module.py:5354 INFO] - ! cd C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d
[2025-02-03 20:46:41,781 module.py:5355 INFO] - ! call C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\run.bat from tmp-run.bat
[2025-02-03 20:46:41,813 module.py:5501 INFO] - ! call "postprocess" from C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\detect-os\customize.py

Current directory: C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d
Command line: "unzip C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d\cm-artifact-os-windows-32.zip"

[2025-02-03 20:46:41,819 module.py:5354 INFO] - ! cd C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d
[2025-02-03 20:46:41,819 module.py:5355 INFO] - ! call C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\extract-file\run.bat from tmp-run.bat

unzip C:\Users\chira\mlc\repos\local\cache\get-sys-utils-min_8b0d032d\cm-artifact-os-windows-32.zip
'unzip' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Scripts\mlcr.exe_main
.py", line 7, in
sys.exit(mlcr())
~~~~^^
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1327, in mlcr
main()
~~~~^^
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1414, in main
res = method(run_args)
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1185, in run
return self.call_script_module_function("run", run_args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1165, in call_script_module_function
result = automation_instance.run(run_args) # Pass args to the run method
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 225, in run
r = self._run(i)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 1645, in _run
r = self._call_run_deps(deps, self.local_env_keys, local_env_keys_from_meta, env, state, const, const_state, add_deps_recursive,
recursion_spaces + extra_recursion_spaces,
remembered_selections, variation_tags_string, False, debug_script_tags, verbose, show_time, extra_recursion_spaces, run_state)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 3552, in _call_run_deps
r = script._run_deps(deps, local_env_keys, env, state, const, const_state, add_deps_recursive, recursion_spaces,
remembered_selections, variation_tags_string, found_cached, debug_script_tags,
verbose, show_time, extra_recursion_spaces, run_state)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 3722, in _run_deps
r = self.action_object.access(ii)
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 93, in access
result = method(self, options)
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1185, in run
return self.call_script_module_function("run", run_args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1165, in call_script_module_function
result = automation_instance.run(run_args) # Pass args to the run method
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 225, in run
r = self._run(i)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 1899, in _run
r = self._run_deps(post_deps, clean_env_keys_post_deps, env, state, const, const_state, add_deps_recursive, recursion_spaces,
remembered_selections, variation_tags_string, found_cached, debug_script_tags, verbose, show_time, extra_recursion_spaces, run_state)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 3722, in _run_deps
r = self.action_object.access(ii)
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 93, in access
result = method(self, options)
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1185, in run
return self.call_script_module_function("run", run_args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1165, in call_script_module_function
result = automation_instance.run(run_args) # Pass args to the run method
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 225, in run
r = self._run(i)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 1786, in _run
r = customize_code.preprocess(ii)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\script\get-sys-utils-min\customize.py", line 43, in preprocess
r = cm.access({'action': 'run',
'target': 'script',
'env': env,
'tags': 'download-and-extract,_extract',
'url': url})
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 93, in access
result = method(self, options)
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1185, in run
return self.call_script_module_function("run", run_args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1165, in call_script_module_function
result = automation_instance.run(run_args) # Pass args to the run method
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 225, in run
r = self._run(i)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 1872, in _run
r = prepare_and_run_script_with_postprocessing(
run_script_input)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 5508, in prepare_and_run_script_with_postprocessing
r = script_automation._call_run_deps(posthook_deps, local_env_keys, local_env_keys_from_meta, env, state, const, const_state,
add_deps_recursive, recursion_spaces, remembered_selections, variation_tags_string, found_cached, debug_script_tags, verbose, show_time, ' ', run_state)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 3552, in _call_run_deps
r = script._run_deps(deps, local_env_keys, env, state, const, const_state, add_deps_recursive, recursion_spaces,
remembered_selections, variation_tags_string, found_cached, debug_script_tags,
verbose, show_time, extra_recursion_spaces, run_state)
File "C:\Users\chira/MLC/repos\mlcommons@mlperf-automations\automation\script\module.py", line 3722, in _run_deps
r = self.action_object.access(ii)
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 93, in access
result = method(self, options)
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1185, in run
return self.call_script_module_function("run", run_args)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "C:\Users\chira\AppData\Local\Programs\Python\Python313\Lib\site-packages\mlc\main.py", line 1175, in call_script_module_function
raise ScriptExecutionError(f"Script {function_name} execution failed. Error : {error}")
mlc.main.ScriptExecutionError: Script run execution failed. Error : MLC script failed (name = extract-file, return code = 1)

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please file an issue at https://github.com/mlcommons/mlperf-automations/issues along with the full MLC command being run and the relevant
or full console log.

@arjunsuresh
Copy link
Collaborator

Hi @KathpaliaChirag Can you please do mlc pull repo and see if this issue is now resolved?

@arjunsuresh arjunsuresh added the bug Something isn't working label Feb 4, 2025
@arjunsuresh arjunsuresh self-assigned this Feb 4, 2025
@KathpaliaChirag
Copy link
Author

got it fixed now thankyou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants