--Task-- name: revert_environment_variables enabled: True class_name: RevertEnvironmentVariables source_name: controller source_namespace: >default< target_name: controller target_namespace: >default< start: 0.0 stop: None timeout: not yet initialized for this Task as timeout was not explicitly defined, see updates below loop: False interval: None dependencies: [] wait_for: [] preceding_task: None options: {} group_name: None Current dir: /mnt/disk1/xslou/workshop/lodestar-fork/pyrock ________________________________________________________________________________ [2025-01-03 14:01:52] revert_environment_variables pre : N/A ________________________________________________________________________________ 2025-01-03 14:01:52 - INFO: Timeout for this Task has changed to 5m (300 seconds) 2025-01-03 14:01:52 - INFO: timeout was set to Task default (2x global_duration or 300 seconds (whatever is higher)), because it was unset ________________________________________________________________________________ [2025-01-03 14:01:52] revert_environment_variables step1 : N/A ________________________________________________________________________________ 2025-01-03 14:01:52,082 INFO Reverting environment variables for am 2025-01-03 14:01:52,509 ERROR [loop_until]: Function failed after 0s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:01:57,882 ERROR [loop_until]: Function failed after 5s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:03,222 ERROR [loop_until]: Function failed after 11s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:08,562 ERROR [loop_until]: Function failed after 16s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:13,900 ERROR [loop_until]: Function failed after 21s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:19,241 ERROR [loop_until]: Function failed after 27s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:24,583 ERROR [loop_until]: Function failed after 32s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:29,922 ERROR [loop_until]: Function failed after 37s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:35,264 ERROR [loop_until]: Function failed after 43s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:40,601 ERROR [loop_until]: Function failed after 48s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:45,951 ERROR [loop_until]: Function failed after 53s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:51,293 ERROR [loop_until]: Function failed after 59s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:02:56,743 ERROR [loop_until]: Function failed after 1m 04s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:02,083 ERROR [loop_until]: Function failed after 1m 10s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:07,422 ERROR [loop_until]: Function failed after 1m 15s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:12,762 ERROR [loop_until]: Function failed after 1m 20s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:18,102 ERROR [loop_until]: Function failed after 1m 26s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:23,442 ERROR [loop_until]: Function failed after 1m 31s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:28,793 ERROR [loop_until]: Function failed after 1m 36s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:34,132 ERROR [loop_until]: Function failed after 1m 42s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:39,471 ERROR [loop_until]: Function failed after 1m 47s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:44,809 ERROR [loop_until]: Function failed after 1m 52s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:50,151 ERROR [loop_until]: Function failed after 1m 58s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:03:55,488 ERROR [loop_until]: Function failed after 2m 03s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:00,828 ERROR [loop_until]: Function failed after 2m 08s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:06,165 ERROR [loop_until]: Function failed after 2m 14s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:11,552 ERROR [loop_until]: Function failed after 2m 19s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:16,892 ERROR [loop_until]: Function failed after 2m 24s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:22,230 ERROR [loop_until]: Function failed after 2m 30s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:27,569 ERROR [loop_until]: Function failed after 2m 35s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:32,909 ERROR [loop_until]: Function failed after 2m 40s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:38,248 ERROR [loop_until]: Function failed after 2m 46s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:43,584 ERROR [loop_until]: Function failed after 2m 51s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:48,923 ERROR [loop_until]: Function failed after 2m 56s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:54,285 ERROR [loop_until]: Function failed after 3m 02s (rc=1 - expected to be in [0]) - retry; CMD output was: CMD error was: Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:54,285 ERROR [loop_until]: rc=1, expected [0] 2025-01-03 14:04:54,285 DEBUG --- stdout --- 2025-01-03 14:04:54,285 DEBUG 2025-01-03 14:04:54,286 DEBUG --- stderr --- 2025-01-03 14:04:54,286 DEBUG Error from server (NotFound): namespaces "fr-platform" not found 2025-01-03 14:04:54 - INFO: Traceback (most recent call last): File "/mnt/disk1/xslou/workshop/lodestar-fork/pyrock/lib/scheduler/tasks/Task.py", line 603, in run self._run() File "/mnt/disk1/xslou/workshop/lodestar-fork/pyrock/lib/scheduler/tasks/StepTask.py", line 54, in _run self._run_method(step) File "/mnt/disk1/xslou/workshop/lodestar-fork/pyrock/lib/scheduler/tasks/Task.py", line 644, in _run_method exec("self.%s()" % method) File "", line 1, in File "/mnt/disk1/xslou/workshop/lodestar-fork/pyrock/tasks/deployment/utility_actions.py", line 47, in step1 pyrock_run.deployment.revert_env_vars() File "/mnt/disk1/xslou/workshop/lodestar-fork/shared/lib/multinamespace_deployment.py", line 146, in revert_env_vars deployment.revert_env_vars() File "/mnt/disk1/xslou/workshop/lodestar-fork/shared/lib/deployment_idc.py", line 157, in revert_env_vars component.revert_env_vars() File "/mnt/disk1/xslou/workshop/lodestar-fork/shared/lib/components/component.py", line 1159, in revert_env_vars component = kubectl(f'get {self.k8s_type} {self.instance_name} --output json', component=self, verbose=False).stdout ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/disk1/xslou/workshop/lodestar-fork/shared/lib/cloud_utils.py", line 107, in kubectl return __kubectl(args, namespace, no_loop=no_loop, output_file=output_file, expected_rc=expected_rc, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/disk1/xslou/workshop/lodestar-fork/shared/lib/cloud_utils.py", line 181, in __kubectl return cmd.loop_until(command, max_time=max_time, interval=interval, verbose=verbose, expected_rc=expected_rc, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/disk1/xslou/workshop/lodestar-fork/shared/lib/utils/cmd/cmd.py", line 578, in loop_until raise FailException(message=exception_message) shared.lib.utils.exception.FailException: [loop_until]: rc=1, expected [0] Setting result to FAIL Task has been successfully stopped