Intermittent apps/sms/test/marionette/conversation_test.js | Conversation Panel Tests Forward message Forwarding a MMS

RESOLVED WONTFIX

Status

Firefox OS
Gaia::SMS
RESOLVED WONTFIX
2 years ago
a year ago

People

(Reporter: philor, Unassigned)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Hi Oleg, I found an unrelated test in conversation_test and it seems only failed in my local test. It's image attachment screenshot comparison here[1] with error message:

ssertionError: expected 'iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAJKElEQVR4nO3d65tN5R/H8ffzKKIjISpCKkIIOeQQhRAihBBChCKnEDIhhBCiKELIIYcQQoQQihCddCD9/oDv79FeLfPZZu+ZWXvmXqx9Xe/nc12v6/6u+95rrzVY9HHqQ27/AdHn8o8Hch3/k/Lwr+Xlkt3ARcvHBcvP31aAP60gf9hNnLdb+M1u5Ve7jV+sEOesMGetCGesKKetGKesOCetBCfsLn6wezhuJTlmpThqpTliZThsZTlk5Tho93PAHmC/lWefVWCvPcTXVondVpld9jBfWRV2WjW22yN8adXZZjXYao/yhdVis9Vmk9Vlgz3G51aP9daAtdaQNdaI1daYVfYEK60JK6wpy60Zy6w5S60FS6wlH1srFltrFlkbPrS2LLR2LLD2zLcOzLOOzLVOzLHOzLYuzLKuzLRuzLDuTLceTLOeTLVeTLHeTLY+TLK+TLR+pFl/JtjLvGkDGWeDGGuv8Ia9yhgbwih7jddtKCNtGCOkCCQCiUAikAgkAgkMJA//Snm5ZNfzj4dxI395GDfzu4dxOz9bYc7aHfxkRThjxThld/Kjh3E333sY9/Kdh3Ef33oYD/KNh1GRPVaJ3R5GVXZYNbZ7GDXZ4mHUYaOHUZ911pA19jifeRhP8qmH8RSfeBhP85GH8QwfWDsW2LO8b+2Zbx2Za8/xnofxPO96GC/wjofxIm97GC/xlocxgPE2kHEexmBGX4YxnOGSgOTlkuQKhn9lXA0YIxgmCcgNXJSyilGck5nCKB8gRiNWO40xkqH2Oq9JApKPC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EZwlgplhixHFOhMHZTNeEYt8kqCchQxkixet5UvMaU+xYyL2DcJqv9zWP2D1kkARnGaCmSJyR4dUy5MZw3bwdjH5USinGHzJKADGeU5PVHHCULxi2y3Ydxl0ySgIxkZJBCj6kUBtz370Td/6fP/Q+w3P9Zxv0vG5wH07uf+Ox+lKr7GYXuh3+F+z4j0jF1kPL3/bzT/bsp9w8SnK9d3d9nuD8odG/g7ktb93uGG+Mej0o+iA/ig/ggPogPEjUQ/+WNlw/isdf/AP0eqQN743L2AAAAAElFTkSuQmCC'

The image looks same to me, did you ever see this error in your local or server side? Maybe we regenerate the thumbnail at certain timing.

[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/sms/test/marionette/conversation_test.js#L117

Updated

2 years ago
Flags: needinfo?(azasypkin)
Nope, haven't seen something like this, images look the same, but have different size when you save them to the disk.

Julien do you have an idea what is going on here?
Flags: needinfo?(azasypkin) → needinfo?(felash)
Created attachment 8708976 [details]
comparison.png

Actually, the images are not the same ;)

Red pixels mean difference, white pixels mean same. (I used ImageMagick's compare tool)

Moreover even without differences there are different ways to encode a PNG that would do the same output: PNG uses the lossless deflate algorithm where we can get different outputs depending on the compression ratio you want. So it can depends on your PNG encode, the settings you use, etc.

I was likely lucky when I implemented this by comparing the png output ;)

I'll file a separate bug and we can fix this.
So I compared the various code paths.

I _think_ the marionette screenshot functionality is done by [1].
Our PNG generation is done by [2].
Both are run on the same Gecko.
So in theory it should give the same PNG as a result.
But...

[1] https://dxr.mozilla.org/mozilla-central/rev/0a4331e7d7ba21c3a54d9f17fb6ed1f42b7c29ec/testing/marionette/driver.js#2595
[2] https://github.com/mozilla-b2g/gaia/blob/3fdecb198ed277770b765ad8be84f0ecf4a36a91/apps/sms/test/marionette/mocks/mock_test_blobs.js#L33
Flags: needinfo?(felash)
Mass closing of Gaia::SMS bugs. End of an era :(
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
Mass closing of Gaia::SMS bugs. End of an era :(
You need to log in before you can comment on or make changes to this bug.