Unable to install canonical-certification-client on 14.04.3 kittyhawk image, failed with dependency error

Bug #1456563 reported by Po-Hsu Lin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Provider for Plainbox - Canonical Certification (Legacy)
Fix Released
Critical
Sylvain Pineau

Bug Description

We're unable to install canonical-certification-client on a Dell system with 14.04.3 OEM image

Test steps:
1. Run Dell recovery on the target system
2. Add checkbox-dev ppa, and run "sudo apt-get update"
3. Try to install canonical-certification-client

It will complain about the dependency not met issue as we encountered in 14.04.2 [1]:
unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed

If we try to use the old workaround, as stated in Yung's comment of bug 1428972:
sudo apt-get install canonical-certification-client libcheese-gtk23
libcheese7 libclutter-1.0-0 libclutter-gtk-1.0-0 libcogl15 libclutter-
gst-2.0-0 gstreamer1.0-clutter

It will try to remove some packages and install a bunch of mesa related packages, and causing the clickpad stop working after reboot.
(Only left click still working)

From the to-be-removed packages list:
  libegl1-mesa-lts-vivid libgbm1-lts-vivid libgl1-mesa-dri-lts-vivid
  libgl1-mesa-glx-lts-vivid libglapi-mesa-lts-vivid libgles1-mesa-lts-vivid
  libgles2-mesa-lts-vivid libxatracker2-lts-vivid xserver-xorg-core-lts-vivid
  xserver-xorg-input-all-lts-vivid xserver-xorg-input-evdev-lts-vivid
  xserver-xorg-input-mouse-lts-vivid xserver-xorg-input-synaptics-lts-vivid
  xserver-xorg-input-vmmouse-lts-vivid xserver-xorg-input-wacom-lts-vivid
  xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid
  xserver-xorg-video-ati-lts-vivid xserver-xorg-video-cirrus-lts-vivid
  xserver-xorg-video-fbdev-lts-vivid xserver-xorg-video-intel-lts-vivid
  xserver-xorg-video-mach64-lts-vivid xserver-xorg-video-mga-lts-vivid
  xserver-xorg-video-neomagic-lts-vivid xserver-xorg-video-nouveau-lts-vivid
  xserver-xorg-video-openchrome-lts-vivid xserver-xorg-video-qxl-lts-vivid
  xserver-xorg-video-r128-lts-vivid xserver-xorg-video-radeon-lts-vivid
  xserver-xorg-video-s3-lts-vivid xserver-xorg-video-savage-lts-vivid
  xserver-xorg-video-siliconmotion-lts-vivid
  xserver-xorg-video-sisusb-lts-vivid xserver-xorg-video-tdfx-lts-vivid
  xserver-xorg-video-trident-lts-vivid xserver-xorg-video-vesa-lts-vivid
  xserver-xorg-video-vmware-lts-vivid

It looks like the key could be the xserver related input packages (like the xserver-xorg-input-all-lts-vivid), after it's been removed, we won't be able to install it again, it will become unavailable, only the package with -trusty or -utopic will be available, but not -vivid.

And from the xinput_resource script from resource-generic provider, some feature loss for the Cypress clickpad could be observed, please find attachments for output log before and after this.

As it is blocking QA testing, I will mark this one as Critical.

System information:
image: kittyhawk2-trusty-amd64-20150508-1 image
Linux CRZ-L 3.19.0-17-generic #17~14.04.1-Ubuntu SMP Thu May 7 11:05:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

[1] https://bugs.launchpad.net/bugs/1427524

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

dmesg output after this happens.

I tried "dmesg | grep -i cypress" before and after, there is no significant change other than the time stamp change.

 [ 2.109030] usb 3-1.4: Manufacturer: Cypress Semiconductor
 [ 7.820800] input: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN as /devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1.4/3-1.4:1.0/0003:06CB:75BF.0002/input/input13
 [ 7.821590] hid-multitouch 0003:06CB:75BF.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Cypress Semiconductor USB-Serial (Single Channel)] on usb-0000:00:12.0-1.4/input0

description: updated
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Xorg log after this happened.
EE could be found for the Cypress clickpad in this log.

[ 19.996] (II) XINPUT: Adding extended input device "Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN" (type: TOUCHPAD, id 12)
[ 19.996] (II) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: initialized for absolute axes.
[ 19.996] (**) Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: (accel) keeping acceleration scheme 1
[ 19.997] (**) Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: (accel) acceleration profile 0
[ 19.997] (**) Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: (accel) acceleration factor: 2.000
[ 19.997] (**) Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: (accel) acceleration threshold: 4
[ 19.997] (II) config/udev: Adding input device Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN (/dev/input/mouse1)
[ 19.997] (II) No input driver specified, ignoring this device.
[ 19.997] (II) This device may have been added with another device file.
(EE) [dix] Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: unable to find touch point 0

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Xorg log before this.
The Cypress clickpad works just fine.

[ 10.128] (II) config/udev: Adding input device Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN (/dev/input/event12)
[ 10.128] (**) Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Applying InputClass "evdev touchpad catchall"
[ 10.128] (II) Using input driver 'evdev' for 'Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN'
[ 10.128] (**) Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: always reports core events
[ 10.128] (**) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Device: "/dev/input/event12"
[ 10.184] (II) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Using mtdev for this device
[ 10.184] (--) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Vendor 0x6cb Product 0x75bf
[ 10.184] (--) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Found 1 mouse buttons
[ 10.184] (--) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Found absolute axes
[ 10.184] (--) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Found absolute multitouch axes
[ 10.184] (--) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Found x and y absolute axes
[ 10.184] (--) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Found absolute touchpad.
[ 10.184] (II) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: Configuring as touchpad
[ 10.184] (**) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: YAxisMapping: buttons 4 and 5
[ 10.184] (**) evdev: Cypress Semiconductor USB-Serial (Single Channel) UNKNOWN: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200

Changed in plainbox-provider-canonical-certification:
status: New → Confirmed
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

ok, I can of course reproduced the error.

Now I've tried to figure out which dep was causing the problem. I managed to simulate installation of all depends and recommends of the certification provider except qt5-default.

Try to understand which dep of this package was failing I tried to install liggles2-mesa-dev and got the same errors asking to remove several xserver-xorg-.*lts-vivid packages.

To me it looks like the mesa packages even if greater than 10.1.3-0ubuntu0.4, behave exactly as in https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1424466.

Revision history for this message
Yung Shen (kaxing) wrote :

mesa-lts-vivid still in -proposed,
https://launchpad.net/ubuntu/+source/mesa-lts-vivid

Revision history for this message
Gavin Lin (gavin.lin) wrote :

Got this problem when trying to install canonical-certification-client on SUN-DVT1-C1 and COL-DVT1-C1.

System can't boot to login screen after using the workaround in Yung's comment of bug 1428972:
sudo apt-get install canonical-certification-client libcheese-gtk23
libcheese7 libclutter-1.0-0 libclutter-gtk-1.0-0 libcogl15 libclutter-
gst-2.0-0 gstreamer1.0-clutter

Screen become black after ubuntu loading screen.
This issue is blocking QA testing on these two machines.
Attachment is xorg log from SUN-DVT1-C1 after this issue happened.

[Image]
Base: somerville-trusty-amd64-osp1-iso-20150512-0
Iso: A00_dell-bto-trusty-colorado-sunflower-intel-skl-X01-iso-20150518-4

[Machine]
SKU: SUN-DVT1-C1 (Dell)
BIOS: 0.12.1

SKU: COL-DVT1-C1 (Dell)
BIOS: 0.12.1

Revision history for this message
Vanessa Chang (vanessa-chang) wrote :

Tried proposed kernel, and it can fix the touchpad issue.
However, #9 issue still exists.

Revision history for this message
Gavin Lin (gavin.lin) wrote :

Packages removed when trying the workaround with proposed update enabled on COL-DVT1-C1:

The following packages will be REMOVED:
  libegl1-mesa-lts-vivid libgbm1-lts-vivid libgl1-mesa-dri-lts-vivid
  libgl1-mesa-glx-lts-vivid libglapi-mesa-lts-vivid libgles1-mesa-lts-vivid
  libgles2-mesa-lts-vivid libxatracker2-lts-vivid xserver-xorg-core-lts-vivid
  xserver-xorg-input-all-lts-vivid xserver-xorg-input-evdev-lts-vivid
  xserver-xorg-input-mouse-lts-vivid xserver-xorg-input-synaptics-lts-vivid
  xserver-xorg-input-vmmouse-lts-vivid xserver-xorg-input-wacom-lts-vivid
  xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid
  xserver-xorg-video-ati-lts-vivid xserver-xorg-video-cirrus-lts-vivid
  xserver-xorg-video-fbdev-lts-vivid xserver-xorg-video-intel-lts-vivid
  xserver-xorg-video-mach64-lts-vivid xserver-xorg-video-mga-lts-vivid
  xserver-xorg-video-neomagic-lts-vivid xserver-xorg-video-nouveau-lts-vivid
  xserver-xorg-video-openchrome-lts-vivid xserver-xorg-video-qxl-lts-vivid
  xserver-xorg-video-r128-lts-vivid xserver-xorg-video-radeon-lts-vivid
  xserver-xorg-video-s3-lts-vivid xserver-xorg-video-savage-lts-vivid
  xserver-xorg-video-siliconmotion-lts-vivid
  xserver-xorg-video-sisusb-lts-vivid xserver-xorg-video-tdfx-lts-vivid
  xserver-xorg-video-trident-lts-vivid xserver-xorg-video-vesa-lts-vivid
  xserver-xorg-video-vmware-lts-vivid

Changed in plainbox-provider-canonical-certification:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
Changed in plainbox-provider-canonical-certification:
status: Confirmed → In Progress
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

The certification provider depends on qt5-default because of that bug: https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1349927

Since all jobs requiring qmlscene have all been patched to use the -qt5 option I think we can remove the dependency. I'll try this option and update this bug after some tests.

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

I built the certification client provider in my ppa (https://code.launchpad.net/~sylvain-pineau/+archive/ubuntu/plainbox-providers/+packages) with a higher version than the one currently available in the stable ppa (0.16.2).

The installation was successful (http://pastebin.ubuntu.com/11521116/) and I was able to run canonical-certification client.

I also checked that qmlscene based tests ran well (tested the resolution test) and I confirm they work.

So I'll propose a fix to the packaging branch of the cert provider and push a new post-release version to the stable ppa.

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Tested with kittyhawk2-trusty-amd64-iso-20150508-1.iso

Changed in plainbox-provider-canonical-certification:
status: In Progress → Fix Committed
milestone: none → 0.17
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

For the record the bug about qmlscene running the wrong version of qt: https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1349927

Changed in plainbox-provider-canonical-certification:
status: Fix Committed → Fix Released
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

Fix released in plainbox-provider-canonical-certification 0.16.2

Revision history for this message
Jerry Kao (jerry.kao) wrote :

test on Loveland with base image somerville-trusty-amd64-osp1-20150512-0. kernel 3.19-0-17-generic and plainbox-provider-canonical-certification 0.16.2. This issue can not be reproduced. Can install plainbox successful without dependency error.

ii plainbox 0.21.2+ppa~ubuntu14.04.1 all toolkit for software and hardware integration testing
ii plainbox-glmark2-es2-meta 0.16.2~ppa~ubuntu14.04.1 amd64 metapackage to selectively install glmark2-es2
ii plainbox-insecure-policy 0.21.2+ppa~ubuntu14.04.1 all policykit policy required to use plainbox (insecure version)
ii plainbox-provider-certification-client 0.16.2~ppa~ubuntu14.04.1 all Client Certification
ii plainbox-provider-checkbox 0.20.1~ppa1~ubuntu14.04.1 amd64 CheckBox provider for PlainBox
ii plainbox-provider-oem 0.10 all plainbox oem provider
ii plainbox-provider-oem-somerville 0.10 all plainbox oem provider for stella
ii plainbox-provider-resource-generic 0.18+ppa~ubuntu14.04.1 amd64 CheckBox generic resource jobs provider
ii python3-plainbox 0.21.2+ppa~ubuntu14.04.1 all toolkit for software and hardware testing (python3 module)

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.