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

Failing test: X-Pack Fleet Agent API Integration Tests.x-pack/test/fleet_api_integration/apis/agents/upgrade·ts - Agents fleet_upgrade_agent "before each" hook for "should respond 400 if trying to upgrade an agent that is not upgradeable" #161557

Closed
kibanamachine opened this issue Jul 10, 2023 · 6 comments · Fixed by #161933
Assignees
Labels
failed-test A test failure on a tracked branch, potentially flaky-test Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Jul 10, 2023

A test failed on a tracked branch

Error: Forcing mocha to abort
    at Object.next (run_tests.ts:35:25)
    at ConsumerObserver.next (node_modules/rxjs/src/internal/Subscriber.ts:161:25)
    at SafeSubscriber.Subscriber._next (node_modules/rxjs/src/internal/Subscriber.ts:119:22)
    at SafeSubscriber.Subscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:75:12)
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-1e72894e7f5670a2/elastic/kibana-on-merge/kibana/node_modules/rxjs/src/internal/observable/race.ts:82:24
    at OperatorSubscriber._this._next (node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13)
    at OperatorSubscriber.Subscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:75:12)
    at /var/lib/buildkite-agent/builds/kb-n2-4-spot-1e72894e7f5670a2/elastic/kibana-on-merge/kibana/node_modules/rxjs/src/internal/operators/take.ts:60:26
    at OperatorSubscriber._this._next (node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13)
    at OperatorSubscriber.Subscriber.next (node_modules/rxjs/src/internal/Subscriber.ts:75:12)
    at AbortSignal.handler (node_modules/rxjs/src/internal/observable/fromEvent.ts:288:52)
    at AbortSignal.[nodejs.internal.kHybridDispatch] (node:internal/event_target:736:20)
    at AbortSignal.dispatchEvent (node:internal/event_target:678:26)
    at abortSignal (node:internal/abort_controller:292:10)
    at AbortController.abort (node:internal/abort_controller:323:5)
    at onEarlyExit (run_tests.ts:89:21)
    at proc_runner.ts:96:15
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  uncaught: true,
  multiple: [
    Error: done() called multiple times in hook <Agents fleet_upgrade_agent "before each" hook for "should respond 400 if trying to upgrade an agent that is not upgradeable"> of file /var/lib/buildkite-agent/builds/kb-n2-4-spot-1e72894e7f5670a2/elastic/kibana-on-merge/kibana/x-pack/test/fleet_api_integration/apis/agents/upgrade.ts; in addition, done() received error: ResponseError: index_not_found_exception
    	Root causes:
    		index_not_found_exception: no such index [.fleet-agents-7]
        at SniffingTransport.request (node_modules/@elastic/transport/src/Transport.ts:535:17)
        at runMicrotasks (<anonymous>)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
        at Indices.updateAliases (node_modules/@elastic/elasticsearch/src/api/api/indices.ts:1685:12)
        at attemptToCreate (create_index_stream.ts:170:11)
        at handleIndex (create_index_stream.ts:211:5)
        at Transform.transform [as _transform] (create_index_stream.ts:221:13) {
      meta: [Object]
    }
        at runMicrotasks (<anonymous>)
        at processTicksAndRejections (node:internal/process/task_queues:96:5) {
      code: 'ERR_MOCHA_MULTIPLE_DONE',
      valueType: 'object',
      value: [ResponseError]
    }
  ]
}

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Jul 10, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - main

@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 10, 2023
@mistic mistic added the Team:Fleet Team label for Observability Data Collection Fleet team label Jul 10, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 10, 2023
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.9

1 similar comment
@kibanamachine
Copy link
Contributor Author

New failure: CI Build - 8.9

@dmlemeshko
Copy link
Member

/skip

@kibanamachine
Copy link
Contributor Author

Skipped

main: 7af4c38
8.9: 19f4067

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:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants