Checkbox is a testing framework used to validate device compatibility with Ubuntu Linux. It’s the testing tool developed for the purposes of the Ubuntu Certification program.
develop assumes that /var/tmp/checkbox-providers-develop exists, and crashes if it doesn't.
To Reproduce
Ensure there's no /var/tmp/checkbox-providers-develop dir
run ./manage.py develop
Environment
Environment agnostic
Relevant log output
(venv-small) ➜ 2023.com.kissiel:testing ./manage.py develop
$PROVIDERPATH is defined, so following provider sources are ignored ['/usr/local/share/plainbox-providers-1', '/usr/share/plainbox-providers-1', '/home/kissiel/.local/share/plainbox-providers-1', '/var/tmp/checkbox-providers-develop']
CRITICAL plainbox.crashes: Executable 'manage.py' invoked with Namespace(log_level=None, debug_console=False, trace=[], pdb=False, debug_interrupt=False, uninstall=False, force=False, directory='/var/tmp/checkbox-providers-develop', command=<plainbox.provider_manager.DevelopCommand object at 0x7fa124877a10>) has crashed
Traceback (most recent call last):
File "/home/kissiel/checkbox/checkbox-ng/plainbox/impl/clitools.py", line 560, in dispatch_and_catch_exceptions
return self.dispatch_command(ns)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kissiel/checkbox/checkbox-ng/plainbox/impl/clitools.py", line 556, in dispatch_command
return ns.command.invoked(ns)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/kissiel/checkbox/checkbox-ng/plainbox/provider_manager.py", line 554, in invoked
if pp_env and not os.path.samefile(pp_env, ns.directory):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen genericpath>", line 101, in samefile
FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/checkbox-providers-develop'
Traceback (most recent call last):
File "/home/kissiel/checkbox-stuff/providers/2023.com.kissiel:testing/./manage.py", line 16, in <module>
setup(
File "/home/kissiel/checkbox/checkbox-ng/plainbox/provider_manager.py", line 1692, in setup
raise SystemExit(ProviderManagerTool(definition, kwargs).main())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kissiel/checkbox/checkbox-ng/plainbox/impl/clitools.py", line 324, in main
return self.dispatch_and_catch_exceptions(ns)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kissiel/checkbox/checkbox-ng/plainbox/impl/clitools.py", line 560, in dispatch_and_catch_exceptions
return self.dispatch_command(ns)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kissiel/checkbox/checkbox-ng/plainbox/impl/clitools.py", line 556, in dispatch_command
return ns.command.invoked(ns)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/kissiel/checkbox/checkbox-ng/plainbox/provider_manager.py", line 554, in invoked
if pp_env and not os.path.samefile(pp_env, ns.directory):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen genericpath>", line 101, in samefile
FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/checkbox-providers-develop'
Bug Description
develop
assumes that/var/tmp/checkbox-providers-develop
exists, and crashes if it doesn't.To Reproduce
/var/tmp/checkbox-providers-develop
dir./manage.py develop
Environment
Environment agnostic
Relevant log output