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 Tests1.x-pack/test/api_integration/apis/security/basic_login·js - apis security Basic authentication should allow access to the API with valid credentials in the header #76165

Closed
liza-mae opened this issue Aug 27, 2020 · 4 comments · Fixed by #76687
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! test-cloud

Comments

@liza-mae
Copy link
Contributor

liza-mae commented Aug 27, 2020

Version: 8.0.0-SNAPSHOT
Class: X-Pack API Integration Tests1.x-pack/test/api_integration/apis/security/basic_login·js
Stack Trace:

{ Error: expected { name: 'found', type: 'file' } to sort of equal { name: 'reserved', type: 'reserved' }
   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.eql (/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:244:8)
   at Context.it (test/api_integration/apis/security/basic_login.js:151:56)
 actual: '{\n  "name": "found"\n  "type": "file"\n}',
 expected: '{\n  "name": "reserved"\n  "type": "reserved"\n}',
 showDiff: true }

Test Report: https://internal-ci.elastic.co/view/Stack%20Tests/job/elastic+estf-cloud-kibana-tests/701/testReport/

@liza-mae liza-mae added failed-test A test failure on a tracked branch, potentially flaky-test test-cloud labels Aug 27, 2020
@elasticmachine
Copy link
Contributor

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

@liza-mae liza-mae added the Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! label Aug 27, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@legrego
Copy link
Member

legrego commented Aug 31, 2020

Ugh, of course this doesn't work on cloud... Cloud doesn't use the "reserved" realm like on-prem does.

Thanks for the ping @liza-mae

@legrego
Copy link
Member

legrego commented Aug 31, 2020

@jportner this is probably why the existing tests weren't asserting on these additional fields

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:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! test-cloud
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants