Travis PNG looks different from vagrant png
Closed, ResolvedPublic


The last mathoid build failed due to a difference in the PNG rendering between travis and vagrant (and my local win8 environment)

(travis rendering)

(vagrant rendering)
I used to display the encoded png data from

Physikerwelt updated the task description. (Show Details)
Physikerwelt raised the priority of this task from to Needs Triage.
Physikerwelt added projects: Mathoid, Multimedia.
Physikerwelt added subscribers: Physikerwelt, GWicke, Pkra.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 30 2015, 6:13 AM

^^ I think the travis rendering looks better

@GWicke Do you think I should try to use for the png comparision?

@GWicke: Any comment on @Physikerwelt's question?

Do you think I should try to use for the png comparision?

That looks like a good option (if we do not supply it an output stream that writes to a file).

I ran the tests locally, and they fail for me (in the sense that the PNGs' texts differ). However, the svg components of the response match. Perhaps it would be acceptable to compare only those and make sure the png component is a non-empty string?

On second thought, I wonder if png-diff would help at all -- the figures in the description are clearly different, so png-diff is bound to give us a mismatch.

Update: when running the tests inside a container, all of the tests pass. Both my host and the container are on Ubunty Trusty, but from the more visible differences, I'm using the Oracle JRE, while the container installs the OpenJDK one.

Physikerwelt added a comment.EditedApr 24 2015, 4:13 PM

@mobrovac: Can you fix the travis config?
This should be an open question. So if you have no idea on how to fix that, that would also be an interesting information.

If a solution for T78579 was found, the problem might be resolved automatically.

@Physikerwelt a PR proposing disabling exact PNG checks can be found here.

Jdforrester-WMF triaged this task as Low priority.Sep 4 2015, 6:56 PM
Restricted Application added a subscriber: Matanya. · View Herald TranscriptSep 4 2015, 6:56 PM
Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 7:02 PM
Physikerwelt raised the priority of this task from Low to Needs Triage.Apr 6 2016, 4:25 PM
Physikerwelt added a project: Operations.

I think we should reclassify the importance o this bug for two reasons.

  1. The problem is also preverlent in production (
  2. The png image generated by vagrant and in production looks even worse now (click on the link above)

See for more details

Physikerwelt closed this task as Resolved.Apr 12 2016, 11:59 PM
Physikerwelt claimed this task.