Skip to content

Some tests fail with Code Coverage #147

Description

@tzaeschke

When building with:

cmake .. -DPHTREE_CODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug

Some test fail:

99% tests passed, 3 tests failed out of 382

Total Test time (real) =  31.55 sec

The following tests FAILED:
	352 - PhTreeBptPriorityQueueTest.SmokeTest (Failed)
	353 - PhTreeBptPriorityQueueTest.SmokeTestTop (Failed)
	360 - PhTreeBptFixedVectorTest.SmokeTest (SEGFAULT)
Errors while running CTest

The tests do not fail with:

  • gcc/clang and bazel test ..., even when using asan, ubsan or valgrind-memcheck
  • cmake .. -DPHTREE_CODE_COVERAGE=ON, i.e. without Debug mode
  • cmake .. -DPHTREE_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug, i.e. without coverage mode

The test do fail with

  • Desktop with: Ubuntu 22.04.1 / gcc 12.1.0
  • GitHub Actions CI build with ubuntu-latest / GNU 11.3

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions