Skip to content

WatcherRestIT mustache/50_webhook_url_escaping/Test url escaping with url mustache function failure #41172

@gwbrown

Description

@gwbrown

So far I've only seen evidence of this happening on 7.x.

Example build: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+intake/1045/
Test output in scan: https://scans.gradle.com/s/lcajmtj5fu6oe/tests/6ej7h6toy4af6-tv5gh5dkqybtm

Does not reproduce locally with:

./gradlew :x-pack:qa:smoke-test-watcher:integTestRunner --tests "org.elasticsearch.smoketest.WatcherRestIT.test {yaml=mustache/50_webhook_url_escaping/Test url escaping with url mustache function}" \
  -Dtests.seed=5D9E5D5152A4EAB5 \
  -Dtests.security.manager=true \
  -Dtests.locale=fr \
  -Dtests.timezone=Africa/Bangui \
  -Dcompiler.java=12 \
  -Druntime.java=8

Failure:

java.lang.AssertionError: Failure at [mustache/50_webhook_url_escaping:17]: stats.0.watch_count didn't match expected value:
           stats.0.watch_count: expected [0] but was [1]

Relevant output:

[2019-04-13T00:07:06,472][INFO ][o.e.s.WatcherRestIT      ] [test] Stash dump on test failure [{
  "stash" : {
    "body" : {
      "_nodes" : {
        "total" : 1,
        "successful" : 1,
        "failed" : 0
      },
      "cluster_name" : "x-pack_qa_smoke-test-watcher_integTestCluster",
      "manually_stopped" : false,
      "stats" : [
        {
          "node_id" : "AmucWBlmS0qpHFGvXoW1zw",
          "watcher_state" : "started",
          "watch_count" : 1,
          "execution_thread_pool" : {
            "queue_size" : 0,
            "max_size" : 6
          }
        }
      ]
    }
  }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions