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

[BUG]: Cache@2 post-job task fails with cache miss. #20327

Open
3 of 7 tasks
KristofKuli opened this issue Aug 21, 2024 · 2 comments
Open
3 of 7 tasks

[BUG]: Cache@2 post-job task fails with cache miss. #20327

KristofKuli opened this issue Aug 21, 2024 · 2 comments
Assignees

Comments

@KristofKuli
Copy link

New issue checklist

Task name

Cache

Task version

2.198.0

Issue Description

We have changed the agent OS from Ubuntu 20.04 to Ubuntu 22.04 on Sunday. The post-job task started failing on Monday with the below error. Not sure, if there's a connection.

ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session 9a431a4b-9b32-45aa-b769-ee2bca3e25c5
Hashtype: Dedup64K
Getting a pipeline cache artifact with one of the following fingerprints:
Fingerprint: maven|"Linux"|bIjAKEakSbp/JMQZyD67LS3l81FORfRwQ0qY+stXFgg=
There is a cache miss.
tar: a6aa7fcb8e144f0cb64016f69198ed8a_archive.tar: Wrote only 4096 of 10240 bytes
tar: Error is not recoverable: exiting now
ApplicationInsightsTelemetrySender correlated 1 events with X-TFS-Session 9a431a4b-9b32-45aa-b769-ee2bca3e25c5
##[error]Process returned non-zero exit code: 2
Finishing: Cache Maven local repo

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 22.04

Relevant log output

Starting: Cache Maven local repo
    ==============================================================================
    Task         : Cache
    Description  : Cache files between runs
    Version      : 2.198.0
    Author       : Microsoft Corporation
    Help         : https://aka.ms/pipeline-caching-docs
    ==============================================================================
    Resolving key:
     - maven      [string]
     - "Linux"    [string]
     - **/pom.xml [file pattern; matches: 74]
       - s/pom.xml                                                              --> F7856DB5BE038D7B9F5DB8406BA4A1FE69D3EC52667B0FDDF1DC656790F71523
       - s/sr-eampr-application-web/pom.xml                                     --> 41E79975E5B8DFA3BFACB0F6BBA019F4E7A5B3558547AAA512814BCFCD25D8E6
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> E9B47FF610DAC0A689D987F4FEB54349EDD73E4BB56C27C9DFF198F032EC8531
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 4ABAF6620F3EF403398C43981454C8D38BCEBDCCB3F2EAF868530CF1390D932B
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> D62CDABE6F9C2973BE50D687743E47AFE33879AD0E8319128D83532B183567AA
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 97737488043DD76790F27ABFB0BE694AF9B4BBDB9C3EA1C8662FF920A230C0D2
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> F549ABE8D4BC6826E15CC236710F954D719166D0ECB8C62F6DCD2AD72C11AE79
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 59D9B404EFB0A690622B6CA6A9CB8B2DCFE16464EF669429E2CA270D8FFB00FF
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 35D7523A575960E0B05EDE11607C4DA6CB0338B21E970D8FB93246ADE1EC67C3
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 74D26A0D19500B7E49A1414B06FDA5678E96BDC40D518BEA069D5ED33062E4B8
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 3B0EFB29F384F894EFF929E36A430DE3278B3B4B77EDBD72B81FFEBEFBB2E51F
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> F5B77D9BC49DE74FA2CA488FD5D56DDFD14265D632627D24B78E69BECBCD6AC0
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 7364809F4DD49EDF233E346A5FBB16DA72AED053F44A03CFEA04FFB7F1272637
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 1433813BF60C9DA8B331ACF30048D754638C4507692EE1B58AD0090235D3AA4B
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 6146A4D286CDE8B00AB49FBAF8CD8792CBAAAAA7D51224D110A30DE6B97C5C61
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 60F4CFCA9E40EF0BC979C72D122538EBFEB0A23F03A90B4FAE2B43324BCE7AA8
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 200558267315D7E8656E50A83548EA39DD9FF148EAD89B24FBD41CEC0716C4CE
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 7B2D2CB3BD8DC2255532F63ED23FD734592A5155434146C4C608211841B4CDB4
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> FD1766BF9305C25A5F3057BD47CE38F9044F7A2340E404EE27D40BD65A344E5F
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> EE8F30C9C9EB823EFA1064F403CDF2061B6D92C0F78C1D0FB43C4475FC4289BF
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 1B26F9995286A762E02B7D0D5ADA13803989469721AF532E025BD4BE84954EC7
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 19E44A3D89247F86D59E5D1D3FDF0850EC653DD1825A7ECDB91F3F76C044EEB5
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 8A55E9F67780C0F9E69354507DFDF0BB30080AB57B6C33D6547177A25D0954CB
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 1B165509E4BC7EF5E132C8BA0C3639E64BBE21F1A92105151BFC94081F6D1C7B
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 7952A5E78A0A2F9140D0033F4E454A93A7AF39248BF59FE2DF63831D1797A217
       - s/sr-eampr-application-web/target/sr-eampr-application-web-1.0.1-SN... --> 417FF820F50AD63551A75979101D279E8982FE23B40F7A7F87638752820B89E6
    Max dedup parallelism: 192
    DomainId: 0
    ApplicationInsightsTelemetrySender will correlate events with X-TFS-Session 9a431a4b-9b32-45aa-b769-ee2bca3e25c5
    Hashtype: Dedup64K
    Getting a pipeline cache artifact with one of the following fingerprints:
    Fingerprint: `maven|"Linux"|bIjAKEakSbp/JMQZyD67LS3l81FORfRwQ0qY+stXFgg=`
    There is a cache miss.

Full task logs with system.debug enabled

 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

No response

@KristofKuli KristofKuli changed the title [BUG]: Cache@2 post-job task fails with [BUG]: Cache@2 post-job task fails with cache miss. Aug 21, 2024
@KristofKuli
Copy link
Author

For some reason the last few lines of the "Relevant log output" has been missed. Here you can find them:
There is a cache miss.
tar: a6aa7fcb8e144f0cb64016f69198ed8a_archive.tar: Wrote only 4096 of 10240 bytes
tar: Error is not recoverable: exiting now
ApplicationInsightsTelemetrySender correlated 1 events with X-TFS-Session 9a431a4b-9b32-45aa-b769-ee2bca3e25c5
##[error]Process returned non-zero exit code: 2
Finishing: Cache Maven local repo

@KristofKuli
Copy link
Author

Hi @johnterickson,
Is there any update on this?

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

No branches or pull requests

3 participants