From 4c9b6968c1739c0bf31f5ab2a5961c0d2c4819d0 Mon Sep 17 00:00:00 2001 From: Rafal Korepta Date: Wed, 26 Jul 2023 03:10:31 +0200 Subject: [PATCH] k8s: Increase memory instead of decrease in e2e update test The following CI runs failed due to : * https://buildkite.com/redpanda/redpanda/builds/33919 * https://buildkite.com/redpanda/redpanda/builds/33913 * https://buildkite.com/redpanda/redpanda/builds/33916 * https://buildkite.com/redpanda/redpanda/builds/33899 Example ``` DEBUG 2023-07-25 01:10:44,080 [shard 0] seastar_memory - Failed to allocate 64 bytes at 0x6fcb423 0x6c4cb30 0x6c56fd9 0x6c9f6ac 0x6c92022 0x6c8e424 0x6cbf1c7 0x6cbd636 0x6cbcab4 0x6e842b4 0x6e368f0 0x6e44d27 0x6e4584c 0x6d1227f 0x6d15921 0x6d12ae6 0x6c175b0 0x6c159a8 0x213c945 0x700c27b /opt/redpanda/lib/libc.so.6+0x2d58f /opt/redpanda/lib/libc.so.6+0x2d648 0x21366a4 -------- seastar::continuation, seastar::httpd::connection::do_response_loop()::$_0, seastar::future seastar::future>>::then_impl_nrvo>(seastar::httpd::connection::do_response_loop()::$_0&&)::'lambda'(seastar::internal::promise_base_with_type&&, seastar::httpd::connection::do_response_loop()::$_0&, seastar::future_state>>&&), std::__1::unique_ptr>> -------- seastar::continuation, seastar::httpd::connection::respond()::$_0, seastar::futurize>::type seastar::future::then_wrapped_nrvo, seastar::httpd::connection::respond()::$_0>(seastar::httpd::connection::respond()::$_0&&)::'lambda'(seastar::internal::promise_base_with_type&&, seastar::httpd::connection::respond()::$_0&, seastar::future_state&&), void> -------- seastar::internal::when_all_state_component> -------- seastar::continuation, seastar::httpd::connection::process()::$_0, seastar::future seastar::future, seastar::future>>::then_impl_nrvo>(seastar::httpd::connection::process()::$_0&&)::'lambda'(seastar::internal::promise_base_with_type&&, seastar::httpd::connection::process()::$_0&, seastar::future_state, seastar::future>>&&), std::__1::tuple, seastar::future>> -------- seastar::continuation, seastar::future::finally_body, seastar::futurize>::type seastar::future::then_wrapped_nrvo, seastar::future::finally_body>(seastar::future::finally_body&&)::'lambda'(seastar::internal::promise_base_with_type&&, seastar::future::finally_body&, seastar::future_state&&), void> -------- seastar::continuation, seastar::future seastar::future::handle_exception(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()::operator()()::'lambda'(std::exception_ptr)&&)::'lambda'(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()::operator()()::'lambda'(std::exception_ptr)&&), seastar::futurize::type seastar::future::then_wrapped_nrvo, seastar::future seastar::future::handle_exception(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()::operator()()::'lambda'(std::exception_ptr)&&)::'lambda'(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()::operator()()::'lambda'(std::exception_ptr)&&)>(seastar::future seastar::future::handle_exception(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()::operator()()::'lambda'(std::exception_ptr)&&)::'lambda'(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()::operator()()::'lambda'(std::exception_ptr)&&)&&)::'lambda'(seastar::internal::promise_base_with_type&&, seastar::future seastar::future::handle_exception(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()::operator()()::'lambda'(std::exception_ptr)&&)::'lambda'(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()::operator()()::'lambda'(std::exception_ptr)&&)&, seastar::future_state&&), void> -------- seastar::continuation, seastar::future::finally_body(seastar::gate&, seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()&&)::'lambda'(), false>, seastar::futurize::type seastar::future::then_wrapped_nrvo, seastar::future::finally_body(seastar::gate&, seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()&&)::'lambda'(), false>>(seastar::future::finally_body(seastar::gate&, seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()&&)::'lambda'(), false>&&)::'lambda'(seastar::internal::promise_base_with_type&&, seastar::future::finally_body(seastar::gate&, seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'()&&)::'lambda'(), false>&, seastar::future_state&&), void> -------- seastar::continuation, seastar::future seastar::future::handle_exception_type(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'(seastar::gate_closed_exception const&)&&)::'lambda'(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'(seastar::gate_closed_exception const&)&&), seastar::futurize::type seastar::future::then_wrapped_nrvo, seastar::future seastar::future::handle_exception_type(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'(seastar::gate_closed_exception const&)&&)::'lambda'(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'(seastar::gate_closed_exception const&)&&)>(seastar::future seastar::future::handle_exception_type(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'(seastar::gate_closed_exception const&)&&)::'lambda'(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'(seastar::gate_closed_exception const&)&&)&&)::'lambda'(seastar::internal::promise_base_with_type&&, seastar::future seastar::future::handle_exception_type(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'(seastar::gate_closed_exception const&)&&)::'lambda'(seastar::httpd::http_server::do_accept_one(int, bool)::$_0::operator()(seastar::accept_result)::'lambda'(seastar::gate_closed_exception const&)&&)&, seastar::future_state&&), void> ``` --- src/go/k8s/tests/e2e/update/02-assert.yaml | 4 +++- src/go/k8s/tests/e2e/update/02-update-resources.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/go/k8s/tests/e2e/update/02-assert.yaml b/src/go/k8s/tests/e2e/update/02-assert.yaml index 4667c4cd6caa..891cf6e355a5 100644 --- a/src/go/k8s/tests/e2e/update/02-assert.yaml +++ b/src/go/k8s/tests/e2e/update/02-assert.yaml @@ -8,7 +8,9 @@ spec: containers: - resources: requests: - memory: 990M + memory: 2Gi + limits: + memory: 2Gi --- apiVersion: redpanda.vectorized.io/v1alpha1 kind: Cluster diff --git a/src/go/k8s/tests/e2e/update/02-update-resources.yaml b/src/go/k8s/tests/e2e/update/02-update-resources.yaml index c47f72d0614a..7e4d4047a96b 100644 --- a/src/go/k8s/tests/e2e/update/02-update-resources.yaml +++ b/src/go/k8s/tests/e2e/update/02-update-resources.yaml @@ -5,4 +5,6 @@ metadata: spec: resources: requests: - memory: 990M + memory: 2Gi + limits: + memory: 2Gi