Skip to content

Bug: E2E Node Test fails in pipeline with failed to recycle pod for podName haproxy-... #312

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

Closed
4 tasks
jeromy-cannon opened this issue May 20, 2024 · 1 comment · Fixed by #321
Closed
4 tasks
Assignees
Labels
Bug A error that causes the feature to behave differently than what was expected based on design docs P1 High priority issue. Required to be completed in the assigned milestone. released

Comments

@jeromy-cannon
Copy link
Contributor

jeromy-cannon commented May 20, 2024

  • remove logic that recycles the haproxy node
  • update the logic that checks the haproxy data plane api port 5555 and instead use PodCondition[Ready] once the liveness probe has been implemented

example: https://github.com/hashgraph/solo/actions/runs/9115293005/job/25061315664#step:16:256

console.log
    expect(received).resolves.toBeTruthy()
    
    Received promise rejected instead of resolved
    Rejected to value: [FullstackTestingError: Error starting node: failed to check proxy for 'node0' with localPort 30313: failed to recycle pod for podName haproxy-node0-6969f76c77-skm7s with localPort 30313: pods are not running after deletion with labels [app=haproxy-node0,fullstack.hedera.com/type=haproxy]]

      at log (src/core/logging.mjs:132:17)
          at Array.forEach (<anonymous>)

  console.log
    Error: expect(received).resolves.toBeTruthy()
    
    Received promise rejected instead of resolved
    Rejected to value: [FullstackTestingError: Error starting node: failed to check proxy for 'node0' with localPort 30313: failed to recycle pod for podName haproxy-node0-6969f76c77-skm7s with localPort 30313: pods are not running after deletion with labels [app=haproxy-node0,fullstack.hedera.com/type=haproxy]]
        at expect (/runner/_work/solo/solo/node_modules/expect/build/index.js:113:15)
        at Object.expect (/runner/_work/solo/solo/test/test_util.js:221:15)
        at Promise.then.completed (/runner/_work/solo/solo/node_modules/jest-circus/build/utils.js:298:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (/runner/_work/solo/solo/node_modules/jest-circus/build/utils.js:231:10)
        at _callCircusTest (/runner/_work/solo/solo/node_modules/jest-circus/build/run.js:316:40)
        at processTicksAndRejections (node:internal/process/task_queues:95:5)
        at _runTest (/runner/_work/solo/solo/node_modules/jest-circus/build/run.js:[252](https://github.com/hashgraph/solo/actions/runs/9115293005/job/25061315664#step:16:253):3)
        at _runTestsForDescribeBlock (/runner/_work/solo/solo/node_modules/jest-circus/build/run.js:126:9)
        at _runTestsForDescribeBlock (/runner/_work/solo/solo/node_modules/jest-circus/build/run.js:121:9)
        at _runTestsForDescribeBlock (/runner/_work/solo/solo/node_modules/jest-circus/build/run.js:121:9)
        at _runTestsForDescribeBlock (/runner/_work/solo/solo/node_modules/jest-circus/build/run.js:121:9)
        at run (/runner/_work/solo/solo/node_modules/jest-circus/build/run.js:71:3)
        at runAndTransformResultsToJestFormat (/runner/_work/solo/solo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
        at jestAdapter (/runner/_work/solo/solo/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
        at runTestInternal (/runner/_work/solo/solo/node_modules/jest-runner/build/runTest.js:367:16)
        at runTest (/runner/_work/solo/solo/node_modules/jest-runner/build/runTest.js:444:34)

      at log (src/core/logging.mjs:133:17)
          at Array.forEach (<anonymous>)
@jeromy-cannon jeromy-cannon self-assigned this May 20, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in Solo May 20, 2024
@jeromy-cannon jeromy-cannon added Bug A error that causes the feature to behave differently than what was expected based on design docs P1 High priority issue. Required to be completed in the assigned milestone. labels May 20, 2024
@jeromy-cannon jeromy-cannon moved this from 🆕 New to 🏗 In progress in Solo May 29, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Solo May 30, 2024
@swirlds-automation
Copy link
Contributor

🎉 This issue has been resolved in version 0.26.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A error that causes the feature to behave differently than what was expected based on design docs P1 High priority issue. Required to be completed in the assigned milestone. released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants