Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Update k8s version to v1.24 #2644

Merged
merged 2 commits into from
Jun 15, 2022
Merged

Conversation

ChrsMark
Copy link
Member

What does this PR do?

Updates k8s version following #2562 as discussed at https://github.com/elastic/observability-dev/issues/2178. This kind of PRs will be part of the "official" maintenance policy for k8s versions' support handled by @elastic/obs-cloudnative-monitoring

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
@ChrsMark ChrsMark added the Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team label Jun 14, 2022
@ChrsMark ChrsMark requested a review from mdelapenya June 14, 2022 09:43
@ChrsMark ChrsMark self-assigned this Jun 14, 2022
@mergify
Copy link
Contributor

mergify bot commented Jun 14, 2022

This pull request does not have a backport label. Could you fix it @ChrsMark? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-v./d./d./d is the label to automatically backport to the 7./d branch. /d is the digit
    NOTE: backport-skip has been added to this pull request.

@mergify mergify bot added the backport-skip Skip notification from the automated backport with mergify label Jun 14, 2022
@elasticmachine
Copy link
Contributor

elasticmachine commented Jun 14, 2022

💔 Tests Failed

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-06-15T08:06:02.704+0000

  • Duration: 74 min 53 sec

Test stats 🧪

Test Results
Failed 5
Passed 381
Skipped 0
Total 386

Test errors 5

Expand to view the tests failures

Initializing / End-To-End Tests / fleet_sles15_fleet_mode / Un-enrolling the agent deactivates the agent – Fleet Mode
    Expand to view the error details

     Step the agent is un-enrolled 
    

  • no stacktrace
Initializing / End-To-End Tests / fleet_debian_10_arm64_linux_integration / Adding the Linux Integration to an Agent ... – Linux Integration
    Expand to view the error details

     Step the agent is listed in Fleet as "online" 
    

  • no stacktrace
Initializing / End-To-End Tests / fleet_ubuntu_22_04_amd64_system_integration / Adding socket_summary system/metrics Integration to a Policy – System Integration
    Expand to view the error details

     Step the agent is listed in Fleet as "online" 
    

  • no stacktrace
Initializing / End-To-End Tests / fleet_ubuntu_22_04_amd64_system_integration / Adding filesystem system/metrics Integration to a Policy – System Integration
    Expand to view the error details

     Step the agent is listed in Fleet as "online" 
    

  • no stacktrace
Initializing / End-To-End Tests / fleet_debian_10_amd64_system_integration / Adding cpu system/metrics Integration to a Policy – System Integration
    Expand to view the error details

     Step the agent is listed in Fleet as "online" 
    

  • no stacktrace

Steps errors 10

Expand to view the steps failures

Executing ansible-playbook
  • Took 13 min 19 sec . View more details here
  • Description: /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-2644/.venv/bin/ansible-playbook --private-key="/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-2644/src/github.com/elastic/e2e-testing/e2essh" --extra-vars="workspace=/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-2644/src/github.com/elastic/e2e-testing/ runId=95e903d6 sshPublicKey=/var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-2644/src/github.com/elastic/e2e-testing/e2essh.pub" --ssh-common-args='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null' /var/lib/jenkins/workspace/2e-tests_e2e-testing-mbp_PR-2644/src/github.com/elastic/e2e-testing/.ci/ansible/playbook.yml -i "18.218.214.195," -t setup-stack --extra-vars="buildURL=https://beats-ci.elastic.co/job/e2e-tests/job/e2e-testing-mbp/job/PR-2644/4/ gitSha=e5d10271444e4b0ed40dae9ec359f963987d8c98 build=4 repo=e2e-testing branch=pr-2644 type=ci stackRunner=18.218.214.195 nodeLabel=stack nodeUser=admin nodeImage=ami-0d90bed76900e679a nodeInstanceType=t3.xlarge"
Sleep
  • Took 0 min 5 sec . View more details here
  • Description: 5
Shell Script
  • Took 12 min 54 sec . View more details here
  • Description: ssh -tt -o TCPKeepAlive=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /var/lib/jenkins/workspace/PR-2644-4-86a76e2a-95ec-43b2-a3fc-fa2b7f9ab0c8/e2essh ec2-user@18.219.104.237 -- 'sudo bash /home/ec2-user/e2e-testing/.ci/scripts/functional-test.sh'
Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2022-06-15T09:04:57.388Z] Archiving artifacts script returned exit code 2
Shell Script
  • Took 3 min 21 sec . View more details here
  • Description: ssh -tt -o TCPKeepAlive=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /var/lib/jenkins/workspace/PR-2644-4-9ae6bfb8-2130-4567-8571-0db1f2021d63/e2essh admin@18.118.208.173 -- 'sudo bash /home/admin/e2e-testing/.ci/scripts/functional-test.sh'
Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2022-06-15T08:57:01.117Z] Archiving artifacts script returned exit code 2
Shell Script
  • Took 14 min 24 sec . View more details here
  • Description: ssh -tt -o TCPKeepAlive=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /var/lib/jenkins/workspace/PR-2644-4-71af6c9f-dd6e-4750-8e24-b0439cb551b8/e2essh admin@13.58.4.208 -- 'sudo bash /home/admin/e2e-testing/.ci/scripts/functional-test.sh'
