Skip to content

Failing ES Promotion: apis Kerberos security Kerberos authentication finishing SPNEGO should properly set cookie and authenticate user #68720

@tylersmalley

Description

@tylersmalley

This failure is preventing the promotion of the current Elasticsearch nightly snapshot.

master/8.0: https://kibana-ci.elastic.co/job/elasticsearch+snapshots+verify/875/execution/node/407/log/?consoleFull

For more information on the Elasticsearch snapshot promotion process: https://www.elastic.co/guide/en/kibana/master/development-es-snapshots.html

Related to #68624

13:50:32    1) apis Kerberos
13:50:32         security
13:50:32           Kerberos authentication
13:50:32             finishing SPNEGO
13:50:32               should properly set cookie and authenticate user:
13:50:32  
13:50:32        Error: expected { username: 'tester@TEST.ELASTIC.CO',
13:50:32    roles: [ 'kibana_admin', 'superuser_anonymous' ],
13:50:32    full_name: null,
13:50:32    email: null,
13:50:32    metadata:
13:50:32     { kerberos_user_principal_name: 'tester@TEST.ELASTIC.CO',
13:50:32       kerberos_realm: 'TEST.ELASTIC.CO' },
13:50:32    enabled: true,
13:50:32    authentication_realm: { name: 'kerb1', type: 'kerberos' },
13:50:32    lookup_realm: { name: 'kerb1', type: 'kerberos' },
13:50:32    authentication_provider: 'kerberos' } response body, got { username: 'tester@TEST.ELASTIC.CO',
13:50:32    roles: [ 'kibana_admin' ],
13:50:32    full_name: null,
13:50:32    email: null,
13:50:32    metadata:
13:50:32     { kerberos_user_principal_name: 'tester@TEST.ELASTIC.CO',
13:50:32       kerberos_realm: 'TEST.ELASTIC.CO' },
13:50:32    enabled: true,
13:50:32    authentication_realm: { name: 'kerb1', type: 'kerberos' },
13:50:32    lookup_realm: { name: 'kerb1', type: 'kerberos' },
13:50:32    authentication_provider: 'kerberos' }
13:50:32        + expected - actual
13:50:32  
13:50:32             "kerberos_user_principal_name": "tester@TEST.ELASTIC.CO"
13:50:32           }
13:50:32           "roles": [
13:50:32             "kibana_admin"
13:50:32        +    "superuser_anonymous"
13:50:32           ]
13:50:32           "username": "tester@TEST.ELASTIC.CO"
13:50:32         }
13:50:32        
13:50:32        at error (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:301:13)
13:50:32        at Test._assertBody (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:205:14)
13:50:32        at Test._assertFunction (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:283:11)
13:50:32        at Test.assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:173:18)
13:50:32        at assert (/dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:131:12)
13:50:32        at /dev/shm/workspace/kibana/node_modules/supertest/lib/test.js:128:5
13:50:32        at Test.Request.callback (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:706:12)
13:50:32        at parser (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/index.js:906:18)
13:50:32        at IncomingMessage.res.on (/dev/shm/workspace/kibana/node_modules/superagent/lib/node/parsers/json.js:19:7)
13:50:32        at endReadableNT (_stream_readable.js:1145:12)
13:50:32        at process._tickCallback (internal/process/next_tick.js:63:19)
13:50:32  
13:50:32                   └- ✖ fail: "apis Kerberos security Kerberos authentication finishing SPNEGO should properly set cookie and authenticate user"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions