bacalhau-project / bacalhau

Compute over Data framework for public, transparent, and optionally verifiable computation
https://docs.bacalhau.org
Apache License 2.0
676 stars 88 forks source link

Bad error on "failed validation" #4224

Open aronchick opened 3 months ago

aronchick commented 3 months ago

We're still passing raw go failures through.

the job provided is invalid: task Run over share validation failed: artifact validation failed: missing artifact target

Job:

Name: Run Over Share
Namespace: science
Type: ops
Count: 1
Tasks:
  - Name: Run over share
    InputSources:
      - Source:
          Type: localDirectory
          Params:
            SourcePath: /mnt/azureshare
            ReadWrite: true
          Target: /azureshare
    Engine:
      Type: docker
      Params:
        # the docker container that will download videos and perform inference
        Image: docker.io/bacalhauproject/python-runner:0.0.4
        EnvironmentVariables:
          - COLOR=blue
          - COMMAND="print('hello world')"
    Network:
      # this job requires networking to download content from buckets
      Type: full
    Resources:
      # dependent on compute nodes, this is based on e2-standard-8
      CPU: "1"
      Memory: "1GB"
      Disk: "1GB"
wdbaruni commented 3 days ago

still not generating good errors with v1.5.0

bacalhau job run run-over-share.yaml
Error: the job provided is invalid: task Run over share validation failed: artifact validation failed: missing artifact target