-
Notifications
You must be signed in to change notification settings - Fork 25.8k
[CI] Failure at [cat.nodes/10_basic:7]: field [$body] was expected to match the provided regex but didn't #45261
Copy link
Copy link
Closed
Labels
:Distributed/DistributedA catch all label for anything in the Distributed Area. Please avoid if you can.A catch all label for anything in the Distributed Area. Please avoid if you can.>test-failureTriaged test failures from CITriaged test failures from CI
Description
Suite: Test class org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT
1> [2019-08-06T17:28:58,651][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] [p0=cat.nodes/10_basic/Test cat nodes output] before test
1> [2019-08-06T17:28:58,748][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] initializing REST clients against [http://[::1]:37855, http://[::1]:37305, http://[::1]:36351, http://[::1]:36629]
1> [2019-08-06T17:28:59,212][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] initializing client, minimum es version [7.4.0], master version, [7.4.0], hosts [http://[::1]:37855, http://[::1]:37305, http://[::1]:36351, http://[::1]:36629]
1> [2019-08-06T17:28:59,283][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] Stash dump on test failure [{
1> "stash" : {
1> "body" : "127.0.0.1 29 97 44 5.37 3.48 2.53 dilm * node-0
1> 127.0.0.1 37 97 69 5.37 3.48 2.53 dim - node-2
1> 127.0.0.1 27 97 42 5.37 3.48 2.53 dilm - node-1
1> 127.0.0.1 35 97 73 5.37 3.48 2.53 dim - node-3
1> "
1> }
1> }]
1> [2019-08-06T17:29:00,225][INFO ][o.e.b.MixedClusterClientYamlTestSuiteIT] [test] [p0=cat.nodes/10_basic/Test cat nodes output] after test
2> REPRODUCE WITH: ./gradlew :qa:mixed-cluster:v7.4.0#mixedClusterTestRunner --tests "org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT" -Dtests.method="test {p0=cat.nodes/10_basic/Test cat nodes output}" -Dtests.seed=8C5A220601946023 -Dtests.security.manager=true -Dtests.locale=fr-RW -Dtests.timezone=America/Fort_Wayne -Dtests.distribution=default -Dcompiler.java=12 -Druntime.java=11
2> java.lang.AssertionError: Failure at [cat.nodes/10_basic:7]: field [$body] was expected to match the provided regex but didn't
Expected: #ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
^ ((\d{1,3}\.){3}\d{1,3} \s+ \d+ \s+ \d* \s+ (-)?\d* \s+ ((-)?\d*(\.\d+)?)? \s+ ((-)?\d*(\.\d+)?)?\s+ ((-)?\d*(\.\d+)?)? \s+ (-|[dmi]{1,3}) \s+ [-*x] \s+ (\S+\s?)+ \n)+ $
but: was "127.0.0.1 29 97 44 5.37 3.48 2.53 dilm * node-0\n127.0.0.1 37 97 69 5.37 3.48 2.53 dim - node-2\n127.0.0.1 27 97 42 5.37 3.48 2.53 dilm - node-1\n127.0.0.1 35 97 73 5.37 3.48 2.53 dim - node-3\n"
Caused by:
java.lang.AssertionError: field [$body] was expected to match the provided regex but didn't
Expected: #ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
^ ((\d{1,3}\.){3}\d{1,3} \s+ \d+ \s+ \d* \s+ (-)?\d* \s+ ((-)?\d*(\.\d+)?)? \s+ ((-)?\d*(\.\d+)?)?\s+ ((-)?\d*(\.\d+)?)? \s+ (-|[dmi]{1,3}) \s+ [-*x] \s+ (\S+\s?)+ \n)+ $
but: was "127.0.0.1 29 97 44 5.37 3.48 2.53 dilm * node-0\n127.0.0.1 37 97 69 5.37 3.48 2.53 dim - node-2\n127.0.0.1 27 97 42 5.37 3.48 2.53 dilm - node-1\n127.0.0.1 35 97 73 5.37 3.48 2.53 dim - node-3\n"
2> NOTE: leaving temporary files on disk at: /home/hinmanm/es/elasticsearch/qa/mixed-cluster/build/testrun/v7.4.0#mixedClusterTestRunner/temp/org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT_8C5A220601946023-001
2> NOTE: test params are: codec=Asserting(Lucene80): {}, docValues:{}, maxPointsInLeafNode=861, maxMBSortInHeap=6.472686076169385, sim=Asserting(org.apache.lucene.search.similarities.AssertingSimilarity@5e7e18c6), locale=fr-RW, timezone=America/Fort_Wayne
2> NOTE: Linux 5.1.19-300.fc30.x86_64 amd64/Oracle Corporation 11.0.3 (64-bit)/cpus=8,threads=1,free=401245392,total=536870912
2> NOTE: All tests run in this JVM: [MixedClusterClientYamlTestSuiteIT]
It appears the new "l" node role is throwing off the assertion:
127.0.0.1 29 97 44 5.37 3.48 2.53 dilm * node-0
127.0.0.1 37 97 69 5.37 3.48 2.53 dim - node-2
127.0.0.1 27 97 42 5.37 3.48 2.53 dilm - node-1
127.0.0.1 35 97 73 5.37 3.48 2.53 dim - node-3
Whereas the matching is looking for: (-|[dmi]{1,3}) (no l)
This reproduces for me with:
./gradlew :qa:mixed-cluster:v7.4.0#mixedClusterTestRunner --tests "org.elasticsearch.backwards.MixedClusterClientYamlTestSuiteIT" -Dtests.method="test {p0=cat.nodes/10_basic/Test cat nodes output}" -Dtests.seed=8C5A220601946023 -Dtests.security.manager=true -Dtests.locale=fr-RW -Dtests.timezone=America/Fort_Wayne -Dtests.distribution=default -Dcompiler.java=12 -Druntime.java=11
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/DistributedA catch all label for anything in the Distributed Area. Please avoid if you can.A catch all label for anything in the Distributed Area. Please avoid if you can.>test-failureTriaged test failures from CITriaged test failures from CI
Type
Fields
Give feedbackNo fields configured for issues without a type.