-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
Description
Here is a sample PR that has a minimal change just to trigger the pipeline.
The build fails with the following log:
My best guess is a corrupt/cached venv environment.
11:55:36 AM: build-image version: 235a96ed6c11cbdf942eed7e70e6802956f9b464 (focal)
11:55:36 AM: buildbot version: bbc21dac11d2294a9d0d8a7cf18850f179f7f76b
11:55:36 AM: Fetching cached dependencies
11:55:36 AM: Starting to download cache of 314.7MB (Last modified: 2025-07-07 19:55:41 +0000 UTC)
11:55:37 AM: Finished downloading cache in 604ms
11:55:37 AM: Starting to extract cache
11:55:40 AM: Finished extracting cache in 2.836s
11:55:40 AM: Finished fetching cache in 3.497s
11:55:40 AM: Starting to prepare the repo for build
11:55:40 AM: Preparing Git Reference pull/344/head
11:55:41 AM: Custom build command detected. Proceeding with the specified command: 'pipenv install --dev && make preview-build'
11:55:42 AM: Starting to install dependencies
11:55:42 AM: Started restoring cached mise cache
11:55:42 AM: Finished restoring cached mise cache
11:55:42 AM: Fallback to default: 3.13
11:55:43 AM: mise [email protected] install
11:55:43 AM: mise [email protected] download cpython-3.9.23+20250712-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
11:55:43 AM: mise [email protected] extract cpython-3.9.23+20250712-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
11:55:44 AM: mise [email protected] python --version
11:55:44 AM: mise [email protected] Python 3.9.23
11:55:44 AM: mise [email protected] ✓ installed
11:55:44 AM: mise WARN python is defined in /opt/build/repo/.mise.toml which overrides the global config (~/.config/mise/config.toml)
11:55:44 AM: Python version set to 3.9
11:55:44 AM: Found Pipfile restoring Pipenv virtualenv
11:55:44 AM: Started restoring cached python virtualenv
11:55:44 AM: Finished restoring cached python virtualenv
11:55:45 AM: Collecting pipenv
11:55:45 AM: Downloading pipenv-2025.0.4-py3-none-any.whl.metadata (17 kB)
11:55:45 AM: Collecting certifi (from pipenv)
11:55:45 AM: Downloading certifi-2025.7.14-py3-none-any.whl.metadata (2.4 kB)
11:55:45 AM: Collecting packaging>=22 (from pipenv)
11:55:45 AM: Downloading packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
11:55:45 AM: Requirement already satisfied: setuptools>=67 in /opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages (from pipenv) (80.9.0)
11:55:45 AM: Collecting virtualenv>=20.24.2 (from pipenv)
11:55:45 AM: Downloading virtualenv-20.31.2-py3-none-any.whl.metadata (4.5 kB)
11:55:45 AM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
11:55:45 AM: Downloading distlib-0.4.0-py2.py3-none-any.whl.metadata (5.2 kB)
11:55:45 AM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
11:55:45 AM: Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
11:55:45 AM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
11:55:45 AM: Downloading platformdirs-4.3.8-py3-none-any.whl.metadata (12 kB)
11:55:45 AM: Downloading pipenv-2025.0.4-py3-none-any.whl (2.9 MB)
11:55:45 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 68.6 MB/s eta 0:00:00
11:55:45 AM: Downloading packaging-25.0-py3-none-any.whl (66 kB)
11:55:45 AM: Downloading virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
11:55:45 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.1/6.1 MB 66.8 MB/s eta 0:00:00
11:55:45 AM: Downloading certifi-2025.7.14-py3-none-any.whl (162 kB)
11:55:45 AM: Downloading distlib-0.4.0-py2.py3-none-any.whl (469 kB)
11:55:45 AM: Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
11:55:45 AM: Downloading platformdirs-4.3.8-py3-none-any.whl (18 kB)
11:55:45 AM: Installing collected packages: distlib, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
11:55:47 AM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
11:55:47 AM: Successfully installed certifi-2025.7.14 distlib-0.4.0 filelock-3.18.0 packaging-25.0 pipenv-2025.0.4 platformdirs-4.3.8 virtualenv-20.31.2
11:55:47 AM: [notice] A new release of pip is available: 24.3.1 -> 25.1.1
11:55:47 AM: [notice] To update, run: pip install --upgrade pip
11:55:47 AM: Installing dependencies from Pipfile
11:55:47 AM: To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
11:55:47 AM: Installing dependencies from Pipfile.lock (9894f1)...
11:55:47 AM: Traceback (most recent call last):
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/bin/pipenv", line 8, in <module>
11:55:47 AM: sys.exit(cli())
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1157, in __call__
11:55:47 AM: return self.main(*args, **kwargs)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/cli/options.py", line 51, in main
11:55:47 AM: return super().main(*args, **kwargs, windows_expand_args=False)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1078, in main
11:55:47 AM: rv = self.invoke(ctx)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1688, in invoke
11:55:47 AM: return _process_result(sub_ctx.command.invoke(sub_ctx))
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 1434, in invoke
11:55:47 AM: return ctx.invoke(self.callback, **ctx.params)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 783, in invoke
11:55:47 AM: return __callback(*args, **kwargs)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/vendor/click/decorators.py", line 92, in new_func
11:55:47 AM: return ctx.invoke(f, obj, *args, **kwargs)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/vendor/click/core.py", line 783, in invoke
11:55:47 AM: return __callback(*args, **kwargs)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/cli/command.py", line 208, in install
11:55:47 AM: do_install(
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/routines/install.py", line 349, in do_install
11:55:47 AM: raise e
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/routines/install.py", line 335, in do_install
11:55:47 AM: do_install_dependencies(
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/routines/install.py", line 538, in do_install_dependencies
11:55:47 AM: batch_install(
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/routines/install.py", line 603, in batch_install
11:55:47 AM: deps_to_install = [
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/routines/install.py", line 606, in <listcomp>
11:55:47 AM: if not project.environment.is_satisfied(dep)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/project.py", line 517, in environment
11:55:47 AM: self._environment = self.get_environment(allow_global=allow_global)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/project.py", line 503, in get_environment
11:55:47 AM: environment = Environment(
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/environment.py", line 87, in __init__
11:55:47 AM: self._base_paths = self.get_paths()
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/environment.py", line 344, in get_paths
11:55:47 AM: c = subprocess_run(command)
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/site-packages/pipenv/utils/processes.py", line 71, in subprocess_run
11:55:47 AM: return subprocess.run(
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/subprocess.py", line 505, in run
11:55:47 AM: with Popen(*popenargs, **kwargs) as process:
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/subprocess.py", line 951, in __init__
11:55:47 AM: self._execute_child(args, executable, preexec_fn, close_fds,
11:55:47 AM: File "/opt/buildhome/.local/share/mise/installs/python/3.9.23/lib/python3.9/subprocess.py", line 1837, in _execute_child
11:55:47 AM: raise child_exception_type(errno_num, err_msg, err_filename)
11:55:47 AM: FileNotFoundError: [Errno 2] No such file or directory: '/opt/build/repo/.venv/bin/python'
11:55:47 AM: Error installing Pipenv dependencies
11:55:47 AM: Failing build: Failed to install dependencies