Hi, I'm seeing connection errors when trying to run one of the XrdClTests (I've only tried one of the tests so far): /tests/common/text-runner libXrdClTests.so 'All Tests/FileSystemTest/FileSystemTest::StatTest' results in the server reporting: 190327 16:15:39 1658398 XrootdXeq: User authentication failed; Secgsi: ErrParseBuffer: unsupported cipher chosen by the client: kXGC_cert 190327 16:15:39 1658398 XrootdXeq: ijj87.29598:[log in to unmask] disc 0:00:00 I can see that the test client is using my VOMS proxy cert. Do I need to change a cipher setting client-side to make a successful connection? Thanks, Ian. From: [log in to unmask] <[log in to unmask]> On Behalf Of Ian Johnson - UKRI STFC Sent: 27 March 2019 15:05 To: Michal Kamil Simon <[log in to unmask]>; [log in to unmask] Subject: RE: Problem compiling XRootD tests Hi Michal, Thanks, that change to -DENABLE_TESTS allowed the tests to build and link OK. I've been able to invoke the text-runner for the XrdCephTest OK, and will now run the tests on a Ceph client node. Cheers, Ian. From: [log in to unmask]<mailto:[log in to unmask]> <[log in to unmask]<mailto:[log in to unmask]>> On Behalf Of Michal Kamil Simon Sent: 27 March 2019 14:28 To: Johnson, Ian (STFC,RAL,SC) <[log in to unmask]<mailto:[log in to unmask]>>; [log in to unmask]<mailto:[log in to unmask]> Subject: RE: Problem compiling XRootD tests Hi Ian, Please use -DENABLE_TESTS=TRUE instead of -DBUILD_TESTS=TRUE Cheers, Michal ________________________________ From: [log in to unmask]<mailto:[log in to unmask]> [[log in to unmask]] on behalf of Ian Johnson - UKRI STFC [[log in to unmask]] Sent: 27 March 2019 15:16 To: [log in to unmask]<mailto:[log in to unmask]> Subject: RE: Problem compiling XRootD tests I should have added the output from CMake: [ijj87@test-pg buildtop.d]$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/xrootd -DBUILD_TESTS=TRUE -- Could NOT find READLINE (missing: READLINE_LIBRARY READLINE_INCLUDE_DIR) -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR) -- Could NOT find systemd (missing: SYSTEMD_INCLUDE_DIRS SYSTEMD_LIBRARIES) -- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) -- Could NOT find fuse (missing: FUSE_INCLUDE_DIR FUSE_LIBRARY) -- Could NOT find Macaroons (missing: MACAROONS_INCLUDES MACAROONS_LIB) -- checking for module 'json-c' -- package 'json-c' not found -- checking for module 'uuid' -- package 'uuid' not found -- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "2.4") [I] Determining version from git -- ---------------------------------------- -- Installation path: /opt/xrootd -- C Compiler: /usr/bin/cc -- C++ Compiler: /usr/bin/c++ -- Build type: RelWithDebInfo -- Plug-in version: 4 -- -- Readline support: libs not found -- Fuse support: disabled -- Crypto support: yes -- Kerberos5 support: yes -- XrdCl: yes -- Tests: libs not found -- HTTP support: yes -- HTTP TPC support: disabled -- Macaroons support: disabled -- CEPH support: yes -- Python support: disabled -- ---------------------------------------- -- Configuring done -- Generating done -- Build files have been written to: /home/ijj87/SRC/xrootd/buildtop.d From: [log in to unmask]<mailto:[log in to unmask]> <[log in to unmask]<mailto:[log in to unmask]>> On Behalf Of Ian Johnson - UKRI STFC Sent: 27 March 2019 13:53 To: [log in to unmask]<mailto:[log in to unmask]> Subject: Problem compiling XRootD tests Hi, I'm working with branch stable-4.9.x. I configure the build like so: cmake .. -DCMAKE_INSTALL_PREFIX=/opt/xrootd -DBUILD_TESTS=TRUE and get the following result: Scanning dependencies of target text-runner [ 97%] Building CXX object tests/common/CMakeFiles/text-runner.dir/TextRunner.cc.o Linking CXX executable text-runner CMakeFiles/text-runner.dir/TextRunner.cc.o: In function `printTests(CppUnit::Test const*, std::string)': /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:33: undefined reference to `typeinfo for CppUnit::TestSuite' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:33: undefined reference to `typeinfo for CppUnit::Test' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:40: undefined reference to `CppUnit::TestSuite::getTests() const' CMakeFiles/text-runner.dir/TextRunner.cc.o: In function `findTest(CppUnit::Test*, std::string const&)': /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:75: undefined reference to `typeinfo for CppUnit::TestSuite' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:75: undefined reference to `typeinfo for CppUnit::Test' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:77: undefined reference to `CppUnit::TestSuite::getTests() const' CMakeFiles/text-runner.dir/TextRunner.cc.o: In function `main': /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:113: undefined reference to `CppUnit::TestFactoryRegistry::getRegistry(std::string const&)' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:125: undefined reference to `CppUnit::TestSuite::TestSuite(std::string)' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:134: undefined reference to `CppUnit::TestSuite::addTest(CppUnit::Test*)' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:145: undefined reference to `CppUnit::TextTestRunner::TextTestRunner(CppUnit::Outputter*)' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:146: undefined reference to `CppUnit::TestRunner::addTest(CppUnit::Test*)' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:149: undefined reference to `CppUnit::TextTestRunner::result() const' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:149: undefined reference to `CppUnit::CompilerOutputter::CompilerOutputter(CppUnit::TestResultCollector*, std::ostream&, std::string const&)' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:149: undefined reference to `CppUnit::TextTestRunner::setOutputter(CppUnit::Outputter*)' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:151: undefined reference to `CppUnit::TextTestRunner::run(std::string, bool, bool, bool)' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:153: undefined reference to `CppUnit::TextTestRunner::~TextTestRunner()' /home/ijj87/SRC/xrootd/tests/common/TextRunner.cc:153: undefined reference to `CppUnit::TextTestRunner::~TextTestRunner()' collect2: error: ld returned 1 exit status make[2]: *** [tests/common/text-runner] Error 1 make[1]: *** [tests/common/CMakeFiles/text-runner.dir/all] Error 2 make: *** [all] Error 2 The tests were linking OK last week. I am working on a clean clone, no local code changes. Does anyone know how to successfully link the tests? Best Regards, Ian Johnson. ________________________________ Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1 ________________________________ Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1 ________________________________ Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1 ________________________________ Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1