-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 spaces user_1 can access APIs in space_1 #50578
Comments
Pinging @elastic/kibana-test-triage (failed-test) |
Version: 7.5 |
Version: 7.6 |
Version: 7.6 |
Pinging @elastic/siem (Team:SIEM) |
Closing since this is not happening since January. |
This error is still happening on recent runs, it's just the issue has not been updated since Jan. Reopening. |
@liza-mae is the issue not updated because it was opened manually? Under what circumstances would kibanamachine update this issue with new failures? |
Hi @rylnd yes it was opened manually, these are failures off the release testing not PR testing. It has been failing consistently. |
This is still failing on 7.8.1 |
@MadameSheema this issue has been open for awhile, can I get someone to take a look ? |
If this is still failing on 7.8.1, then I would just skip for that particular branch. I haven't seen any updates since Oct, and there looks like a reference from when graphiql was cleaned up. So please let me know @liza-mae if you're seeing it on any recent branches such as |
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:45 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:45 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 /s/space_1/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 dXNlcl8xOnVzZXJfMS1wYXNzd29yZA==\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/s/space_1/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/s/space_1/api/siem/graphql/graphiql',
_header:
{ 'user-agent': 'node-superagent/3.8.2',
authorization: 'Basic dXNlcl8xOnVzZXJfMS1wYXNzd29yZA==' },
header:
{ 'User-Agent': 'node-superagent/3.8.2',
Authorization: 'Basic dXNlcl8xOnVzZXJfMS1wYXNzd29yZA==' },
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 /s/space_1/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 dXNlcl8xOnVzZXJfMS1wYXNzd29yZA==\r\nConnection: close\r\n\r\n',
_onPendingData: [Function: noopPendingOutput],
agent: [Object],
socketPath: undefined,
timeout: undefined,
method: 'GET',
path: '/s/space_1/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 /s/space_1/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 dXNlcl8xOnVzZXJfMS1wYXNzd29yZA==\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: '/s/space_1/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:45 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:45 GMT',
connection: 'close' },
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: [Error: cannot GET /s/space_1/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:239:11)
Platform: windows
Build Num: 20
The text was updated successfully, but these errors were encountered: