-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Quote paths in docker invocation #622
Comments
Looking up the error code 125 for If you can try a run with that configuration and can confirm that works, I would appreciate that. If my hunch is correct, I'll try to set up a patch branch for you to try out that quotes provided paths when I can find the time. |
@PGijsbers I configured it in two ways and even so it still goes to the folder that has space. That's why I find it strange. I created the form following the path C:\projetos-pythons\autobenchmark\automlbenchmark and also as '{root}'. At first, when you upload the image, it recognizes the folder paths, but when you run the framework, the error continues.
Job
|
Is possible execute in ubuntu 22.04 in docker? |
Sorry for the slow reply, somehow this issue fell off the radar. In case it is still relevant to you or anyone else: Specifying the input directory explicitly to a quoted path (or one without spaces) may work. I'll try to patch the underlying issue of unquoted mounth paths. |
When I try to run it through Windows on the Docker machine, it gives this error. However, I updated the python I'm running. Python is currently version 3.11.4 and still presents this error. The docker process dies.
Running cmd
docker kill tpot.test.test.docker.20240526T200606.fSf0WHzreua0GuH_Z7N4ZA__
Error response from daemon: cannot kill container: tpot.test.test.docker.20240526T200606.fSf0WHzreua0GuH_Z7N4ZA__: No such container: tpot.test.test.docker.20240526T200606.fSf0WHzreua0GuH_Z7N4ZA__
Job
docker.test.test.all_tasks.all_folds.TPOT
failed with error: Command 'docker run --name tpot.test.test.docker.20240526T200606.fSf0WHzreua0GuH_Z7N4ZA__ --shm-size=2048M -v C:\Users\Maicon Santos.openml:/input -v C:\projetos-pythons\autobenchmark\automlbenchmark\results\tpot.test.test.docker.20240526T200606:/output -v C:\Users\Maicon Santos.config\automlbenchmark:/custom --rm automlbenchmark/tpot:stable-v2.1.7 tpot test test -Xseed=auto -i /input -o /output -u /custom -s skip -Xrun_mode=docker --session=' returned non-zero exit
status 125.
Traceback (most recent call last):
File "C:\projetos-pythons\autobenchmark\automlbenchmark\amlb\job.py", line 120, in start
result = self._run()
^^^^^^^^^^^
File "C:\projetos-pythons\autobenchmark\automlbenchmark\amlb\runners\container.py", line 109, in _run
self.start_container("{framework} {benchmark} {constraint} {task_param} {folds_param} -Xseed={seed}".format(
File "C:\projetos-pythons\autobenchmark\automlbenchmark\amlb\runners\docker.py", line 76, in start_container
run_cmd(cmd, capture_error=False) # console logs are written on stderr by default: not capturing allows live display
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\projetos-pythons\autobenchmark\automlbenchmark\amlb\utils\process.py", line 281, in run_cmd
raise e
File "C:\projetos-pythons\autobenchmark\automlbenchmark\amlb\utils\process.py", line 255, in run_cmd
completed = run_subprocess(str_cmd if params.shell else full_cmd,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\projetos-pythons\autobenchmark\automlbenchmark\amlb\utils\process.py", line 98, in run_subprocess
raise subprocess.CalledProcessError(retcode, process.args, output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'docker run --name tpot.test.test.docker.20240526T200606.fSf0WHzreua0GuH_Z7N4ZA --shm-size=2048M -v C:\Users\Maicon Santos.openml:/input -v C:\projetos-pythons\autobenchmark\automlbenchmark\results\tpot.test.test.docker.20240526
T200606:/output -v C:\Users\Maicon Santos.config\automlbenchmark:/custom --rm automlbenchmark/tpot:stable-v2.1.7 tpot test test -Xseed=auto -i /input -o /output -u /custom -s skip -Xrun_mode=docker --session=' returned non-zero exit status 125
The text was updated successfully, but these errors were encountered: