[Desktop-packages] [Bug 1690706] Re: Tests are not being run

2017-05-23 Thread Iain Lane
It occurs to me that you might be able to do something like

  override_dh_auto_test:
  dbus-run-session -- xvfb-run -a sh -c 
'DBUS_SYSTEM_BUS_ADDRESS=$$DBUS_SESSION_BUS_ADDRESS 
XDG_RUNTIME_DIR=$(CURDIR)/debian/tmp-xdg-runtime-dir dh_auto_test'

That'll probably fail in the same was as it did for me above, but I
reckon you'd be able to get a build-time test going like that.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to colord-gtk in Ubuntu.
https://bugs.launchpad.net/bugs/1690706

Title:
  Tests are not being run

Status in colord-gtk:
  New
Status in colord-gtk package in Ubuntu:
  New

Bug description:
  The issue of the tests not being run was raised at both MIRs for this
  package LP: #1282372 and LP: #1685411

  I tried to enable the test using dh_auto_test but I still couldn't get
  it to work. I'm attaching the patch I used for the packaging and the
  full build log.

  https://github.com/hughsie/colord-gtk/blob/master/libcolord-gtk/cd-
  self-test.c

  Build Log Excerpt
  =
  make[5]: Entering directory '/<>/libcolord-gtk'
  Activating service name='org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Successfully activated service 'org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Activating service name='org.a11y.atspi.Registry'
  Successfully activated service 'org.a11y.atspi.Registry'
  SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
  ../test-driver: line 107: 11413 Aborted (core dumped) "$@" > 
$log_file 2>&1
  FAIL: cd-self-test
  =
     colord-gtk 0.1.26: libcolord-gtk/test-suite.log
  =

  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0

  .. contents:: :depth: 2

  FAIL: cd-self-test
  ==

  /colord/window: Gtk-Message: GtkDialog mapped without a transient parent. 
This is discouraged.
  **
  libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion 
failed (error == NULL): failed to connect to colord: Could not connect: No such 
file or directory (cd_window_error, 0)
  FAIL cd-self-test (exit status: 134)

To manage notifications about this bug go to:
https://bugs.launchpad.net/colord-gtk/+bug/1690706/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1690706] Re: Tests are not being run

2017-05-17 Thread Jeremy Bicha
** Tags added: gnome-17.10

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to colord-gtk in Ubuntu.
https://bugs.launchpad.net/bugs/1690706

Title:
  Tests are not being run

Status in colord-gtk:
  New
Status in colord-gtk package in Ubuntu:
  New

Bug description:
  The issue of the tests not being run was raised at both MIRs for this
  package LP: #1282372 and LP: #1685411

  I tried to enable the test using dh_auto_test but I still couldn't get
  it to work. I'm attaching the patch I used for the packaging and the
  full build log.

  https://github.com/hughsie/colord-gtk/blob/master/libcolord-gtk/cd-
  self-test.c

  Build Log Excerpt
  =
  make[5]: Entering directory '/<>/libcolord-gtk'
  Activating service name='org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Successfully activated service 'org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Activating service name='org.a11y.atspi.Registry'
  Successfully activated service 'org.a11y.atspi.Registry'
  SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
  ../test-driver: line 107: 11413 Aborted (core dumped) "$@" > 
$log_file 2>&1
  FAIL: cd-self-test
  =
     colord-gtk 0.1.26: libcolord-gtk/test-suite.log
  =

  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0

  .. contents:: :depth: 2

  FAIL: cd-self-test
  ==

  /colord/window: Gtk-Message: GtkDialog mapped without a transient parent. 
This is discouraged.
  **
  libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion 
failed (error == NULL): failed to connect to colord: Could not connect: No such 
file or directory (cd_window_error, 0)
  FAIL cd-self-test (exit status: 134)

To manage notifications about this bug go to:
https://bugs.launchpad.net/colord-gtk/+bug/1690706/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1690706] Re: Tests are not being run

2017-05-17 Thread Iain Lane
It does help. It changes the error message to:

libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion 
failed (error == NULL): failed to connect to colord: Could not connect: No such 
file or directory (cd_window_error, 0)
FAIL cd-self-test (exit status: 134)

But of course, there's no system bus inside the chroot and colord lives
on the system bus.

I think this could in theory be an autopkgtest. If you compile just the
test:

  $ gcc $(pkg-config --cflags colord-gtk) -DCD_COMPILATION cd-self-test.c 
$(pkg-config --libs colord-gtk) -o cd-self-test
  $ dbus-run-session -- xvfb-run -a ./cd-self-test
  [...]
  ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion failed (error == 
NULL): no device with that property: property match 'XRANDR_name'='screen' does 
not exist (cd_window_error, 0)

it doesn't quite work, but nearly. Maybe upstream would have an idea
here.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to colord-gtk in Ubuntu.
https://bugs.launchpad.net/bugs/1690706

Title:
  Tests are not being run

Status in colord-gtk:
  New
Status in colord-gtk package in Ubuntu:
  New

Bug description:
  The issue of the tests not being run was raised at both MIRs for this
  package LP: #1282372 and LP: #1685411

  I tried to enable the test using dh_auto_test but I still couldn't get
  it to work. I'm attaching the patch I used for the packaging and the
  full build log.

  https://github.com/hughsie/colord-gtk/blob/master/libcolord-gtk/cd-
  self-test.c

  Build Log Excerpt
  =
  make[5]: Entering directory '/<>/libcolord-gtk'
  Activating service name='org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Successfully activated service 'org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Activating service name='org.a11y.atspi.Registry'
  Successfully activated service 'org.a11y.atspi.Registry'
  SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
  ../test-driver: line 107: 11413 Aborted (core dumped) "$@" > 
$log_file 2>&1
  FAIL: cd-self-test
  =
     colord-gtk 0.1.26: libcolord-gtk/test-suite.log
  =

  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0

  .. contents:: :depth: 2

  FAIL: cd-self-test
  ==

  /colord/window: Gtk-Message: GtkDialog mapped without a transient parent. 
This is discouraged.
  **
  libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion 
failed (error == NULL): failed to connect to colord: Could not connect: No such 
file or directory (cd_window_error, 0)
  FAIL cd-self-test (exit status: 134)

To manage notifications about this bug go to:
https://bugs.launchpad.net/colord-gtk/+bug/1690706/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1690706] Re: Tests are not being run

2017-05-17 Thread Bug Watch Updater
** Changed in: colord-gtk
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to colord-gtk in Ubuntu.
https://bugs.launchpad.net/bugs/1690706

Title:
  Tests are not being run

Status in colord-gtk:
  New
Status in colord-gtk package in Ubuntu:
  New

Bug description:
  The issue of the tests not being run was raised at both MIRs for this
  package LP: #1282372 and LP: #1685411

  I tried to enable the test using dh_auto_test but I still couldn't get
  it to work. I'm attaching the patch I used for the packaging and the
  full build log.

  https://github.com/hughsie/colord-gtk/blob/master/libcolord-gtk/cd-
  self-test.c

  Build Log Excerpt
  =
  make[5]: Entering directory '/<>/libcolord-gtk'
  Activating service name='org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Successfully activated service 'org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Activating service name='org.a11y.atspi.Registry'
  Successfully activated service 'org.a11y.atspi.Registry'
  SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
  ../test-driver: line 107: 11413 Aborted (core dumped) "$@" > 
$log_file 2>&1
  FAIL: cd-self-test
  =
     colord-gtk 0.1.26: libcolord-gtk/test-suite.log
  =

  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0

  .. contents:: :depth: 2

  FAIL: cd-self-test
  ==

  /colord/window: Gtk-Message: GtkDialog mapped without a transient parent. 
This is discouraged.
  **
  libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion 
failed (error == NULL): failed to connect to colord: Could not connect: No such 
file or directory (cd_window_error, 0)
  FAIL cd-self-test (exit status: 134)

To manage notifications about this bug go to:
https://bugs.launchpad.net/colord-gtk/+bug/1690706/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1690706] Re: Tests are not being run

2017-05-17 Thread Jeremy Bicha
Iain, that didn't seem to help when I tried it.

** Bug watch added: github.com/hughsie/colord-gtk/issues #4
   https://github.com/hughsie/colord-gtk/issues/4

** Also affects: colord-gtk via
   https://github.com/hughsie/colord-gtk/issues/4
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to colord-gtk in Ubuntu.
https://bugs.launchpad.net/bugs/1690706

Title:
  Tests are not being run

Status in colord-gtk:
  Unknown
Status in colord-gtk package in Ubuntu:
  New

Bug description:
  The issue of the tests not being run was raised at both MIRs for this
  package LP: #1282372 and LP: #1685411

  I tried to enable the test using dh_auto_test but I still couldn't get
  it to work. I'm attaching the patch I used for the packaging and the
  full build log.

  https://github.com/hughsie/colord-gtk/blob/master/libcolord-gtk/cd-
  self-test.c

  Build Log Excerpt
  =
  make[5]: Entering directory '/<>/libcolord-gtk'
  Activating service name='org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Successfully activated service 'org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Activating service name='org.a11y.atspi.Registry'
  Successfully activated service 'org.a11y.atspi.Registry'
  SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
  ../test-driver: line 107: 11413 Aborted (core dumped) "$@" > 
$log_file 2>&1
  FAIL: cd-self-test
  =
     colord-gtk 0.1.26: libcolord-gtk/test-suite.log
  =

  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0

  .. contents:: :depth: 2

  FAIL: cd-self-test
  ==

  /colord/window: Gtk-Message: GtkDialog mapped without a transient parent. 
This is discouraged.
  **
  libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion 
failed (error == NULL): failed to connect to colord: Could not connect: No such 
file or directory (cd_window_error, 0)
  FAIL cd-self-test (exit status: 134)

To manage notifications about this bug go to:
https://bugs.launchpad.net/colord-gtk/+bug/1690706/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1690706] Re: Tests are not being run

2017-05-17 Thread Iain Lane
I would try making a temporary directory under $(CURDIR)/debian/ and
export XDG_RUNTIME_DIR=that-directory. Make sure to remove it in clean
too.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to colord-gtk in Ubuntu.
https://bugs.launchpad.net/bugs/1690706

Title:
  Tests are not being run

Status in colord-gtk package in Ubuntu:
  New

Bug description:
  The issue of the tests not being run was raised at both MIRs for this
  package LP: #1282372 and LP: #1685411

  I tried to enable the test using dh_auto_test but I still couldn't get
  it to work. I'm attaching the patch I used for the packaging and the
  full build log.

  https://github.com/hughsie/colord-gtk/blob/master/libcolord-gtk/cd-
  self-test.c

  Build Log Excerpt
  =
  make[5]: Entering directory '/<>/libcolord-gtk'
  Activating service name='org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Successfully activated service 'org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Activating service name='org.a11y.atspi.Registry'
  Successfully activated service 'org.a11y.atspi.Registry'
  SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
  ../test-driver: line 107: 11413 Aborted (core dumped) "$@" > 
$log_file 2>&1
  FAIL: cd-self-test
  =
     colord-gtk 0.1.26: libcolord-gtk/test-suite.log
  =

  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0

  .. contents:: :depth: 2

  FAIL: cd-self-test
  ==

  /colord/window: Gtk-Message: GtkDialog mapped without a transient parent. 
This is discouraged.
  **
  libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion 
failed (error == NULL): failed to connect to colord: Could not connect: No such 
file or directory (cd_window_error, 0)
  FAIL cd-self-test (exit status: 134)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/colord-gtk/+bug/1690706/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1690706] Re: Tests are not being run

2017-05-14 Thread Jeremy Bicha
** Attachment added: "colord-gtk_0.1.26-1.1_amd64-2017-05-15T03:18:49Z.build"
   
https://bugs.launchpad.net/ubuntu/+source/colord-gtk/+bug/1690706/+attachment/4876664/+files/colord-gtk_0.1.26-1.1_amd64-2017-05-15T03%3A18%3A49Z.build

** Description changed:

  The issue of the tests not being run was raised at both MIRs for this
  package LP: #1282372 and LP: #1685411
  
  I tried to enable the test using dh_auto_test but I still couldn't get
  it to work. I'm attaching the patch I used for the packaging and the
  full build log.
+ 
+ https://github.com/hughsie/colord-gtk/blob/master/libcolord-gtk/cd-self-
+ test.c
  
  Build Log Excerpt
  =
  make[5]: Entering directory '/<>/libcolord-gtk'
  Activating service name='org.a11y.Bus'
  
  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.
  
  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.
  
  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.
  
  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.
  
  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Successfully activated service 'org.a11y.Bus'
  
  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Activating service name='org.a11y.atspi.Registry'
  Successfully activated service 'org.a11y.atspi.Registry'
  SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
  ../test-driver: line 107: 11413 Aborted (core dumped) "$@" > 
