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

Not able to get into Apollo docker #6

Closed
Prj1508 opened this issue Sep 18, 2019 · 8 comments
Closed

Not able to get into Apollo docker #6

Prj1508 opened this issue Sep 18, 2019 · 8 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@Prj1508
Copy link

Prj1508 commented Sep 18, 2019

Hi
After commenting out those 3 lines in dev_start.sh, I am not able to get into the docker. It complains " Error: No such container: apollo_dev_dpt". Please let me know
thanks

@abhilashbalachandran
Copy link
Collaborator

Can you post the complete console error log?

@Prj1508
Copy link
Author

Prj1508 commented Sep 18, 2019

Pls see below. I am using 16.04, Apollo 3.5. I am running roscore (roscore && ./bazel-bin/cyber_ros_bridge/cyber_ros_bridge) in another terminal and there is no error there.

~/apollo-3.5$ ./docker/scripts/dev_start.sh
[sudo] password for pm:
[INFO] Start docker container based on local image : lgsvl/apollo-3.5:latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
yolo3d_volume-x86_64-latest: Pulling from apolloauto/apollo
Digest: sha256:33add717a675be26c86f817d2207c1ab1ec25694f0decb63e55f0fc3d14b1397
Status: Image is up to date for apolloauto/apollo:yolo3d_volume-x86_64-latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
137e284cf50de86cf1278dc41206870546dae558677826cec974612b65f185ec
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
localization_volume-x86_64-latest: Pulling from apolloauto/apollo
Digest: sha256:d8be22d8221c784e8a29af14a23be7fc5f2164137ec24228701e6fdcb689b088
Status: Image is up to date for apolloauto/apollo:localization_volume-x86_64-latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
b7ea78cbdd788c6c4172bdf711852332212f0167710bde707a94fd72ea434ca7
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
paddlepaddle_volume-x86_64-latest: Pulling from apolloauto/apollo
Digest: sha256:901f110a4f13501e074f599b2c7d636a7584d290f59ef50237a7d77e66d025fb
Status: Image is up to date for apolloauto/apollo:paddlepaddle_volume-x86_64-latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
2361c35385e8ced1354e9300b912bb94db71f66c63e178ab4d8234259506cc9c
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
local_third_party_volume-x86_64-latest: Pulling from apolloauto/apollo
Digest: sha256:b844c40ab0af0733ce69c38b220a8b14f752bd834f63343392ce8508b98b546b
Status: Image is up to date for apolloauto/apollo:local_third_party_volume-x86_64-latest
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
bc198cb0037e0e86f6fd8680c5cf4145fbe7e9d9232215967f6ea97ac4a86f49
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libopencv_core.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libopencv_core.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[INFO] Starting docker container "apollo_dev_jpm" ...
++ local_volumes
++ volumes='-v /home/jpm/apollo-3.5:/apollo -v /home/jpm/.cache:/home/jpm/.cache'
++ case "$(uname -s)" in
+++ uname -s
ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
++ volumes='-v /home/jpm/apollo-3.5:/apollo -v /home/jpm/.cache:/home/jpm/.cache -v /dev:/dev -v /media:/media -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /etc/localtime:/etc/localtime:ro -v /usr/src:/usr/src -v /lib/modules:/lib/modules'
++ echo '-v /home/jpm/apollo-3.5:/apollo -v /home/jpm/.cache:/home/jpm/.cache -v /dev:/dev -v /media:/media -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /etc/localtime:/etc/localtime:ro -v /usr/src:/usr/src -v /lib/modules:/lib/modules'

  • nvidia-docker run -it -d --privileged --name apollo_dev_jpm --volumes-from apollo_yolo3d_volume_jpm --volumes-from apollo_localization_volume_jpm --volumes-from apollo_paddlepaddle_volume_jpm --volumes-from apollo_local_third_party_volume_jpm -e DISPLAY=:0 -e DOCKER_USER=jpm -e USER=jpm -e DOCKER_USER_ID=1000 -e DOCKER_GRP=apollo -e DOCKER_GRP_ID=1000 -e DOCKER_IMG=lgsvl/apollo-3.5:latest -e USE_GPU=1 -v /home/jpm/apollo-3.5:/apollo -v /home/jpm/.cache:/home/jpm/.cache -v /dev:/dev -v /media:/media -v /tmp/.X11-unix:/tmp/.X11-unix:rw -v /etc/localtime:/etc/localtime:ro -v /usr/src:/usr/src -v /lib/modules:/lib/modules --net host -w /apollo
    ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
    ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
    "docker run" requires at least 1 argument.
    See 'docker run --help'.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container

  • --shm-size 2G --pid=host -v /dev/null:/dev/raw1394 lgsvl/apollo-3.5:latest /bin/bash
    ./docker/scripts/dev_start.sh: line 336: --shm-size: command not found
  • set +x
    ERROR: ld.so: object 'libcaffe2_gpu.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
    Error: No such container: apollo_dev_jpm
    [ OK ] Finished setting up Apollo docker environment. Now you can enter with:
    bash docker/scripts/dev_into.sh
    [ OK ] Enjoy!
    pm@devI:/apollo-3.5$ ./docker/scripts/dev_into.sh
    Error: No such container: apollo_dev_jpm
    pm@dev:
    /apollo-3.5$

@Prj1508
Copy link
Author

Prj1508 commented Sep 18, 2019

I am running Apollo within LGSLV Simulator and also I can get into the container when those 3 lines in dev_start.sh is not commented out

@abhilashbalachandran
Copy link
Collaborator

abhilashbalachandran commented Sep 18, 2019

Hi @Prj1508 . Thanks for bringing up the issue. I have updated the Readme.md file to reflect the changes. Basically, do not comment out the three lines in dev_start.sh. Do let me know if that fixes the issue so that I can close it.

@Prj1508
Copy link
Author

Prj1508 commented Sep 18, 2019

Thank you. I am now able to run apollo and cyber_monitor alongside apollo-ros bridge.
However, I am not seeing any updates of the topics with rostopic echo on bridge side while cyber_monitor is publishing messages ( with LGSLV). What should I do to see these topics on ROS side? Here is the screen shot

/home/jpm/Pictures/RA_Screenshot from 2019-09-18 17-43-45.png

@Prj1508
Copy link
Author

Prj1508 commented Sep 18, 2019

RA_Screenshot from 2019-09-18 17-43-45

@Prj1508
Copy link
Author

Prj1508 commented Sep 18, 2019

ra3_Screenshot from 2019-09-18 17-51-07

@abhilashbalachandran abhilashbalachandran added the bug Something isn't working label Sep 18, 2019
@abhilashbalachandran abhilashbalachandran self-assigned this Sep 18, 2019
@abhilashbalachandran abhilashbalachandran added the question Further information is requested label Sep 18, 2019
@abhilashbalachandran
Copy link
Collaborator

abhilashbalachandran commented Sep 18, 2019

Closing this issue and opening a new one for getting bridge topics listed #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants