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

Azure pipeline cache failing on post step for newly create task that does not use cache #9050

Closed
romani opened this issue Nov 28, 2020 · 1 comment

Comments

@romani
Copy link
Member

romani commented Nov 28, 2020

from https://dev.azure.com/romanivanovjr/romanivanovjr/_build/results?buildId=61&view=logs&j=6a833393-c551-5000-0916-5000fd3b86e7&t=8e877b72-4354-455f-be21-5b9957f3a9f4&l=22

/home/vsts/work/1/.m2/repository: Cannot open: No such file or directory

Starting: Cache Maven local repo
==============================================================================
Task         : Cache
Description  : Cache files between runs
Version      : 2.0.1
Author       : Microsoft Corporation
Help         : https://aka.ms/pipeline-caching-docs
==============================================================================
Resolving key:
 - maven      [string]
 - "Linux"    [string]
 - **/pom.xml [file pattern; matches: 1]
   - s/pom.xml --> D6AEDD634EBF8AEC0B5B6B1654F03A8B87672EE60C4088CC9B1DA1E0D1013CBE
Resolved to: maven|"Linux"|eDzzK0VMUkxCzbxbCTAwxj2tOCjh25XDJFh2olz0vEc=
Resolving restore key:
 - maven   [string]
 - "Linux" [string]
Resolved to: maven|"Linux"|**
Resolving restore key:
 - maven [string]
Resolved to: maven|**
ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session b7fd020c-4f20-4ec1-99be-1b51f4fd0fc2
Getting a pipeline cache artifact with one of the following fingerprints:
Fingerprint: `maven|"Linux"|eDzzK0VMUkxCzbxbCTAwxj2tOCjh25XDJFh2olz0vEc=`
Fingerprint: `maven|"Linux"|**`
Fingerprint: `maven|**`
There is a cache miss.
ApplicationInsightsTelemetrySender correlated 1 events with X-TFS-Session b7fd020c-4f20-4ec1-99be-1b51f4fd0fc2
Finishing: Cache Maven local repo

after execution

Starting: Cache Maven local repo
==============================================================================
Task         : Cache
Description  : Cache files between runs
Version      : 2.0.1
Author       : Microsoft Corporation
Help         : https://aka.ms/pipeline-caching-docs
==============================================================================
Resolving key:
 - maven      [string]
 - "Linux"    [string]
 - **/pom.xml [file pattern; matches: 1]
   - s/pom.xml --> D6AEDD634EBF8AEC0B5B6B1654F03A8B87672EE60C4088CC9B1DA1E0D1013CBE
Resolved to: maven|"Linux"|eDzzK0VMUkxCzbxbCTAwxj2tOCjh25XDJFh2olz0vEc=
ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session 38114ba3-a0c5-4be3-9000-dfa21c6e5e6c
Getting a pipeline cache artifact with one of the following fingerprints:
Fingerprint: `maven|"Linux"|eDzzK0VMUkxCzbxbCTAwxj2tOCjh25XDJFh2olz0vEc=`
There is a cache miss.
tar: /home/vsts/work/1/.m2/repository: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
ApplicationInsightsTelemetrySender correlated 1 events with X-TFS-Session 38114ba3-a0c5-4be3-9000-dfa21c6e5e6c
##[error]Process returned non-zero exit code: 2
Finishing: Cache Maven local repo
@romani
Copy link
Member Author

romani commented Nov 28, 2020

fixed in bb104e2

by skip of Cache task

@romani romani closed this as completed Nov 28, 2020
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

1 participant