$log_file 2>&1
  FAIL: cd-self-test
  =
-colord-gtk 0.1.26: libcolord-gtk/test-suite.log
+    colord-gtk 0.1.26: libcolord-gtk/test-suite.log
  =
  
  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0
  
  .. contents:: :depth: 2
  
  FAIL: cd-self-test
  ==
  
  /colord/window: Gtk-Message: GtkDialog mapped without a transient parent. 
This is discouraged.
  **
  libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion 
failed (error == NULL): failed to connect to colord: Could not connect: No such 
file or directory (cd_window_error, 0)
  FAIL cd-self-test (exit status: 134)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to colord-gtk in Ubuntu.
https://bugs.launchpad.net/bugs/1690706

Title:
  Tests are not being run

Status in colord-gtk package in Ubuntu:
  New

Bug description:
  The issue of the tests not being run was raised at both MIRs for this
  package LP: #1282372 and LP: #1685411

  I tried to enable the test using dh_auto_test but I still couldn't get
  it to work. I'm attaching the patch I used for the packaging and the
  full build log.

  https://github.com/hughsie/colord-gtk/blob/master/libcolord-gtk/cd-
  self-test.c

  Build Log Excerpt
  =
  make[5]: Entering directory '/<>/libcolord-gtk'
  Activating service name='org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Successfully activated service 'org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Activating service name='org.a11y.atspi.Registry'
  Successfully activated service 'org.a11y.atspi.Registry'
  SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
  ../test-driver: line 107: 11413 Aborted (core dumped) "$@" > 
$log_file 2>&1
  FAIL: cd-self-test
  =
     colord-gtk 0.1.26: libcolord-gtk/test-suite.log
  =

  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0

  .. contents:: :depth: 2

  FAIL: cd-self-test
  

[Desktop-packages] [Bug 1690706] Re: Tests are not being run

2017-05-14 Thread Jeremy Bicha
** Patch added: "enable-colord-gtk-tests.patch"
   
https://bugs.launchpad.net/ubuntu/+source/colord-gtk/+bug/1690706/+attachment/4876663/+files/enable-colord-gtk-tests.patch

** Tags added: patch

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to colord-gtk in Ubuntu.
https://bugs.launchpad.net/bugs/1690706

Title:
  Tests are not being run

Status in colord-gtk package in Ubuntu:
  New

Bug description:
  The issue of the tests not being run was raised at both MIRs for this
  package LP: #1282372 and LP: #1685411

  I tried to enable the test using dh_auto_test but I still couldn't get
  it to work. I'm attaching the patch I used for the packaging and the
  full build log.

  https://github.com/hughsie/colord-gtk/blob/master/libcolord-gtk/cd-
  self-test.c

  Build Log Excerpt
  =
  make[5]: Entering directory '/<>/libcolord-gtk'
  Activating service name='org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory
  '/run/user/1000/dconf': Permission denied.  dconf will not work
  properly.

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Successfully activated service 'org.a11y.Bus'

  (process:11432): dconf-CRITICAL **: unable to create directory 
'/run/user/1000/dconf': Permission denied.  dconf will not work properly.
  Activating service name='org.a11y.atspi.Registry'
  Successfully activated service 'org.a11y.atspi.Registry'
  SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
  ../test-driver: line 107: 11413 Aborted (core dumped) "$@" > 
$log_file 2>&1
  FAIL: cd-self-test
  =
     colord-gtk 0.1.26: libcolord-gtk/test-suite.log
  =

  # TOTAL: 1
  # PASS:  0
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  1
  # XPASS: 0
  # ERROR: 0

  .. contents:: :depth: 2

  FAIL: cd-self-test
  ==

  /colord/window: Gtk-Message: GtkDialog mapped without a transient parent. 
This is discouraged.
  **
  libcolord-gtk:ERROR:cd-self-test.c:45:cd_window_get_profile_cb: assertion 
failed (error == NULL): failed to connect to colord: Could not connect: No such 
file or directory (cd_window_error, 0)
  FAIL cd-self-test (exit status: 134)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/colord-gtk/+bug/1690706/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp