Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skipped provider warnings when launching checkbox #1148

Open
bladernr opened this issue Apr 3, 2024 · 1 comment
Open

Skipped provider warnings when launching checkbox #1148

bladernr opened this issue Apr 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@bladernr
Copy link
Collaborator

bladernr commented Apr 3, 2024

Bug Description

When launching checkbox I noted a few warnings about skipping providers at the beginning of the test run on ubuntu-server (24.04)

To Reproduce

Install 24.04
Install checkbox from beta ppa
run a test launcher

Environment

  • 24.04
  • checkbox version 4.0.0.dev194

Relevant log output

ubuntu@luma:~$ certify-22.04
Unexpected section [common]. Origin: /etc/xdg/canonical-certification.conf
Preparing...
WARNING:plainbox.secure.providers.v1:Skipped file: /usr/share/checkbox-provider-base/units/camera/README.rst
WARNING:plainbox.secure.providers.v1:Skipped file: /usr/share/checkbox-provider-base/units/snapd/README.md
WARNING:plainbox.secure.providers.v1:Skipped file: /usr/share/checkbox-provider-base/units/stress/suspend_cycles_reboot.md
============[ Bootstrap com.canonical.certification::device (1/3) ]=============
==========[ Bootstrap com.canonical.certification::executable (2/3) ]===========
=============[ Bootstrap com.canonical.certification::fwts (3/3) ]==============
Reports will be saved to: /home/ubuntu/.local/share/checkbox-ng
=======[ Running job 1 / 119. Estimated time left (at least): 15:11:10 ]========
--------------------[ Run FWTS Server Cert selected tests. ]--------------------
ID: com.canonical.certification::firmware/fwts_server
Category: com.canonical.plainbox::firmware
... 8< -------------------------------------------------------------------------
^C^CERROR:plainbox.bug:Undeclared exception KeyboardInterrupt raised from run_job
^CException ignored in: <module 'threading' from '/usr/lib/python3.12/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.12/threading.py", line 1622, in _shutdown
    lock.acquire()
KeyboardInterrupt: 

ubuntu@luma:~$ checkbox-cli --version
4.0.0.dev194
ubuntu@luma:~$

Additional context

It appears to be complaining also be complaining about the [common] section of the config file which has existed for a very long time... this is separate from the warnings though.

[common]
welcome_text = Welcome to System Certification!
 
 This application will gather information from your system. Then you will be asked manual tests to confirm that the system is working properly. Finally, you will be asked for the Secure ID of the computer to submit the information to the certification.canonical.com database.

 Please be sure you have edited /etc/xdg/canonical-certification.conf as necessary to set your Secure ID, and network and virtualization test parameters.

 To learn how to create or locate the Secure ID, please see here:

 https://certification.canonical.com/home/ubuntu-certified
@bladernr bladernr added the bug Something isn't working label Apr 3, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CHECKBOX-1354.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant