Hello.
I have encounter an issue while trying to pull and build adore.
Script approach
So far I have tried running the following line from here
bash <(curl -sSL https://raw.githubusercontent.com/DLR-TS/adore_tools/master/tools/adore_setup.sh)
This results in the ERROR exporting to image
message being printed in the following parts of the output:
=> CACHED [plotlabserver_builder 3/3] RUN cd "/tmp/plotlabserver/plotlabserver" && bash build.sh 0.0s
=> ERROR exporting to image 0.0s
=> => exporting layers 0.0s
------
> exporting to image:
------
ERROR: failed to solve: layer does not exist
make[5]: *** [Makefile:82: build] Error 1
make[4]: *** [Makefile:66: build_fast] Error 2
make[3]: *** [plotlabserver.mk:42: build_fast_plotlabserver] Error 2
make[2]: *** [Makefile:23: build] Error 2
make[1]: *** [adore_cli.mk:100: build_adore_cli] Error 2
make: *** [adore_cli/adore_cli.mk:91: build_fast_adore_cli] Error 2
However this is followed by ADORe was setup successfully!
message at the end of the script execution.
After cd adore
and make cli
the same error message is printed out and build fails:
=> ERROR exporting to image 0.0s
=> => exporting layers 0.0s
------
> exporting to image:
------
ERROR: failed to solve: layer does not exist
make[2]: *** [Makefile:82: build] Error 1
make[1]: *** [Makefile:66: build_fast] Error 2
make: *** [/<path-to-adore>/adore/plotlabserver/plotlabserver.mk:42: build_fast_plotlabserver] Error 2
I have also tried make clean
after this which for some reason does not remove some docker containers created during the build process:
docker container ls -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c0f45a9d7639 dfdced2c4acc "/bin/bash" 19 minutes ago Created suspicious_wilson
766c5d801f2c dfdced2c4acc "/bin/bash" 20 minutes ago Created brave_snyder
e758860f6aea dfdced2c4acc "/bin/bash" 23 minutes ago Created jolly_gates
d79e9e888db5 dfdced2c4acc "/bin/bash" 23 minutes ago Created reverent_gauss
1554259f848f dfdced2c4acc "/bin/bash" 24 minutes ago Created mystifying_mahavira
a9fcb7d5993a dfdced2c4acc "/bin/bash" 24 minutes ago Created elastic_haibt
6c28a848f536 apt-cacher-ng:latest "/bin/sh -c 'chmod 7…" 25 minutes ago Up 25 minutes 0.0.0.0:3142->3142/tcp, :::3142->3142/tcp apt-cacher-ng
ae29e95afb26 hello-world "/hello" 25 minutes ago Exited (0) 25 minutes ago youthful_visvesvaraya
apt-cacher-ng container is also left running.
docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6c28a848f536 apt-cacher-ng:latest "/bin/sh -c 'chmod 7…" 28 minutes ago Up 28 minutes 0.0.0.0:3142->3142/tcp, :::3142->3142/tcp apt-cacher-ng
Github approach
After killing running containers, and removing the leftovers, and deleting leftover images, I tried the approach described in the getting started guide
After making sure that Requirements are met:
cat /etc/os-release | grep "VERSION=" | cut -d"=" -f2
"22.04.3 LTS (Jammy Jellyfish)"
df -h . | awk 'NR==2 {print "Available Free Space:", $4}'
Available Free Space: 60G
make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
I cloned the git repo, and updated the submodules
git clone [email protected]:eclipse/adore.git
cd adore
git submodule update --init
Which I followed by make cli
which produced the same error:
=> CACHED [plotlabserver_builder 3/3] RUN cd "/tmp/plotlabserver/plotlabserver" && bash build.sh 0.0s
=> ERROR exporting to image 0.0s
=> => exporting layers 0.0s
------
> exporting to image:
------
ERROR: failed to solve: layer does not exist
make[2]: *** [Makefile:82: build] Error 1
make[1]: *** [Makefile:66: build_fast] Error 2
make: *** [/<path-to-adore>/adore/plotlabserver/plotlabserver.mk:42: build_fast_plotlabserver] Error 2
Has anyone encountered something similar? I would gladly accept any suggestions on troubleshooting this.
My personal observations
- Yesterday I successfully built everything using the github approach and by running
make build_all
, however when running make cli
afterward and executing cd adore_scenarios
followed by roslaunch baseline_test.launch
the example crashed after a while because of missing adore_if_ros_msg definition navigationgoal.
- I had a separate repository in which I had built adore some 5 months ago just to test the concept of adore and in it I could successfully launch the baseline_test.launch. Only difference I found using
git submodule status --recursive
in both directories was that in the latest version adore_cli was on 6110ae7
instead of heads/master
and adore_cli/plotlabserver was on remotes/origin/fix-memory-leak-14-g67ec8a4
instead of heads/master
- However since then I ran
make clean
and building in both directories fail to build with the same error. So I am stuck not being able to run the examples and also having no idea, what changed during this time.