From b7d97c24ec45c3ee769bcd8b98978659ca29a31f Mon Sep 17 00:00:00 2001 From: approxit Date: Tue, 7 Nov 2023 16:14:03 +0100 Subject: [PATCH] tmp --- .github/workflows/smoke_tests.yml | 12 ++++++++---- ray_on_golem/server/services/yagna.py | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/smoke_tests.yml b/.github/workflows/smoke_tests.yml index 2e56084b..08ea45a3 100644 --- a/.github/workflows/smoke_tests.yml +++ b/.github/workflows/smoke_tests.yml @@ -19,19 +19,23 @@ jobs: with: python-version: "3.10" + - name: Install poetry + uses: Gr1N/setup-poetry@v8 + - name: Install dependencies - run: pipx run --spec poetry==1.6.1 poetry install --no-ansi + run: poetry install --no-ansi - name: Call `ray up` env: PYTHONUNBUFFERED: 1 - run: pipx run poetry run ray up golem-cluster-dev.yaml -y + RUST_LOG: "INFO,ya_erc20_driver::erc20::wallet=debug" + run: poetry run ray up golem-cluster-dev.yaml -y - name: Run examples/calculate.pi - run: pipx run poetry run ray submit golem-cluster-dev.yaml examples/calculate_pi.py + run: poetry run ray submit golem-cluster-dev.yaml examples/calculate_pi.py - name: Call `ray down` - run: pipx run poetry run ray down golem-cluster-dev.yaml -y + run: poetry run ray down golem-cluster-dev.yaml -y - name: Collects logs if: always() diff --git a/ray_on_golem/server/services/yagna.py b/ray_on_golem/server/services/yagna.py index 761b1142..5faaad3a 100644 --- a/ray_on_golem/server/services/yagna.py +++ b/ray_on_golem/server/services/yagna.py @@ -152,7 +152,7 @@ async def _run_yagna_payment_fund(self) -> None: logger.debug('Preparing testnet fund...') try: await run_subprocess_output(self._yagna_path, "payment", "fund") - await asyncio.sleep(5) # FIXME: Funds are sometime not available ASAP + # await asyncio.sleep(5) # FIXME: Funds are sometime not available ASAP except RayOnGolemError as e: logger.error('Preparing testnet fund failed with error: %s', e) else: