Comments (15)
I'm trying again on a vm with more memory... will report back.
from openr.
Hello @bodleytunes .. It seems that you are using newer gcc version to compile the code. We are not there yet but I hope to take out those error over the weekend.
Meanwhile Can you add -Wno-terminate
to CXXFLAGS and try to compile the code as a work-around for quick build?
Example:
https://github.com/facebook/openr/blob/master/openr/CMakeLists.txt#L6
from openr.
Ok will give it a try, cheers 👍
from openr.
Hi Tried that and now get this:
from openr.
depbase=
echo futures/Future.lo | sed 's|[^/]*$|.deps/&|;s|.lo$||';\ /bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/Future.lo -MD -MP -MF $depbase.Tpo -c -o futures/Future.lo futures/Future.cpp &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -std=gnu++1y -g -O2 -MT futures/Future.lo -MD -MP -MF futures/.deps/Future.Tpo -c futures/Future.cpp -fPIC -DPIC -o futures/.libs/Future.o g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions. Makefile:2156: recipe for target 'futures/Future.lo' failed make[2]: *** [futures/Future.lo] Error 1 make[2]: Leaving directory '/home/jon/openr/build/deps/folly/folly' Makefile:2275: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/jon/openr/build/deps/folly/folly' Makefile:1302: recipe for target 'all' failed make: *** [all] Error 2
from openr.
Added that flag in cmakelists.txt
from openr.
OK got much further now but seems to have failed doing the tests, speicifically netlinksubscribertest:
:(
from openr.
This is great. You can now run and test OpenR on physical topology. We will soon provide Emulation tool to test in virtual topology (but it can take several weeks before it will be out ... checkout docs/Emulator.md)
Can you please provide me with what went wrong on netlink-susbcriber test by running it manually (it should be present in build directory). I will try to get it fixed.
from openr.
I've attached the testing log file, let me know if this is the right one.
Cheers,
Jon.
tests.log
from openr.
Seems to be running now, I'm using the script to run it.
Are there any included SystemD unit files so it can run as a service?
Cheers,
Jon.
from openr.
Ah should have rtfm its in the runbook.md :)
from openr.
Hi,
One more thing, logs seem to be peppered with these error messages, just wondering if this is something to be worried about.
Nov 20 08:26:27 hub2-proxhub2-prox openr[23957]: E1120 08:26:27.413861 23985 Fib.cpp:420] Failed to sync routeDb with switch FIB agent. Error: apache::thrift::transport::TTransportException: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused): Connection refused Nov 20 08:26:27 hub2-proxhub2-prox openr[23957]: I1120 08:26:27.828816 23985 AsyncSocket.cpp:2143] AsyncSocket::handleConnect(this=0x7fc6a0002250, fd=130 host=[::1]:60100) exception: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused) Nov 20 08:26:27 hub2-proxhub2-prox openr[23957]: E1120 08:26:27.829002 23985 Fib.cpp:70] Failed to make thrift call to Switch Agent. Error: apache::thrift::transport::TTransportException: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused): Connection refused Nov 20 08:26:28 hub2-proxhub2-prox openr[23957]: I1120 08:26:28.829386 23985 AsyncSocket.cpp:2143] AsyncSocket::handleConnect(this=0x7fc6a0002250, fd=130 host=[::1]:60100) exception: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused) Nov 20 08:26:28 hub2-proxhub2-prox openr[23957]: E1120 08:26:28.829690 23985 Fib.cpp:70] Failed to make thrift call to Switch Agent. Error: apache::thrift::transport::TTransportException: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused): Connection refused Nov 20 08:26:29 hub2-proxhub2-prox openr[23957]: I1120 08:26:29.829759 23985 AsyncSocket.cpp:2143] AsyncSocket::handleConnect(this=0x7fc6a0002250, fd=130 host=[::1]:60100) exception: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused) Nov 20 08:26:29 hub2-proxhub2-prox openr[23957]: E1120 08:26:29.830052 23985 Fib.cpp:70] Failed to make thrift call to Switch Agent. Error: apache::thrift::transport::TTransportException: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused): Connection refused Nov 20 08:26:30 hub2-proxhub2-prox openr[23957]: I1120 08:26:30.830761 23985 AsyncSocket.cpp:2143] AsyncSocket::handleConnect(this=0x7fc6a0002250, fd=130 host=[::1]:60100) exception: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused) Nov 20 08:26:30 hub2-proxhub2-prox openr[23957]: E1120 08:26:30.831017 23985 Fib.cpp:70] Failed to make thrift call to Switch Agent. Error: apache::thrift::transport::TTransportException: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused): Connection refused Nov 20 08:26:31 hub2-proxhub2-prox openr[23957]: I1120 08:26:31.509306 23985 Fib.cpp:371] Syncing latest routeDb with fib-agent ... Nov 20 08:26:31 hub2-proxhub2-prox openr[23957]: I1120 08:26:31.509865 23985 AsyncSocket.cpp:2143] AsyncSocket::handleConnect(this=0x7fc6a0002250, fd=130 host=[::1]:60100) exception: AsyncSocketException: connect failed, type = Socket not open, errno = 111 (Connection refused)
Cheers,
Jon.
from openr.
The error log you see above is legit. You are running OpenR in non-dryrun mode (which means it will program routes and tries to talk to FibAgent) and expects FibService
to be up and running.
OpenR by default comes with NetlinkFibHandler
which implements FibService
and programs routes into the linux. You can enable it explicitly via ENABLE_NETLINK_FIB_HANDLER option
I have internally submitted a patch to address build error you are getting as well as fixing netlink_subscriber_test
unittest. Once landed I will close this issue.
from openr.
OK thanks I'll try that option.
Jon.
from openr.
Commit 2106401#diff-304d33f4448afe5d095ce2e660da325b will address the issue here.
from openr.
Related Issues (20)
- Build broken in master HOT 2
- build fail(centos 7) HOT 1
- Failed to read thread allocated/de-allocated bytes: mallctl: not using jemalloc
- Build fail of util/Utils.h HOT 1
- openr_kvstore_snooper and clients connected to OpenrCtrl thrift server throw error HOT 1
- openr will crashing when it has 32 neighbor HOT 1
- Spark IOProvider Invalid argument error when >10 neighbors
- docker: build fails HOT 1
- Make GitHub Actions Pass Again
- [question] Is NetLink a hard-dependency? HOT 2
- Build fail on ubuntu 18.04 HOT 2
- FBThrift 'py3' support needed: No module named 'openr.thrift' HOT 5
- Fix Doc Links
- multi-area route redistribution sets incorrect routes on one area HOT 4
- Document PolicyEngine & Config to advertise Static Routes HOT 4
- Compiling for aarch64 architecture HOT 9
- svsvfsfs HOT 1
- whwuiwuiui HOT 1
- Convert Docs from recommonmark to MyST-Parser
- Link to documentation is invalid HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openr.