Mohammad GH
07/22/2021, 9:09 AMterminal_state_handler
issueBrett Jurman
07/22/2021, 10:47 AMMichal Zawadzki
07/22/2021, 11:25 AMAlexander
07/22/2021, 12:01 PM22 July 2021,11:22:45 MSK prefect.sometask ERROR Our job is failed
22 July 2021,11:22:45 MSK prefect.CloudTaskRunner DEBUG Task 'facebook_insights': Execution process closed, collecting result...
22 July 2021,11:22:45 MSK prefect.CloudTaskRunner DEBUG Task 'facebook_insights': Handling state change from Running to TimedOut
The "Execution process closed, collecting result..." log is coming from prefect.utilities.executors.run_with_multiprocess_timeout
. But i dont see any other logs from this functions (according to source code they exist there). There is indeed a timeout set for a task, like a 1 hour, but according to logs it finished in 20 minutes.
How can i debug this?
We are running latest prefect version with ECS agentZach Schumacher
07/22/2021, 2:30 PMIgor Bondartsov
07/22/2021, 2:34 PMBen Sack
07/22/2021, 5:06 PMwith *Flow*("dummy_flow") as flow:
process_date = *Parameter*(name="process_date", default=*date_minus_seven*())
The issue with this is the process_date parameter is set at flow registration, but isn’t updated each time the flow runs. For example, if I registered the flow today, the process_date parameter would be set as 2021-07-15, but when the flow runs tomorrow, the process_date would still be set to 2021-07-15.Jeremy Phelps
07/22/2021, 6:02 PMQueued
state and I can't change them at all (the set_task_run_states
mutation claims "SUCCESS"
for each of the task runs, but the same task run IDs are still returned when I look for Queued
task runs). If I could just delete everything, my deployment scripts would be able to recreate the flows, projects, etc. and everything would finally work.Danny Vilela
07/22/2021, 6:39 PM@task(max_retries=10, retry_delay=timedelta(minutes=5))
. But the failure is “silent”, in that it’s wrapped by a lower-level library. I know how to check whether it’s failed, so how should I tell Prefect that the task failed (and retry?) — is it enough to raise prefect.engine.signals.FAIL
? Or does it need to be an explicit raise ValueError
or something?ale
07/22/2021, 6:58 PMHan Hong
07/23/2021, 7:14 AMKubernetesRun
? I don’t want to change the existing job template but just override volume.Rinze
07/23/2021, 10:22 AMUnicodeEncodeError
and the script quits (although after passing the command to Cloud). I've updated all packages, running on Win10 with Python 3.9. It doesn't happen on my local machine. Any ideas what may cause this?Sean Talia
07/23/2021, 1:40 PMSoren Daugaard
07/23/2021, 2:57 PMKim Pevey
07/23/2021, 3:07 PMenvironment.yml
file the equivalent of this:
pip install "prefect[extra_1, extra_2]"
An Hoang
07/23/2021, 4:38 PMFernando
07/23/2021, 5:39 PMLeon Kozlowski
07/23/2021, 6:21 PMmontardon
07/23/2021, 6:34 PMYD
07/23/2021, 7:38 PMMatthew Alhonte
07/23/2021, 10:14 PM--no-schedule
argument would make it a lot easier to set up separate CI/CD pipelines for main vs feature branches (would rather not have the schedule run for prototypes).An Hoang
07/24/2021, 12:59 AM--param overrides='["exp=test_exp", "dataset=test_MS", "pairs_file=test_MS_chr22.tsv"]'
and the variants but it complained about the formatKrzysztof Nawara
07/24/2021, 8:31 AMBouke Krom
07/24/2021, 8:36 AMFlow
object in Python. So I was thinking I'd query an existing flow (possibly a special 'template' one), modify it and insert it again, but it feels kind of hacky. Any thoughts?Nicholas Hemley
07/24/2021, 9:44 AMZach Schumacher
07/24/2021, 8:39 PMDotan Asselmann
07/25/2021, 11:30 AMKrzysztof Nawara
07/25/2021, 8:39 PMDanny Vilela
07/25/2021, 8:57 PMnth_retry
data? Does prefect internally maintain that state that we can access? Or in prefect.context
?
Thank you!EdCode
07/26/2021, 12:40 AMEdCode
07/26/2021, 12:40 AMKevin Kho
07/26/2021, 12:43 AM