lp:~sylvain-pineau/plainbox-provider-resource

Owned by Sylvain Pineau
Get this repository:
git clone https://git.launchpad.net/~sylvain-pineau/plainbox-provider-resource
Only Sylvain Pineau can upload to this repository. If you are Sylvain Pineau please log in for upload directions.

Branches

Name Last Modified Last Commit
display-resource-wayland-support 2022-04-13 08:28:47 UTC
bin:display_resource: parse the gnome-randr output on wayland sessions

Author: Sylvain Pineau
Author Date: 2022-04-06 09:17:14 UTC

bin:display_resource: parse the gnome-randr output on wayland sessions

remove-nm-dep 2021-04-01 16:56:38 UTC
Stop pulling network-manager as a deb dependency of this provider

Author: Sylvain Pineau
Author Date: 2021-04-01 16:56:38 UTC

Stop pulling network-manager as a deb dependency of this provider

cpuinfo_res_scaling 2021-03-26 14:32:48 UTC
bin/cpuinfo_resource.py: Added cpufreq scaling support

Author: Sylvain Pineau
Author Date: 2021-03-26 14:32:48 UTC

bin/cpuinfo_resource.py: Added cpufreq scaling support

fix_graphics_card_resource_missing_vendor_id 2020-09-30 06:55:14 UTC
bin:graphics_card_resource: Properly handle deviecs w/o vendor_id

Author: Sylvain Pineau
Author Date: 2020-09-30 06:55:14 UTC

bin:graphics_card_resource: Properly handle deviecs w/o vendor_id

Video devices found using /dev/dri/card* only have a product field.

restore_package_version 2020-09-11 07:21:31 UTC
resource:package: Restore the package version in the resource ouput

Author: Sylvain Pineau
Author Date: 2020-09-11 07:21:31 UTC

resource:package: Restore the package version in the resource ouput

fix_executable_res 2020-09-10 09:52:27 UTC
resource:executable: Remove find command errors msg from job output

Author: Sylvain Pineau
Author Date: 2020-09-10 09:52:27 UTC

resource:executable: Remove find command errors msg from job output

resource_improv 2020-09-02 08:29:42 UTC
Just list the package resource name property

Author: Sylvain Pineau
Author Date: 2020-09-02 08:29:42 UTC

Just list the package resource name property

Also remove the UC fake line:

echo -e 'name: plainbox\nversion: 0.1\n\n'

Useless since checkbox can now handle empty resource objects correctly

no_dmidecode_riscv64 2020-07-20 07:09:30 UTC
packaging: Remove the dmidecode dependency on riscv64 architecture

Author: Sylvain Pineau
Author Date: 2020-07-20 07:09:30 UTC

packaging: Remove the dmidecode dependency on riscv64 architecture

fix_flake8_shellcheck_errors 2020-07-16 11:57:28 UTC
Fix shellcheck errors in bin/*.sh

Author: Sylvain Pineau
Author Date: 2020-07-16 11:57:28 UTC

Fix shellcheck errors in bin/*.sh

extensions4all 2020-07-14 15:29:01 UTC
Remove all i18n content

Author: Sylvain Pineau
Author Date: 2020-07-14 15:29:01 UTC

Remove all i18n content

remove-ipmctl-packaging-unit 2020-04-20 09:55:15 UTC
resource.pxu: Remove ipmctl packaging meta data unit

Author: Sylvain Pineau
Author Date: 2020-04-20 09:55:15 UTC

resource.pxu: Remove ipmctl packaging meta data unit

Already defined in https://git.launchpad.net/plainbox-provider-checkbox/tree/units/nvdimm/packaging.pxu

fix-1863725 2020-02-19 09:47:37 UTC
mobilebroadband_resource: Fix to work with mm-cli >= 1.10

Author: Sylvain Pineau
Author Date: 2020-02-19 09:47:37 UTC

mobilebroadband_resource: Fix to work with mm-cli >= 1.10

1.10 removed the --simple-status still present in 1.8.

See:

- https://www.freedesktop.org/software/ModemManager/man/1.8.0/mmcli.8.html
- https://www.freedesktop.org/software/ModemManager/man/1.10.0/mmcli.1.html

Fixes: lp:1863725

fix-1851473 2019-11-06 09:36:14 UTC
Fix the usb resource job command running from classic snaps

Author: Sylvain Pineau
Author Date: 2019-11-06 09:35:29 UTC

Fix the usb resource job command running from classic snaps

Fixes: lp:1851473

fix-1850761 2019-11-04 13:12:20 UTC
Update the iw packaging meta data os-id: (debian -> ubuntu)

Author: Sylvain Pineau
Author Date: 2019-11-04 13:12:20 UTC

Update the iw packaging meta data os-id: (debian -> ubuntu)

more_lk_fixes 2019-10-13 14:49:52 UTC
bin:bootloader_resource.py: python-friendly property names

Author: Sylvain Pineau
Author Date: 2019-10-13 14:49:52 UTC

bin:bootloader_resource.py: python-friendly property names

bootloader_resource_lk 2019-10-12 15:33:32 UTC
bin:bootloader_resource.py: Add little kernel support

Author: Sylvain Pineau
Author Date: 2019-10-11 13:34:24 UTC

bin:bootloader_resource.py: Add little kernel support

80211ax_support 2019-09-06 11:41:18 UTC
wireless_sta_protocol: Add 80211ax support

Author: Sylvain Pineau
Author Date: 2019-09-06 11:41:18 UTC

wireless_sta_protocol: Add 80211ax support

Checking MCS is the range 0-11 ensures the 1024-QAM specific to ax.

fix-rtc-resource 2019-02-11 09:29:47 UTC
Fix the rtc resource job to check for /proc/driver/rtc instead of sysfs

Author: Sylvain Pineau
Author Date: 2019-02-11 09:29:47 UTC

Fix the rtc resource job to check for /proc/driver/rtc instead of sysfs

/sys/class/rtc always exists even if empty (no rtc0)
But /proc/driver/rtc is not exposed when there's no hw clock.

udev_resource_short_list_option 2018-11-25 20:11:53 UTC
bin:udev_resource: Add a --short option to the list command

Author: Sylvain Pineau
Author Date: 2018-11-25 20:11:53 UTC

bin:udev_resource: Add a --short option to the list command

Display the device and its chip id in a short form.

add-total-gpus 2018-09-11 07:28:46 UTC
graphics_card_resource: Add to all records the total of available GPU

Author: Sylvain Pineau
Author Date: 2018-09-10 09:41:48 UTC

graphics_card_resource: Add to all records the total of available GPU

Knowing if the SUT runs with hybrid graphics will allow more control in
the requirement jobs (thanks to jinja templates).

E.g:

template-engine: jinja2
depends:
 {%- if gpu_count > "1" %}
  suspend/{{ index }}_suspend_after_switch_to_card_{{ product_slug }}_xenial
 {%- else %}
  suspend/suspend_advanced
 {%- endif %}

fix-1781609 2018-07-14 16:44:50 UTC
snapd_resource: Add status property to the snap fields

Author: Sylvain Pineau
Author Date: 2018-07-14 16:44:50 UTC

snapd_resource: Add status property to the snap fields

fwts_executable 2018-05-16 08:54:35 UTC
resource:fwts: Use executable.name to be snap-friendly

Author: Sylvain Pineau
Author Date: 2018-05-16 08:54:35 UTC

resource:fwts: Use executable.name to be snap-friendly

remove_n_wireless_sta_resource 2018-03-25 13:04:59 UTC
wireless_sta_protocol: Only create resource object for 802.11ac

Author: Sylvain Pineau
Author Date: 2018-03-25 13:04:59 UTC

wireless_sta_protocol: Only create resource object for 802.11ac

802.11n cannot be detected by grepping iwconfig after 16.04.
See https://patchwork.kernel.org/patch/8935491/

fix-1757359 2018-03-21 10:21:36 UTC
display_resource: Assume HDMI is present if DP ports are reported by xrandr

Author: Sylvain Pineau
Author Date: 2018-03-21 10:21:36 UTC

display_resource: Assume HDMI is present if DP ports are reported by xrandr

Fixes lp:1757359

fix-1744863 2018-03-08 16:44:41 UTC
Use iwconfig for 802.11n detection

Author: Sylvain Pineau
Author Date: 2018-03-08 16:44:41 UTC

Use iwconfig for 802.11n detection

Fixes lp:1744863

update_requirements 2018-01-26 16:13:11 UTC
Update requirements to depend on checkbox-ng

Author: Sylvain Pineau
Author Date: 2018-01-26 16:13:11 UTC

Update requirements to depend on checkbox-ng

fix-fwts-resource 2018-01-01 22:15:32 UTC
Fix fwts resource by using checkbox-support-fwts_test

Author: Sylvain Pineau
Author Date: 2018-01-01 22:15:32 UTC

Fix fwts resource by using checkbox-support-fwts_test

wireless_sta_protocol 2017-12-22 09:45:44 UTC
Restore the wireless_sta_protocol (previously available in snappy provider)

Author: Sylvain Pineau
Author Date: 2017-12-22 09:45:44 UTC

Restore the wireless_sta_protocol (previously available in snappy provider)

more_snapd_fixes 2017-12-10 13:09:38 UTC
snapd_resource: return an empty response instead of exiting with 0

Author: Sylvain Pineau
Author Date: 2017-12-10 13:09:38 UTC

snapd_resource: return an empty response instead of exiting with 0

Allowing the following job requirement to work as expected on system w/o snapd:

ID: com.canonical.certification::sysfs_attachment
Category: com.canonical.plainbox::info
Job cannot be started because:
 - resource expression 'model_assertion.model != "dragonboard"' evaluates to false
Outcome: job cannot be started

no_snapd 2017-12-06 20:40:43 UTC
snapd_resource: Stop raising exception if snapd is not installed

Author: Sylvain Pineau
Author Date: 2017-12-06 20:40:43 UTC

snapd_resource: Stop raising exception if snapd is not installed

udev_infiniband 2017-11-20 16:12:21 UTC
udev_resource: Add INFINIBAND to the list of filter options

Author: Sylvain Pineau
Author Date: 2017-11-20 16:12:21 UTC

udev_resource: Add INFINIBAND to the list of filter options

fix-1712018 2017-08-22 14:30:37 UTC
graphic card resource: Add a new flag opengl_renderer

Author: Sylvain Pineau
Author Date: 2017-08-22 14:30:37 UTC

graphic card resource: Add a new flag opengl_renderer

If amdgpu.dpm=0 and OpenGL renderer is Intel, tests like glxgears
becomes invalid case because OpenGL renderer is not AMD.

This flag set by default to 'valid', if the following command returns 0:
    glxinfo | grep "OpenGL re" | grep Intel
then the flag is set 'to invalid'.

See: https://bugs.launchpad.net/plainbox-provider-checkbox/+bug/1712018

drop-year-from-namespaces 2017-07-06 14:24:05 UTC
drop year prefix from namespaces

Author: Sylvain Pineau
Author Date: 2017-07-06 14:24:05 UTC

drop year prefix from namespaces

fake_snap 2017-07-06 11:13:14 UTC
snapd_resource: print a fake snap be able to use snap.name in requirements

Author: Sylvain Pineau
Author Date: 2017-07-06 11:13:14 UTC

snapd_resource: print a fake snap be able to use snap.name in requirements

Only when nothing is reported by snapd.

usb_resource_snappy 2017-06-29 16:16:54 UTC
Update the usb resource job to work on snappy

Author: Sylvain Pineau
Author Date: 2017-06-29 16:16:54 UTC

Update the usb resource job to work on snappy

Use lsusb.py and path to usb.ids
2 digits for usb versions (e.g 2.00 and 3.00)

resource_cleanup 2017-06-29 15:37:52 UTC
Remove checkbox_support.lib.template import from xinput_resource

Author: Sylvain Pineau
Author Date: 2017-06-29 15:37:52 UTC

Remove checkbox_support.lib.template import from xinput_resource

Use a simpler version to render results w/o the external module.
It will soon be removed from checkbox-support.

fake_package_res_snappy2 2017-06-26 18:49:57 UTC
Fix package resource to output fake version and modalias on snappy

Author: Sylvain Pineau
Author Date: 2017-06-26 18:49:57 UTC

Fix package resource to output fake version and modalias on snappy

fake_package_res_snappy 2017-06-15 15:42:34 UTC
Fix the package resource to return at least one record

Author: Sylvain Pineau
Author Date: 2017-06-15 15:42:34 UTC

Fix the package resource to return at least one record

On snappy the dpkg-query is not available and the resource fails silently.
It's an issue for jobs expressing requirements as follow:

package.name == 'foo' or lsb.distributor_id == 'Ubuntu Core'

As even if UC is properly detected, the failing package resource with no
records makes the whole expression to fail (i.e == False).

This patch return a fake plainbox package name to fix the problem.

list-removable-partitions 2017-05-23 13:03:57 UTC
New resource job to help listing removable partitions (using udev_resource)

Author: Sylvain Pineau
Author Date: 2017-05-23 13:03:57 UTC

New resource job to help listing removable partitions (using udev_resource)

udev_resource_filter_option 2017-04-21 10:37:01 UTC
udev_resource: Add a filter option and exit 1 when no devices found

Author: Sylvain Pineau
Author Date: 2017-04-21 10:37:01 UTC

udev_resource: Add a filter option and exit 1 when no devices found

The filter option will deprecate two scripts used in the checkbox provider:
- bin/filter_templates
- bin/run_templates

Add WWAN and CDROM categories in the allowed identifiers.

Exit 1 when nothing matches the categories used by filter and list commands.

wifi_interface_mode 2017-04-19 10:09:08 UTC
Add the wifi_interface_mode resource job (from the snappy resource provider)

Author: Sylvain Pineau
Author Date: 2017-04-19 10:09:08 UTC

Add the wifi_interface_mode resource job (from the snappy resource provider)

package_req_cleanup 2017-04-18 16:08:32 UTC
Drop package.name requirements for core packages (always in the classic manif...

Author: Sylvain Pineau
Author Date: 2017-04-18 16:08:32 UTC

Drop package.name requirements for core packages (always in the classic manifests)

snapd_resources 2017-04-07 08:44:19 UTC
Add snapd resources jobs

Author: Sylvain Pineau
Author Date: 2017-04-07 08:44:19 UTC

Add snapd resources jobs

no_prefix_block_resource 2017-04-03 16:09:01 UTC
block_device_resource: stop prefixing properties with dev name

Author: Sylvain Pineau
Author Date: 2017-04-03 16:02:55 UTC

block_device_resource: stop prefixing properties with dev name

dev mapper devices are usually named dm-[0-9]+.
Using such names makes jobs requirements to crash as the AST parse fails
with a syntax error as '-' is seen as an operator.

snap_resource 2017-03-22 12:45:36 UTC
Add the snap resource job

Author: Sylvain Pineau
Author Date: 2017-03-22 12:45:36 UTC

Add the snap resource job

Identical to the one available in plainbox-provider-snappy-resource

mac_attr 2016-11-24 13:13:59 UTC
bin:udev_resource: Add mac addresses to the list of attributes

Author: Sylvain Pineau
Author Date: 2016-11-24 13:13:59 UTC

bin:udev_resource: Add mac addresses to the list of attributes

146 of 46 results
This repository contains Public information 
Everyone can see this information.

Subscribers