adventurous-judge-80222
02/08/2022, 9:31 PMremote_cache_read = true
remote_cache_write = true
remote_store_address = "<grpc://localhost:8980>"
remote_instance_name = "memory"
I could use help figuring out if the pants build actually hits the running remote cache instance.high-yak-85899
02/08/2022, 9:36 PMhigh-yak-85899
02/08/2022, 9:36 PM--local-cache=False
or whatever the flag was.high-yak-85899
02/08/2022, 9:37 PM--no-local-cache
high-yak-85899
02/08/2022, 9:37 PM./pants test
and, in the test summary, you'll see (cached remotely)
when it has pulled from the remote.high-yak-85899
02/08/2022, 9:38 PMadventurous-judge-80222
02/08/2022, 9:41 PMhigh-yak-85899
02/08/2022, 9:43 PMfast-nail-55400
02/08/2022, 9:46 PM--stats-log
to your Pants invocation to view the internal counters Pants hasfast-nail-55400
02/08/2022, 9:47 PMfast-nail-55400
02/08/2022, 9:50 PMremote_cache_requests
— total number of requests to remote cache
• `remote_cache_requests_cached`— number of requests where there was a cache hit
• remote_cache_requests_uncached
— number of requests where there was a cache missadventurous-judge-80222
02/08/2022, 9:55 PMremote_cache_requests: 4
remote_cache_requests_cached: 0
remote_cache_requests_uncached: 4
As you mentioned @high-yak-85899 its probably getting evicted due to its size. My end goal is to prototype a configuration where the client does not have the docker images in its local cache.high-yak-85899
02/08/2022, 9:56 PMadventurous-judge-80222
02/08/2022, 10:01 PMfast-nail-55400
02/08/2022, 10:02 PMProcess
executed by Pants. (The protobufs involved are the Action
and Command
protos from the Remote Execution API.)
Enable debug logging with -ldebug
and see if the Process
invocation by Pants have some difference which would vary their content from run to run.fast-nail-55400
02/08/2022, 10:03 PMhundreds-father-404
02/08/2022, 10:11 PM./pants lint
or ./pants test
when debugging remote cachinghigh-yak-85899
02/08/2022, 10:13 PMhundreds-father-404
02/08/2022, 10:14 PM