Hriday Baghar
11/14/2023, 11:14 PMflytekit v1.1.3
. Everything goes fine when I register the workflow, however on execution I get the following error:
[1/1] currentAttempt done. Last Error: USER::tar: development/fast3058e34fb41fa3a154ff4954352846ee.tar.gz: Cannot open: Not a directory
tar: Error is not recoverable: exiting now
Traceback (most recent call last):
File "/usr/local/bin/pyflyte-fast-execute", line 8, in <module>
sys.exit(fast_execute_task_cmd())
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/flytekit/bin/entrypoint.py", line 496, in fast_execute_task_cmd
_download_distribution(additional_distribution, dest_dir)
File "/usr/local/lib/python3.9/site-packages/flytekit/tools/fast_registration.py", line 118, in download_distribution
result.check_returncode()
File "/usr/local/lib/python3.9/subprocess.py", line 460, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['tar', '-xvf', 'development/fast3058e34fb41fa3a154ff4954352846ee.tar.gz', '-C', 'development']' returned non-zero exit status 2.
I've tried running this on a local cluster as well as a GCP cluster. I'm not sure what is causing this, does not seem to be related to any of the code since this is happening when the code tar file is pulled from the storage. Let me know if you have any advice on troubleshooting this or if any further information is needed!Ketan (kumare3)
Hriday Baghar
11/15/2023, 5:29 AMKetan (kumare3)
Hriday Baghar
11/15/2023, 7:51 AMKetan (kumare3)