-
Bug
-
Resolution: Unresolved
-
Major
-
OS: CentOS Linux release 7.6.1810 (Core)
java version: "1.8.0_191"
Jenkins version: 2.288
This issue is reported on https://github.com/microsoft/azure-pipelines-tasks/issues/14320
Workaround is to stick to Jenkins version 2.163.1.
Issue seems to be with Jenkins server compression, artifacts folder that gets downloaded from Jenkins has all the files but the type of the file is missing in its metadata which is resulting in this failure.
Example file detail from debugging:
FileDetails { _offset: 418, _maxSize: 22, parent: 'archive', filename: 'test.txt', path: 'archive\\test.txt', type: undefined, mode: 420, compressionMethod: 8, modified: 2021-04-26T07:19:56.000Z, crc32: 3092708862, compressedSize: 22, uncompressedSize: 20, comment: '', flags: { encrypted: false, compressionFlag1: false, compressionFlag2: false, useDataDescriptor: true, enhancedDeflating: false, compressedPatched: false, strongEncryption: false, utf8: true, encryptedCD: false } }
[JENKINS-65495] Jenkins After 2.263.1: Using Azure DevOps Pipeline task 'Download Jenkins artifacts' fails with ExtractionFailed Error: Unsupported file type "undefined"
Description |
Original:
This issue is reported on [https://github.com/microsoft/azure-pipelines-tasks/issues/14320]
Workaround is to stick to Jenkins version 2.163.1. Issue seems to be with Jenkins server compression, artifacts folder that gets downloaded from Jenkins has all the files but the type of the file is missing in its metadata which is resulting in this failure. Example file detail from debugging:{{}} {code:java} FileDetails { _offset: 418, _maxSize: 22, parent: 'archive', filename: 'test.txt', path: 'archive\\test.txt', type: undefined, mode: 420, compressionMethod: 8, modified: 2021-04-26T07:19:56.000Z, crc32: 3092708862, compressedSize: 22, uncompressedSize: 20, comment: '', flags: { encrypted: false, compressionFlag1: false, compressionFlag2: false, useDataDescriptor: true, enhancedDeflating: false, compressedPatched: false, strongEncryption: false, utf8: true, encryptedCD: false } } {code} {{}} |
New:
This issue is reported on [https://github.com/microsoft/azure-pipelines-tasks/issues/14320]
Workaround is to stick to Jenkins version 2.163.1. Issue seems to be with Jenkins server compression, artifacts folder that gets downloaded from Jenkins has all the files but the type of the file is missing in its metadata which is resulting in this failure. Example file detail from debugging: {code:java} FileDetails { _offset: 418, _maxSize: 22, parent: 'archive', filename: 'test.txt', path: 'archive\\test.txt', type: undefined, mode: 420, compressionMethod: 8, modified: 2021-04-26T07:19:56.000Z, crc32: 3092708862, compressedSize: 22, uncompressedSize: 20, comment: '', flags: { encrypted: false, compressionFlag1: false, compressionFlag2: false, useDataDescriptor: true, enhancedDeflating: false, compressedPatched: false, strongEncryption: false, utf8: true, encryptedCD: false } } {code} {{}} |
Description |
Original:
This issue is reported on [https://github.com/microsoft/azure-pipelines-tasks/issues/14320]
Workaround is to stick to Jenkins version 2.163.1. Issue seems to be with Jenkins server compression, artifacts folder that gets downloaded from Jenkins has all the files but the type of the file is missing in its metadata which is resulting in this failure. Example file detail from debugging: {code:java} FileDetails { _offset: 418, _maxSize: 22, parent: 'archive', filename: 'test.txt', path: 'archive\\test.txt', type: undefined, mode: 420, compressionMethod: 8, modified: 2021-04-26T07:19:56.000Z, crc32: 3092708862, compressedSize: 22, uncompressedSize: 20, comment: '', flags: { encrypted: false, compressionFlag1: false, compressionFlag2: false, useDataDescriptor: true, enhancedDeflating: false, compressedPatched: false, strongEncryption: false, utf8: true, encryptedCD: false } } {code} {{}} |
New:
This issue is reported on [https://github.com/microsoft/azure-pipelines-tasks/issues/14320]
Workaround is to stick to Jenkins version 2.163.1. Issue seems to be with Jenkins server compression, artifacts folder that gets downloaded from Jenkins has all the files but the type of the file is missing in its metadata which is resulting in this failure. Example file detail from debugging: {code:java} FileDetails { _offset: 418, _maxSize: 22, parent: 'archive', filename: 'test.txt', path: 'archive\\test.txt', type: undefined, mode: 420, compressionMethod: 8, modified: 2021-04-26T07:19:56.000Z, crc32: 3092708862, compressedSize: 22, uncompressedSize: 20, comment: '', flags: { encrypted: false, compressionFlag1: false, compressionFlag2: false, useDataDescriptor: true, enhancedDeflating: false, compressedPatched: false, strongEncryption: false, utf8: true, encryptedCD: false } } {code} |
Priority | Original: Minor [ 4 ] | New: Major [ 3 ] |
We upgraded to Jenkins 2.277.1 and ran into the same issue. We had to rollback to version 2.249.3