apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Apollo, building the Dev docker container: build failed. Missing plat-sw.3.0.0.1?

Open arappazzo opened this issue 7 years ago • 10 comments

System information

  • OS: Ubuntu 18.04.2 LTS:
  • Apollo cloned but not yet installed (trying to build the docker container):
  • Apollo version: unclear at the moment:

Steps to reproduce the issue:

  • Install docker. See here for steps: https://docs.docker.com/install/linux/docker-ce/ubuntu/
  • Get started with Apollo software installation. See here: https://github.com/ApolloAuto/apollo/blob/master/docs/quickstart/apollo_software_installation_guide.md
  • Before the title Support a new Vehicle in DreamView the guide requires building the Dev docker environment. Go here: https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_build_and_release.md#build_release
  • Start the container by typing: bash docker/scripts/dev_start.sh
  • Get into the container by typing: bash docker/scripts/dev_into.sh
  • Build modules by typing: bash apollo.sh build

As I perform the last step, the following screenshot appears for a few seconds

Pict01

And after a few seconds the build fails and this screenshot appears Pict02

It seems like the system is trying to download/clone a package (plat-sw.3.0.0.1.zip) that's no longer in the expected path. Where can this package be found? Once I download the package, how do I link it to Apollo? Thanks in advance!

arappazzo avatar Oct 16 '19 09:10 arappazzo

@arappazzo are you building out the latest master branch?

natashadsouza avatar Oct 17 '19 19:10 natashadsouza

@natashadsouza I think so. I followed the instructions as in https://github.com/ApolloAuto/apollo/blob/master/docs/quickstart/apollo_software_installation_guide.md and checked out the master branch. As per the first step, I didn't really clone the repository by using the suggested command, rather I downloaded it directly from here https://github.com/ApolloAuto/apollo/ and then checked out the master branch due to temporary problems with the ssh keys. Should it make any difference?

arappazzo avatar Oct 18 '19 07:10 arappazzo

Dev_start_output.txt Apollo_build_Output.txt

Dev_start_output.txt: output log file of the command bash docker/scripts/dev_start.sh Apollo_build_output.txt: output log file of the command bash apollo.sh build_cpu (after typing bash docker/scripts/dev_into.sh )

arappazzo avatar Oct 22 '19 08:10 arappazzo

By the way, after installing the nvidia driver I cannot even get to the point of launching bash apollo.sh build_cpu, since bash docker/scripts/dev_into.sh returns an error (container not running and no way to get it run). Unsure if I'm doing things right.

arappazzo avatar Oct 22 '19 09:10 arappazzo

hi arappazzo, I am a beginner here and I am trying to get around and install apollo. I also have experienced your kind of problem and do not know how to push further with the docker. Did you get help and can you help me with step to achieve this installation and having apollo to run in my system?

Please, any help from anyone is appreciated in advance.

Thank you in advance.

con00 avatar Nov 19 '19 19:11 con00

hi arappazzo, I am a beginner here and I am trying to get around and install apollo. I also have experienced your kind of problem and do not know how to push further with the docker. Did you get help and can you help me with step to achieve this installation and having apollo to run in my system?

Please, any help from anyone is appreciated in advance.

Thank you in advance.

@con00 The following is a guideline I've created myself for installing Apollo. It goes up to the point I've reached so far. Full_Installation_Document.pdf

Follow the docker installation part. Then try to build the offline demo (I could make it work). Finally, try to build the actual release (online demo).

This is the point I get stuck at. If you get there, please refer to #10159 and the issues that have been referred to in that issue. There seems to be some trouble with bazel.

Feel free to ask, provide further logs and let me know up to where you get (tell me if you get any farther...).

arappazzo avatar Nov 20 '19 08:11 arappazzo

@arappazzo Thank you for the steps outlined. I will try them out and will keep you updated as I go on with it. I do appreciate.

con00 avatar Nov 20 '19 11:11 con00

@arappazzo @con00 please rebuild Apollo using this document instead and let me know if you are still seeing a container issue.

natashadsouza avatar Nov 20 '19 18:11 natashadsouza

@arappazzo @con00 please rebuild Apollo using this document instead and let me know if you are still seeing a container issue.

@natashadsouza @con00 Please refer to issue #10159: I found out I had to do some changes in the settings before proceeding.

In any case, as suggested by @natashadsouza I've just tried to build apollo as mentioned here, which actually exposes the steps I've performed so far.

What I've tried this time was to build apollo by limiting the cpu

bash apollo.sh build --local_resources 2048,1.0,1.0

The result is once again build failed (see attached log: log_tmp8.txt). log_tmp8.txt

arappazzo avatar Nov 21 '19 08:11 arappazzo

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.

daohu527 avatar Oct 14 '22 09:10 daohu527