Closed ghost closed 7 years ago
Thanks for the report. There was a recent change in folly that requires explicit initialization for all folly::Singleton
s. Thrift has some singletons under the hood, so it fails. I was sure that the fix had landed, but I guess not. Should be fixed tomorrow.
Until then, you can patch bistro/server/main.cpp
locally:
- gflags::ParseCommandLineFlags(&argc, &argv, true);
- google::InitGoogleLogging(argv[0]);
+ folly::init(&argc, &argv);
You'd also need #include <folly/init/Init.h>
at the top.
I got the docker build to run, but ctest had 4 tests failed, and bistro_scheduler got error: "wangle...PollerContextE requested before registrationComplete() call". What am I missing?
Test failure: export os_image=ubuntu:16.04 export gcc_version=5 make_parallelism=2 ./build/fbcode_builder/travis_docker_build.sh
$ docker run -it 1e47cff229f0 bash nobody@5fa08110f0b5:/home/bistro/bistro/cmake/Debug$ ctest Test project /home/bistro/bistro/cmake/Debug Start 1: test_async_read_pipe 1/56 Test #1: test_async_read_pipe .................. Passed 0.02 sec Start 2: test_async_read_pipe_rate_limiter ... 93% tests passed, 4 tests failed out of 56
Total Test time (real) = 38.80 sec
The following tests FAILED: 11 - test_worker (OTHER_FAULT) 19 - test_thrift_monitor (OTHER_FAULT) 28 - test_scheduler (OTHER_FAULT) 51 - test_remote_runner (OTHER_FAULT) Errors while running CTest
bistro_scheduler startup error.
root@27cb23c3eb07:/home/bistro/bistro# ./cmake/Debug/server/bistro_scheduler \