Bug report
(Please follow this template by replacing the text between parentheses with the requested information)
Expected behavior and actual behavior
When retrieving the bytes on an image file via AzureRepositoryProvider.readBytes the returned bytes do no represent a valid image file.
Steps to reproduce the problem
A PR has been set up with a successful test for Gitea and a failing test for Azure: #6286
Program output
This passes: nextflow.scm.GiteaRepositoryProviderTest#should read bytes file content
This fails: nextflow.scm.AzureRepositoryProviderTest#should read bytes file content
with...
Condition not satisfied:
readers.hasNext()
| |
| false
<javax.imageio.ImageIO$ImageReaderIterator@696d28ee iter=inaccessible>
at nextflow.scm.AzureRepositoryProviderTest.should read bytes file content(AzureRepositoryProviderTest.groovy:158)
Environment
- Nextflow version: master/25.06.0-edge
- Java version: 17
- Operating system: macOS
- Bash version: zsh 5.9 (arm64-apple-darwin24.0)
Additional context
(Add any other context about the problem here)
Bug report
(Please follow this template by replacing the text between parentheses with the requested information)
Expected behavior and actual behavior
When retrieving the bytes on an image file via
AzureRepositoryProvider.readBytesthe returned bytes do no represent a valid image file.Steps to reproduce the problem
A PR has been set up with a successful test for Gitea and a failing test for Azure: #6286
Program output
This passes: nextflow.scm.GiteaRepositoryProviderTest#should read bytes file content
This fails: nextflow.scm.AzureRepositoryProviderTest#should read bytes file content
with...
Environment
Additional context
(Add any other context about the problem here)