{"action":"opened","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm/issues/199","repository_url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm","labels_url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm/issues/199/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel-buildfarm/issues/199/events","html_url":"https://github.com/bazelbuild/bazel-buildfarm/issues/199","id":384877773,"node_id":"MDU6SXNzdWUzODQ4Nzc3NzM=","number":199,"title":"Java/proto project fails","user":{"login":"ah-edg","id":33127346,"node_id":"MDQ6VXNlcjMzMTI3MzQ2","avatar_url":"https://avatars3.githubusercontent.com/u/33127346?v=4","gravatar_id":"","url":"https://api.github.com/users/ah-edg","html_url":"https://github.com/ah-edg","followers_url":"https://api.github.com/users/ah-edg/followers","following_url":"https://api.github.com/users/ah-edg/following{/other_user}","gists_url":"https://api.github.com/users/ah-edg/gists{/gist_id}","starred_url":"https://api.github.com/users/ah-edg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ah-edg/subscriptions","organizations_url":"https://api.github.com/users/ah-edg/orgs","repos_url":"https://api.github.com/users/ah-edg/repos","events_url":"https://api.github.com/users/ah-edg/events{/privacy}","received_events_url":"https://api.github.com/users/ah-edg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-27T16:25:42Z","updated_at":"2018-11-27T16:25:42Z","closed_at":null,"author_association":"NONE","body":"I'm trying to get build-farm running on Ubuntu.\r\n\r\nI successfully installed all required dependencies and Bazel 0.19.2, cloned the repo and started server and worker with the example configuration, each in its own screen.\r\n\r\nThis failed until I added a wrapper script exporting BAZEL_SH and JAVA_HOME.\r\nNow both start up.\r\n\r\nAs demonstrated by the local build of build-farm itself, I can build java projects.\r\n\r\nStarting it from a remote machine, I get loads of errors like this:\r\n\r\n```\r\nERROR: /home/user/.cache/bazel/_bazel_user/f00d0a9338d336ba97aeac71037e0456/external/io_grpc_grpc_java/compiler/BUILD.bazel:1:1: Couldn't build file external/io_grpc_grpc_java/compiler/_objs/grpc_java_plugin/java_generator.o: undeclared inclusion(s) in rule '@io_grpc_grpc_java//compiler:grpc_java_plugin':\r\nthis rule is missing dependency declarations for the following files included by 'external/io_grpc_grpc_java/compiler/src/java_plugin/cpp/java_generator.cpp':\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/stddef.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/stdarg.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/stdint.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/x86intrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/ia32intrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/mmintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/xmmintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/mm_malloc.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/pmmintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/tmmintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/ammintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/smmintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/popcntintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/wmmintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx2intrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512fintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512erintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512pfintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512cdintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512bwintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512dqintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vlbwintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vldqintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512ifmaintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512ifmavlintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vbmiintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/avx512vbmivlintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/shaintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/lzcntintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/bmiintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/bmi2intrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/fmaintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/f16cintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/rtmintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/xtestintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/mm3dnow.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/prfchwintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/fma4intrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/xopintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/lwpintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/tbmintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/rdseedintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/fxsrintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/xsaveintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/xsaveoptintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/adxintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/clwbintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/pcommitintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/clflushoptintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/xsavesintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/xsavecintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/limits.h'\r\n  '/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/syslimits.h'\r\n```\r\n\r\nWith logging enabled, all looks fine to me on both server and worker:\r\n\r\nThe server has lots of log lines like these:\r\n```\r\nFEIN: default_memory_instance::execute(2d1874ae7b2bf4f84fde94b97fc8e6f5ceeaf1f5751b093d6d2fa6b8a69f5108/142): default_memory_instance/operations/f72047dd-cefe-425e-9d0d-936ffa45c870 [Di Nov 27 17:14:23 MEZ 2018]\r\n```\r\n\r\nThe worker log lines come in blocks and look like this:\r\n```\r\nFEIN: InputFetchStage::iterate(default_memory_instance/operations/4ba6f2f0-efca-4a38-aec2-33c7ebd00b03): Starting [Di Nov 27 17:14:37 MEZ 2018]\r\nFEIN: Executor::executeCommand(default_memory_instance/operations/f72047dd-cefe-425e-9d0d-936ffa45c870): Completed command: exit code 0 [Di Nov 27 17:14:37 MEZ 2018]\r\nFEIN: ExecuteActionStage::iterate(default_memory_instance/operations/f72047dd-cefe-425e-9d0d-936ffa45c870): 5,23900ms (0,0260000ms stalled) exit code: 0, 0/1 [Di Nov 27 17:14:37 MEZ 2018]\r\nFEIN: ReportResultStage::iterate(default_memory_instance/operations/5c18d9b3-654d-47cd-90f2-1991813126f9): 6,18000ms (0,00300000ms stalled) Success [Di Nov 27 17:14:37 MEZ 2018]\r\n```\r\n\r\nI'm at a loss and I'd really love to get this running. If you need more info, I'll give my best to assist.\r\n"}}
{"actor":{"display_login":"ah-edg"}}