Mir

Merge lp:mir/0.20 into lp:mir/ubuntu

Proposed by Alberto Aguirre
Status: Merged
Approved by: Alberto Aguirre
Approved revision: 3337
Merged at revision: 1269
Proposed branch: lp:mir/0.20
Merge into: lp:mir/ubuntu
Diff against target: 81 lines (+27/-4)
4 files modified
CMakeLists.txt (+1/-1)
debian/changelog (+11/-0)
src/platforms/android/common/egl_sync_fence.cpp (+13/-1)
tests/unit-tests/graphics/android/test_egl_sync_fence.cpp (+2/-2)
To merge this branch: bzr merge lp:mir/0.20
Reviewer Review Type Date Requested Status
Cemil Azizoglu (community) Approve
Mir CI Bot continuous-integration Needs Fixing
Kevin DuBois (community) Approve
Andreas Pokorny (community) Approve
Review via email: mp+289811@code.launchpad.net

Commit message

Mir 0.20.3 release

Description of the change

Mir 0.20.3 release

To post a comment you must log in.
Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

looks good

review: Approve
Revision history for this message
Kevin DuBois (kdub) wrote :

lgtm

review: Approve
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

FAILED: Continuous integration, rev:3337
https://mir-jenkins.ubuntu.com/job/mir-ubuntu-ci/12/
Executed test runs:
    FAILURE: https://mir-jenkins.ubuntu.com/job/build-mir/559/console
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-0-fetch/595
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/587
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial/587
    FAILURE: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=clang,platform=mesa,release=vivid+overlay/569/console
    FAILURE: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=amd64,compiler=gcc,platform=mesa,release=xenial/569/console
    FAILURE: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=cross-armhf,compiler=gcc,platform=android,release=vivid+overlay/569/console
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=cross-armhf,compiler=gcc,platform=android,release=vivid+overlay/569/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=android,release=vivid+overlay/569
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=android,release=vivid+overlay/569/artifact/output/*zip*/output.zip
    SUCCESS: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/569
        deb: https://mir-jenkins.ubuntu.com/job/build-2-binpkg-mir/arch=i386,compiler=gcc,platform=mesa,release=xenial/569/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://mir-jenkins.ubuntu.com/job/mir-ubuntu-ci/12/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Cemil Azizoglu (cemil-azizoglu) wrote :

Good

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

Just a passing reminder: lp:mir/ubuntu needs to die, and be replaced in future

The reason is lp:mir/ubuntu does not specify a target series. And if we're supporting multiple Ubuntu releases simultaneously, like any mature project, then they will each get different Mir point releases concurrently. So you will also need different target branches.

This is something we used to be able to do easily prior to the introduction of the CI train. And we used it too, releasing different Compiz series' to different Ubuntu series' simultaneously. So the train needs to be modified to deal with multiple branches better.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2016-03-07 15:15:27 +0000
3+++ CMakeLists.txt 2016-03-22 15:33:29 +0000
4@@ -29,7 +29,7 @@
5
6 set(MIR_VERSION_MAJOR 0)
7 set(MIR_VERSION_MINOR 20)
8-set(MIR_VERSION_PATCH 2)
9+set(MIR_VERSION_PATCH 3)
10
11 add_definitions(-DMIR_VERSION_MAJOR=${MIR_VERSION_MAJOR})
12 add_definitions(-DMIR_VERSION_MINOR=${MIR_VERSION_MINOR})
13
14=== modified file 'debian/changelog'
15--- debian/changelog 2016-03-07 17:18:40 +0000
16+++ debian/changelog 2016-03-22 15:33:29 +0000
17@@ -1,3 +1,14 @@
18+mir (0.20.3) UNRELEASED; urgency=medium
19+
20+ * New upstream release 0.20.3 (https://launchpad.net/mir/+milestone/0.20.3)
21+ - ABI summary:
22+ . No ABI changes in any libraries. Bugfix release only.
23+ - Bug fixed:
24+ . Mir crashed with exception 'failed to add sync point to command
25+ buffer' (LP: #1554635)
26+
27+ -- Alberto Aguirre <alberto.aguirre@canonical.com> Tue, 22 Mar 2016 10:21:04 -0500
28+
29 mir (0.20.2+16.04.20160307-0ubuntu1) xenial; urgency=medium
30
31 [ Andreas Pokorny ]
32
33=== modified file 'src/platforms/android/common/egl_sync_fence.cpp'
34--- src/platforms/android/common/egl_sync_fence.cpp 2016-01-28 17:46:29 +0000
35+++ src/platforms/android/common/egl_sync_fence.cpp 2016-03-22 15:33:29 +0000
36@@ -18,6 +18,9 @@
37
38 #include "egl_sync_fence.h"
39 #include <boost/throw_exception.hpp>
40+#define MIR_LOG_COMPONENT "egl sync fence"
41+#include "mir/log.h"
42+#include <sstream>
43
44 namespace mg = mir::graphics;
45
46@@ -52,9 +55,18 @@
47 wait_for(lk, default_timeout);
48
49 fence_display = eglGetCurrentDisplay();
50+ if (fence_display == EGL_NO_DISPLAY)
51+ {
52+ log_error("no current display");
53+ }
54+
55 sync_point = egl->eglCreateSyncKHR(fence_display, EGL_SYNC_FENCE_KHR, NULL);
56 if (sync_point == EGL_NO_SYNC_KHR)
57- BOOST_THROW_EXCEPTION(std::runtime_error("failed to add sync point to command buffer"));
58+ {
59+ std::stringstream str;
60+ str << "failed to add sync point to command buffer: 0x" << std::hex << eglGetError();
61+ log_error(str.str());
62+ }
63 }
64
65 void mg::EGLSyncFence::reset()
66
67=== modified file 'tests/unit-tests/graphics/android/test_egl_sync_fence.cpp'
68--- tests/unit-tests/graphics/android/test_egl_sync_fence.cpp 2016-02-18 09:56:08 +0000
69+++ tests/unit-tests/graphics/android/test_egl_sync_fence.cpp 2016-03-22 15:33:29 +0000
70@@ -42,9 +42,9 @@
71 .WillOnce(Return(EGL_NO_SYNC_KHR));
72
73 mg::EGLSyncFence fence(sync_extensions);
74- EXPECT_THROW({
75+ EXPECT_NO_THROW({
76 fence.raise();
77- }, std::runtime_error);
78+ });
79 }
80
81 TEST_F(EglSyncFence, raise_sets_sync_point)

Subscribers

People subscribed via source and target branches

to all changes: