-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Closed
Labels
failed-testA test failure on a tracked branch, potentially flaky-testA test failure on a tracked branch, potentially flaky-test
Description
A test failed on a tracked branch
{ Error: expected { role_with_privileges:
{ cluster: [ 'manage' ],
indices: [ [Object] ],
applications: [ [Object] ],
run_as: [ 'watcher_user' ],
metadata: { foo: 'test-metadata' },
transient_metadata: { enabled: true } } } to sort of equal { role_with_privileges:
{ cluster: [ 'manage' ],
indices: [ [Object] ],
applications: [ [Object] ],
run_as: [ 'watcher_user' ],
metadata: { foo: 'test-metadata' },
transient_metadata: { enabled: true } } }
at Assertion.assert (/var/lib/jenkins/workspace/elastic+kibana+6.x/JOB/x-pack-ciGroup5/node/immutable/kibana/node_modules/expect.js/index.js:96:13)
at Assertion.eql (/var/lib/jenkins/workspace/elastic+kibana+6.x/JOB/x-pack-ciGroup5/node/immutable/kibana/node_modules/expect.js/index.js:230:10)
at Context.it (test/api_integration/apis/security/roles.js:52:25)
at process._tickCallback (internal/process/next_tick.js:68:7)
actual:
'{\n "role_with_privileges": {\n "applications": [\n {\n "application": "kibana-.kibana"\n "privileges": [\n "all"\n "read"\n ]\n "resources": [\n "*"\n ]\n }\n ]\n "cluster": [\n "manage"\n ]\n "indices": [\n {\n "allow_restricted_indices": false\n "field_security": {\n "except": [\n "geo.*"\n ]\n "grant": [\n "*"\n ]\n }\n "names": [\n "logstash-*"\n ]\n "privileges": [\n "read"\n "view_index_metadata"\n ]\n "query": "{ \\"match\\": { \\"geo.src\\": \\"CN\\" } }"\n }\n ]\n "metadata": {\n "foo": "test-metadata"\n }\n "run_as": [\n "watcher_user"\n ]\n "transient_metadata": {\n "enabled": true\n }\n }\n}',
expected:
'{\n "role_with_privileges": {\n "applications": [\n {\n "application": "kibana-.kibana"\n "privileges": [\n "all"\n "read"\n ]\n "resources": [\n "*"\n ]\n }\n ]\n "cluster": [\n "manage"\n ]\n "indices": [\n {\n "field_security": {\n "except": [\n "geo.*"\n ]\n "grant": [\n "*"\n ]\n }\n "names": [\n "logstash-*"\n ]\n "privileges": [\n "read"\n "view_index_metadata"\n ]\n "query": "{ \\"match\\": { \\"geo.src\\": \\"CN\\" } }"\n }\n ]\n "metadata": {\n "foo": "test-metadata"\n }\n "run_as": [\n "watcher_user"\n ]\n "transient_metadata": {\n "enabled": true\n }\n }\n}',
showDiff: true }
First failure: Jenkins Build
Metadata
Metadata
Assignees
Labels
failed-testA test failure on a tracked branch, potentially flaky-testA test failure on a tracked branch, potentially flaky-test