Archive the artifacts
  • Took 0 min 0 sec . View more details here
  • Description: [2022-06-15T09:07:25.413Z] Archiving artifacts script returned exit code 2
Shell Script
  • Took 17 min 33 sec . View more details here
  • Description: ssh -tt -o TCPKeepAlive=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i /var/lib/jenkins/workspace/PR-2644-4-37525989-bd39-4b65-9ca7-50d13ed923eb/e2essh ubuntu@18.190.154.194 -- 'sudo bash /home/ubuntu/e2e-testing/.ci/scripts/functional-test.sh'
Archive the artifacts
  • Took 0 min 1 sec . View more details here
  • Description: [2022-06-15T09:04:52.666Z] Archiving artifacts script returned exit code 2

🐛 Flaky test report

❕ There are test failures but not known flaky tests.

Expand to view the summary

Genuine test errors 5

💔 There are test failures but not known flaky tests, most likely a genuine test failure.

  • Name: Initializing / End-To-End Tests / fleet_sles15_fleet_mode / Un-enrolling the agent deactivates the agent – Fleet Mode
  • Name: Initializing / End-To-End Tests / fleet_debian_10_arm64_linux_integration / Adding the Linux Integration to an Agent ... – Linux Integration
  • Name: Initializing / End-To-End Tests / fleet_ubuntu_22_04_amd64_system_integration / Adding socket_summary system/metrics Integration to a Policy – System Integration
  • Name: Initializing / End-To-End Tests / fleet_ubuntu_22_04_amd64_system_integration / Adding filesystem system/metrics Integration to a Policy – System Integration
  • Name: Initializing / End-To-End Tests / fleet_debian_10_amd64_system_integration / Adding cpu system/metrics Integration to a Policy – System Integration

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@ChrsMark
Copy link
Member Author

ChrsMark commented Jun 14, 2022

@mdelapenya shall we upgrade the version of Helm too? It seems that the tests of helm are failing most probably because of versioning?

I would suggest moving to the latest one: https://github.com/helm/helm/releases/tag/v3.9.0

Ah I see those are already updated. I wonder why the failures then 🤔

@@ -12,8 +12,6 @@ import (
"testing"
"time"

"github.com/Jeffail/gabs/v2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think those imports were removed by mistake

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad 😞 it's my editor that removes those for some reason.

Copy link
Contributor

@mdelapenya mdelapenya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removed imports are needed, so it seems they were removed by mistake. Could you please re-add them?

Signed-off-by: ChrsMark <chrismarkou92@gmail.com>
@ChrsMark
Copy link
Member Author

@mdelapenya it seems to be ok now, helm and k8s tests passed the failures are on some of the fleet's tests.

@ChrsMark
Copy link
Member Author

Not sure about the backports here. This one should go along with 8.4 I think. @mdelapenya could you please verify the backport labels?

@ChrsMark ChrsMark merged commit c033b09 into elastic:main Jun 15, 2022
mdelapenya added a commit to mdelapenya/e2e-testing that referenced this pull request Jun 17, 2022
* main: (22 commits)
  chore(jjbb): increase build timeout to 2h (elastic#2661)
  chore: increase build timeout to 2h (elastic#2660)
  feat: run tests on windows 2019 (elastic#2468)
  Remove aws instance reaper Jenkins job (elastic#2647)
  Update k8s version to v1.24 (elastic#2644)
  chore: simplify extracting info from the supported platforms (elastic#2637)
  ci: avoid running on branches that are not available anymore (elastic#2627)
  Add support for Debian 11 and Ubuntu 22.04 platforms (elastic#2603)
  fix: retire 8.1 snapshot from upgrades (elastic#2616)
  bump stack version 8.4.0-42ce0eef (elastic#2613)
  docs: document AWS requirements (elastic#2589)
  chore: move elastic-agent's k8s-autodiscover scenarios from beats to elastic-agent profile (elastic#2601)
  Add test scenario for elastic agent tags (elastic#2552)
  bump stack version 8.4.0-3525aaf7 (elastic#2597)
  bump stack version 8.4.0-df27a645 (elastic#2591)
  fix: agent directories must belong to root (elastic#2590)
  chore: bump maintenance versions in mergify (elastic#2563)
  chore: bump kubernetes versions (elastic#2562)
  fix: use fixed, valid version for protobuffers (elastic#2569)
  chore: do not run apm-server helm chart scenarios for Beats (elastic#2564)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
8.4-candidate backport-skip Skip notification from the automated backport with mergify Team:Cloudnative-Monitoring Label for the Cloud Native Monitoring team v8.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants