Mir

[testsfail] Autolanding failure in MesaBufferAllocatorTest.software_buffers_dont_bypass ett alia

Bug #1394278 reported by Alan Griffiths
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Expired
Undecided
Unassigned

Bug Description

Twice recently:

http://jenkins.qa.ubuntu.com/job/mir-vivid-amd64-autolanding/50/console
https://jenkins.qa.ubuntu.com/job/mir-vivid-amd64-autolanding/51/consoleText

-- Kernel version detected: 3.13
...

12: [ RUN ] MesaBufferAllocatorTest.software_buffers_dont_bypass
12: unknown file: Failure
12: C++ exception with description "Failed to open temporary file" thrown in the test body.
12: [ FAILED ] MesaBufferAllocatorTest.software_buffers_dont_bypass (155 ms)
...
12: [ RUN ] MesaBufferAllocatorTest.creates_software_rendering_buffer
12: unknown file: Failure
12: C++ exception with description "Failed to open temporary file" thrown in the test body.
12: [ FAILED ] MesaBufferAllocatorTest.creates_software_rendering_buffer (135 ms)
...
12: [ RUN ] AnonymousShmFile.is_created
12: unknown file: Failure
12: C++ exception with description "Failed to open temporary file" thrown in the test body.
12: [ FAILED ] AnonymousShmFile.is_created (3 ms)
12: [ RUN ] AnonymousShmFile.has_correct_size
12: unknown file: Failure
12: C++ exception with description "Failed to open temporary file" thrown in the test body.
12: [ FAILED ] AnonymousShmFile.has_correct_size (3 ms)
12: [ RUN ] AnonymousShmFile.writing_to_base_ptr_writes_to_file
12: unknown file: Failure
12: C++ exception with description "Failed to open temporary file" thrown in the test body.
12: [ FAILED ] AnonymousShmFile.writing_to_base_ptr_writes_to_file (3 ms)

These tests are known to fail like this on kernels earlier than 3.11, but that's not the case here.

Tags: testsfail
Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

This seems to be autolanding, not ci as the same code passes here on kernel 3.13:

https://jenkins.qa.ubuntu.com/job/mir-vivid-amd64-ci/142/consoleText

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

The error message implies that "open("/dev/shm", O_TMPFILE | O_RDWR | O_EXCL, S_IRWXU);" fails.

Kevin DuBois (kdub)
Changed in mir:
status: New → Confirmed
Revision history for this message
Kevin DuBois (kdub) wrote :

seems confirmed.

The current theory into the failure is an old node was used:
https://code.launchpad.net/~alan-griffiths/mir/migrate-more-acceptances-tests/+merge/242094/comments/596442

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

FYI, O_TMPFILE only exists in kernel 3.11 and later.

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

That's why the report makes it clear that the node was running kernel 3.13 - if 3.11 or earlier is detected these tests are disabled by the build script.

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

Haven't seen this again. Closing.

Changed in mir:
status: Confirmed → Incomplete
Changed in mir:
status: Incomplete → Won't Fix
Changed in mir:
status: Won't Fix → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mir because there has been no activity for 60 days.]

Changed in mir:
status: Incomplete → Expired
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.