image provider test fails in CI train for arm64 (Vivid only)

Bug #1528406 reported by Michi Henning
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt-sdk (Ubuntu)
New
Undecided
Unassigned
thumbnailer (Ubuntu)
Invalid
High
Unassigned

Bug Description

The image provider test fails consistently on arm64 only, in CI train only (passes on Jenkins CI), and only on Vivid (passes on Xenial).

https://launchpadlibrarian.net/230899583/buildlog_ubuntu-vivid-arm64.thumbnailer_2.3%2B15.04.20151222-0ubuntu1_BUILDING.txt.gz

Note the "QSignalSpy: Not a valid signal: ''" messages.

8: [ RUN ] ProviderTest.thumbnail_image
8: thumbnailer-service: [00:35:35.490] Initializing
8: thumbnailer-service: [00:35:35.527] image cache: 0 entries, 0 bytes, hit rate 0.00 (0/0), avg hit run 0.00, avg miss run 0.00
8: thumbnailer-service: [00:35:35.527] thumbnail cache: 0 entries, 0 bytes, hit rate 0.00 (0/0), avg hit run 0.00, avg miss run 0.00
8: thumbnailer-service: [00:35:35.527] failure cache: 0 entries, 0 bytes, hit rate 0.00 (0/0), avg hit run 0.00, avg miss run 0.00
8: QSignalSpy: Not a valid signal: ''
8: thumbnailer-service: [00:35:35.544] "thumbnail: /«BUILDDIR»/thumbnailer-2.3+15.04.20151222/tests/media/orientation-1.jpg (128,128): 0.011494 sec (MISS)"
8: /«BUILDDIR»/thumbnailer-2.3+15.04.20151222/tests/image-providers/provider_test.cpp:84: Failure
8: Value of: spy.wait(SIGNAL_WAIT_TIME)
8: Actual: false
8: Expected: true
8: thumbnailer-service: [00:35:45.704] Exiting
8: [ FAILED ] ProviderTest.thumbnail_image (10553 ms)
8: [ RUN ] ProviderTest.thumbnail_cancel
8: thumbnailer-service: [00:35:46.041] Initializing
8: thumbnailer-service: [00:35:46.073] image cache: 0 entries, 0 bytes, hit rate 0.00 (0/0), avg hit run 0.00, avg miss run 0.00
8: thumbnailer-service: [00:35:46.073] thumbnail cache: 0 entries, 0 bytes, hit rate 0.00 (0/0), avg hit run 0.00, avg miss run 0.00
8: thumbnailer-service: [00:35:46.073] failure cache: 0 entries, 0 bytes, hit rate 0.00 (0/0), avg hit run 0.00, avg miss run 0.00
8: QSignalSpy: Not a valid signal: ''
8: thumbnailer-service: [00:35:46.086] "thumbnail: /«BUILDDIR»/thumbnailer-2.3+15.04.20151222/tests/media/orientation-1.jpg (128,128): 0.010912 sec (MISS)"
8: /«BUILDDIR»/thumbnailer-2.3+15.04.20151222/tests/image-providers/provider_test.cpp:84: Failure
8: Value of: spy.wait(SIGNAL_WAIT_TIME)
8: Actual: false
8: Expected: true
8: thumbnailer-service: [00:35:55.713] Exiting
8: [ FAILED ] ProviderTest.thumbnail_cancel (10009 ms)

Changed in thumbnailer (Ubuntu):
importance: Undecided → High
Revision history for this message
Michi Henning (michihenning) wrote :

I worked around the problem by changing this:

QSignalSpy spy(response, &QQuickImageResponse::finished);

to that:

QSignalSpy spy(response, SIGNAL(finished()));

Seeing this happens only on arm64 on Vivid and passes everywhere else, I'd say this is a Qt problem of some kind?

Changed in thumbnailer (Ubuntu):
status: New → Triaged
Revision history for this message
Albert Astals Cid (aacid) wrote :

Looks like the old "using function pointers in signal/slot connections doesn't work because the linker is broken" bug we had on regular armhf and got fixed at some point

Revision history for this message
Albert Astals Cid (aacid) wrote :

If it's vivid only then it probable means the xenial toolchain is already fixed up?

Revision history for this message
Michi Henning (michihenning) wrote :

Presumably, yes. All I know is that the arm64 build works on xenial, but fails on vivid. Strangely, the function pointer syntax works for us everywhere, except in this one test.

The work-around is good enough for us for now. But, seeing the the work-around is rather non-obvious, it would be good to have this fixed in vivid+overlay. Do you know which project to re-assign the bug to for getting that to happen?

Revision history for this message
Albert Astals Cid (aacid) wrote :

I'd ask Matthias Klose he does gcc stuff so would be my first person to ask for more pointers

Revision history for this message
Michi Henning (michihenning) wrote :

Thanks for that, will do!

Revision history for this message
Michi Henning (michihenning) wrote :

Doko, can you comment?

Changed in thumbnailer (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.