Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage: improve error on missing output file #468

Open
buchanae opened this issue Jan 29, 2018 · 1 comment
Open

storage: improve error on missing output file #468

buchanae opened this issue Jan 29, 2018 · 1 comment

Comments

@buchanae
Copy link
Contributor

The task outputs:

  "outputs": [
    {
      "name": "out",
      "url": "file:///mnt/funnel/dne/dne.txt",
      "path": "/opt/funnel/outputs/mnt/funnel/dne/dne.txt"
    }
  ],

The error log:

level | error
msg | Upload failed
error | failed to eval symlinks: lstat /mnt/exa/funnel/funnel-work-dir/b9no2ofntf6mbcjc5pk0/opt/funnel/outputs/mnt/funnel/dne/dne.txt: no such file or directory
url | file:///mnt/funnel/dne/dne.txt

The path /mnt/exa/funnel/funnel-work-dir is a VM host path and internal detail that isn't known by the user. Also, lstat isn't known by the user either.

We can probably improve this to something like Missing output file: /opt/funnel/outputs/mnt/funnel/dne/dne.txt

@adamstruck
Copy link
Contributor

#552 addresses this for swift only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants