{"head_branch": "master", "contributor": "ftshijt", "sha_fail": "4925a8d5c47620270aba3ee5c39398abf47fb470", "sha_success": "23cb59f410a6c3caad9012f9c75a1986a21c3f1c", "language": "Python", "repo_owner": "s3prl", "repo_name": "s3prl", "workflow_name": "CI", "workflow_filename": "ci.yml", "workflow_path": ".github/workflows/ci.yml", "workflow": "name: CI\n\non:\n # Trigger the workflow on push to main or any pull request\n push:\n branches:\n - main\n pull_request:\n\njobs:\n build-and-test:\n\n strategy:\n matrix:\n os: [ubuntu-20.04]\n python-version: [3.8]\n torchaudio-version: [0.8.1, 0.9.1, 0.10.2, 0.11.0, 0.12.1]\n include:\n - os: ubuntu-20.04\n python-version: 3.7\n torchaudio-version: 0.11.0\n - os: ubuntu-20.04\n python-version: 3.9\n torchaudio-version: 0.8.1\n - os: ubuntu-20.04\n python-version: \"3.10\" # if not quoted, will be interpreted as 3.1\n torchaudio-version: 0.11.0\n\n runs-on: ${{ matrix.os }}\n\n steps:\n - uses: actions/checkout@v2\n\n - name: Set up Python ${{ matrix.python-version }}\n uses: actions/setup-python@v2\n with:\n python-version: ${{ matrix.python-version }}\n\n - name: Install Linux dependencies\n run: |\n sudo apt-get update\n sudo apt-get install -y libsndfile1-dev sox git git-lfs\n\n - name: Upgrade pip and wheel\n run: pip3 install --upgrade pip wheel\n\n - name: Install dependencies for tests\n run: pip3 install -r requirements/dev.txt\n\n - name: Check coding style by ci/format.py\n run: |\n ./ci/format.py --check\n\n # This can be very helpful for debugging\n # The action can create a SSH server for you to connect. After you\n # log into the machine hosted by GitHub, it becomes easy to debug\n # why the CI fails on a specific machine.\n\n # - name: Setup upterm session\n # uses: lhotari/action-upterm@v1\n\n - name: Run tox for common upstream\n run: |\n tox -e common_upstream-audio${{ matrix.torchaudio-version }}\n\n # Not all upstreams will be tested on CI since this will take too much time\n # To test all upstreams, run tox locally with '-e all_upstream'\n\n # - name: Run tox for all other functionalities\n # run: |\n # tox -e all_others-deps_all-audio${{ matrix.torchaudio-version }}\n", "logs": "common_upstream-audio0.11.0 create: /home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0\ncommon_upstream-audio0.11.0 inst: /home/runner/work/s3prl/s3prl/.tox/.tmp/package/1/s3prl-0.4.10.zip\ncommon_upstream-audio0.11.0 installed: antlr4-python3-runtime==4.9.3,certifi==2023.7.22,charset-normalizer==3.3.0,filelock==3.12.2,fsspec==2023.1.0,huggingface-hub==0.16.4,idna==3.4,importlib-metadata==6.7.0,numpy==1.21.6,nvidia-cublas-cu11==11.10.3.66,nvidia-cuda-nvrtc-cu11==11.7.99,nvidia-cuda-runtime-cu11==11.7.99,nvidia-cudnn-cu11==8.5.0.96,omegaconf==2.3.0,packaging==23.2,protobuf==3.20.3,PyYAML==6.0.1,regex==2023.10.3,requests==2.31.0,s3prl @ file:///home/runner/work/s3prl/s3prl/.tox/.tmp/package/1/s3prl-0.4.10.zip#sha256=e8442f550b5e81b813e520dc03ed1efec5e786eb46d6d10017560df6ccdfcc5d,safetensors==0.3.3,tokenizers==0.13.3,torch==1.13.1,torchaudio==0.13.1,tqdm==4.66.1,transformers==4.30.2,typing_extensions==4.7.1,urllib3==2.0.6,zipp==3.15.0\ncommon_upstream-audio0.11.0 run-test-pre: PYTHONHASHSEED='1167914577'\ncommon_upstream-audio0.11.0 run-test: commands[0] | /home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/bin/python -m pip install torchaudio==0.11.0\nCollecting torchaudio==0.11.0\n Downloading torchaudio-0.11.0-cp37-cp37m-manylinux1_x86_64.whl (2.9 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 2.9/2.9 MB 45.2 MB/s eta 0:00:00\nCollecting torch==1.11.0 (from torchaudio==0.11.0)\n Downloading torch-1.11.0-cp37-cp37m-manylinux1_x86_64.whl (750.6 MB)\n \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501 750.6/750.6 MB 1.2 MB/s eta 0:00:00\nRequirement already satisfied: typing-extensions in /home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/lib/python3.7/site-packages (from torch==1.11.0->torchaudio==0.11.0) (4.7.1)\nInstalling collected packages: torch, torchaudio\n Attempting uninstall: torch\n Found existing installation: torch 1.13.1\n Uninstalling torch-1.13.1:\n Successfully uninstalled torch-1.13.1\n Attempting uninstall: torchaudio\n Found existing installation: torchaudio 0.13.1\n Uninstalling torchaudio-0.13.1:\n Successfully uninstalled torchaudio-0.13.1\nSuccessfully installed torch-1.11.0 torchaudio-0.11.0\n\n[notice] A new release of pip is available: 23.1 -> 23.2.1\n[notice] To update, run: pip install --upgrade pip\ncommon_upstream-audio0.11.0 run-test: commands[1] | /home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/bin/python -c 'import s3prl; from s3prl.nn import S3PRLUpstream;'\nTraceback (most recent call last):\n File \"/home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/lib/python3.7/site-packages/s3prl/upstream/espnet_hubert/expert.py\", line 12, in \n from espnet2.tasks.hubert import HubertTask\nModuleNotFoundError: No module named 'espnet2'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"\", line 1, in \n File \"/home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/lib/python3.7/site-packages/s3prl/nn/__init__.py\", line 12, in \n from .upstream import Featurizer, S3PRLUpstream\n File \"/home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/lib/python3.7/site-packages/s3prl/nn/upstream.py\", line 14, in \n from s3prl import hub\n File \"/home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/lib/python3.7/site-packages/s3prl/hub.py\", line 14, in \n from s3prl.upstream.espnet_hubert.hubconf import *\n File \"/home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/lib/python3.7/site-packages/s3prl/upstream/espnet_hubert/hubconf.py\", line 3, in \n from .expert import UpstreamExpert as _UpstreamExpert\n File \"/home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/lib/python3.7/site-packages/s3prl/upstream/espnet_hubert/expert.py\", line 15, in \n logger.warnning(\"ESPnet is not installed, cannot use espnet_hubert upstream\")\nAttributeError: 'Logger' object has no attribute 'warnning'\nERROR: InvocationError for command /home/runner/work/s3prl/s3prl/.tox/common_upstream-audio0.11.0/bin/python -c 'import s3prl; from s3prl.nn import S3PRLUpstream;' (exited with code 1)\n___________________________________ summary ____________________________________\nERROR: common_upstream-audio0.11.0: commands failed\n##[error]Process completed with exit code 1.\n", "diff": "diff --git a/s3prl/upstream/espnet_hubert/expert.py b/s3prl/upstream/espnet_hubert/expert.py\nindex b76fcc48..27694982 100644\n--- a/s3prl/upstream/espnet_hubert/expert.py\n+++ b/s3prl/upstream/espnet_hubert/expert.py\n@@ -12,7 +12,7 @@ try:\n from espnet2.tasks.hubert import HubertTask\n except ModuleNotFoundError:\n HuBERTTask = None\n- logger.warnning(\"ESPnet is not installed, cannot use espnet_hubert upstream\")\n+ logger.warning(\"ESPnet is not installed, cannot use espnet_hubert upstream\")\n \n \n class UpstreamExpert(torch.nn.Module):\n"}