Skip to content

test_request_rate_manager.cc:1988: TEST CASE: send_request_rate_request_rate_manager,an error has occurred #424

Description

@lillianokok

Environmental Information:
cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"

lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 96
On-line CPU(s) list: 0-95
Thread(s) per core: 1
Core(s) per socket: 48
Socket(s): 2
NUMA node(s): 4

free -m
total used free shared buff/cache available
Mem: 515714 1564 493304 2 20845 511307
Swap: 2047 0 2047

execution: ./perf_analyzer_unit_tests -tce="dataloader: ParseData: Supplied Shape is valid, Concurrency - Shared memory methods, dataloader: ParseData: Mismatch Input Data and Fixed Shape, dataloader: ParseData: Mismatch Input Data and Dynamic Shape, dataloader: ParseData: Valid Data, Request rate - Shared memory methods"
The command occasionally reports errors, with the error message as follows:

Thread [0] had error: Injected test error
Thread [2] had error: Injected test error
===============================================================================
/home/stage/root/spack-stage-perf-analyzer-main-wwn45bnhbpz35wqcvschx4pgutqmsbf2/spack-src/src/test_request_rate_manager.cc:1988:
TEST CASE:  send_request_rate_request_rate_manager: testing logic around detecting send request count
DEEPEST SUBCASE STACK REACHED (DIFFERENT FROM THE CURRENT ONE):
  async - slow response with sequences on
  send rate can be limited if serial sequences is on
/home/stage/root/spack-stage-perf-analyzer-main-wwn45bnhbpz35wqcvschx4pgutqmsbf2/spack-src/src/test_request_rate_manager.cc:2050: ERROR: CHECK( num_sent_requests == doctest::Approx(expected_count).epsilon(0.1) ) is NOT correct!
  values: CHECK( 3 == Approx( 5.0 ) )
===============================================================================
[doctest] test cases:    129 |    128 passed | 1 failed | 6 skipped
[doctest] assertions: 410169 | 410168 passed | 1 failed |
[doctest] Status: FAILURE!

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