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

[Upgrade Assistant] Error in cluster_upgrade test #114964

Closed
sabarasaba opened this issue Oct 14, 2021 · 2 comments
Closed

[Upgrade Assistant] Error in cluster_upgrade test #114964

sabarasaba opened this issue Oct 14, 2021 · 2 comments
Assignees
Labels
Feature:Upgrade Assistant Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more test

Comments

@sabarasaba
Copy link
Member

When I run this test locally I see an error in the output, which I think is worth investigating:

  console.error
    Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.
        in FixLogsStep (created by WithPrivileges)
        in WithPrivileges (created by Overview)
        in div (created by EuiStep)
        in div (created by EuiStep)
        in EuiStep (created by EuiSteps)
        in div (created by EuiSteps)
        in EuiSteps (created by Overview)
        in div (created by EuiPanel)
        in EuiPanel (created by EuiPageContent)
        in EuiPageContent (created by Overview)
        in div (created by EuiPageBody)
        in EuiPageBody (created by Overview)
        in Overview (created by Context.Consumer)
        in Route (created by AppHandlingClusterUpgradeState)
        in Switch (created by AppHandlingClusterUpgradeState)

      105 |       }
      106 |       // Setting isLoading to false also acts as a signal for scheduling the next poll request.
    > 107 |       setIsLoading(false);
          |       ^
      108 |     },
      109 |     [requestBody, httpClient, deserializer, clearPollInterval]
      110 |   );

      at warningWithoutStack (node_modules/react-dom/cjs/react-dom.development.js:530:32)
      at warnAboutUpdateOnUnmountedFiberInDEV (node_modules/react-dom/cjs/react-dom.development.js:25738:5)
      at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:23679:5)
      at setIsLoading (node_modules/react-dom/cjs/react-dom.development.js:17076:5)
      at src/plugins/es_ui_shared/public/request/use_request.ts:107:7
@sabarasaba sabarasaba added test Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Feature:Upgrade Assistant labels Oct 14, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-management (Team:Stack Management)

@sabarasaba sabarasaba changed the title Error in cluster_upgrade test [Upgrade Assistant] Error in cluster_upgrade test Oct 14, 2021
@sabarasaba
Copy link
Member Author

Fixed with #115183

@sabarasaba sabarasaba self-assigned this Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Upgrade Assistant Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more test
Projects
None yet
Development

No branches or pull requests

2 participants