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

More than one scripts found for tags detect #77

Open
anandhu-eng opened this issue Feb 10, 2025 · 0 comments
Open

More than one scripts found for tags detect #77

anandhu-eng opened this issue Feb 10, 2025 · 0 comments

Comments

@anandhu-eng
Copy link
Contributor

To reproduce:

mlc docker script --tags=detect

output log:

anandhu@anandhu-VivoBook-ASUSLaptop-X515UA-M515UA:~$ mlc docker script --tags=detect
[2025-02-10 17:15:05,494 module.py:574 INFO] - * mlcr build,dockerfile
[2025-02-10 17:15:05,505 module.py:574 INFO] -   * mlcr get,docker
[2025-02-10 17:15:05,513 module.py:574 INFO] -     * mlcr detect,os
[2025-02-10 17:15:05,516 module.py:5354 INFO] -            ! cd /home/anandhu/MLC/repos/local/cache/get-docker_edab9b3c
[2025-02-10 17:15:05,517 module.py:5355 INFO] -            ! call /home/anandhu/MLC/repos/anandhu-eng@mlperf-automations/script/detect-os/run.sh from tmp-run.sh
[2025-02-10 17:15:05,540 module.py:5501 INFO] -            ! call "postprocess" from /home/anandhu/MLC/repos/anandhu-eng@mlperf-automations/script/detect-os/customize.py
[2025-02-10 17:15:05,590 module.py:4121 INFO] -       * /usr/bin/docker
[2025-02-10 17:15:05,591 module.py:5354 INFO] -              ! cd /home/anandhu/MLC/repos/local/cache/get-docker_edab9b3c
[2025-02-10 17:15:05,591 module.py:5355 INFO] -              ! call /home/anandhu/MLC/repos/anandhu-eng@mlperf-automations/script/get-docker/run.sh from tmp-run.sh
[2025-02-10 17:15:05,612 module.py:5501 INFO] -              ! call "detect_version" from /home/anandhu/MLC/repos/anandhu-eng@mlperf-automations/script/get-docker/customize.py
      Detected version: 27.5.1
[2025-02-10 17:15:05,615 module.py:4437 INFO] -       # Found artifact in /usr/bin/docker
[2025-02-10 17:15:05,616 module.py:5354 INFO] -          ! cd /home/anandhu/MLC/repos/local/cache/get-docker_edab9b3c
[2025-02-10 17:15:05,616 module.py:5355 INFO] -          ! call /home/anandhu/MLC/repos/anandhu-eng@mlperf-automations/script/get-docker/run.sh from tmp-run.sh
[2025-02-10 17:15:05,638 module.py:5501 INFO] -          ! call "postprocess" from /home/anandhu/MLC/repos/anandhu-eng@mlperf-automations/script/get-docker/customize.py
      Detected version: 27.5.1
Traceback (most recent call last):
  File "/home/anandhu/.local/bin/mlc", line 8, in <module>
    sys.exit(main())
  File "/home/anandhu/.local/lib/python3.10/site-packages/mlc/main.py", line 1752, in main
    res = method(run_args)
  File "/home/anandhu/.local/lib/python3.10/site-packages/mlc/main.py", line 1508, in docker
    return self.call_script_module_function("docker", run_args)
  File "/home/anandhu/.local/lib/python3.10/site-packages/mlc/main.py", line 1493, in call_script_module_function
    result = automation_instance.docker(run_args)  # Pass args to the run method
  File "/home/anandhu/MLC/repos/anandhu-eng@mlperf-automations/automation/script/module.py", line 4711, in docker
    return docker_run(self, i)
  File "/home/anandhu/MLC/repos/anandhu-eng@mlperf-automations/automation/script/docker.py", line 226, in docker_run
    r = dockerfile(self_module, i)
  File "/home/anandhu/MLC/repos/anandhu-eng@mlperf-automations/automation/script/docker.py", line 187, in dockerfile
    dockerfile_result = self_module.action_object.access(mlc_docker_input)
  File "/home/anandhu/.local/lib/python3.10/site-packages/mlc/main.py", line 96, in access
    result = method(self, options)
  File "/home/anandhu/.local/lib/python3.10/site-packages/mlc/main.py", line 1511, in run
    return self.call_script_module_function("run", run_args)
  File "/home/anandhu/.local/lib/python3.10/site-packages/mlc/main.py", line 1501, in call_script_module_function
    raise ScriptExecutionError(f"Script {function_name} execution failed. Error : {error}")
mlc.main.ScriptExecutionError: Script run execution failed. Error : More than one scripts found for tags detect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant