pull step reported a SUCCESS even if the a artifact was not found in the cache server

Summary

This is

  • confusing
  • makes difficult to debug anything with the cache server, as is not possible to know if the artifacts are actually not there or they are they are but they are not being pulled from some reason

Steps to reproduce

  • Configure a bst project to use a cache server
  • This cache server is populated with the correct artifacts
  • Try to build
  • The build logs doesn't show any error / warning / log message about missing artifacts, even the pull step is SUCCESS
  • (for this project) bst still tries to build everything from scratch, when it should get things from the cache server

What is the current bug behavior?

  • Lack of logging to debug the problem

What is the expected correct behavior?

  • If the artifact is not in the artifact cache, at least a SKIPPED message should appear, better the SUCCESS

Other relevant information

  • BuildStream version affected: 1.1.6
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information