Skip to content

transforms_stats#"Test Get Transform Stats" fails because pages_processed/checkpoint don't match #42309

Closed
@polyfractal

Description

@polyfractal

https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+intake/3614/

Reproduction:

./gradlew :x-pack:plugin:integTestRunner --tests "org.elasticsearch.xpack.test.rest.XPackRestIT.test {p0=data_frame/transforms_stats/Test get transform stats}" -Dtests.seed=5B30818AA97DC12A -Dtests.security.manager=true -Dtests.locale=en-KE -Dtests.timezone=Europe/Sarajevo -Dcompiler.java=12 -Druntime.java=11 -Dtests.rest.blacklist=getting_started/10_monitor_cluster_health/*

This failed on CI with:

java.lang.AssertionError: Failure at [data_frame/transforms_stats:53]: transforms.0.stats.pages_processed didn't match expected value:
transforms.0.stats.pages_processed: expected [0] but was [1]

It also fails for me locally, but with a different part of the test failing (checkpoint instead of the pages_processed). Fails reliably for me

Caused by:
java.lang.AssertionError: transforms.0.state.checkpoint didn't match expected value:
transforms.0.state.checkpoint: expected [0] but was [1]

Stash dump on test failure [{
  1>   "stash" : {
  1>     "body" : {
  1>       "count" : 1,
  1>       "transforms" : [
  1>         {
  1>           "id" : "airline-transform-stats",
  1>           "state" : {
  1>             "task_state" : "started",
  1>             "indexer_state" : "started",
  1>             "checkpoint" : 1,
  1>             "progress" : {
  1>               "total_docs" : 0,
  1>               "docs_remaining" : 0,
  1>               "percent_complete" : 100.0
  1>             }
  1>           },
  1>           "stats" : {
  1>             "pages_processed" : 1,
  1>             "documents_processed" : 0,
  1>             "documents_indexed" : 0,
  1>             "trigger_count" : 1,
  1>             "index_time_in_ms" : 0,
  1>             "index_total" : 0,
  1>             "index_failures" : 0,
  1>             "search_time_in_ms" : 8,
  1>             "search_total" : 1,
  1>             "search_failures" : 0
  1>           },
  1>           "checkpointing" : {
  1>             "in_progress" : {
  1>               "timestamp_millis" : 1558460091734
  1>             },
  1>             "operations_behind" : -1
  1>           }
  1>         }
  1>       ]
  1>     }
  1>   }
  1> }]

Looks like it started failing yesterday, so I'm guessing it's somehow related to #42067 /cc @davidkyle

image

Since it fails reliably I'm going to mute this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions