apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Apollo 1.5 Build Error

Open zhangjun-xyz opened this issue 9 years ago • 12 comments

I've set up the docker environment in my Ubuntu. However when I ran the following command, bash apollo.sh build It gave me an error as an output: ERROR: query interrupted Can anyone give me some suggestions? The full output is as follows: `System check passed. Build continue ... [WARNING] ESD CAN library supplied by ESD Electronics does not exist. If you need ESD CAN, please refer to third_party/can_card_library/esd_can/README.md. Start building, please wait ... INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running Building: no action running ERROR: query interrupted

[ERROR] Build failed! [INFO] Took 2315 seconds `

zhangjun-xyz avatar Sep 23 '17 05:09 zhangjun-xyz

We met this issue in some bad networking environment, too. It seems that bazel is trying to download dependencies but failed.

You can run "bazel query //..." first to see the procedure, and then continue to run "apollo.sh build".

xiaoxq avatar Sep 23 '17 05:09 xiaoxq

Thanks for your fast reply. I'll try it again.

zhangjun-xyz avatar Sep 23 '17 06:09 zhangjun-xyz

I cost a lost of to download "Building: no action running Fetching https://github.com/.../apollo-platform/releases/download/1.5.0/ros-indigo-apollo-1.5.0-x86_64.tar.gz;", do you have any package mirrors or agent to download these dependence ?

fy2462 avatar Sep 23 '17 07:09 fy2462

@fy2462 I had the same issue as yours. Hope others can help.

zhangjun-xyz avatar Sep 23 '17 12:09 zhangjun-xyz

same, not working...

pooluut avatar Sep 24 '17 04:09 pooluut

Thank you all for report!

It looks very slow to download tar ball from Github in China. We are working hard to release the pain.

xiaoxq avatar Sep 24 '17 04:09 xiaoxq

the same problem.no action running...then failed.

coldrainy avatar Sep 24 '17 13:09 coldrainy

@xiaoxq Is the problem solved?

zhangaigh avatar Sep 27 '17 12:09 zhangaigh

For now you can still run "bazel query //..." first to see the dependency pulling progress. And then run "apollo.sh build".

We are thinking of hosting dependencies in docker image, and users in China could download image from docker-cn.com. It's promising, but sorry that we still need some time to verify technical and policy issue.

xiaoxq avatar Sep 27 '17 12:09 xiaoxq

no action running... have this problem been solved?

gk1115 avatar Nov 27 '17 06:11 gk1115

bash apollo.sh build

System check passed. Build continue ... [WARNING] ESD CAN library supplied by ESD Electronics does not exist. If you need ESD CAN, please refer to third_party/can_card_library/esd_can/README.md. [INFO] Start building, please wait ... [INFO] bazel query INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling ERROR: query interrupted

[ERROR] Build failed in gen build targets! [INFO] Took 55 seconds

Please help in resolving this error !

i tried running bazel query //... and the result is

INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling ERROR: query interrupted Building: no action running

srikara123 avatar Mar 14 '18 07:03 srikara123

Generally it's because of the slow data connection to pull dependencies from github. We have moved most stuffs into the docker image. Please sync your code and try again to see if it works.

xiaoxq avatar Apr 16 '18 16:04 xiaoxq