908c0c630a6c7c6e35b7bb0e172d41372bfb309d,python/ray/autoscaler/updater.py,NodeUpdater,wait_ready,#NodeUpdater#Any#,103

Before Change


                        retry_str = "(Exit Status {}): {}".format(
                            e.returncode, " ".join(e.cmd))
                    logger.debug(self.log_prefix +
                                 "Node not up, retrying: {}".format(retry_str))
                    time.sleep(READY_CHECK_INTERVAL)

        assert False, "Unable to connect to node"

After Change



                        self.cmd_runner.run("uptime")
                        cli_logger.old_debug(logger, "Uptime succeeded.")
                        cli_logger.success("Success.")
                        return True
                    except Exception as e:
                        retry_str = str(e)
                        if hasattr(e, "cmd"):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: ray-project/ray
Commit Name: 908c0c630a6c7c6e35b7bb0e172d41372bfb309d
Time: 2020-07-22
Author: maximsmol@gmail.com
File Name: python/ray/autoscaler/updater.py
Class Name: NodeUpdater
Method Name: wait_ready


Project Name: pytorch/pytorch
Commit Name: 88baf470d10819892898746c7a7f1f4ddf3ffcbc
Time: 2021-01-27
Author: meghanl@fb.com
File Name: torch/jit/_recursive.py
Class Name:
Method Name: infer_concrete_type_builder


Project Name: pantsbuild/pants
Commit Name: a3cb9c08f86c193f76336284580ff302981388d7
Time: 2019-04-13
Author: john.sirois@gmail.com
File Name: build-support/bin/check_pants_pex_abi.py
Class Name:
Method Name: main


Project Name: rusty1s/pytorch_geometric
Commit Name: ed8a78020e49f924a9389bb0d85f6a6d4de85cc8
Time: 2017-11-26
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/datasets/utils/progress.py
Class Name: Progress
Method Name: success