Saad Ahmed
2015-Feb-03 17:33 UTC
[Xapian-devel] Fwd: Waiting for Reply regarding "TestCases Failure"
---------- Forwarded message ---------- From: Saad Ahmed <ch.saad.ahmed at gmail.com> Date: 3 February 2015 at 21:10 Subject: Waiting for Reply regarding "TestCases Failure" To: Xapian Development <xapian-devel at lists.xapian.org> I have been waiting for reply regarding any further steps to take. Following are the outputs of commands that you asked me to run. All these commands were executed in order. Commands: make remove-cached-databases rm -rf .chert .glass .multichert .multiglass .replicatmp .stub Command:./runtest ./apitest --verbose topercent2 Output: Running test './apitest --verbose topercent2' under eatmydata and valgrind Running tests with backend "none"... Running tests with backend "inmemory"... Running test: topercent2... Command: ls -R .chert Output: .chert: db=apitest_simpledata .chert/db=apitest_simpledata: flintlock You ought to have a database in .chert/db=apitest_simpledata - if so,> then checking it would be interesting (again send the output): > > ../bin/xapian-check .chert/db=apitest_simpledata >Output for the above command is "Failed to check B-tree: DatabaseOpeningError: Couldn't open .chert/db=apitest_simpledata.DB read/write: No such file or directory". I am interested in applying for GSoC. I have been reading the documentation and am willing to fix a bug before making a proposal. Early reply will be helpful for me in this regard. Regards, Saad Ahmed -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20150203/edec8218/attachment.html>
James Aylett
2015-Feb-05 15:34 UTC
[Xapian-devel] Fwd: Waiting for Reply regarding "TestCases Failure"
On 3 Feb 2015, at 17:33, Saad Ahmed <ch.saad.ahmed at gmail.com> wrote:> I have been waiting for reply regarding any further steps to take.Olly?s away right now, but I?ll see if I can help at all.> $ make remove-cached-databases > rm -rf .chert .glass .multichert .multiglass .replicatmp .stub > > $ ./runtest ./apitest --verbose topercent2 > Running test './apitest --verbose topercent2' under eatmydata and valgrind > Running tests with backend "none"... > Running tests with backend "inmemory"... > Running test: topercent2?Is that the complete output? Because that suggests that topercent2 is failing in some way when run against inmemory. My output has the single line for the none backend, and then three lines each for inmemory, glass, chert, multi_glass, multi_chert, remoteprog_glass, remotetcp_glass, remoteprog_chert and remotetcp_chert, followed by the apitest summary line ? it?s strange that you?re seeing none of this, but no visible error either. Can you try running the following commands: make remove-cached-databases ./runtest ./apitest --verbose topercent2 || echo $? and also: make remove-cached-databases ./runtest ./apitest -b chert --verbose topercent2 || echo $? Also, if you could pastebin your config.log from the top level of xapian-core, that would be helpful in checking that Xapian is trying to build as expected.> $ ls -R .chert > .chert: > db=apitest_simpledata > > .chert/db=apitest_simpledata: > flintlockIf the db=apitest_simpledata database were there, there?d be a lot more files in here (and the fact that it isn?t is why the xapian-check command Olly suggested didn?t do anything). However I suspect the reason there?s nothing there is that the tests weren?t getting to chert because they were stopping at inmemory. J -- James Aylett, occasional trouble-maker xapian.org
Saad Ahmed
2015-Feb-06 06:16 UTC
[Xapian-devel] Fwd: Waiting for Reply regarding "TestCases Failure"
> Is that the complete output?Yes it is the complete output against "./runtest ./apitest --verbose topercent2"( after running make remove-cached-databases). I attached the snapshot of the output of commands but the size of the email got bigger than 40kb so i had to place the output as text. If I do not run "make remove-cached-databases" and run "./runtest ./apitest --verbose topercent2" the second time then the output is " Running test './apitest --verbose topercent2' under eatmydata and valgrind Running tests with backend "none"... Running tests with backend "inmemory"... Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database ./apitest backend inmemory: 0 tests passed, 1 failed. Running tests with backend "glass"... Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database ./apitest backend glass: 0 tests passed, 1 failed. Running tests with backend "chert"... Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database ./apitest backend chert: 0 tests passed, 1 failed. Running tests with backend "multi_glass"... Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database ./apitest backend multi_glass: 0 tests passed, 1 failed. Running tests with backend "multi_chert"... Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database ./apitest backend multi_chert: 0 tests passed, 1 failed. Running tests with backend "remoteprog_glass"... Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database ./apitest backend remoteprog_glass: 0 tests passed, 1 failed. Running tests with backend "remotetcp_glass"... Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database ./apitest backend remotetcp_glass: 0 tests passed, 1 failed. Running tests with backend "remoteprog_chert"... Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database ./apitest backend remoteprog_chert: 0 tests passed, 1 failed. Running tests with backend "remotetcp_chert"... Running test: topercent2... DatabaseOpeningError: Couldn't detect type of database ./apitest backend remotetcp_chert: 0 tests passed, 1 failed. ./apitest total: 0 tests passed, 9 failed. "> Can you try running the following commands: > > make remove-cached-databases > ./runtest ./apitest --verbose topercent2 || echo $? >Here is the output after running both commands " Running test './apitest --verbose topercent2' under eatmydata and valgrind Running tests with backend "none"... Running tests with backend "inmemory"... Running test: topercent2...1 "> and also: > > make remove-cached-databases > ./runtest ./apitest -b chert --verbose topercent2 || echo $? > > Here is the output after running both commands" Running test './apitest -b chert --verbose topercent2' under eatmydata and valgrind Running tests with backend "chert"... Running test: topercent2...1 "> Also, if you could pastebin your config.log from the top level of > xapian-core, that would be helpful in checking that Xapian is trying to > build as expected. > > Here is the log file." INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBRARY_VERSION_INFO='3:0:0' LIBRARY_VERSION_SUFFIX='-1.3' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='' MAINTAINER_MODE_FALSE='#' MAINTAINER_MODE_TRUE='' MAINTAINER_NO_DOCS_FALSE='' MAINTAINER_NO_DOCS_TRUE='#' MAKEINFO='${SHELL} /home/saad/GitProjects/xapian/xapian-core/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' NO_INSTALL='-no-install' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='xapian-core' PACKAGE_BUGREPORT='http://xapian.org/bugs' PACKAGE_NAME='xapian-core' PACKAGE_STRING='xapian-core 1.3.2' PACKAGE_TARNAME='xapian-core' PACKAGE_URL='' PACKAGE_VERSION='1.3.2' PATH_SEPARATOR=':' PERCENT='%' PERL='/usr/bin/perl' PNGCRUSH='/usr/bin/pngcrush' RANLIB='ranlib' RST2HTML='/usr/bin/rst2html' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' SHLIBEXT='.so' STRIP='strip' USE_WIN32_UUID_API_FALSE='' USE_WIN32_UUID_API_TRUE='#' USE_ZLIB_VG_FALSE='#' USE_ZLIB_VG_TRUE='' VALGRIND='/usr/bin/valgrind' VERSION='1.3.2' VPATH_BUILD_FALSE='#' VPATH_BUILD_TRUE='' XAPIAN_LDFLAGS='' XAPIAN_LIBS=' -lrt -lz -luuid ' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='tar --format=ustar -chf - "$$tardir"' am__untar='tar -xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' incdir='${prefix}/include/xapian-1.3' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/saad/GitProjects/xapian/xapian-core/install-sh' ldflags='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' link_all_deplibs_CXX='no' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s&$$&-1.3&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "xapian-core" #define PACKAGE_TARNAME "xapian-core" #define PACKAGE_VERSION "1.3.2" #define PACKAGE_STRING "xapian-core 1.3.2" #define PACKAGE_BUGREPORT "http://xapian.org/bugs" #define PACKAGE_URL "" #define PACKAGE "xapian-core" #define VERSION "1.3.2" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_LOG2 1 #define USE_RTTI 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_NANOSLEEP 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_FTIME 1 #define HAVE_TIMER_CREATE 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSETJMP 1 #define HAVE_GETRUSAGE 1 #define HAVE_TIMES 1 #define HAVE_SYSCONF 1 #define HAVE_SETENV 1 #define HAVE_DIRFD 1 #define HAVE_GETRLIMIT 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_GETHOSTNAME 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 8 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_SYS_ERRNO_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_VALGRIND_MEMCHECK_H 1 #define HAVE_VALGRIND 1 #define HAVE_HSTRERROR 1 #define HAVE_DECL_STRERROR_R 1 #define HAVE_STRERROR_R 1 #define STRERROR_R_CHAR_P 1 #define HAVE_DECL_SYS_ERRLIST 1 #define HAVE_DECL__SYS_ERRLIST 1 #define HAVE_DECL_SYS_NERR 1 #define HAVE_DECL__SYS_NERR 1 #define SNPRINTF_ISO snprintf #define SNPRINTF snprintf #define HAVE_ZLIB_H 1 #define HAVE_UUID_UUID_H 1 #define HAVE_UUID_UNPARSE_LOWER 1 #define HAVE_FORK 1 #define HAVE_SOCKETPAIR 1 #define SOCKLEN_T socklen_t #define HAVE_FDATASYNC 1 #define HAVE_FSYNC 1 #define HAVE_PREAD 1 #define HAVE_PWRITE 1 #define HAVE_LINK 1 configure: exit 0 " -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20150206/c73089b4/attachment-0002.html>