Skip to content
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/siem/feature_controls·ts - apis Siem GraphQL Endpoints feature controls APIs can be accessed user with global "all" privileges #50577

Closed
liza-mae opened this issue Nov 13, 2019 · 10 comments
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM

Comments

@liza-mae
Copy link
Contributor

Version: 7.5
Class: X-Pack API Integration Tests.x-pack\test\api_integration\apis\siem\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,
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:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
connection:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers:
{ 'kbn-name': 'kibana',
'kbn-xpack-sig': 'd25655a5f4b297ac4e4d0568832e1e76',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Wed, 13 Nov 2019 17:17:42 GMT',
connection: 'close' },
rawHeaders:
[ 'kbn-name',
'kibana',
'kbn-xpack-sig',
'd25655a5f4b297ac4e4d0568832e1e76',
'content-type',
'application/json; charset=utf-8',
'cache-control',
'no-cache',
'content-length',
'60',
'Date',
'Wed, 13 Nov 2019 17:17:42 GMT',
'Connection',
'close' ],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'Not Found',
client:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
_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: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_ended: true,
res: [Circular],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
request:
{ _events: {},
_eventsCount: 0,
_maxListeners: undefined,
_agent: false,
_formData: null,
method: 'GET',
url: 'http://localhost:5620/api/siem/graphql/graphiql',
_header:
{ 'user-agent': 'node-superagent/3.8.2',
authorization: 'Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk' },
header:
{ 'User-Agent': 'node-superagent/3.8.2',
Authorization: 'Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk' },
writable: true,
_redirects: 0,
_maxRedirects: 0,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_buffer: true,
app: 'http://localhost:5620',
_asserts: [],
toPromise: [Function: toPromise],
then: [Function: then],
catch: [Function: _catch],
req:
{ _events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_ended: true,
res: [Object],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
protocol: 'http:',
host: 'localhost:5620',
_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: 404,
statusMessage: 'Not Found',
client: [Object],
_consuming: false,
_dumped: false,
req: [Object],
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
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: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular] },
connection:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular] },
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent:
{ _events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 80,
protocol: 'http:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256 },
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_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: 404,
statusMessage: 'Not Found',
client: [Object],
_consuming: false,
_dumped: false,
req: [Circular],
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}',
body:
{ statusCode: 404,
error: 'Not Found',
message: 'Not Found' },
files: undefined,
buffered: true,
headers:
{ 'kbn-name': 'kibana',
'kbn-xpack-sig': 'd25655a5f4b297ac4e4d0568832e1e76',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Wed, 13 Nov 2019 17:17:42 GMT',
connection: 'close' },
header:
{ 'kbn-name': 'kibana',
'kbn-xpack-sig': 'd25655a5f4b297ac4e4d0568832e1e76',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Wed, 13 Nov 2019 17:17:42 GMT',
connection: 'close' },
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: [Error: cannot GET /api/siem/graphql/graphiql (404)],
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
type: 'application/json',
charset: 'utf-8',
links: {},
setEncoding: [Function: bound ],
redirects: [] } to have a property 'statusCode' of 200, but got 404
at Assertion.assert (C:\Users\jenkins\workspace\elastic+estf-kibana+7.5-snapshot+multijob-windows\JOB\xpackExtGrp1\node\windows-immutable\kibana\packages\kbn-expect\expect.js:100:11)
at Assertion.property (C:\Users\jenkins\workspace\elastic+estf-kibana+7.5-snapshot+multijob-windows\JOB\xpackExtGrp1\node\windows-immutable\kibana\packages\kbn-expect\expect.js:417:10)
at property (test\api_integration\apis\siem/feature_controls.ts:51:37)
at Context.expectGraphIQLResponse (test\api_integration\apis\siem/feature_controls.ts:140:11)
Platform: windows
Build Num: 20

@liza-mae liza-mae added failed-test A test failure on a tracked branch, potentially flaky-test test-windows labels Nov 13, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-test-triage (failed-test)

@liza-mae
Copy link
Contributor Author

Version: 7.5
Class: X-Pack API Integration Tests.x-pack/test/api_integration/apis/siem/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,
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:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
connection:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers:
{ 'kbn-name': 'kibana',
'kbn-xpack-sig': 'b51d4fbaf47d6984e4775791d41755a9',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Wed, 13 Nov 2019 17:02:56 GMT',
connection: 'close' },
rawHeaders:
[ 'kbn-name',
'kibana',
'kbn-xpack-sig',
'b51d4fbaf47d6984e4775791d41755a9',
'content-type',
'application/json; charset=utf-8',
'cache-control',
'no-cache',
'content-length',
'60',
'Date',
'Wed, 13 Nov 2019 17:02:56 GMT',
'Connection',
'close' ],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'Not Found',
client:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
_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: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_ended: true,
res: [Circular],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
request:
{ _events: {},
_eventsCount: 0,
_maxListeners: undefined,
_agent: false,
_formData: null,
method: 'GET',
url: 'http://localhost:5620/api/siem/graphql/graphiql',
_header:
{ 'user-agent': 'node-superagent/3.8.2',
authorization: 'Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk' },
header:
{ 'User-Agent': 'node-superagent/3.8.2',
Authorization: 'Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk' },
writable: true,
_redirects: 0,
_maxRedirects: 0,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_buffer: true,
app: 'http://localhost:5620',
_asserts: [],
toPromise: [Function: toPromise],
then: [Function: then],
catch: [Function: _catch],
req:
{ _events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_ended: true,
res: [Object],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
protocol: 'http:',
host: 'localhost:5620',
_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: 404,
statusMessage: 'Not Found',
client: [Object],
_consuming: false,
_dumped: false,
req: [Object],
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
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: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular] },
connection:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular] },
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent:
{ _events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 80,
protocol: 'http:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256 },
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_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: 404,
statusMessage: 'Not Found',
client: [Object],
_consuming: false,
_dumped: false,
req: [Circular],
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}',
body:
{ statusCode: 404,
error: 'Not Found',
message: 'Not Found' },
files: undefined,
buffered: true,
headers:
{ 'kbn-name': 'kibana',
'kbn-xpack-sig': 'b51d4fbaf47d6984e4775791d41755a9',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Wed, 13 Nov 2019 17:02:56 GMT',
connection: 'close' },
header:
{ 'kbn-name': 'kibana',
'kbn-xpack-sig': 'b51d4fbaf47d6984e4775791d41755a9',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Wed, 13 Nov 2019 17:02:56 GMT',
connection: 'close' },
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: [Error: cannot GET /api/siem/graphql/graphiql (404)],
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
type: 'application/json',
charset: 'utf-8',
links: {},
setEncoding: [Function: bound ],
redirects: [] } to have a property 'statusCode' of 200, but got 404
at Assertion.assert (/var/lib/jenkins/workspace/elastic+estf-kibana+7.5-snapshot+multijob-linux/JOB/xpackExtGrp1/node/linux-immutable/kibana/packages/kbn-expect/expect.js:100:11)
at Assertion.property (/var/lib/jenkins/workspace/elastic+estf-kibana+7.5-snapshot+multijob-linux/JOB/xpackExtGrp1/node/linux-immutable/kibana/packages/kbn-expect/expect.js:417:10)
at property (test/api_integration/apis/siem/feature_controls.ts:51:37)
at Context.expectGraphIQLResponse (test/api_integration/apis/siem/feature_controls.ts:140:11)
Platform: linux
Build Num: 20

@liza-mae
Copy link
Contributor Author

Version: 7.6
Class: X-Pack API Integration Tests.x-pack\test\api_integration\apis\siem\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:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
connection:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers:
{ 'kbn-name': 'internal-ci-immutable-windows-2012-r2-1579800924869283752',
'kbn-license-sig': '79a049614724bae92088fb382fa56dfde7eca9b652d91aa0c9e28c26188c23a0',
'kbn-xpack-sig': '99a27fac615a40c3981b9c6afc9101bf',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Thu, 23 Jan 2020 18:24:28 GMT',
connection: 'close' },
rawHeaders:
[ 'kbn-name',
'internal-ci-immutable-windows-2012-r2-1579800924869283752',
'kbn-license-sig',
'79a049614724bae92088fb382fa56dfde7eca9b652d91aa0c9e28c26188c23a0',
'kbn-xpack-sig',
'99a27fac615a40c3981b9c6afc9101bf',
'content-type',
'application/json; charset=utf-8',
'cache-control',
'no-cache',
'content-length',
'60',
'Date',
'Thu, 23 Jan 2020 18:24:28 GMT',
'Connection',
'close' ],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'Not Found',
client:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
_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: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_ended: true,
res: [Circular],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
request:
{ _events: {},
_eventsCount: 0,
_maxListeners: undefined,
_agent: false,
_formData: null,
method: 'GET',
url: 'http://localhost:5620/api/siem/graphql/graphiql',
_header:
{ 'user-agent': 'node-superagent/3.8.2',
authorization: 'Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk' },
header:
{ 'User-Agent': 'node-superagent/3.8.2',
Authorization: 'Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk' },
writable: true,
_redirects: 0,
_maxRedirects: 0,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_buffer: true,
app: 'http://localhost:5620',
_asserts: [],
toPromise: [Function: toPromise],
then: [Function: then],
catch: [Function: _catch],
req:
{ _events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_ended: true,
res: [Object],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
protocol: 'http:',
host: 'localhost:5620',
_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: 404,
statusMessage: 'Not Found',
client: [Object],
_consuming: false,
_dumped: false,
req: [Object],
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
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: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular] },
connection:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular] },
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent:
{ _events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 80,
protocol: 'http:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256 },
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_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: 404,
statusMessage: 'Not Found',
client: [Object],
_consuming: false,
_dumped: false,
req: [Circular],
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}',
body:
{ statusCode: 404,
error: 'Not Found',
message: 'Not Found' },
files: undefined,
buffered: true,
headers:
{ 'kbn-name': 'internal-ci-immutable-windows-2012-r2-1579800924869283752',
'kbn-license-sig': '79a049614724bae92088fb382fa56dfde7eca9b652d91aa0c9e28c26188c23a0',
'kbn-xpack-sig': '99a27fac615a40c3981b9c6afc9101bf',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Thu, 23 Jan 2020 18:24:28 GMT',
connection: 'close' },
header:
{ 'kbn-name': 'internal-ci-immutable-windows-2012-r2-1579800924869283752',
'kbn-license-sig': '79a049614724bae92088fb382fa56dfde7eca9b652d91aa0c9e28c26188c23a0',
'kbn-xpack-sig': '99a27fac615a40c3981b9c6afc9101bf',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Thu, 23 Jan 2020 18:24:28 GMT',
connection: 'close' },
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: [Error: cannot GET /api/siem/graphql/graphiql (404)],
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
type: 'application/json',
charset: 'utf-8',
links: {},
setEncoding: [Function: bound ],
redirects: [] } to have a property 'statusCode' of 200, but got 404
at Assertion.assert (C:\Users\jenkins\workspace\elastic+estf-kibana+7.6-snapshot+multijob-windows\JOB\xpackExtGrp1\node\windows-immutable\kibana\packages\kbn-expect\expect.js:100:11)
at Assertion.property (C:\Users\jenkins\workspace\elastic+estf-kibana+7.6-snapshot+multijob-windows\JOB\xpackExtGrp1\node\windows-immutable\kibana\packages\kbn-expect\expect.js:417:10)
at expectGraphIQLResponse (test\api_integration\apis\siem/feature_controls.ts:50:37)
at Context.it (test\api_integration\apis\siem/feature_controls.ts:139:11)
Platform: windows
Build Num: 6

@liza-mae
Copy link
Contributor Author

