Activity log for bug #1638636

Date Who What changed Old value New value Message
2016-11-02 17:05:52 amudhar bug added bug
2016-11-02 17:06:14 amudhar juniperopenstack: assignee Rudra Rugge (rudrarugge)
2016-11-02 18:02:03 Jeba Paulaiyan juniperopenstack: importance Undecided High
2016-11-02 18:02:05 Jeba Paulaiyan juniperopenstack: milestone r4.0
2016-11-02 18:02:15 Jeba Paulaiyan tags analytics
2016-11-02 20:38:26 amudhar tags analytics analytics newton
2016-11-08 00:56:19 amudhar juniperopenstack: assignee Rudra Rugge (rudrarugge)
2016-11-08 00:56:45 amudhar juniperopenstack: assignee Raj Reddy (rajreddy)
2016-11-08 18:15:47 Raj Reddy juniperopenstack: assignee Raj Reddy (rajreddy) Sundaresan Rajangam (srajanga)
2016-11-08 22:49:00 Sundaresan Rajangam information type Proprietary Public
2016-11-08 22:49:06 Sundaresan Rajangam nominated for series juniperopenstack/trunk
2016-11-08 22:49:06 Sundaresan Rajangam bug task added juniperopenstack/trunk
2016-11-09 20:30:41 OpenContrail Admin juniperopenstack/trunk: status New In Progress
2016-11-10 08:21:01 OpenContrail Admin juniperopenstack/trunk: status In Progress Fix Committed
2016-11-10 17:46:13 Sundaresan Rajangam juniperopenstack/trunk: status Fix Committed In Progress
2016-11-11 21:53:53 Sundaresan Rajangam description Ubuntu16.04: Scons failures in analytics Below are the issues and possible patches. Failure ======= In file included from tools/sandesh/library/cpp/sandesh_connection.cc:14:0: build/include/sandesh/protocol/TXMLProtocol.h: In static member function ‘static void contrail::sandesh::protocol::TXMLProtocol::unescapeXMLControlChars(std::__cxx11::string&)’: build/include/sandesh/protocol/TXMLProtocol.h:77:7: error: ‘replace_all’ is not a member of ‘boost’ boost::replace_all(str, "&amp;", "&"); ^ build/include/sandesh/protocol/TXMLProtocol.h:78:7: error: ‘replace_all’ is not a member of ‘boost’ boost::replace_all(str, "&apos;", "\'"); ^ build/include/sandesh/protocol/TXMLProtocol.h:79:7: error: ‘replace_all’ is not a member of ‘boost’ boost::replace_all(str, "&lt;", "<"); ^ build/include/sandesh/protocol/TXMLProtocol.h:80:7: error: ‘replace_all’ is not a member of ‘boost’ boost::replace_all(str, "&gt;", ">"); ^ scons: *** [build/debug/tools/sandesh/library/cpp/sandesh_connection.o] Error 1 scons: building terminated because of errors. debian/rules:28: recipe for target 'override_dh_auto_build' failed make[2]: Leaving directory '/home/amudha/mitaka-mainline-sb/build/packages/contrail' make[2]: *** [override_dh_auto_build] Error 2 diff ---- diff --git a/library/cpp/protocol/TXMLProtocol.h b/library/cpp/protocol/TXMLProtocol.h index b4826e1..1f4910c 100644 --- a/library/cpp/protocol/TXMLProtocol.h +++ b/library/cpp/protocol/TXMLProtocol.h @@ -10,6 +10,7 @@ #include <boost/shared_ptr.hpp> #include <boost/tokenizer.hpp> +#include <boost/algorithm/string/replace.hpp> namespace contrail { namespace sandesh { namespace protocol { @@ -74,10 +75,10 @@ class TXMLProtocol : public TVirtualProtocol<TXMLProtocol> { } static void unescapeXMLControlChars(std::string& str) { - boost::replace_all(str, "&amp;", "&"); - boost::replace_all(str, "&apos;", "\'"); - boost::replace_all(str, "&lt;", "<"); - boost::replace_all(str, "&gt;", ">"); + boost::algorithm::replace_all(str, "&amp;", "&"); + boost::algorithm::replace_all(str, "&apos;", "\'"); + boost::algorithm::replace_all(str, "&lt;", "<"); + boost::algorithm::replace_all(str, "&gt;", ">"); } ====================================================================================== Failure ======= In file included from build/include/sandesh/sandesh_types.h:15:0, from build/debug/vnsw/agent/uve/vrouter_types.cpp:12: build/include/sandesh/derived_stats_algo.h: In instantiation of ‘contrail::sandesh::DSSum<ElemT, SumResT>::DSSum(const string&) [with ElemT = long unsigned int; SumResT = long unsigned int; std::__cxx11::string = std::__cxx11::basic_string<char>]’: /usr/include/boost/smart_ptr/make_shared_object.hpp:808:5: required from ‘typename boost::detail::sp_if_not_array<T>::type boost::make_shared(const A1&) [with T = contrail::sandesh::DSSum<long unsigned int, long unsigned int>; A1 = std::__cxx11::basic_string<char>; typename boost::detail::sp_if_not_array<T>::type = boost::shared_ptr<contrail::sandesh::DSSum<long unsigned int, long unsigned int> >]’ build/include/sandesh/derived_stats.h:118:70: required from ‘void contrail::sandesh::DerivedStatsMerge(const std::map<std::__cxx11::basic_string<char>, ElemT>&, std::map<std::__cxx11::basic_string<char>, boost::shared_ptr<DSTT<ElemT, ResultT> > >&, std::__cxx11::string, const std::map<std::__cxx11::basic_string<char>, bool>&, uint64_t) [with DSTT = contrail::sandesh::DSSum; ElemT = long unsigned int; ResultT = long unsigned int; std::__cxx11::string = std::__cxx11::basic_string<char>; uint64_t = long unsigned int]’ build/include/sandesh/derived_stats.h:205:50: required from ‘void contrail::sandesh::DerivedStatsIf<DSTT, ElemT, ResultT>::Update(const std::map<std::__cxx11::basic_string<char>, ElemT>&, const std::map<std::__cxx11::basic_string<char>, bool>&, uint64_t) [with DSTT = contrail::sandesh::DSSum; ElemT = long unsigned int; ResultT = long unsigned int; uint64_t = long unsigned int]’ build/debug/vnsw/agent/uve/vrouter_types.cpp:12287:102: required from here build/include/sandesh/derived_stats_algo.h:277:42: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] while ((1 << (shifter_ + 8)) < range_usecs_) shifter_++; ^ cc1plus: all warnings being treated as errors scons: *** [build/debug/vnsw/agent/uve/vrouter_types.o] Error 1 scons: building terminated because of errors. debian/rules:28: recipe for target 'override_dh_auto_build' failed diff ---- diff --git a/library/cpp/derived_stats_algo.h b/library/cpp/derived_stats_algo.h index 347b801..79e3866 100644 --- a/library/cpp/derived_stats_algo.h +++ b/library/cpp/derived_stats_algo.h @@ -274,7 +274,7 @@ class DSSum { // We want each time bucket to represent between // 1/128th and 1/256th of the entire range // This ensures that there will never be more than 256 buckets - while ((1 << (shifter_ + 8)) < range_usecs_) shifter_++; + while ((uint64_t)(1 << (shifter_ + 8)) < range_usecs_) shifter_++; } } uint64_t samples_; ====================================================================================== Failure ======= controller/src/discovery/client -Ibuild/debug/analytics -Icontroller/src/analytics -Ibuild/debug -Ibuild/debug/base/sandesh -Icontroller/src/base/sandesh controller/src/analytics/syslog_collector.cc controller/src/analytics/syslog_collector.cc:19:58: fatal error: boost/spirit/home/phoenix/object/construct.hpp: No such file or directory compilation terminated. scons: *** [build/debug/analytics/syslog_collector.o] Error 1 scons: building terminated because of errors. debian/rules:28: recipe for target 'override_dh_auto_build' failed make[2]: Leaving directory '/home/amudha/mitaka-mainline-sb/build/packages/contrail' make[2]: *** [override_dh_auto_build] Error 2 debian/rules:25: recipe for target 'build' failed make[1]: Leaving directory '/home/amudha/mitaka-mainline-sb/build/packages/contrail' make[1]: *** [build] Error 2 diff ---- diff --git a/src/analytics/syslog_collector.cc b/src/analytics/syslog_collector.cc index 643917c..3e778b5 100644 --- a/src/analytics/syslog_collector.cc +++ b/src/analytics/syslog_collector.cc @@ -16,7 +16,7 @@ #include <boost/spirit/include/phoenix_core.hpp> #include <boost/spirit/include/phoenix_operator.hpp> #include <boost/spirit/include/phoenix_stl.hpp> -#include <boost/spirit/home/phoenix/object/construct.hpp> +#include <boost/phoenix/object/construct.hpp> #include <boost/uuid/uuid.hpp> #if __GNUC_PREREQ(4, 6) #pragma GCC diagnostic push ====================================================================================== Failure ======= Install file: "build/third_party/hiredis/libhiredis.a" as "build/lib/libhiredis.a" g++ -o build/debug/zookeeper/zookeeper_client.o -c -g -O0 -DDEBUG -Wall -Werror -Wsign-compare -Wno-unused-local-typedefs -DLINUX -Icontroller/src -Ibuild/include -Icontroller/lib -I/usr/include controller/src/zookeeper/zookeeper_client.cc controller/src/zookeeper/zookeeper_client.cc: In member function ‘int zookeeper::client::impl::ZookeeperClientImpl::CreateNodeSync(const char*, const char*, int*)’: controller/src/zookeeper/zookeeper_client.cc:167:67: error: ‘strlen’ was not declared in this scope rc = zki_->ZooCreate(zk_handle_, path, value, strlen(value), ^ scons: *** [build/debug/zookeeper/zookeeper_client.o] Error 1 diff ---- diff --git a/src/zookeeper/zookeeper_client.cc b/src/zookeeper/zookeeper_client.cc index c3c5ff8..3e380cc 100644 --- a/src/zookeeper/zookeeper_client.cc +++ b/src/zookeeper/zookeeper_client.cc @@ -3,6 +3,7 @@ // #include <cerrno> +#include <cstring> #include <base/logging.h> ===================================================================================== Failure ======= scons: `build/debug/vnsw/agent/contrail/contrail-vrouter-agent' is up to date. g++ -o build/debug/analytics/vizd -Wl,--whole-archive -lbase -lcpuinfo -lprocess_info -lnodeinfo -l:librdkafka.a -l:librdkafka++.a -Wl,--no-whole-archive -g build/debug/analytics/collector_uve_types.o build/debug/analytics/collector_uve_constants.o build/debug/analytics/collector_uve_html.o build/debug/analytics/analytics_types.o build/debug/analytics/analytics_constants.o build/debug/analytics/analytics_html.o build/debug/analytics/redis_types.o build/debug/analytics/redis_constants.o build/debug/analytics/redis_html.o build/debug/analytics/uflow_types.o build/debug/analytics/uflow_constants.o build/debug/analytics/uflow_html.o build/debug/analytics/sflow_types.o build/debug/analytics/sflow_constants.o build/debug/analytics/sflow_html.o build/debug/analytics/viz_types.o build/debug/analytics/viz_constants.o build/debug/analytics/viz_html.o build/debug/analytics/viz_collector.o build/debug/analytics/ruleeng.o build/debug/analytics/collector.o build/debug/analytics/vizd_table_desc.o build/debug/analytics/viz_message.o build/debug/analytics/generator.o build/debug/analytics/redis_connection.o build/debug/analytics/redis_processor_vizd.o build/debug/analytics/options.o build/debug/analytics/stat_walker.o build/debug/analytics/protobuf_collector.o build/debug/analytics/protobuf_server.o build/debug/analytics/sflow.o build/debug/analytics/sflow_generator.o build/debug/analytics/sflow_collector.o build/debug/analytics/usrdef_counters.o build/debug/analytics/sflow_parser.o build/debug/analytics/ipfix_collector.o build/debug/analytics/protobuf_schema.pb.o build/debug/analytics/main.o build/debug/analytics/buildinfo.o build/debug/analytics/db_handler.o build/debug/analytics/OpServerProxy.o build/debug/analytics/syslog_collector.o build/debug/analytics/parser_util.o -Lbuild/lib -Lbuild/debug/sandesh -Lcontroller/src/sandesh -Lbuild/debug/analytics/ruleparser -Lcontroller/src/analytics/ruleparser -Lbuild/debug/discovery/client -Lcontroller/src/discovery/client -Lbuild/debug/http/client -Lcontroller/src/http/client -Lbuild/debug/xml -Lcontroller/src/xml -Lbuild/debug/database -Lcontroller/src/database -Lbuild/debug/base -Lcontroller/src/base -Lbuild/debug/io -Lcontroller/src/io -Lbuild/debug/net -Lcontroller/src/net -L/usr/lib/x86_64-linux-gnu -lcassandra_cql -lcassandra -lgendb -lboost_regex -lssl -lcrypto -lsasl2 -lcpuinfo -lds -lio -lsandesh -lhttpc -lhttp -lvncapi -lhttp_parser -lcurl -lruleparser -lxml -lprocess_info -lnodeinfo -lbase -lio -lz -lnet -lipfix -lmisc -lsandeshvns -lpugixml -lhiredis -lprotobuf -lzookeeper_client -lzookeeper_mt -lboost_filesystem -lboost_program_options -lboost_system -llog4cplus -lpthread -ltbb -lboost_python -lpython2.7 -lrt /usr/bin/ld: cannot find -lsasl2 collect2: error: ld returned 1 exit status diff ---- (PLATFORM, VERSION, EXTRA) = platform.linux_distribution() if PLATFORM.lower() != 'ubuntu': AnalyticsEnv.Prepend(LIBS=['ssl', 'crypto', 'sasl2']) ====================================================================================== Failure ======= g++ -o build/production/vnsw/agent/pkt/pkt_sandesh_flow.o -c -g -O3 -Wall -Werror -Wsign-compare -Wno-unused-local-typedefs -DLINUX -Ibuild/production/vnsw/dp/sandesh -Ibuild/production -Ibuild/production/base/sandesh -Icontroller/src/base/sandesh -Ibuild/production/dns -Icontroller/src/dns -Ibuild/production/http/client -Icontroller/src/http/client -Ibuild/production/ifmap -Icontroller/src/ifmap -Ibuild/production/schema -Icontroller/src/schema -Ibuild/production/sandesh -Icontroller/src/sandesh -Ibuild/production/vnsw/agent -Icontroller/src/vnsw/agent -Ibuild/production/vnsw/agent/oper -Icontroller/src/vnsw/agent/oper -Ibuild/production/vnsw/agent/cmn -Icontroller/src/vnsw/agent/cmn -Ibuild/production/vnsw/agent/uve -Icontroller/src/vnsw/agent/uve -Ibuild/production/vrouter/sandesh -Ivrouter/sandesh -Ibuild/production/vnsw/agent/nexthop_server -Icontroller/src/vnsw/agent/nexthop_server -Ibuild/production/vnsw/agent/vrouter/ksync/linux -Icontroller/src/vnsw/agent/vrouter/ksync/linux -Ibuild/production/tools/sandesh/library/common -Itools/sandesh/library/common -Ibuild/include/thrift -Ivrouter/include -Icontroller/src -Ibuild/include -Icontroller/lib controller/src/vnsw/agent/pkt/pkt_sandesh_flow.cc controller/src/vnsw/agent/pkt/pkt_sandesh_flow.cc: In member function ‘virtual void FetchFlowRecord::HandleRequest() const’: controller/src/vnsw/agent/pkt/pkt_sandesh_flow.cc:384:16: error: ‘flow_obj’ may be used uninitialized in this function [-Werror=maybe-uninitialized] FlowTable *flow_obj; ^ cc1plus: all warnings being treated as errors diff ---- diff --git a/src/vnsw/agent/pkt/pkt_sandesh_flow.cc b/src/vnsw/agent/pkt/pkt_sandesh_flow.cc index 9057083..69359d2 100644 --- a/src/vnsw/agent/pkt/pkt_sandesh_flow.cc +++ b/src/vnsw/agent/pkt/pkt_sandesh_flow.cc @@ -381,7 +381,7 @@ void DeleteAllFlowRecords::HandleRequest() const { void FetchFlowRecord::HandleRequest() const { FlowKey key; Agent *agent = Agent::GetInstance(); - FlowTable *flow_obj; + FlowTable *flow_obj = NULL; key.nh = get_nh(); error_code ec; ===================================================================================== Ubuntu16.04: Scons failures in analytics Below are the issues and possible patches. Failure ======= In file included from tools/sandesh/library/cpp/sandesh_connection.cc:14:0: build/include/sandesh/protocol/TXMLProtocol.h: In static member function ‘static void contrail::sandesh::protocol::TXMLProtocol::unescapeXMLControlChars(std::__cxx11::string&)’: build/include/sandesh/protocol/TXMLProtocol.h:77:7: error: ‘replace_all’ is not a member of ‘boost’        boost::replace_all(str, "&amp;", "&");        ^ build/include/sandesh/protocol/TXMLProtocol.h:78:7: error: ‘replace_all’ is not a member of ‘boost’        boost::replace_all(str, "&apos;", "\'");        ^ build/include/sandesh/protocol/TXMLProtocol.h:79:7: error: ‘replace_all’ is not a member of ‘boost’        boost::replace_all(str, "&lt;", "<");        ^ build/include/sandesh/protocol/TXMLProtocol.h:80:7: error: ‘replace_all’ is not a member of ‘boost’        boost::replace_all(str, "&gt;", ">");        ^ scons: *** [build/debug/tools/sandesh/library/cpp/sandesh_connection.o] Error 1 scons: building terminated because of errors. debian/rules:28: recipe for target 'override_dh_auto_build' failed make[2]: Leaving directory '/home/amudha/mitaka-mainline-sb/build/packages/contrail' make[2]: *** [override_dh_auto_build] Error 2 diff ---- diff --git a/library/cpp/protocol/TXMLProtocol.h b/library/cpp/protocol/TXMLProtocol.h index b4826e1..1f4910c 100644 --- a/library/cpp/protocol/TXMLProtocol.h +++ b/library/cpp/protocol/TXMLProtocol.h @@ -10,6 +10,7 @@  #include <boost/shared_ptr.hpp>  #include <boost/tokenizer.hpp> +#include <boost/algorithm/string/replace.hpp>  namespace contrail { namespace sandesh { namespace protocol { @@ -74,10 +75,10 @@ class TXMLProtocol : public TVirtualProtocol<TXMLProtocol> {    }    static void unescapeXMLControlChars(std::string& str) { - boost::replace_all(str, "&amp;", "&"); - boost::replace_all(str, "&apos;", "\'"); - boost::replace_all(str, "&lt;", "<"); - boost::replace_all(str, "&gt;", ">"); + boost::algorithm::replace_all(str, "&amp;", "&"); + boost::algorithm::replace_all(str, "&apos;", "\'"); + boost::algorithm::replace_all(str, "&lt;", "<"); + boost::algorithm::replace_all(str, "&gt;", ">");    } ====================================================================================== Failure ======= In file included from build/include/sandesh/sandesh_types.h:15:0,                  from build/debug/vnsw/agent/uve/vrouter_types.cpp:12: build/include/sandesh/derived_stats_algo.h: In instantiation of ‘contrail::sandesh::DSSum<ElemT, SumResT>::DSSum(const string&) [with ElemT = long unsigned int; SumResT = long unsigned int; std::__cxx11::string = std::__cxx11::basic_string<char>]’: /usr/include/boost/smart_ptr/make_shared_object.hpp:808:5: required from ‘typename boost::detail::sp_if_not_array<T>::type boost::make_shared(const A1&) [with T = contrail::sandesh::DSSum<long unsigned int, long unsigned int>; A1 = std::__cxx11::basic_string<char>; typename boost::detail::sp_if_not_array<T>::type = boost::shared_ptr<contrail::sandesh::DSSum<long unsigned int, long unsigned int> >]’ build/include/sandesh/derived_stats.h:118:70: required from ‘void contrail::sandesh::DerivedStatsMerge(const std::map<std::__cxx11::basic_string<char>, ElemT>&, std::map<std::__cxx11::basic_string<char>, boost::shared_ptr<DSTT<ElemT, ResultT> > >&, std::__cxx11::string, const std::map<std::__cxx11::basic_string<char>, bool>&, uint64_t) [with DSTT = contrail::sandesh::DSSum; ElemT = long unsigned int; ResultT = long unsigned int; std::__cxx11::string = std::__cxx11::basic_string<char>; uint64_t = long unsigned int]’ build/include/sandesh/derived_stats.h:205:50: required from ‘void contrail::sandesh::DerivedStatsIf<DSTT, ElemT, ResultT>::Update(const std::map<std::__cxx11::basic_string<char>, ElemT>&, const std::map<std::__cxx11::basic_string<char>, bool>&, uint64_t) [with DSTT = contrail::sandesh::DSSum; ElemT = long unsigned int; ResultT = long unsigned int; uint64_t = long unsigned int]’ build/debug/vnsw/agent/uve/vrouter_types.cpp:12287:102: required from here build/include/sandesh/derived_stats_algo.h:277:42: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]              while ((1 << (shifter_ + 8)) < range_usecs_) shifter_++;                                           ^ cc1plus: all warnings being treated as errors scons: *** [build/debug/vnsw/agent/uve/vrouter_types.o] Error 1 scons: building terminated because of errors. debian/rules:28: recipe for target 'override_dh_auto_build' failed diff ---- diff --git a/library/cpp/derived_stats_algo.h b/library/cpp/derived_stats_algo.h index 347b801..79e3866 100644 --- a/library/cpp/derived_stats_algo.h +++ b/library/cpp/derived_stats_algo.h @@ -274,7 +274,7 @@ class DSSum {              // We want each time bucket to represent between              // 1/128th and 1/256th of the entire range              // This ensures that there will never be more than 256 buckets - while ((1 << (shifter_ + 8)) < range_usecs_) shifter_++; + while ((uint64_t)(1 << (shifter_ + 8)) < range_usecs_) shifter_++;          }      }      uint64_t samples_; ====================================================================================== Failure ======= controller/src/discovery/client -Ibuild/debug/analytics -Icontroller/src/analytics -Ibuild/debug -Ibuild/debug/base/sandesh -Icontroller/src/base/sandesh controller/src/analytics/syslog_collector.cc controller/src/analytics/syslog_collector.cc:19:58: fatal error: boost/spirit/home/phoenix/object/construct.hpp: No such file or directory compilation terminated. scons: *** [build/debug/analytics/syslog_collector.o] Error 1 scons: building terminated because of errors. debian/rules:28: recipe for target 'override_dh_auto_build' failed make[2]: Leaving directory '/home/amudha/mitaka-mainline-sb/build/packages/contrail' make[2]: *** [override_dh_auto_build] Error 2 debian/rules:25: recipe for target 'build' failed make[1]: Leaving directory '/home/amudha/mitaka-mainline-sb/build/packages/contrail' make[1]: *** [build] Error 2 diff ---- diff --git a/src/analytics/syslog_collector.cc b/src/analytics/syslog_collector.cc index 643917c..3e778b5 100644 --- a/src/analytics/syslog_collector.cc +++ b/src/analytics/syslog_collector.cc @@ -16,7 +16,7 @@  #include <boost/spirit/include/phoenix_core.hpp>  #include <boost/spirit/include/phoenix_operator.hpp>  #include <boost/spirit/include/phoenix_stl.hpp> -#include <boost/spirit/home/phoenix/object/construct.hpp> +#include <boost/phoenix/object/construct.hpp>  #include <boost/uuid/uuid.hpp>  #if __GNUC_PREREQ(4, 6)  #pragma GCC diagnostic push ====================================================================================== Failure ======= Install file: "build/third_party/hiredis/libhiredis.a" as "build/lib/libhiredis.a" g++ -o build/debug/zookeeper/zookeeper_client.o -c -g -O0 -DDEBUG -Wall -Werror -Wsign-compare -Wno-unused-local-typedefs -DLINUX -Icontroller/src -Ibuild/include -Icontroller/lib -I/usr/include controller/src/zookeeper/zookeeper_client.cc controller/src/zookeeper/zookeeper_client.cc: In member function ‘int zookeeper::client::impl::ZookeeperClientImpl::CreateNodeSync(const char*, const char*, int*)’: controller/src/zookeeper/zookeeper_client.cc:167:67: error: ‘strlen’ was not declared in this scope          rc = zki_->ZooCreate(zk_handle_, path, value, strlen(value),                                                                    ^ scons: *** [build/debug/zookeeper/zookeeper_client.o] Error 1 diff ---- diff --git a/src/zookeeper/zookeeper_client.cc b/src/zookeeper/zookeeper_client.cc index c3c5ff8..3e380cc 100644 --- a/src/zookeeper/zookeeper_client.cc +++ b/src/zookeeper/zookeeper_client.cc @@ -3,6 +3,7 @@  //  #include <cerrno> +#include <cstring>  #include <base/logging.h> ===================================================================================== Failure ======= scons: `build/debug/vnsw/agent/contrail/contrail-vrouter-agent' is up to date. g++ -o build/debug/analytics/vizd -Wl,--whole-archive -lbase -lcpuinfo -lprocess_info -lnodeinfo -l:librdkafka.a -l:librdkafka++.a -Wl,--no-whole-archive -g build/debug/analytics/collector_uve_types.o build/debug/analytics/collector_uve_constants.o build/debug/analytics/collector_uve_html.o build/debug/analytics/analytics_types.o build/debug/analytics/analytics_constants.o build/debug/analytics/analytics_html.o build/debug/analytics/redis_types.o build/debug/analytics/redis_constants.o build/debug/analytics/redis_html.o build/debug/analytics/uflow_types.o build/debug/analytics/uflow_constants.o build/debug/analytics/uflow_html.o build/debug/analytics/sflow_types.o build/debug/analytics/sflow_constants.o build/debug/analytics/sflow_html.o build/debug/analytics/viz_types.o build/debug/analytics/viz_constants.o build/debug/analytics/viz_html.o build/debug/analytics/viz_collector.o build/debug/analytics/ruleeng.o build/debug/analytics/collector.o build/debug/analytics/vizd_table_desc.o build/debug/analytics/viz_message.o build/debug/analytics/generator.o build/debug/analytics/redis_connection.o build/debug/analytics/redis_processor_vizd.o build/debug/analytics/options.o build/debug/analytics/stat_walker.o build/debug/analytics/protobuf_collector.o build/debug/analytics/protobuf_server.o build/debug/analytics/sflow.o build/debug/analytics/sflow_generator.o build/debug/analytics/sflow_collector.o build/debug/analytics/usrdef_counters.o build/debug/analytics/sflow_parser.o build/debug/analytics/ipfix_collector.o build/debug/analytics/protobuf_schema.pb.o build/debug/analytics/main.o build/debug/analytics/buildinfo.o build/debug/analytics/db_handler.o build/debug/analytics/OpServerProxy.o build/debug/analytics/syslog_collector.o build/debug/analytics/parser_util.o -Lbuild/lib -Lbuild/debug/sandesh -Lcontroller/src/sandesh -Lbuild/debug/analytics/ruleparser -Lcontroller/src/analytics/ruleparser -Lbuild/debug/discovery/client -Lcontroller/src/discovery/client -Lbuild/debug/http/client -Lcontroller/src/http/client -Lbuild/debug/xml -Lcontroller/src/xml -Lbuild/debug/database -Lcontroller/src/database -Lbuild/debug/base -Lcontroller/src/base -Lbuild/debug/io -Lcontroller/src/io -Lbuild/debug/net -Lcontroller/src/net -L/usr/lib/x86_64-linux-gnu -lcassandra_cql -lcassandra -lgendb -lboost_regex -lssl -lcrypto -lsasl2 -lcpuinfo -lds -lio -lsandesh -lhttpc -lhttp -lvncapi -lhttp_parser -lcurl -lruleparser -lxml -lprocess_info -lnodeinfo -lbase -lio -lz -lnet -lipfix -lmisc -lsandeshvns -lpugixml -lhiredis -lprotobuf -lzookeeper_client -lzookeeper_mt -lboost_filesystem -lboost_program_options -lboost_system -llog4cplus -lpthread -ltbb -lboost_python -lpython2.7 -lrt /usr/bin/ld: cannot find -lsasl2 collect2: error: ld returned 1 exit status diff ---- (PLATFORM, VERSION, EXTRA) = platform.linux_distribution() if PLATFORM.lower() != 'ubuntu':     AnalyticsEnv.Prepend(LIBS=['ssl',         'crypto',         'sasl2'])
2016-11-12 02:02:51 OpenContrail Admin juniperopenstack/trunk: status In Progress Fix Committed
2017-10-12 16:09:31 OpenContrail Admin nominated for series juniperopenstack/r3.2
2017-10-12 16:09:31 OpenContrail Admin bug task added juniperopenstack/r3.2
2017-10-12 16:09:31 OpenContrail Admin bug task added juniperopenstack/r3.2
2017-10-20 19:13:52 OpenContrail Admin juniperopenstack/r3.2: status In Progress Fix Committed