-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[test-failed]: X-Pack API Integration Tests.x-pack/test/api_integration/apis/management/advanced_settings/feature_controls·ts - apis management advanced settings feature controls settings cannot be saved with the advancedSettings: ["read"] feature privilege #55788
Comments
Pinging @elastic/kibana-test-triage (failed-test) |
Pinging @elastic/kibana-platform (Team:Platform) |
Pinging @elastic/kibana-security (Team:Security) |
Version: 7.6.1 |
Pinging @elastic/kibana-app (Team:KibanaApp) |
fixed in #70793 version 7.9.0 |
Version: 7.6
Class: X-Pack API Integration Tests.x-pack/test/api_integration/apis/management/advanced_settings/feature_controls·ts
Stack Trace:
Error: expected { _events: {},
_eventsCount: 0,
_maxListeners: undefined,
res:
{ _readableState:
{ objectMode: false,
highWaterMark: 16384,
buffer: [Object],
length: 0,
pipes: null,
pipesCount: 0,
flowing: true,
ended: true,
endEmitted: true,
reading: false,
sync: true,
needReadable: false,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
paused: false,
emitClose: true,
autoDestroy: false,
destroyed: false,
defaultEncoding: 'utf8',
awaitDrain: 0,
readingMore: true,
decoder: [Object],
encoding: 'utf8' },
readable: false,
_events:
{ end: [Object],
data: [Object],
error: [Object],
close: [Function: bound emit] },
_eventsCount: 4,
_maxListeners: undefined,
socket:
{ _tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object],
_eventsCount: 8,
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
_readableState: [Object],
readable: false,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Object],
write: [Function: writeAfterFIN] },
connection:
{ _tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object],
_eventsCount: 8,
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
_readableState: [Object],
readable: false,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Object],
write: [Function: writeAfterFIN] },
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers:
{ 'cache-control': 'no-cache',
'content-type': 'application/json; charset=utf-8',
date: 'Fri, 24 Jan 2020 01:20:28 GMT',
'kbn-license-sig': '1c6f869f88b0168bc8c7cc5575a02d0f60b77386ed5d9a6677886b911afde3e5',
'kbn-name': 'ebfd926d2f2d',
'kbn-xpack-sig': '2e2cefa1c7112a5bd2d3c4b785ae0c65',
'x-cloud-request-id': 'bSVfVsijS_GmqX1c13tRKQ',
'x-found-handling-cluster': 'f73bfceca31243a79a6ae2edbb114df9',
'x-found-handling-instance': 'instance-0000000000',
'x-found-handling-server': '172.23.8.15',
'content-length': '48',
connection: 'Close' },
rawHeaders:
[ 'Cache-Control',
'no-cache',
'Content-Type',
'application/json; charset=utf-8',
'Date',
'Fri, 24 Jan 2020 01:20:28 GMT',
'Kbn-License-Sig',
'1c6f869f88b0168bc8c7cc5575a02d0f60b77386ed5d9a6677886b911afde3e5',
'Kbn-Name',
'ebfd926d2f2d',
'Kbn-Xpack-Sig',
'2e2cefa1c7112a5bd2d3c4b785ae0c65',
'X-Cloud-Request-Id',
'bSVfVsijS_GmqX1c13tRKQ',
'X-Found-Handling-Cluster',
'f73bfceca31243a79a6ae2edbb114df9',
'X-Found-Handling-Instance',
'instance-0000000000',
'X-Found-Handling-Server',
'172.23.8.15',
'Content-Length',
'48',
'Connection',
'Close' ],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 400,
statusMessage: 'Bad Request',
client:
{ _tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object],
_eventsCount: 8,
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
_readableState: [Object],
readable: false,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Object],
write: [Function: writeAfterFIN] },
_consuming: false,
_dumped: false,
req:
{ _events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 16,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'POST /api/telemetry/v2/optIn HTTP/1.1\r\nHost: f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no:9243\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic c2V0dGluZ3NfcmVhZDpzZXR0aW5nc19yZWFkLXBhc3N3b3Jk\r\nkbn-xsrf: foo\r\nContent-Type: application/json\r\nContent-Length: 16\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'POST',
path: '/api/telemetry/v2/optIn',
_ended: true,
res: [Circular],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"error":"Not allowed to change Opt-in Status."}' },
request:
{ _events: {},
_eventsCount: 0,
_maxListeners: undefined,
_agent: false,
_formData: null,
method: 'POST',
url: 'https://f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no:9243/api/telemetry/v2/optIn',
_header:
{ 'user-agent': 'node-superagent/3.8.2',
authorization: 'Basic c2V0dGluZ3NfcmVhZDpzZXR0aW5nc19yZWFkLXBhc3N3b3Jk',
'kbn-xsrf': 'foo',
'content-type': 'application/json' },
header:
{ 'User-Agent': 'node-superagent/3.8.2',
Authorization: 'Basic c2V0dGluZ3NfcmVhZDpzZXR0aW5nc19yZWFkLXBhc3N3b3Jk',
'kbn-xsrf': 'foo',
'Content-Type': 'application/json' },
writable: true,
_redirects: 0,
_maxRedirects: 0,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_buffer: true,
app: 'https://f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no:9243',
_asserts: [],
toPromise: [Function: toPromise],
then: [Function: then],
catch: [Function: _catch],
_data: { enabled: true },
req:
{ _events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 16,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'POST /api/telemetry/v2/optIn HTTP/1.1\r\nHost: f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no:9243\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic c2V0dGluZ3NfcmVhZDpzZXR0aW5nc19yZWFkLXBhc3N3b3Jk\r\nkbn-xsrf: foo\r\nContent-Type: application/json\r\nContent-Length: 16\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'POST',
path: '/api/telemetry/v2/optIn',
_ended: true,
res: [Object],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
protocol: 'https:',
host: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no:9243',
_endCalled: true,
_callback: [Function],
res:
{ _readableState: [Object],
readable: false,
_events: [Object],
_eventsCount: 4,
_maxListeners: undefined,
socket: [Object],
connection: [Object],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Object],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 400,
statusMessage: 'Bad Request',
client: [Object],
_consuming: false,
_dumped: false,
req: [Object],
text: '{"error":"Not allowed to change Opt-in Status."}' },
response: [Circular],
called: true },
req:
{ _events:
{ drain: [Object],
error: [Object],
prefinish: [Function: requestOnPrefinish] },
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 16,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket:
{ _tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object],
_eventsCount: 8,
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
_readableState: [Object],
readable: false,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular],
write: [Function: writeAfterFIN] },
connection:
{ _tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
_SNICallback: null,
servername: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object],
_eventsCount: 8,
connecting: false,
_hadError: false,
_handle: null,
_parent: null,
_host: 'f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no',
_readableState: [Object],
readable: false,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular],
write: [Function: writeAfterFIN] },
_header: 'POST /api/telemetry/v2/optIn HTTP/1.1\r\nHost: f73bfceca31243a79a6ae2edbb114df9.us-east-1.aws.staging.foundit.no:9243\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic c2V0dGluZ3NfcmVhZDpzZXR0aW5nc19yZWFkLXBhc3N3b3Jk\r\nkbn-xsrf: foo\r\nContent-Type: application/json\r\nContent-Length: 16\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent:
{ _events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256,
maxCachedSessions: 100,
_sessionCache: [Object] },
socketPath: undefined,
timeout: undefined,
method: 'POST',
path: '/api/telemetry/v2/optIn',
_ended: true,
res:
{ _readableState: [Object],
readable: false,
_events: [Object],
_eventsCount: 4,
_maxListeners: undefined,
socket: [Object],
connection: [Object],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Object],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 400,
statusMessage: 'Bad Request',
client: [Object],
_consuming: false,
_dumped: false,
req: [Circular],
text: '{"error":"Not allowed to change Opt-in Status."}' },
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"error":"Not allowed to change Opt-in Status."}',
body: { error: 'Not allowed to change Opt-in Status.' },
files: undefined,
buffered: true,
headers:
{ 'cache-control': 'no-cache',
'content-type': 'application/json; charset=utf-8',
date: 'Fri, 24 Jan 2020 01:20:28 GMT',
'kbn-license-sig': '1c6f869f88b0168bc8c7cc5575a02d0f60b77386ed5d9a6677886b911afde3e5',
'kbn-name': 'ebfd926d2f2d',
'kbn-xpack-sig': '2e2cefa1c7112a5bd2d3c4b785ae0c65',
'x-cloud-request-id': 'bSVfVsijS_GmqX1c13tRKQ',
'x-found-handling-cluster': 'f73bfceca31243a79a6ae2edbb114df9',
'x-found-handling-instance': 'instance-0000000000',
'x-found-handling-server': '172.23.8.15',
'content-length': '48',
connection: 'Close' },
header:
{ 'cache-control': 'no-cache',
'content-type': 'application/json; charset=utf-8',
date: 'Fri, 24 Jan 2020 01:20:28 GMT',
'kbn-license-sig': '1c6f869f88b0168bc8c7cc5575a02d0f60b77386ed5d9a6677886b911afde3e5',
'kbn-name': 'ebfd926d2f2d',
'kbn-xpack-sig': '2e2cefa1c7112a5bd2d3c4b785ae0c65',
'x-cloud-request-id': 'bSVfVsijS_GmqX1c13tRKQ',
'x-found-handling-cluster': 'f73bfceca31243a79a6ae2edbb114df9',
'x-found-handling-instance': 'instance-0000000000',
'x-found-handling-server': '172.23.8.15',
'content-length': '48',
connection: 'Close' },
statusCode: 400,
status: 400,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: [Error: cannot POST /api/telemetry/v2/optIn (400)],
accepted: false,
noContent: false,
badRequest: true,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: false,
type: 'application/json',
charset: 'utf-8',
links: {},
setEncoding: [Function: bound ],
redirects: [] } to have a property 'statusCode' of 403, but got 400
at Assertion.assert (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExt/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/packages/kbn-expect/expect.js:100:11)
at Assertion.property (/var/lib/jenkins/workspace/elastic+estf-cloud-kibana-tests/JOB/xpackExt/TASK/saas_run_kibana_tests/node/linux-immutable/ci/cloud/common/build/kibana/packages/kbn-expect/expect.js:417:10)
at expect403 (test/api_integration/apis/management/advanced_settings/feature_controls.ts:19:37)
at Context.it (test/api_integration/apis/management/advanced_settings/feature_controls.ts:110:9)
Platform: cloud
Build Num: 42
The text was updated successfully, but these errors were encountered: