[MGNLIMG-254] Some tests fail on MacOS + latest JDK/OpenJDK 8 Created: 10/Oct/22  Updated: 23/Oct/23  Resolved: 03/Jul/23

Status: Closed
Project: Imaging
Component/s: None
Affects Version/s: 4.0.0
Fix Version/s: 4.0.0, 3.5.9

Type: Bug Priority: Neutral
Reporter: Michael Duerig Assignee: Valeria Robles-Garzon
Resolution: Done Votes: 0
Labels: maintenance
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 0.75d Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified
Environment:

OpenJDK Runtime Environment Temurin-11.0.16.1+1 on Jenkins


Issue Links:
Cloners
clones MGNLIMG-219 Some tests fail on MacOS + latest JDK... Closed
causality
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLIMG-313 Implement Sub-task Completed Valeria Robles-Garzon  
MGNLIMG-314 Review Sub-task Completed Javier Benito  
MGNLIMG-315 PiQA Sub-task Completed Javier Benito  
MGNLIMG-316 QA Sub-task Closed Oanh Thai Hoang  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Epic Link: DevX Bucket
Sprint: DevX 41
Story Points: 2
Team: DeveloperX
Work Started:
Approved:
Yes

 Description   

This was initially reported with MGNLIMG-219 but with upgrading to Java 11 these affected tests also started to fail on our Jenkins. E.g

java.lang.IllegalStateException: Can't find ImageWriter for jpeg
	at info.magnolia.imaging.DefaultImageStreamer.write(DefaultImageStreamer.java:89)
	at info.magnolia.imaging.AbstractImagingTest$SampleImageStreamer.write(AbstractImagingTest.java:266)
	at info.magnolia.imaging.AbstractImagingTest.write(AbstractImagingTest.java:132)
	at info.magnolia.imaging.util.ImageUtilTest.testJpegOddity(ImageUtilTest.java:191) 

 

Affects

  • BoundedResizeTest.smallImageNotEnlargedWhileExpandFalse
  • BoundedResizeTest.smallImageIsEnlargedWhileExpandTrue
  • ImageUtilTest.testJpegOddity

Disabled those temporarily: https://git.magnolia-cms.com/projects/modules/repos/imaging/commits/2527efe80809cf0cd56e1e6c7eeb76d7a85603c3


Generated at Mon Feb 12 02:13:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.