stocky-raincoat-64723
02/23/2022, 4:09 PMenough-analyst-54434
02/23/2022, 4:21 PMclean-night-52582
02/23/2022, 4:21 PMinstanceNamePrefix
to be for the runners? Pants is looking for runners with the name main
which probably don't exists. https://github.com/buildbarn/bb-remote-execution/blob/master/pkg/proto/remoteworker/remoteworker.proto#L54enough-analyst-54434
02/23/2022, 4:26 PMstocky-raincoat-64723
02/23/2022, 4:55 PM{
blobstore: common.blobstore,
maximumMessageSizeBytes: common.maximumMessageSizeBytes,
scheduler: { address: 'scheduler:8983' },
httpListenAddress: common.httpListenAddress,
maximumMemoryCachedDirectories: 1000,
instanceName: 'remote-execution',
browserUrl: common.browserUrl,
buildDirectories: [{
native: {
buildDirectoryPath: '/worker/build',
cacheDirectoryPath: '/worker/cache',
maximumCacheFileCount: 10000,
maximumCacheSizeBytes: 1024 * 1024 * 1024,
cacheReplacementPolicy: 'LEAST_RECENTLY_USED',
},
runners: [{
endpoint: { address: 'unix:///worker/runner' },
concurrency: 8,
platform: {
properties: [
{ name: 'OSFamily', value: 'Linux' },
{ name: 'container-image', value: '<docker://marketplace.gcr.io/google/rbe-ubuntu16-04@sha256:b516a2d69537cb40a7c6a7d92d0008abb29fba8725243772bdaf2c83f1be2272>' },
],
},
defaultExecutionTimeout: '1800s',
maximumExecutionTimeout: '3600s',
workerId: {
'pod': std.extVar("POD_NAME"),
'node': std.extVar("NODE_NAME")
},
}],
}],
}
fast-nail-55400
02/23/2022, 5:07 PMcontainer-image
property is defined on the worker and is not being sent by Pants.stocky-raincoat-64723
02/23/2022, 5:08 PMfast-nail-55400
02/23/2022, 5:09 PMstocky-raincoat-64723
02/23/2022, 5:21 PMstocky-raincoat-64723
02/23/2022, 5:24 PMfast-nail-55400
02/23/2022, 5:24 PMfast-nail-55400
02/23/2022, 5:27 PMAlso has pants.backend.experimental.docker been tested with remote execution?Not to my knowledge. Also, given how the Docker cache is machine-specific, if your remote execution setup uses multiple machines, some Docker steps could be redone since the Docker cache for a specific worker might not have run an earlier build action.
fast-nail-55400
02/23/2022, 5:27 PMstocky-raincoat-64723
02/23/2022, 5:28 PM