tvalentyn commented on issue #36545:
URL: https://github.com/apache/beam/issues/36545#issuecomment-3411764785
Full logs:
<details>
2025-10-15T20:57:50.7394290Z _
GroupByEncryptedKeyTest.test_gbk_with_gbek_option_fake_secret_manager_roundtrips
_
2025-10-15T20:57:50.7435633Z [gw0] linux -- Python 3.12.10
/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/bin/python
2025-10-15T20:57:50.7436919Z
2025-10-15T20:57:50.7437725Z self =
<apache_beam.transforms.util_test.GroupByEncryptedKeyTest
testMethod=test_gbk_with_gbek_option_fake_secret_manager_roundtrips>
2025-10-15T20:57:50.7438641Z
2025-10-15T20:57:50.7439007Z @unittest.skipIf(secretmanager is None,
'GCP dependencies are not installed')
2025-10-15T20:57:50.7439740Z def
test_gbk_with_gbek_option_fake_secret_manager_roundtrips(self):
2025-10-15T20:57:50.7440587Z options = PipelineOptions()
2025-10-15T20:57:50.7441075Z options.view_as(SetupOptions).gbek =
self.secret_option
2025-10-15T20:57:50.7441512Z
2025-10-15T20:57:50.7441870Z > with beam.Pipeline(options=options) as
pipeline:
2025-10-15T20:57:50.7442319Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7442572Z
2025-10-15T20:57:50.7442739Z apache_beam/transforms/util_test.py:371:
2025-10-15T20:57:50.7443233Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-10-15T20:57:50.7444044Z
target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/pipeline.py:672:
in __exit__
2025-10-15T20:57:50.7444815Z self.result.wait_until_finish()
2025-10-15T20:57:50.7445320Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2025-10-15T20:57:50.7445656Z
2025-10-15T20:57:50.7446118Z self =
<apache_beam.runners.portability.portable_runner.PipelineResult object at
0x7a457c2c7cb0>
2025-10-15T20:57:50.7446824Z duration = None
2025-10-15T20:57:50.7447012Z
2025-10-15T20:57:50.7447204Z def wait_until_finish(self, duration=None):
2025-10-15T20:57:50.7447630Z """
2025-10-15T20:57:50.7448183Z :param duration: The maximum time in
milliseconds to wait for the result of
2025-10-15T20:57:50.7449014Z the execution. If None or zero, will wait
until the pipeline finishes.
2025-10-15T20:57:50.7449980Z :return: The result of the pipeline, i.e.
PipelineResult.
2025-10-15T20:57:50.7451701Z """
2025-10-15T20:57:50.7452069Z def read_messages() -> None:
2025-10-15T20:57:50.7452509Z previous_state = -1
2025-10-15T20:57:50.7452966Z for message in self._message_stream:
2025-10-15T20:57:50.7453500Z if
message.HasField('message_response'):
2025-10-15T20:57:50.7454014Z logging.log(
2025-10-15T20:57:50.7454531Z
MESSAGE_LOG_LEVELS[message.message_response.importance],
2025-10-15T20:57:50.7455116Z "%s",
2025-10-15T20:57:50.7455526Z
message.message_response.message_text)
2025-10-15T20:57:50.7456008Z else:
2025-10-15T20:57:50.7456424Z current_state =
message.state_response.state
2025-10-15T20:57:50.7456914Z if current_state != previous_state:
2025-10-15T20:57:50.7457325Z _LOGGER.info(
2025-10-15T20:57:50.7457701Z "Job state changed to %s",
2025-10-15T20:57:50.7458255Z
self.runner_api_state_to_pipeline_state(current_state))
2025-10-15T20:57:50.7458839Z previous_state = current_state
2025-10-15T20:57:50.7459279Z self._messages.append(message)
2025-10-15T20:57:50.7459678Z
2025-10-15T20:57:50.7460216Z message_thread = threading.Thread(
2025-10-15T20:57:50.7460826Z target=read_messages,
name='wait_until_finish_read')
2025-10-15T20:57:50.7461350Z message_thread.daemon = True
2025-10-15T20:57:50.7461779Z message_thread.start()
2025-10-15T20:57:50.7462147Z
2025-10-15T20:57:50.7462453Z if duration:
2025-10-15T20:57:50.7463167Z state_thread = threading.Thread(
2025-10-15T20:57:50.7463809Z
target=functools.partial(self._observe_state, message_thread),
2025-10-15T20:57:50.7464484Z
name='wait_until_finish_state_observer')
2025-10-15T20:57:50.7464988Z state_thread.daemon = True
2025-10-15T20:57:50.7465392Z state_thread.start()
2025-10-15T20:57:50.7465766Z start_time = time.time()
2025-10-15T20:57:50.7466192Z duration_secs = duration / 1000
2025-10-15T20:57:50.7466709Z while (time.time() - start_time <
duration_secs and
2025-10-15T20:57:50.7467252Z state_thread.is_alive()):
2025-10-15T20:57:50.7467660Z time.sleep(1)
2025-10-15T20:57:50.7468019Z else:
2025-10-15T20:57:50.7468358Z self._observe_state(message_thread)
2025-10-15T20:57:50.7468766Z
2025-10-15T20:57:50.7469095Z if self._runtime_exception:
2025-10-15T20:57:50.7469532Z > raise self._runtime_exception
2025-10-15T20:57:50.7470652Z E RuntimeError: Pipeline job-057 failed
in state FAILED: bundle inst008 stage-013 failed:Traceback (most recent call
last):
2025-10-15T20:57:50.7472436Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 403, in get_secret_bytes
2025-10-15T20:57:50.7473981Z E response =
client.access_secret_version(
2025-10-15T20:57:50.7474513Z E
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7476425Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/client.py",
line 1857, in access_secret_version
2025-10-15T20:57:50.7478394Z E response = rpc(
2025-10-15T20:57:50.7478771Z E ^^^^
2025-10-15T20:57:50.7480492Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py",
line 131, in __call__
2025-10-15T20:57:50.7482069Z E return wrapped_func(*args, **kwargs)
2025-10-15T20:57:50.7482563Z E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7484154Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 294, in retry_wrapped_func
2025-10-15T20:57:50.7486136Z E return retry_target(
2025-10-15T20:57:50.7486535Z E ^^^^^^^^^^^^^
2025-10-15T20:57:50.7488046Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 156, in retry_target
2025-10-15T20:57:50.7489702Z E next_sleep = _retry_error_helper(
2025-10-15T20:57:50.7490691Z E ^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7492277Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_base.py",
line 214, in _retry_error_helper
2025-10-15T20:57:50.7493958Z E raise final_exc from source_exc
2025-10-15T20:57:50.7495532Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 147, in retry_target
2025-10-15T20:57:50.7497104Z E result = target()
2025-10-15T20:57:50.7497535Z E ^^^^^^^^
2025-10-15T20:57:50.7499335Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/timeout.py",
line 130, in func_with_timeout
2025-10-15T20:57:50.7501238Z E return func(*args, **kwargs)
2025-10-15T20:57:50.7501721Z E ^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7503310Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/grpc_helpers.py",
line 77, in error_remapped_callable
2025-10-15T20:57:50.7505009Z E raise
exceptions.from_grpc_error(exc) from exc
2025-10-15T20:57:50.7506191Z E google.api_core.exceptions.NotFound:
404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7507281Z E
2025-10-15T20:57:50.7507804Z E During handling of the above exception,
another exception occurred:
2025-10-15T20:57:50.7508431Z E
2025-10-15T20:57:50.7508787Z E Traceback (most recent call last):
2025-10-15T20:57:50.7509700Z E File "apache_beam/runners/common.py",
line 1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7510824Z E lifecycle_method()
2025-10-15T20:57:50.7511621Z E File "apache_beam/runners/common.py",
line 602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7512572Z E
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7514166Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 428, in setup
2025-10-15T20:57:50.7515796Z E self._hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7516405Z E
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7518059Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7519671Z E raise RuntimeError(
2025-10-15T20:57:50.7521972Z E RuntimeError: Failed to retrieve secret
bytes for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7524112Z E
2025-10-15T20:57:50.7524629Z E During handling of the above exception,
another exception occurred:
2025-10-15T20:57:50.7525261Z E
2025-10-15T20:57:50.7525627Z E Traceback (most recent call last):
2025-10-15T20:57:50.7527274Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 316, in _execute
2025-10-15T20:57:50.7528889Z E response = task()
2025-10-15T20:57:50.7529312Z E ^^^^^^
2025-10-15T20:57:50.7531121Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 390, in <lambda>
2025-10-15T20:57:50.7532913Z E lambda:
self.create_worker().do_instruction(request), request)
2025-10-15T20:57:50.7533552Z E
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7534958Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 666, in do_instruction
2025-10-15T20:57:50.7536300Z E return getattr(self, request_type)(
2025-10-15T20:57:50.7536761Z E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7538590Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 697, in process_bundle
2025-10-15T20:57:50.7540459Z E bundle_processor =
self.bundle_processor_cache.get(
2025-10-15T20:57:50.7540980Z E
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7541873Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 517, in get
2025-10-15T20:57:50.7542806Z E processor =
bundle_processor.BundleProcessor(
2025-10-15T20:57:50.7543152Z E
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7544106Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/bundle_processor.py",
line 1135, in __init__
2025-10-15T20:57:50.7545095Z E op.setup(self.data_sampler)
2025-10-15T20:57:50.7545643Z E File
"apache_beam/runners/worker/operations.py", line 875, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7546183Z E with self.scoped_start_state:
2025-10-15T20:57:50.7546708Z E File
"apache_beam/runners/worker/operations.py", line 925, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7547257Z E self.dofn_runner.setup()
2025-10-15T20:57:50.7547707Z E File "apache_beam/runners/common.py",
line 1568, in apache_beam.runners.common.DoFnRunner.setup
2025-10-15T20:57:50.7548249Z E
self._invoke_lifecycle_method(self.do_fn_invoker.invoke_setup)
2025-10-15T20:57:50.7548859Z E File "apache_beam/runners/common.py",
line 1564, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7549375Z E self._reraise_augmented(exn)
2025-10-15T20:57:50.7550091Z E File "apache_beam/runners/common.py",
line 1609, in apache_beam.runners.common.DoFnRunner._reraise_augmented
2025-10-15T20:57:50.7550766Z E raise new_exn
2025-10-15T20:57:50.7551237Z E File "apache_beam/runners/common.py",
line 1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7551747Z E lifecycle_method()
2025-10-15T20:57:50.7552418Z E File "apache_beam/runners/common.py",
line 602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7552982Z E
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7553888Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 428, in setup
2025-10-15T20:57:50.7554783Z E self._hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7555131Z E
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7556019Z E File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7556900Z E raise RuntimeError(
2025-10-15T20:57:50.7558261Z E RuntimeError: Failed to retrieve secret
bytes for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions. [while running
'assert_that/Group/CoGroupByKeyImpl/GroupByKey/Group by encrypted
key/ParDo(_EncryptMessage)']
2025-10-15T20:57:50.7559537Z
2025-10-15T20:57:50.7560240Z
target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/portability/portable_runner.py:568:
RuntimeError
2025-10-15T20:57:50.7561370Z ----------------------------- Captured stderr
call -----------------------------
2025-10-15T20:57:50.7561748Z Traceback (most recent call last):
2025-10-15T20:57:50.7562723Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 403, in get_secret_bytes
2025-10-15T20:57:50.7563682Z response = client.access_secret_version(
2025-10-15T20:57:50.7563979Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7565046Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/client.py",
line 1857, in access_secret_version
2025-10-15T20:57:50.7566092Z response = rpc(
2025-10-15T20:57:50.7566309Z ^^^^
2025-10-15T20:57:50.7567132Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py",
line 131, in __call__
2025-10-15T20:57:50.7568008Z return wrapped_func(*args, **kwargs)
2025-10-15T20:57:50.7568270Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7569184Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 294, in retry_wrapped_func
2025-10-15T20:57:50.7570702Z return retry_target(
2025-10-15T20:57:50.7570949Z ^^^^^^^^^^^^^
2025-10-15T20:57:50.7571807Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 156, in retry_target
2025-10-15T20:57:50.7572701Z next_sleep = _retry_error_helper(
2025-10-15T20:57:50.7572976Z ^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7573885Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_base.py",
line 214, in _retry_error_helper
2025-10-15T20:57:50.7574813Z raise final_exc from source_exc
2025-10-15T20:57:50.7575708Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 147, in retry_target
2025-10-15T20:57:50.7576862Z result = target()
2025-10-15T20:57:50.7577093Z ^^^^^^^^
2025-10-15T20:57:50.7577927Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/timeout.py",
line 130, in func_with_timeout
2025-10-15T20:57:50.7578799Z return func(*args, **kwargs)
2025-10-15T20:57:50.7579054Z ^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7580104Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/grpc_helpers.py",
line 77, in error_remapped_callable
2025-10-15T20:57:50.7581129Z raise exceptions.from_grpc_error(exc) from
exc
2025-10-15T20:57:50.7581790Z google.api_core.exceptions.NotFound: 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7582318Z
2025-10-15T20:57:50.7582514Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7582776Z
2025-10-15T20:57:50.7582881Z Traceback (most recent call last):
2025-10-15T20:57:50.7583426Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7583923Z lifecycle_method()
2025-10-15T20:57:50.7584540Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7585077Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7585987Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 428, in setup
2025-10-15T20:57:50.7586879Z self._hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7587205Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7588128Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7589020Z raise RuntimeError(
2025-10-15T20:57:50.7590397Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7591439Z
2025-10-15T20:57:50.7591637Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7591897Z
2025-10-15T20:57:50.7592013Z Traceback (most recent call last):
2025-10-15T20:57:50.7592948Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 316, in _execute
2025-10-15T20:57:50.7593837Z response = task()
2025-10-15T20:57:50.7594059Z ^^^^^^
2025-10-15T20:57:50.7594905Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 390, in <lambda>
2025-10-15T20:57:50.7595867Z lambda:
self.create_worker().do_instruction(request), request)
2025-10-15T20:57:50.7596425Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7597501Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 666, in do_instruction
2025-10-15T20:57:50.7598411Z return getattr(self, request_type)(
2025-10-15T20:57:50.7598873Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7599963Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 697, in process_bundle
2025-10-15T20:57:50.7601339Z bundle_processor =
self.bundle_processor_cache.get(
2025-10-15T20:57:50.7601671Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7602568Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 517, in get
2025-10-15T20:57:50.7603515Z processor =
bundle_processor.BundleProcessor(
2025-10-15T20:57:50.7603827Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7604762Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/bundle_processor.py",
line 1135, in __init__
2025-10-15T20:57:50.7605690Z op.setup(self.data_sampler)
2025-10-15T20:57:50.7606255Z File
"apache_beam/runners/worker/operations.py", line 875, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7606792Z with self.scoped_start_state:
2025-10-15T20:57:50.7607340Z File
"apache_beam/runners/worker/operations.py", line 925, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7607863Z self.dofn_runner.setup()
2025-10-15T20:57:50.7608813Z File "apache_beam/runners/common.py", line
1568, in apache_beam.runners.common.DoFnRunner.setup
2025-10-15T20:57:50.7609363Z
self._invoke_lifecycle_method(self.do_fn_invoker.invoke_setup)
2025-10-15T20:57:50.7610251Z File "apache_beam/runners/common.py", line
1564, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7611001Z self._reraise_augmented(exn)
2025-10-15T20:57:50.7611494Z File "apache_beam/runners/common.py", line
1609, in apache_beam.runners.common.DoFnRunner._reraise_augmented
2025-10-15T20:57:50.7611977Z raise new_exn
2025-10-15T20:57:50.7612458Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7612968Z lifecycle_method()
2025-10-15T20:57:50.7613427Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7613950Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7614872Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 428, in setup
2025-10-15T20:57:50.7615755Z self._hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7616078Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7616977Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7617852Z raise RuntimeError(
2025-10-15T20:57:50.7619177Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions. [while running
'assert_that/Group/CoGroupByKeyImpl/GroupByKey/Group by encrypted
key/ParDo(_EncryptMessage)']
2025-10-15T20:57:50.7620997Z
2025-10-15T20:57:50.7621129Z Traceback (most recent call last):
2025-10-15T20:57:50.7622041Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 403, in get_secret_bytes
2025-10-15T20:57:50.7623126Z response = client.access_secret_version(
2025-10-15T20:57:50.7623415Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7624470Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/client.py",
line 1857, in access_secret_version
2025-10-15T20:57:50.7625508Z response = rpc(
2025-10-15T20:57:50.7625722Z ^^^^
2025-10-15T20:57:50.7626546Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py",
line 131, in __call__
2025-10-15T20:57:50.7627412Z return wrapped_func(*args, **kwargs)
2025-10-15T20:57:50.7627672Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7628578Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 294, in retry_wrapped_func
2025-10-15T20:57:50.7629475Z return retry_target(
2025-10-15T20:57:50.7629700Z ^^^^^^^^^^^^^
2025-10-15T20:57:50.7631040Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 156, in retry_target
2025-10-15T20:57:50.7631937Z next_sleep = _retry_error_helper(
2025-10-15T20:57:50.7632378Z ^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7633298Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_base.py",
line 214, in _retry_error_helper
2025-10-15T20:57:50.7634223Z raise final_exc from source_exc
2025-10-15T20:57:50.7635118Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 147, in retry_target
2025-10-15T20:57:50.7636067Z result = target()
2025-10-15T20:57:50.7636287Z ^^^^^^^^
2025-10-15T20:57:50.7637121Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/timeout.py",
line 130, in func_with_timeout
2025-10-15T20:57:50.7637988Z return func(*args, **kwargs)
2025-10-15T20:57:50.7638240Z ^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7639127Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/grpc_helpers.py",
line 77, in error_remapped_callable
2025-10-15T20:57:50.7640611Z raise exceptions.from_grpc_error(exc) from
exc
2025-10-15T20:57:50.7641288Z google.api_core.exceptions.NotFound: 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7641806Z
2025-10-15T20:57:50.7641984Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7642262Z
2025-10-15T20:57:50.7642363Z Traceback (most recent call last):
2025-10-15T20:57:50.7642907Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7643546Z lifecycle_method()
2025-10-15T20:57:50.7644288Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7644822Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7645733Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 465, in setup
2025-10-15T20:57:50.7646948Z hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7647264Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7648162Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7649043Z raise RuntimeError(
2025-10-15T20:57:50.7650443Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7651390Z
2025-10-15T20:57:50.7651584Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7651845Z
2025-10-15T20:57:50.7651964Z Traceback (most recent call last):
2025-10-15T20:57:50.7653074Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 316, in _execute
2025-10-15T20:57:50.7654029Z response = task()
2025-10-15T20:57:50.7654256Z ^^^^^^
2025-10-15T20:57:50.7655535Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 390, in <lambda>
2025-10-15T20:57:50.7656977Z lambda:
self.create_worker().do_instruction(request), request)
2025-10-15T20:57:50.7657352Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7658321Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 666, in do_instruction
2025-10-15T20:57:50.7659250Z return getattr(self, request_type)(
2025-10-15T20:57:50.7659531Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7661015Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 697, in process_bundle
2025-10-15T20:57:50.7661978Z bundle_processor =
self.bundle_processor_cache.get(
2025-10-15T20:57:50.7662296Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7663226Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 517, in get
2025-10-15T20:57:50.7664150Z processor =
bundle_processor.BundleProcessor(
2025-10-15T20:57:50.7664461Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7665405Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/bundle_processor.py",
line 1135, in __init__
2025-10-15T20:57:50.7666340Z op.setup(self.data_sampler)
2025-10-15T20:57:50.7666904Z File
"apache_beam/runners/worker/operations.py", line 875, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7667440Z with self.scoped_start_state:
2025-10-15T20:57:50.7667985Z File
"apache_beam/runners/worker/operations.py", line 925, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7668526Z self.dofn_runner.setup()
2025-10-15T20:57:50.7668982Z File "apache_beam/runners/common.py", line
1568, in apache_beam.runners.common.DoFnRunner.setup
2025-10-15T20:57:50.7669504Z
self._invoke_lifecycle_method(self.do_fn_invoker.invoke_setup)
2025-10-15T20:57:50.7670616Z File "apache_beam/runners/common.py", line
1564, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7671357Z self._reraise_augmented(exn)
2025-10-15T20:57:50.7671873Z File "apache_beam/runners/common.py", line
1609, in apache_beam.runners.common.DoFnRunner._reraise_augmented
2025-10-15T20:57:50.7672354Z raise new_exn
2025-10-15T20:57:50.7672854Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7673365Z lifecycle_method()
2025-10-15T20:57:50.7673828Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7674356Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7675443Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 465, in setup
2025-10-15T20:57:50.7676315Z hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7676636Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7677520Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7678459Z raise RuntimeError(
2025-10-15T20:57:50.7679958Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions. [while running 'GroupByKey/Group by encrypted
key/ParDo(_DecryptMessage)']
2025-10-15T20:57:50.7681441Z
2025-10-15T20:57:50.7681632Z ------------------------------ Captured log
call -------------------------------
2025-10-15T20:57:50.7683232Z ERROR
apache_beam.runners.common:bundle_processor.py:1135 Failed to retrieve secret
bytes for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions. [while running
'assert_that/Group/CoGroupByKeyImpl/GroupByKey/Group by encrypted
key/ParDo(_EncryptMessage)']
2025-10-15T20:57:50.7684734Z Traceback (most recent call last):
2025-10-15T20:57:50.7685642Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 403, in get_secret_bytes
2025-10-15T20:57:50.7686544Z response = client.access_secret_version(
2025-10-15T20:57:50.7686825Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7687896Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/client.py",
line 1857, in access_secret_version
2025-10-15T20:57:50.7688933Z response = rpc(
2025-10-15T20:57:50.7689137Z ^^^^
2025-10-15T20:57:50.7690220Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py",
line 131, in __call__
2025-10-15T20:57:50.7691276Z return wrapped_func(*args, **kwargs)
2025-10-15T20:57:50.7691532Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7692440Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 294, in retry_wrapped_func
2025-10-15T20:57:50.7693360Z return retry_target(
2025-10-15T20:57:50.7693594Z ^^^^^^^^^^^^^
2025-10-15T20:57:50.7694438Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 156, in retry_target
2025-10-15T20:57:50.7695490Z next_sleep = _retry_error_helper(
2025-10-15T20:57:50.7695752Z ^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7696637Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_base.py",
line 214, in _retry_error_helper
2025-10-15T20:57:50.7697870Z raise final_exc from source_exc
2025-10-15T20:57:50.7698777Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 147, in retry_target
2025-10-15T20:57:50.7699640Z result = target()
2025-10-15T20:57:50.7700135Z ^^^^^^^^
2025-10-15T20:57:50.7701296Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/timeout.py",
line 130, in func_with_timeout
2025-10-15T20:57:50.7702180Z return func(*args, **kwargs)
2025-10-15T20:57:50.7702421Z ^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7703326Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/grpc_helpers.py",
line 77, in error_remapped_callable
2025-10-15T20:57:50.7704275Z raise exceptions.from_grpc_error(exc) from
exc
2025-10-15T20:57:50.7705091Z google.api_core.exceptions.NotFound: 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7705610Z
2025-10-15T20:57:50.7705803Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7706062Z
2025-10-15T20:57:50.7706162Z Traceback (most recent call last):
2025-10-15T20:57:50.7706704Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7707189Z lifecycle_method()
2025-10-15T20:57:50.7707635Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7708145Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7709046Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 428, in setup
2025-10-15T20:57:50.7710161Z self._hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7710699Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7711605Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7712497Z raise RuntimeError(
2025-10-15T20:57:50.7713500Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7714769Z ERROR
apache_beam.runners.worker.sdk_worker:sdk_worker.py:320 Error processing
instruction inst008. Original traceback is
2025-10-15T20:57:50.7715288Z Traceback (most recent call last):
2025-10-15T20:57:50.7716184Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 403, in get_secret_bytes
2025-10-15T20:57:50.7717069Z response = client.access_secret_version(
2025-10-15T20:57:50.7717341Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7718567Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/client.py",
line 1857, in access_secret_version
2025-10-15T20:57:50.7719610Z response = rpc(
2025-10-15T20:57:50.7719979Z ^^^^
2025-10-15T20:57:50.7721152Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py",
line 131, in __call__
2025-10-15T20:57:50.7722031Z return wrapped_func(*args, **kwargs)
2025-10-15T20:57:50.7722298Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7723186Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 294, in retry_wrapped_func
2025-10-15T20:57:50.7724069Z return retry_target(
2025-10-15T20:57:50.7724287Z ^^^^^^^^^^^^^
2025-10-15T20:57:50.7725121Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 156, in retry_target
2025-10-15T20:57:50.7726000Z next_sleep = _retry_error_helper(
2025-10-15T20:57:50.7726256Z ^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7727305Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_base.py",
line 214, in _retry_error_helper
2025-10-15T20:57:50.7728219Z raise final_exc from source_exc
2025-10-15T20:57:50.7729096Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 147, in retry_target
2025-10-15T20:57:50.7730378Z result = target()
2025-10-15T20:57:50.7730726Z ^^^^^^^^
2025-10-15T20:57:50.7731549Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/timeout.py",
line 130, in func_with_timeout
2025-10-15T20:57:50.7732402Z return func(*args, **kwargs)
2025-10-15T20:57:50.7732641Z ^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7733526Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/grpc_helpers.py",
line 77, in error_remapped_callable
2025-10-15T20:57:50.7734457Z raise exceptions.from_grpc_error(exc) from
exc
2025-10-15T20:57:50.7735082Z google.api_core.exceptions.NotFound: 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7735605Z
2025-10-15T20:57:50.7735778Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7736042Z
2025-10-15T20:57:50.7736143Z Traceback (most recent call last):
2025-10-15T20:57:50.7736667Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7737150Z lifecycle_method()
2025-10-15T20:57:50.7737595Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7738091Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7738996Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 428, in setup
2025-10-15T20:57:50.7740079Z self._hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7740676Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7741837Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7742733Z raise RuntimeError(
2025-10-15T20:57:50.7743708Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7744626Z
2025-10-15T20:57:50.7744812Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7745064Z
2025-10-15T20:57:50.7745169Z Traceback (most recent call last):
2025-10-15T20:57:50.7746055Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 316, in _execute
2025-10-15T20:57:50.7746931Z response = task()
2025-10-15T20:57:50.7747129Z ^^^^^^
2025-10-15T20:57:50.7747963Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 390, in <lambda>
2025-10-15T20:57:50.7748894Z lambda:
self.create_worker().do_instruction(request), request)
2025-10-15T20:57:50.7749229Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7750773Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 666, in do_instruction
2025-10-15T20:57:50.7751737Z return getattr(self, request_type)(
2025-10-15T20:57:50.7752001Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7752901Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 697, in process_bundle
2025-10-15T20:57:50.7753835Z bundle_processor =
self.bundle_processor_cache.get(
2025-10-15T20:57:50.7754144Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7755027Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 517, in get
2025-10-15T20:57:50.7755926Z processor =
bundle_processor.BundleProcessor(
2025-10-15T20:57:50.7756236Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7757150Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/bundle_processor.py",
line 1135, in __init__
2025-10-15T20:57:50.7758064Z op.setup(self.data_sampler)
2025-10-15T20:57:50.7758604Z File
"apache_beam/runners/worker/operations.py", line 875, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7759136Z with self.scoped_start_state:
2025-10-15T20:57:50.7759673Z File
"apache_beam/runners/worker/operations.py", line 925, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7763263Z self.dofn_runner.setup()
2025-10-15T20:57:50.7764323Z File "apache_beam/runners/common.py", line
1568, in apache_beam.runners.common.DoFnRunner.setup
2025-10-15T20:57:50.7765287Z
self._invoke_lifecycle_method(self.do_fn_invoker.invoke_setup)
2025-10-15T20:57:50.7766541Z File "apache_beam/runners/common.py", line
1564, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7767481Z self._reraise_augmented(exn)
2025-10-15T20:57:50.7768405Z File "apache_beam/runners/common.py", line
1609, in apache_beam.runners.common.DoFnRunner._reraise_augmented
2025-10-15T20:57:50.7770387Z raise new_exn
2025-10-15T20:57:50.7771458Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7772380Z lifecycle_method()
2025-10-15T20:57:50.7773243Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7774080Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7775613Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 428, in setup
2025-10-15T20:57:50.7777088Z self._hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7777584Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7779082Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7780960Z raise RuntimeError(
2025-10-15T20:57:50.7783472Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions. [while running
'assert_that/Group/CoGroupByKeyImpl/GroupByKey/Group by encrypted
key/ParDo(_EncryptMessage)']
2025-10-15T20:57:50.7785295Z
2025-10-15T20:57:50.7785300Z
2025-10-15T20:57:50.7786954Z ERROR
apache_beam.runners.common:bundle_processor.py:1135 Failed to retrieve secret
bytes for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions. [while running 'GroupByKey/Group by encrypted
key/ParDo(_DecryptMessage)']
2025-10-15T20:57:50.7788853Z Traceback (most recent call last):
2025-10-15T20:57:50.7790309Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 403, in get_secret_bytes
2025-10-15T20:57:50.7791663Z response = client.access_secret_version(
2025-10-15T20:57:50.7792013Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7793423Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/client.py",
line 1857, in access_secret_version
2025-10-15T20:57:50.7794673Z response = rpc(
2025-10-15T20:57:50.7795050Z ^^^^
2025-10-15T20:57:50.7796015Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py",
line 131, in __call__
2025-10-15T20:57:50.7797064Z return wrapped_func(*args, **kwargs)
2025-10-15T20:57:50.7797357Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7798525Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 294, in retry_wrapped_func
2025-10-15T20:57:50.7799932Z return retry_target(
2025-10-15T20:57:50.7800323Z ^^^^^^^^^^^^^
2025-10-15T20:57:50.7801364Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 156, in retry_target
2025-10-15T20:57:50.7802447Z next_sleep = _retry_error_helper(
2025-10-15T20:57:50.7803010Z ^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7803939Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_base.py",
line 214, in _retry_error_helper
2025-10-15T20:57:50.7804876Z raise final_exc from source_exc
2025-10-15T20:57:50.7805791Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 147, in retry_target
2025-10-15T20:57:50.7806691Z result = target()
2025-10-15T20:57:50.7806902Z ^^^^^^^^
2025-10-15T20:57:50.7807748Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/timeout.py",
line 130, in func_with_timeout
2025-10-15T20:57:50.7808925Z return func(*args, **kwargs)
2025-10-15T20:57:50.7809179Z ^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7810473Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/grpc_helpers.py",
line 77, in error_remapped_callable
2025-10-15T20:57:50.7811679Z raise exceptions.from_grpc_error(exc) from
exc
2025-10-15T20:57:50.7812348Z google.api_core.exceptions.NotFound: 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7812924Z
2025-10-15T20:57:50.7813302Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7813572Z
2025-10-15T20:57:50.7813668Z Traceback (most recent call last):
2025-10-15T20:57:50.7814191Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7814678Z lifecycle_method()
2025-10-15T20:57:50.7815122Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7815625Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7816547Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 465, in setup
2025-10-15T20:57:50.7817403Z hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7817695Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7818580Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7819438Z raise RuntimeError(
2025-10-15T20:57:50.7820943Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7822270Z ERROR
apache_beam.runners.worker.sdk_worker:sdk_worker.py:320 Error processing
instruction inst007. Original traceback is
2025-10-15T20:57:50.7822787Z Traceback (most recent call last):
2025-10-15T20:57:50.7823723Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 403, in get_secret_bytes
2025-10-15T20:57:50.7824606Z response = client.access_secret_version(
2025-10-15T20:57:50.7824872Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7825918Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/client.py",
line 1857, in access_secret_version
2025-10-15T20:57:50.7827146Z response = rpc(
2025-10-15T20:57:50.7827337Z ^^^^
2025-10-15T20:57:50.7828138Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py",
line 131, in __call__
2025-10-15T20:57:50.7828985Z return wrapped_func(*args, **kwargs)
2025-10-15T20:57:50.7829232Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7830184Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 294, in retry_wrapped_func
2025-10-15T20:57:50.7830332Z return retry_target(
2025-10-15T20:57:50.7830475Z ^^^^^^^^^^^^^
2025-10-15T20:57:50.7831381Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 156, in retry_target
2025-10-15T20:57:50.7831507Z next_sleep = _retry_error_helper(
2025-10-15T20:57:50.7831587Z ^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7832325Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_base.py",
line 214, in _retry_error_helper
2025-10-15T20:57:50.7832440Z raise final_exc from source_exc
2025-10-15T20:57:50.7833349Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 147, in retry_target
2025-10-15T20:57:50.7833452Z result = target()
2025-10-15T20:57:50.7833524Z ^^^^^^^^
2025-10-15T20:57:50.7834223Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/timeout.py",
line 130, in func_with_timeout
2025-10-15T20:57:50.7834320Z return func(*args, **kwargs)
2025-10-15T20:57:50.7834404Z ^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7835137Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/grpc_helpers.py",
line 77, in error_remapped_callable
2025-10-15T20:57:50.7835286Z raise exceptions.from_grpc_error(exc) from
exc
2025-10-15T20:57:50.7835725Z google.api_core.exceptions.NotFound: 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7835732Z
2025-10-15T20:57:50.7835914Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7835919Z
2025-10-15T20:57:50.7836010Z Traceback (most recent call last):
2025-10-15T20:57:50.7836383Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7836470Z lifecycle_method()
2025-10-15T20:57:50.7836794Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7836939Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7837621Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 465, in setup
2025-10-15T20:57:50.7837756Z hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7837856Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7838570Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7838862Z raise RuntimeError(
2025-10-15T20:57:50.7839698Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7839714Z
2025-10-15T20:57:50.7840075Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7840085Z
2025-10-15T20:57:50.7840251Z Traceback (most recent call last):
2025-10-15T20:57:50.7841173Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 316, in _execute
2025-10-15T20:57:50.7841276Z response = task()
2025-10-15T20:57:50.7841355Z ^^^^^^
2025-10-15T20:57:50.7842078Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 390, in <lambda>
2025-10-15T20:57:50.7842249Z lambda:
self.create_worker().do_instruction(request), request)
2025-10-15T20:57:50.7842355Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7843141Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 666, in do_instruction
2025-10-15T20:57:50.7843428Z return getattr(self, request_type)(
2025-10-15T20:57:50.7843514Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7844256Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 697, in process_bundle
2025-10-15T20:57:50.7844394Z bundle_processor =
self.bundle_processor_cache.get(
2025-10-15T20:57:50.7844491Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7845181Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 517, in get
2025-10-15T20:57:50.7845318Z processor =
bundle_processor.BundleProcessor(
2025-10-15T20:57:50.7845404Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7846234Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/bundle_processor.py",
line 1135, in __init__
2025-10-15T20:57:50.7846352Z op.setup(self.data_sampler)
2025-10-15T20:57:50.7846731Z File
"apache_beam/runners/worker/operations.py", line 875, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7846839Z with self.scoped_start_state:
2025-10-15T20:57:50.7847206Z File
"apache_beam/runners/worker/operations.py", line 925, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7847306Z self.dofn_runner.setup()
2025-10-15T20:57:50.7847593Z File "apache_beam/runners/common.py", line
1568, in apache_beam.runners.common.DoFnRunner.setup
2025-10-15T20:57:50.7847762Z
self._invoke_lifecycle_method(self.do_fn_invoker.invoke_setup)
2025-10-15T20:57:50.7848102Z File "apache_beam/runners/common.py", line
1564, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7848208Z self._reraise_augmented(exn)
2025-10-15T20:57:50.7848530Z File "apache_beam/runners/common.py", line
1609, in apache_beam.runners.common.DoFnRunner._reraise_augmented
2025-10-15T20:57:50.7848624Z raise new_exn
2025-10-15T20:57:50.7848961Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7849183Z lifecycle_method()
2025-10-15T20:57:50.7849487Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7849640Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7852563Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 465, in setup
2025-10-15T20:57:50.7853124Z hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7853293Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7854278Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7854403Z raise RuntimeError(
2025-10-15T20:57:50.7855765Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions. [while running 'GroupByKey/Group by encrypted
key/ParDo(_DecryptMessage)']
2025-10-15T20:57:50.7855797Z
2025-10-15T20:57:50.7855803Z
2025-10-15T20:57:50.7856143Z ERROR root:portable_runner.py:535 bundle
inst008 stage-013 failed:Traceback (most recent call last):
2025-10-15T20:57:50.7857518Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 403, in get_secret_bytes
2025-10-15T20:57:50.7857686Z response = client.access_secret_version(
2025-10-15T20:57:50.7857784Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7858927Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/cloud/secretmanager_v1/services/secret_manager_service/client.py",
line 1857, in access_secret_version
2025-10-15T20:57:50.7859044Z response = rpc(
2025-10-15T20:57:50.7859135Z ^^^^
2025-10-15T20:57:50.7860420Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/gapic_v1/method.py",
line 131, in __call__
2025-10-15T20:57:50.7860615Z return wrapped_func(*args, **kwargs)
2025-10-15T20:57:50.7860751Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7861766Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 294, in retry_wrapped_func
2025-10-15T20:57:50.7861874Z return retry_target(
2025-10-15T20:57:50.7861969Z ^^^^^^^^^^^^^
2025-10-15T20:57:50.7862905Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 156, in retry_target
2025-10-15T20:57:50.7863031Z next_sleep = _retry_error_helper(
2025-10-15T20:57:50.7863123Z ^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7864123Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_base.py",
line 214, in _retry_error_helper
2025-10-15T20:57:50.7864260Z raise final_exc from source_exc
2025-10-15T20:57:50.7865154Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/retry/retry_unary.py",
line 147, in retry_target
2025-10-15T20:57:50.7865265Z result = target()
2025-10-15T20:57:50.7865629Z ^^^^^^^^
2025-10-15T20:57:50.7866513Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/timeout.py",
line 130, in func_with_timeout
2025-10-15T20:57:50.7866623Z return func(*args, **kwargs)
2025-10-15T20:57:50.7866727Z ^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7867654Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/google/api_core/grpc_helpers.py",
line 77, in error_remapped_callable
2025-10-15T20:57:50.7867834Z raise exceptions.from_grpc_error(exc) from
exc
2025-10-15T20:57:50.7868371Z google.api_core.exceptions.NotFound: 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7868379Z
2025-10-15T20:57:50.7868598Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7868612Z
2025-10-15T20:57:50.7868723Z Traceback (most recent call last):
2025-10-15T20:57:50.7869201Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7869302Z lifecycle_method()
2025-10-15T20:57:50.7869689Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7870087Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7871434Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 428, in setup
2025-10-15T20:57:50.7871626Z self._hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7871745Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7872623Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7872747Z raise RuntimeError(
2025-10-15T20:57:50.7873721Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions.
2025-10-15T20:57:50.7873737Z
2025-10-15T20:57:50.7873922Z During handling of the above exception, another
exception occurred:
2025-10-15T20:57:50.7873928Z
2025-10-15T20:57:50.7874037Z Traceback (most recent call last):
2025-10-15T20:57:50.7874796Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 316, in _execute
2025-10-15T20:57:50.7874895Z response = task()
2025-10-15T20:57:50.7874971Z ^^^^^^
2025-10-15T20:57:50.7875714Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 390, in <lambda>
2025-10-15T20:57:50.7875878Z lambda:
self.create_worker().do_instruction(request), request)
2025-10-15T20:57:50.7875979Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7876747Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 666, in do_instruction
2025-10-15T20:57:50.7876855Z return getattr(self, request_type)(
2025-10-15T20:57:50.7876934Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7877694Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 697, in process_bundle
2025-10-15T20:57:50.7878020Z bundle_processor =
self.bundle_processor_cache.get(
2025-10-15T20:57:50.7878120Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7878839Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/sdk_worker.py",
line 517, in get
2025-10-15T20:57:50.7878979Z processor =
bundle_processor.BundleProcessor(
2025-10-15T20:57:50.7879072Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7880077Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/runners/worker/bundle_processor.py",
line 1135, in __init__
2025-10-15T20:57:50.7880225Z op.setup(self.data_sampler)
2025-10-15T20:57:50.7880856Z File
"apache_beam/runners/worker/operations.py", line 875, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7881026Z with self.scoped_start_state:
2025-10-15T20:57:50.7881445Z File
"apache_beam/runners/worker/operations.py", line 925, in
apache_beam.runners.worker.operations.DoOperation.setup
2025-10-15T20:57:50.7881548Z self.dofn_runner.setup()
2025-10-15T20:57:50.7881842Z File "apache_beam/runners/common.py", line
1568, in apache_beam.runners.common.DoFnRunner.setup
2025-10-15T20:57:50.7882023Z
self._invoke_lifecycle_method(self.do_fn_invoker.invoke_setup)
2025-10-15T20:57:50.7882604Z File "apache_beam/runners/common.py", line
1564, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7882735Z self._reraise_augmented(exn)
2025-10-15T20:57:50.7883146Z File "apache_beam/runners/common.py", line
1609, in apache_beam.runners.common.DoFnRunner._reraise_augmented
2025-10-15T20:57:50.7883244Z raise new_exn
2025-10-15T20:57:50.7883595Z File "apache_beam/runners/common.py", line
1562, in apache_beam.runners.common.DoFnRunner._invoke_lifecycle_method
2025-10-15T20:57:50.7883684Z lifecycle_method()
2025-10-15T20:57:50.7883995Z File "apache_beam/runners/common.py", line
602, in apache_beam.runners.common.DoFnInvoker.invoke_setup
2025-10-15T20:57:50.7884145Z
self.signature.setup_lifecycle_method.method_value()
2025-10-15T20:57:50.7884837Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 428, in setup
2025-10-15T20:57:50.7884984Z self._hmac_key =
self.hmac_key_secret.get_secret_bytes()
2025-10-15T20:57:50.7885074Z
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-10-15T20:57:50.7885798Z File
"/runner/_work/beam/beam/sdks/python/test-suites/tox/py312/build/srcs/sdks/python/target/.tox-py312-cloud/py312-cloud/lib/python3.12/site-packages/apache_beam/transforms/util.py",
line 408, in get_secret_bytes
2025-10-15T20:57:50.7885894Z raise RuntimeError(
2025-10-15T20:57:50.7887090Z RuntimeError: Failed to retrieve secret bytes
for secret
projects/apache-beam-testing/secrets/gbek_util_secret_tests_1015_205647_py312/versions/latest
with exception 404 Secret
[projects/844138762903/secrets/gbek_util_secret_tests_1015_205647_py312] not
found or has no versions. [while running
'assert_that/Group/CoGroupByKeyImpl/GroupByKey/Group by encrypted
key/ParDo(_EncryptMessage)']
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]