https://pantsbuild.org/ logo
#general
Title
# general
c

cold-soccer-63228

07/28/2022, 3:32 PM
Copy code
15:27:54.17 [INFO] Initializing scheduler...
15:27:54.43 [INFO] Scheduler initialized.
15:28:38.57 [ERROR] 1 Exception encountered:
  Exception: Snapshot failed: Failed to digest inputs: Throw { val: Failed to watch filesystem for `/builds/path/to/file.py`: Error { kind: MaxFilesWatch, paths: ["/builds/path/to/file.py] }, python_traceback: "Traceback (no traceback):\n  <pants native internals>\nException: Failed to watch filesystem for `/builds/path/to/file.py`: Error { kind: MaxFilesWatch, paths: [\"/builds/path/to/file.py\"] }", engine_traceback: ["digest_file"] }
Has anyone seen this type of error before? I’m running
./pants list ::
on a Gitlab CI/CD job. This is what my
pants.ci.toml
looks like.
Copy code
[GLOBAL]
pantsd = false
watch_filesystem = false

local_store_dir = ".cache/pants/lmdb_store"
named_caches_dir = ".cache/pants/named_caches"

process_execution_local_parallelism = 8
w

witty-crayon-22786

07/28/2022, 3:38 PM
hm. that sure looks like
watch_filesystem
is not being obeyed. are you definitely enabling use of
pants.ci.toml
for the relevant run?
c

cold-soccer-63228

07/28/2022, 3:38 PM
Ahh, I’m not. 😳 That’s probably it. Thanks!
👍 1
7 Views