Version: 7.6
Class: X-Pack API Integration Tests.x-pack/test/api_integration/apis/siem/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:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
connection:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers:
{ 'kbn-name': 'internal-ci-immutable-debian-9-1579800315667609150',
'kbn-license-sig': '88719223c7c5593754617f0037c69052d0e3c317c3ea4b4aac60d3fc648e3b9a',
'kbn-xpack-sig': '043a618535c392bf15892174b2ce3343',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Thu, 23 Jan 2020 18:06:35 GMT',
connection: 'close' },
rawHeaders:
[ 'kbn-name',
'internal-ci-immutable-debian-9-1579800315667609150',
'kbn-license-sig',
'88719223c7c5593754617f0037c69052d0e3c317c3ea4b4aac60d3fc648e3b9a',
'kbn-xpack-sig',
'043a618535c392bf15892174b2ce3343',
'content-type',
'application/json; charset=utf-8',
'cache-control',
'no-cache',
'content-length',
'60',
'Date',
'Thu, 23 Jan 2020 18:06:35 GMT',
'Connection',
'close' ],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'Not Found',
client:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Object] },
_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: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_ended: true,
res: [Circular],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
request:
{ _events: {},
_eventsCount: 0,
_maxListeners: undefined,
_agent: false,
_formData: null,
method: 'GET',
url: 'http://localhost:5620/api/siem/graphql/graphiql',
_header:
{ 'user-agent': 'node-superagent/3.8.2',
authorization: 'Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk' },
header:
{ 'User-Agent': 'node-superagent/3.8.2',
Authorization: 'Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk' },
writable: true,
_redirects: 0,
_maxRedirects: 0,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_buffer: true,
app: 'http://localhost:5620',
_asserts: [],
toPromise: [Function: toPromise],
then: [Function: then],
catch: [Function: _catch],
req:
{ _events: [Object],
_eventsCount: 3,
_maxListeners: undefined,
output: [],
outputEncodings: [],
outputCallbacks: [],
outputSize: 0,
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [Object],
connection: [Object],
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_ended: true,
res: [Object],
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
protocol: 'http:',
host: 'localhost:5620',
_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: 404,
statusMessage: 'Not Found',
client: [Object],
_consuming: false,
_dumped: false,
req: [Object],
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
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: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular] },
connection:
{ connecting: false,
_hadError: false,
_handle: [Object],
_parent: null,
_host: 'localhost',
_readableState: [Object],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [Object],
writable: false,
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: null,
_server: null,
parser: null,
_httpMessage: [Circular] },
_header: 'GET /api/siem/graphql/graphiql HTTP/1.1\r\nHost: localhost:5620\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.8.2\r\nAuthorization: Basic Z2xvYmFsX2FsbDpnbG9iYWxfYWxsLXBhc3N3b3Jk\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent:
{ _events: [Object],
_eventsCount: 1,
_maxListeners: undefined,
defaultPort: 80,
protocol: 'http:',
options: [Object],
requests: {},
sockets: [Object],
freeSockets: {},
keepAliveMsecs: 1000,
keepAlive: false,
maxSockets: Infinity,
maxFreeSockets: 256 },
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/api/siem/graphql/graphiql',
_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: 404,
statusMessage: 'Not Found',
client: [Object],
_consuming: false,
_dumped: false,
req: [Circular],
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}' },
aborted: undefined,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null },
text: '{"statusCode":404,"error":"Not Found","message":"Not Found"}',
body:
{ statusCode: 404,
error: 'Not Found',
message: 'Not Found' },
files: undefined,
buffered: true,
headers:
{ 'kbn-name': 'internal-ci-immutable-debian-9-1579800315667609150',
'kbn-license-sig': '88719223c7c5593754617f0037c69052d0e3c317c3ea4b4aac60d3fc648e3b9a',
'kbn-xpack-sig': '043a618535c392bf15892174b2ce3343',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Thu, 23 Jan 2020 18:06:35 GMT',
connection: 'close' },
header:
{ 'kbn-name': 'internal-ci-immutable-debian-9-1579800315667609150',
'kbn-license-sig': '88719223c7c5593754617f0037c69052d0e3c317c3ea4b4aac60d3fc648e3b9a',
'kbn-xpack-sig': '043a618535c392bf15892174b2ce3343',
'content-type': 'application/json; charset=utf-8',
'cache-control': 'no-cache',
'content-length': '60',
date: 'Thu, 23 Jan 2020 18:06:35 GMT',
connection: 'close' },
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: [Error: cannot GET /api/siem/graphql/graphiql (404)],
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
type: 'application/json',
charset: 'utf-8',
links: {},
setEncoding: [Function: bound ],
redirects: [] } to have a property 'statusCode' of 200, but got 404
at Assertion.assert (/var/lib/jenkins/workspace/elastic+estf-kibana+7.6-snapshot+multijob-linux/JOB/xpackExtGrp1/node/linux-immutable/kibana/packages/kbn-expect/expect.js:100:11)
at Assertion.property (/var/lib/jenkins/workspace/elastic+estf-kibana+7.6-snapshot+multijob-linux/JOB/xpackExtGrp1/node/linux-immutable/kibana/packages/kbn-expect/expect.js:417:10)
at expectGraphIQLResponse (test/api_integration/apis/siem/feature_controls.ts:50:37)
at Context.it (test/api_integration/apis/siem/feature_controls.ts:139:11)
Platform: linux
Build Num: 6

@elasticmachine
Copy link
Contributor

Pinging @elastic/siem (Team:SIEM)

@MadameSheema
Copy link
Member

Closing since this is not happening since January.

@liza-mae
Copy link
Contributor Author

liza-mae commented Apr 6, 2020

This error is still happening on recent runs, it's just the issue has not been updated since Jan. Reopening.

@liza-mae liza-mae reopened this Apr 6, 2020
@liza-mae
Copy link
Contributor Author

liza-mae commented Jul 7, 2020

This is still failing on 7.8.1

@liza-mae
Copy link
Contributor Author

@MadameSheema this issue has been open for awhile, can I get someone to take a look ?

@MindyRS MindyRS added the Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. label Oct 26, 2020
@FrankHassanabad
Copy link
Contributor

This hasn't been commented on for a while and if this is still an issue for 7.8.1 I say we just skip it there and move on. If this fails for anything more recent such as 7.x+ let us know, otherwise I see that this was referenced as being refactored/changed a lot, so I think we should hopefully be able to move on and forward at this point. Closing for now, let me know if this is a mistake @liza-mae.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:SIEM
Projects
None yet
Development

No branches or pull requests

5 participants