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

acceptable-guitar-79854

12/10/2020, 10:21 AM
Just migrated from Bitbucket+Jenkins to Azure DevOps, when running any ./pants command (lint, typecheck, test) I get lots of "Filesystem changed during run: retrying ....". This took my build time from around 3 minutes to around 1 hour. Is there a way to display what files changed? 
-ldebug
 would do that?
f

fast-nail-55400

12/10/2020, 5:27 PM
It may, looking in
src/rust/engine/watch/src/lib.rs
, that code does have a debug-level log statement to dump what file was invalidated. https://github.com/pantsbuild/pants/blob/3df9838da3f669a05f79d37e970909e8adfe1088/src/rust/engine/watch/src/lib.rs#L203
🙏 1
The code about the filesystem changing during the run does not log the files that changed. https://github.com/pantsbuild/pants/blob/a1521c36db16747fcce5427d492a948a1a0dac14/src/rust/engine/graph/src/lib.rs#L540-L543
h

hundreds-father-404

12/10/2020, 5:30 PM
You'd want to inspect .pants.d/pantsd.log iirc. It has more info than console logging
🙏 1
☝️ 1
w

witty-crayon-22786

12/10/2020, 5:33 PM
my guess is that there are logs being written in the workspace that you can either
.gitignore
or add to
[GLOBAL] pants_ignore
🙏 1
👍 1
h

hundreds-father-404

12/10/2020, 5:35 PM
Cristian, double check that all of your caches are included in pants_ignore. Iirc, you're using them relative to the build root
Otherwise, every time something is written to lmdb_store, the file system would change 😶
a

acceptable-guitar-79854

12/10/2020, 5:51 PM
thanks for the suggestions, i will give that a go 😃 it is very likely to be one of those
2 Views