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 during building image #4

Open
kkh0607 opened this issue Jan 28, 2020 · 1 comment
Open

error during building image #4

kkh0607 opened this issue Jan 28, 2020 · 1 comment

Comments

@kkh0607
Copy link

kkh0607 commented Jan 28, 2020

hi, I’m following the tutorial in duckietown site and trying to build ros docker image on robot.
https://docs.duckietown.org/daffy/duckietown-robotics-development/out/dt_infrastructure.html
this is the link to the page that I’m trying.

and from the command line I typed: (duckieking is my robot’s hostname)
$dts devel build -f –arch arm32v7 -H duckieking.local

and this are the error messages:

OCI runtime create failed: container_linux.go:348: starting container process caused “exec: “/bin/sh”: stat /bin/sh: no such file or directory”: unknown
ERROR:dts:The command [‘docker’, ‘-H=duckieking.local’, ‘build’, ‘–pull=0’, ‘–no-cache=0’, ‘-t’, ‘duckietown/newfile:v1-arm32v7’, ‘–label’, ‘org.duckietown.label.code.vcs=git’, ‘–label’, ‘org.duckietown.label.code.repository=newfile’, ‘–label’, ‘org.duckietown.label.code.branch=v1’, ‘–label’, ‘org.duckietown.label.code.url=https://github.com/”my-repo-name”/newfile’, ‘–label’, ‘org.duckietown.label.template.name=template-ros’, ‘–label’, ‘org.duckietown.label.template.version=1’, ‘–build-arg’, ‘ARCH=arm32v7’, ‘/home/user/newfile’] returned exit code 1

dts : Traceback (most recent call last):
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/main.py”, line 38, in cli_main
: cli_main_()
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/main.py”, line 175, in cli_main_
: shell.onecmd(cmdline)
: File “/usr/lib/python3.6/cmd.py”, line 217, in onecmd
: return func(arg)
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/cli.py”, line 287, in
: do_command_lam = lambda s, w: do_command(klass, s, w)
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/dt_command_abs.py”, line 42, in do_command
: cls.commands[word], shell, ” “.join(parts[1:])
: File “/home/user/.local/lib/python3.6/site-packages/dt_shell/dt_command_abs.py”, line 50, in do_command
: cls.command(shell, args)
: File “/home/user/.dt-shell/commands-multi/daffy/devel/build/command.py”, line 261, in command
: ], True, True)
: File “/home/user/.dt-shell/commands-multi/daffy/devel/build/command.py”, line 342, in _run_cmd
: raise RuntimeError(msg)
: RuntimeError: The command [‘docker’, ‘-H=duckieking.local’, ‘build’, ‘–pull=0’, ‘–no-cache=0’, ‘-t’, ‘duckietown/newfile:v1-arm32v7’, ‘–label’, ‘org.duckietown.label.code.vcs=git’, ‘–label’, ‘org.duckietown.label.code.repository=newfile’, ‘–label’, ‘org.duckietown.label.code.branch=v1’, ‘–label’, ‘org.duckietown.label.code.url=https://github.com/”my-repo”/newfile’, ‘–label’, ‘org.duckietown.label.template.name=template-ros’, ‘–label’, ‘org.duckietown.label.template.version=1’, ‘–build-arg’, ‘ARCH=arm32v7’, ‘/home/user/newfile’] returned exit code 1
dts : If you think this is a bug, please report that you are using:
:
: duckietown-challenges: 5.1.4
: duckietown-shell-commands: 5.0.2
: python: “3.6.8 (default, Oct 7 2019, 12:59:55) n[GCC 8.3.0]”
: duckietown-shell: 5.1.4
: commands-version: daffy
: encodings:
: stdout: UTF-8
: stderr: UTF-8
: locale: UTF-8

I tried deleting previous images and restart docker. Also tried docker system prune.
I’m still kindda knew to docker and ros, I appreciate any help or hints..
add: “dts devel build -f –arch amd64” worked without any problem..

@liampaull
Copy link
Member

@kkh0607 we should look into this. Let us know if the problem persists or if you found a solution.

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

2 participants