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

windows ci artifacts aren't collected upon failure #601

Closed
philrz opened this issue Apr 13, 2020 · 3 comments
Closed

windows ci artifacts aren't collected upon failure #601

philrz opened this issue Apr 13, 2020 · 3 comments
Labels
test Creating/improving test automation

Comments

@philrz
Copy link
Contributor

philrz commented Apr 13, 2020

@mikesbrown explains:


https://github.com/brimsec/brim/runs/524561824

Run actions/upload-artifact@v11s
##[error]Exit code 1 returned from process: file name 'c:\runners\2.165.2\bin\Runner.PluginHost.exe', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.
Run actions/upload-artifact@v1
  with:
    name: artifacts
    path: /var/tmp/brimsec/logs
Uploading artifact 'artifacts' from 'D:\var\tmp\brimsec\logs' for run #185
Uploading 5 files
File error 'The process cannot access the file 'D:\var\tmp\brimsec\logs\smoke.test.js1-chromedriver.log' because it is being used by another process.' when uploading file 'D:\var\tmp\brimsec\logs\smoke.test.js1-chromedriver.log'.
File error 'The process cannot access the file 'D:\var\tmp\brimsec\logs\smoke.test.js2-chromedriver.log' because it is being used by another process.' when uploading file 'D:\var\tmp\brimsec\logs\smoke.test.js2-chromedriver.log'.
Associated artifact artifacts (1115537) with run #185
##[error]The process cannot access the file 'D:\var\tmp\brimsec\logs\smoke.test.js2-chromedriver.log' because it is being used by another process.
##[error]Exit code 1 returned from process: file name 'c:\runners\2.165.2\bin\Runner.PluginHost.exe', arguments 'action "GitHub.Runner.Plugins.Artifact.PublishArtifact, Runner.Plugins"'.

This isn't a problem on windows in general.

A test branch where this is applied

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 320fd72c..86ab496f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -67,7 +67,6 @@ jobs:
         # collection.
         WORKSPACE: /var/tmp/brimsec
     - uses: actions/upload-artifact@v1
-      if: failure()
       with:
         name: artifacts
         path: /var/tmp/brimsec/logs

is able to collect artifacts.

https://github.com/brimsec/brim/runs/528634251

@philrz philrz added the test Creating/improving test automation label Apr 13, 2020
@alfred-landrum
Copy link
Contributor

@mikesbrown : did we fix this with the windows ci work last week?

@mikesbrown
Copy link
Contributor

@alfred-landrum I hadn't had an opportunity to notice. I went back and found https://github.com/brimsec/brim/runs/596826483 which contains artifacts. Interestingly those failures are on master and nothing I've seen before. I'll follow up on them.

@mikesbrown
Copy link
Contributor

I'll follow up on them.

brimdata/super#613

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

No branches or pull requests

3 participants