Skip to content

/dev/null in action cache, remote caches, etc ( /cas/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 ) #13349

@jerrymarino

Description

@jerrymarino

Description of the problem / feature request:

Hello! I noticed today about 100x more requests for a certian object in a remote http cache. /cas/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

git clone https://github.com/bazelbuild/rules_apple.git
cd rules_apple 
bazel build examples/ios/PrenotCalculator:PrenotCalculator --disk_cache=/tmp/disk-cache --appe_platform_type=ios
grep -r -a 2 e3b0c /tmp/disk_cache/

What operating system are you running Bazel on?

macOS

What's the output of bazel info release?

Happens on 3x and 4x releases, dev builds

What's the output of git remote get-url origin ; git rev-parse master ; git rev-parse HEAD ?

https://github.com/bazelbuild/rules_apple.git

Have you found anything relevant by searching the web?

#11063
#6260

Any other information, logs, or outputs that you want to share?

$ grep -r -B 2 e3b0c /tmp/disk_cache/
/tmp/disk_cache//ac/ac/acc0ca28dbfd1fbba3851db7fab5db5e423dbc2e1e15a5d35a5fe8d8052439b7-Hbazel-out/apl-ios_x86_64-dbg/bin/tests/ios/app/_objs/App_objc/arc/main.dF
/tmp/disk_cache//ac/ac/acc0ca28dbfd1fbba3851db7fab5db5e423dbc2e1e15a5d35a5fe8d8052439b7-@2a034b09ad418213cad1f5da6c4903187ec852c7c76a0dd29f370269424495c6
                                                       2B
/tmp/disk_cache//ac/ac/acc0ca28dbfd1fbba3851db7fab5db5e423dbc2e1e15a5d35a5fe8d8052439b7:@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855BB
/tmp/disk_cache//ac/ac/acc0ca28dbfd1fbba3851db7fab5db5e423dbc2e1e15a5d35a5fe8d8052439b7:@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
--
/tmp/disk_cache//ac/f3/f3426f6e10e763deaf5de9d168186ba868e1f061cae95b5223a16d3e3dca0081-1bazel-out/host/bin/rules/hmap/_objs/lines/lines.dF
/tmp/disk_cache//ac/f3/f3426f6e10e763deaf5de9d168186ba868e1f061cae95b5223a16d3e3dca0081-@01554c275a4061479192d6fd5869ae3c34a78f6985ae847cdfbba51616970628Ї2B
/tmp/disk_cache//ac/f3/f3426f6e10e763deaf5de9d168186ba868e1f061cae95b5223a16d3e3dca0081:@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855BB
/tmp/disk_cache//ac/f3/f3426f6e10e763deaf5de9d168186ba868e1f061cae95b5223a16d3e3dca0081:@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
--
/tmp/disk_cache//ac/9a/9a433bc1302018f5d768e37d68507f701c3fb21b63c683e2803e6fc9bd529042-8bazel-out/host/bin/rules/hmap/_objs/hmaptool/hmapbuild.dF
/tmp/disk_cache//ac/9a/9a433bc1302018f5d768e37d68507f701c3fb21b63c683e2803e6fc9bd529042-@354fa08a651cb10d077192727c78dee725e9f1467ffaabe0fac3289c2419fd222B
/tmp/disk_cache//ac/9a/9a433bc1302018f5d768e37d68507f701c3fb21b63c683e2803e6fc9bd529042:@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855BB
/tmp/disk_cache//ac/9a/9a433bc1302018f5d768e37d68507f701c3fb21b63c683e2803e6fc9bd529042:@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
--
/tmp/disk_cache//ac/1b/1b769b94ca345c4aea2d785da6850e8bfc35108a0976e66815ca088173c2d2e7-/bazel-out/host/bin/rules/hmap/_objs/hmap/hmap.dF
/tmp/disk_cache//ac/1b/1b769b94ca345c4aea2d785da6850e8bfc35108a0976e66815ca088173c2d2e7-@8d56a4be7607d0a7855f7572aed83cde4bac913af59d6171e34e92b12f1ee3c42B
/tmp/disk_cache//ac/1b/1b769b94ca345c4aea2d785da6850e8bfc35108a0976e66815ca088173c2d2e7:@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855BB
/tmp/disk_cache//ac/1b/1b769b94ca345c4aea2d785da6850e8bfc35108a0976e66815ca088173c2d2e7:@e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

It seems like this object is in AC entries and potentially related to runfiles / and or middlemen for thise runfiles

Metadata

Metadata

Assignees

Labels

P1I'll work on this now. (Assignee required)team-Remote-ExecIssues and PRs for the Execution (Remote) teamtype: feature request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions