Open thejcannon opened 2 years ago
The log confirms the file is in fact "src/python/pants/option/option_types.py"
this also happens when running the tailor goal on a repo as part of the when onboarding a repo to pants.
Filesystem changed during run: retrying
TailorGoalin 500ms.
For the record: the goal won't actually restart (because it will have marked itself as side-effected via), so this is purely a spurious message. But yea, let's keep this open until we can tackle it via either #10705 or #10542.
I can report the same thing happening to me with test
as well.
I am new to Pants and I have a monorepo setup which I am currently trying to migrate to work it. So far I have been successful, but one of the "packages" is struggling with the error above. The message itself is not very descriptive, so I am not sure where the issue lies and how to tackle it... Any help/explanation appreciated!
$ ./pants test foo/bar.py
15:50:48.17 [INFO] Initializing scheduler...
15:50:48.34 [INFO] Scheduler initialized.
15:51:02.54 [INFO] Filesystem changed during run: retrying `Test` in 500ms...
15:51:02.55 [INFO] Canceled: Building requirements.pex with 44 requirements: [...]
15:52:02.59 [INFO] Filesystem changed during run: retrying `Test` in 500ms...
15:52:02.65 [INFO] Canceled: Building requirements.pex with 44 requirements: [...]
...
The message itself is not very descriptive, so I am not sure where the issue lies and how to tackle it... Any help/explanation appreciated!
Sorry about that! The actual file changing will be mentioned in .pants.d/pants.log
. Once you determine which file is changing, you'll likely want to ignore it via either .gitignore
, or the [GLOBAL].pants_ignore
setting.
Describe the bug
Pants version
4b335cdccfebcbd1f92caaa5fef7d5ca161c7226
OS Linux
Additional info N/A