Re: Can't run CPP tests locally on linux machine

2018-04-23 Thread Igor Sapego
Hello, Nikolay, CPP_STAGING is only needed for TC as we the TC obviously does not have root access on agents and thus can't install Ignite to /usr/local directory. Do you run your tests from the VM? Any test failures are not OK. Can you give me a full message? Best Regards, Igor On Fri, Apr

Re: Can't run CPP tests locally on linux machine

2018-04-20 Thread Nikolay Izhikov
I set one more enviromnent variable and now got success tests run. I see following output: *** 2 failures are detected in the test module "identity_resolver_test" Is it OK? В Пт, 20/04/2018 в 19:28 +0300, Nikolay Izhikov пишет: > Hello, Igor. > > As far as I can see from the Team City setting

Re: Can't run CPP tests locally on linux machine

2018-04-20 Thread Nikolay Izhikov
Hello, Igor. As far as I can see from the Team City settings the actual command to configure current master sources is `./configure --enable-odbc --enable-tests --prefix=%env.CPP_STAGING% CPPFLAGS=-I%env.CPP_STAGING%/include LDFLAGS=-L%env.CPP_STAGING%/lib` Can you give me content of CPP_STAGI

Re: Can't run CPP tests locally on linux machine

2018-04-19 Thread Nikolay Izhikov
Igor. Following settings helps to remove some error, but I still can't make all things works. Is it right way to get things work? ``` > export LDFLAGS='-L/usr/lib/x86_64-linux-gnu/' > export LIBS='-lboost_unit_test_framework' > libtoolize && aclocal && autoheader && automake --add-missing && aut

Re: Can't run CPP tests locally on linux machine

2018-04-19 Thread Nikolay Izhikov
Hello, Igor. Still doesn't work. I removed files you mentioned and got following error messages: make[3]: вход в каталог «/home/dragon/src/ignite/modules/platforms/cpp/odbc-test» CXXLDignite-odbc-tests /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start

Re: Can't run CPP tests locally on linux machine

2018-04-19 Thread Igor Sapego
They can be executed locally, and no, you don't need any library. It is just that Teamcity plugin depends on exact version of Boost, as I mentioned before. You can disable it if you are going to run tests locally. For this you should remove from these files platform/cpp/core-test/Makefile.am and p

Re: Can't run CPP tests locally on linux machine

2018-04-18 Thread Nikolay Izhikov
Igor. I tried to comment unexisted header and got following error: src/teamcity/teamcity_boost.cpp: In constructor ‘JetBrains::TeamcityFormatterRegistrar::TeamcityFormatterRegistrar()’: src/teamcity/teamcity_boost.cpp:72:100: error: invalid new-expression of abstract class type ‘JetBrains::Team

Re: Can't run CPP tests locally on linux machine

2018-04-18 Thread Igor Sapego
I think it is better to remove this strong dependency on the exact Boost version at all. I've filed a ticket for that: [1]. [1] - https://issues.apache.org/jira/browse/IGNITE-8310 Best Regards, Igor On Wed, Apr 18, 2018 at 4:20 PM, Nikolay Izhikov wrote: > Hello, Igor. > > Thanks! > I will try

Re: Can't run CPP tests locally on linux machine

2018-04-18 Thread Nikolay Izhikov
Hello, Igor. Thanks! I will try to find boost-1.58.0 distribution and setup it. > 2. Well, it is the old issue that we are working only with the specific> > Boost version (1.58.0). You can try commenting out the following line:> Should we mention it in DEVNOTES? Should we add some readme to se

Re: Can't run CPP tests locally on linux machine

2018-04-18 Thread Igor Sapego
Hi, Nikolay, 1. Yes, it's OK; 2. Well, it is the old issue that we are working only with the specific Boost version (1.58.0). You can try commenting out the following line: #include in teamcity_boost.cpp files to make it working with your version. Best Regards, Igor On Wed, Apr 18, 2018 at 3: