acoustic-van-30942
01/09/2024, 1:29 AM--use-distributed-map mode from the PR (https://github.com/Netflix/metaflow/pull/1576) a try, but got the following error from the batch logs.
Stdout: Failed to install Micromamba!
Stderr:
Bootstrap failed while executing: if ! command -v ./micromamba >/dev/null 2>&1; then
wget -qO- <https://micro.mamba.pm/api/micromamba/linux-64/latest> | tar -xvj bin/micromamba --strip-components=1 >/dev/null 2>&1;
export PATH=$PATH:$HOME/bin;
if ! command -v ./micromamba >/dev/null 2>&1; then
echo "Failed to install Micromamba!";
Bootstrapping virtual environment...
Task is starting.
Code package downloaded.
Downloading code package...
Setting up task environment.acoustic-van-30942
01/09/2024, 1:35 AMmicromamba , but can'tstraight-shampoo-11124
01/09/2024, 3:24 AMmicromamba it should workstraight-shampoo-11124
01/09/2024, 3:25 AMacoustic-van-30942
01/09/2024, 3:41 AMacoustic-van-30942
01/09/2024, 11:34 PMacoustic-van-30942
01/09/2024, 11:39 PMacoustic-van-30942
01/10/2024, 12:00 AMretry might be the way to go here?
Reference: https://outerbounds-community.slack.com/archives/C020U025QJK/p1700150433974189?thread_ts=1695412569.760469&cid=C020U025QJKancient-application-36103
01/10/2024, 12:04 AMacoustic-van-30942
01/10/2024, 12:04 AMacoustic-van-30942
01/10/2024, 12:11 AMacoustic-van-30942
01/10/2024, 12:42 AMretry 😞
python3 "history_extractor_flow.py" --with retry --environment=conda --production ${WITH_BATCH} step-functions create --max-workers $MAX_WORKERS --use-distributed-map --tag $2 --tag $METAFLOW_USER
python3 "history_extractor_flow.py" --environment=conda --production step-functions triggersquare-wire-39606
01/10/2024, 1:00 AMacoustic-van-30942
01/10/2024, 1:00 AMsquare-wire-39606
01/10/2024, 1:50 AMacoustic-van-30942
01/10/2024, 1:50 AMacoustic-van-30942
01/10/2024, 1:50 AMsquare-wire-39606
01/10/2024, 1:52 AMacoustic-van-30942
01/10/2024, 1:52 AMsquare-wire-39606
01/10/2024, 1:52 AMsquare-wire-39606
01/10/2024, 1:52 AMsquare-wire-39606
01/10/2024, 1:52 AMacoustic-van-30942
01/10/2024, 1:53 AMacoustic-van-30942
01/10/2024, 1:53 AMacoustic-van-30942
01/10/2024, 1:54 AMwhen you set the retry do you see the batch api call being retried?From cloudtrail event logs?
ancient-application-36103
01/10/2024, 1:54 AMancient-application-36103
01/10/2024, 1:54 AMancient-application-36103
01/10/2024, 1:54 AMacoustic-van-30942
01/10/2024, 1:54 AMancient-application-36103
01/10/2024, 1:55 AMancient-application-36103
01/10/2024, 1:55 AMacoustic-van-30942
01/10/2024, 1:56 AMsquare-wire-39606
01/10/2024, 1:56 AMsquare-wire-39606
01/10/2024, 1:57 AMacoustic-van-30942
01/10/2024, 1:57 AMacoustic-van-30942
01/10/2024, 1:57 AMacoustic-van-30942
01/10/2024, 2:23 AMancient-application-36103
01/10/2024, 2:24 AMacoustic-van-30942
01/10/2024, 2:30 AMretry does appear in the definition of the state machine, BUT only for the first state and no others. So somehow python3 "history_extractor_flow.py" --with retry --environment=conda --production ${WITH_BATCH} step-functions create --max-workers $MAX_WORKERS --use-distributed-map --tag $2 --tag $METAFLOW_USER didn't propagate the retry to all the states in the state machine?acoustic-van-30942
01/10/2024, 2:31 AMancient-application-36103
01/10/2024, 2:40 AMacoustic-van-30942
01/10/2024, 2:46 AMacoustic-van-30942
01/10/2024, 5:47 PM--with retry creates the RetryStrategy block in the resource definition, but it's actually the Retry block that seems to facilitate the retries, and that's the one that is missing (and that I had to enter manually).
Am I on the right track?ancient-application-36103
01/10/2024, 5:49 PMancient-application-36103
01/10/2024, 5:49 PMacoustic-van-30942
01/10/2024, 5:50 PMacoustic-van-30942
01/10/2024, 10:07 PMRetry block doesn't show up in the state machine definition. Is there anything wrong with this step functions invocation command?
python3 "history_extractor_flow.py" --environment=conda --production --with batch:cpu=1,memory=8000,queue=gaiatrn-p-ue1-cpu-amp --with retry:times=3,minutes_between_retries=2 step-functions create --max-workers $MAX_WORKERS --tag $2 --tag $METAFLOW_USER
python3 "history_extractor_flow.py" --environment=conda --production step-functions triggeracoustic-van-30942
01/10/2024, 10:10 PM--with retry isn't working for the state machine?ancient-application-36103
01/10/2024, 10:35 PMancient-application-36103
01/10/2024, 10:36 PMacoustic-van-30942
01/10/2024, 10:40 PMacoustic-van-30942
01/10/2024, 10:44 PMmetaflow-ray) will work for our use case. This flow created by @sparse-florist-36640 has no nesting involved, so batch array not supporting nesting on Metaflow should not be a problem.acoustic-van-30942
01/11/2024, 1:07 AMsalmon-exabyte-11054
01/11/2024, 2:26 AMsalmon-exabyte-11054
01/11/2024, 2:26 AMsalmon-exabyte-11054
01/11/2024, 2:28 AMacoustic-van-30942
01/11/2024, 3:42 AMsalmon-exabyte-11054
01/16/2024, 3:47 PMacoustic-van-30942
01/31/2024, 7:40 PMancient-application-36103
02/06/2024, 6:04 AMsalmon-exabyte-11054
02/08/2024, 2:57 PMacoustic-van-30942
02/08/2024, 8:26 PM