Comments (6)
After manually
cd plotlabserver/
git submodule update --init --recursive
make build
And trying again to make cli
I now run into a different error:
=> CACHED [adore_if_ros_builder 1/2] WORKDIR /tmp/adore_if_ros/adore_if_ros/build 0.0s
=> CACHED [adore_if_ros_builder 2/2] RUN source /opt/ros/noetic/setup.bash && cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INS 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:7d46c024a579a38fd0a5109835d901d5c77ccf5ea94d9be7aa241bbd145f7631 0.0s
=> => naming to docker.io/library/adore_if_ros:3d04171 0.0s
rm -rf "adore_if_ros/build"
docker cp $(docker create --rm adore_if_ros:3d04171):/tmp/adore_if_ros/adore_if_ros/build adore_if_ros
Successfully copied 463MB to /<path-to-adore>/adore/adore_if_ros/adore_if_ros
cd /<path-to-adore>/adore/apt_cacher_ng_docker && make up
Apt-Cacher NG already running statistics dashboard is located at: http://127.0.0.1:3142/acng-report.html
cd /<path-to-adore>/adore/plotlabserver && make build_fast_plotlabserver
cd "/<path-to-adore>/adore/plotlabserver" && make build_fast
Docker image: plotlabserver_build:0fad7e5 already build, skipping build.
Docker image: plotlabserver:0fad7e5 already build, skipping build.
docker cp $(docker create --rm plotlabserver_build:0fad7e5):/tmp/plotlabserver/plotlabserver/build "/<path-to-adore>/adore/plotlabserver/plotlabserver"
Successfully copied 5.91MB to /<path-to-adore>/adore/plotlabserver/plotlabserver
mkdir -p adore_cli/build
cd "/<path-to-adore>/adore/adore_cli" && \
docker compose -f /<path-to-adore>/adore/docker-compose.yaml build adore_cli \
--build-arg ADORE_CLI_PROJECT=adore_cli \
--build-arg ADORE_CLI_PROJECT_X11_DISPLAY=adore_cli_x11_display \
--build-arg UID=1000 \
--build-arg GID=1000 \
--build-arg DOCKER_GID=999 \
--build-arg ADORE_IF_ROS_TAG=3d04171 && \
docker compose -f /<path-to-adore>/adore/docker-compose.yaml build adore_cli_x11_display \
--build-arg ADORE_CLI_PROJECT=adore_cli \
--build-arg ADORE_CLI_PROJECT_X11_DISPLAY=adore_cli_x11_display \
--build-arg UID=1000 \
--build-arg GID=1000 \
--build-arg DOCKER_GID=999 \
--build-arg ADORE_CLI_TAG=6110ae7
service "adore_cli" can't be used with `extends` as it declare `depends_on`
make[2]: *** [Makefile:25: build] Error 15
make[1]: *** [adore_cli.mk:100: build_adore_cli] Error 2
make: *** [adore_cli/adore_cli.mk:91: build_fast_adore_cli] Error 2
P.S. I changed the actual path to the adore repo to , hopefully this does not cause any confusion or issue.
from adore.
@Themaksiest I am looking into the first issue to see if I can replicate it.
The second issue is related to an update in docker (see: docker/compose#11544). A pr will be coming for this. A temporary fix is to downgrade docker as suggested in the linked issue. The ADORe installation script installs the latest version of docker.
I will push a fix for this pronto. Finally, @Themaksiest thank you for taking the time to document this and helping us improve the software!
from adore.
@Themaksiest A follow up. I was unable to replicate the issue running the ADORe installer in a clean environment. You said you ran this many months ago. Docker cache can become stale which can cause non-deterministic failures. What I can recommend you try is to clean your docker cache and running the installer again.
Executing the following commands will stop all Docker containers, remove all containers and images, and clean up the Docker build and system cache. This can result in loss of important data if not used carefully. Proceed with caution.
Step-by-Step Guide to Clean Docker Environment
- Stop all running Docker containers:
docker stop $(docker ps -a -q)
- Remove all Docker containers:
docker rmi $(docker images -a -q)
- Remove all Docker build and system cache:
docker builder prune --all --force
docker system prune --all --force
- Restart Docker service (optional): Often restarting the docker service can resolve a lot of issues
systemctl restart docker
- Verify Docker system cache (optional):
docker system df
Finally, after the docker system cache has been purged you can try rerunning the ADORe installer.
bash <(curl -sSL https://raw.githubusercontent.com/DLR-TS/adore_tools/master/tools/adore_setup.sh)
Let me know if any of this works for you otherwise we can keep troubleshooting.
from adore.
@Themaksiest I have pushed an update (DLR-TS/adore_cli@e784ece) to the adore_cli
(see: https://github.com/DLR-TS/adore_cli) submodule addressing the issue introduced by an update to docker (see: docker/compose#11544). This will be included in a PR that will follow shortly after this post; I will also keep this issue open until the PR is accepted. In the meantime you can manually pull the updates:
cd adore/adore_cli
git checkout master
git pull
cd ..
make cli
After this the baseline scenario should run as you previously proposed with:
make cli
cd adore_scenarios
roslaunch baseline_test.launch
Also before starting the cli make sure all docker containers are stopped:
make stop_adore_cli
make cli
I'm here if you have questions or need further support.
from adore.
@akoerner1 Thank you for such a swift response!
On clean install after checking out master in adore_cli
as you suggested in your comment I still got ERROR exporting to image
in the plotlabserver submodule build process.
However I did try
cd plotlabserver/
git submodule update --init --recursive
An afterwards I was able to make cli
and run the baseline test.
Thanks again the swift response and the support.
P.S. It seems to me that, when running baseline_test in a new cli
after closing it, 2 plotlabserver_build:0fad7e5
and 1 adore_if_ros:3d04171
have been create and are not cleaned up. I guess it's only an inconvenience, but I now have around 5 of those container triplets laying around. Or is this an expected behavior because no one should run that test so often?
from adore.
Or is this an expected behavior because no one should run that test so often?...
This is definitely a bug. Depending on how the process terminates in the context of docker compose containers can be left orphaned especially when starting them in detached mode with the docker compose --detach
flag.
This problem is magnified significantly with the previous issue introduced by the docker update (see: docker/compose#11544) making composition of services a real challenge. The adore cli and plotlabserver now need to be started in two separate docker compose contexts instead of one context - it feels like playing whack-a-mole. I will try to address this issue. Thank you for providing feedback on your experience; again it is greatly appreciated!
from adore.
Related Issues (20)
- Create documentation: Plotting with rviz
- Create documentation: ROS Bag replays
- Create documentation: How to document
- Create documentation: Vehicle platform
- Create documentation: V2X messages
- Create documentation: CARLA
- Create documentation: HD-map, navigation
- Create documentation: Environment model
- Create documentation: Trajectory planning
- Create documentation: Decision making
- Create documentation: Stabilization
- CLI for vehicle platform HOT 5
- Build failed: plotlabserver HOT 1
- CMake Error when running "make build_all" HOT 3
- ERROR: Cannot extend service 'adore-cli' HOT 2
- error when running "make cli" HOT 2
- CMake failed when running "make build_all" HOT 2
- "make cli" report error HOT 1
- Compatibility with / Support of Ubuntu 24.04 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adore.