Skip to content

make check fails #6

Closed
Closed

Description

@mdcallag

Ran "make" and then "make check"
I am using Ubuntu 12.10

My repo is at:
commit 75df72f
Author: Kai Liu [email protected]
Date: Sat Nov 16 22:59:22 2013 -0800

Change the logic in KeyMayExist()

==== Test DBTest.CompressedCache
db/db_test.cc:1890: failed: 0 > 0
Created bg thread 0x2ada30469700
make: *** [check] Error 1


The ASSERT_GT fails

1885 case 1:
1886 // no block cache, only compressed cache
1887 ASSERT_EQ(options.statistics.get()->getTickerCount(BLOCK_CACHE_MISS),
1888 0);
1889 ASSERT_GT(options.statistics.get()->getTickerCount
1890 (BLOCK_CACHE_COMPRESSED_MISS), 0);
1891 break;

Activity

  1. jkeys089 commented on Nov 17, 2013

    @jkeys089

    Do you have bz2 and snappy libs installed?

  2. mdcallag commented on Nov 17, 2013

    @mdcallag
    ContributorAuthor

    RocksDB includes snappy and libs were built during make. However, I don't see how snappy or zlib or bz2 were linked. They aren't mentioned in make output and bzip2 is installed for sure. I think the makefile needs help. Will start a separate issue for that.

  3. jkeys089 commented on Nov 17, 2013

    @jkeys089

    I just pulled in everything in build_tools/build_detect_platform (https://github.com/facebook/rocksdb/blob/master/build_tools/build_detect_platform#L186) and the tests now run fine for me.

  4. mdcallag commented on Nov 17, 2013

    @mdcallag
    ContributorAuthor

    The point of having build_tools/build_detect_platform is for things to run
    fine when everything isn't there. That isn't the case right now.

    On Sun, Nov 17, 2013 at 8:50 AM, jkeys089 [email protected] wrote:

    I just pulled in everything in build_tools/build_detect_platform (
    https://github.com/facebook/rocksdb/blob/master/build_tools/build_detect_platform#L186)
    and the tests now run fine for me.

    —
    Reply to this email directly or view it on GitHubhttps://github.com//issues/6#issuecomment-28652273
    .

    Mark Callaghan
    [email protected]

  5. mdcallag commented on Nov 17, 2013

    @mdcallag
    ContributorAuthor

    Does this test need checks to avoid compression tests when -DSNAPPY and other compression options were not compiled? "make check" passes when snappy, bzip2 and zlib have been installed.

  6. igorcanadi commented on Nov 18, 2013

    @igorcanadi
    Contributor

    I think we should just require all three libraries (snappy, bzip2 and zlib) to be installed. They are all standard libraries and can be easily installed on all linux platforms.

  7. igorcanadi commented on Nov 18, 2013

    @igorcanadi
    Contributor

    Added requirements on all three compression libraries in https://github.com/facebook/rocksdb/blob/master/INSTALL.md

    It would be good for build_detect_platform to work even if only a subset of them is installed, but they are so easy to install it doesn't make much sense to worry about it.

  8. added a commit that references this issue on Apr 25, 2014
  9. 80 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions