Alexey Serbin created KUDU-3568:
-----------------------------------

             Summary: TestRowSetCompactionSkipWithBudgetingConstraints fails 
when run on some nodes
                 Key: KUDU-3568
                 URL: https://issues.apache.org/jira/browse/KUDU-3568
             Project: Kudu
          Issue Type: Bug
            Reporter: Alexey Serbin
         Attachments: test-failure.log.xz

The {{TestCompaction.TestRowSetCompactionSkipWithBudgetingConstraints}} 
scenario fails with the error like below when run on a machine with relatively 
high memory (it might be just a Docker instance with tiny actual memory 
allocated, but having the access to the {{/proc}} filesystem of the host 
machine).  The full test log is attached.

{noformat}
src/kudu/tablet/compaction-test.cc:908: Failure
Value of: JoinStrings(sink.logged_msgs(), "\n")
Expected: has substring "removed from compaction input due to memory 
constraints"
  Actual: "I20240425 10:13:05.497732 3573764 compaction-test.cc:902] 
CompactRowSetsOp complete. Timing: real 0.673s\tuser 0.669s\tsys 0.004s 
Metrics: 
{\"bytes_written\":4817,\"cfile_cache_hit\":90,\"cfile_cache_hit_bytes\":4310,\"cfile_cache_miss\":330,\"cfile_cache_miss_bytes\":3794180,\"cfile_init\":41,\"delta_iterators_relevant\":40,\"dirs.queue_time_us\":503,\"dirs.run_cpu_time_us\":338,\"dirs.run_wall_time_us\":1780,\"drs_written\":1,\"lbm_read_time_us\":1951,\"lbm_reads_lt_1ms\":494,\"lbm_write_time_us\":1767,\"lbm_writes_lt_1ms\":132,\"mutex_wait_us\":189,\"num_input_rowsets\":10,\"peak_mem_usage\":2147727,\"rows_written\":20,\"thread_start_us\":242,\"threads_started\":5}"
 (of type std::string)
{noformat}

For extra information, below is 10 lines from {{/proc/meminfo}} file on a node 
where the test failed:
{noformat}
# cat /proc/meminfo  | head -10
MemTotal:       527417196 kB
MemFree:        96640684 kB
MemAvailable:   363590980 kB
Buffers:        15352304 kB
Cached:         246687576 kB
SwapCached:      1294016 kB
Active:         214889608 kB
Inactive:       189745504 kB
Active(anon):   133110648 kB
Inactive(anon): 16977280 kB
{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to