Several scripts fail due to lack of execute permissions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| checkbox (Ubuntu) |
Critical
|
Marc Tardif |
Bug Description
Binary package hint: checkbox
A lot of the files in the scripts directory lack execute permissions. As a result several tests fail, e g alsa_record_
For example, when testing audio, pressing the "test" button will just cause a window to open and immediately close again, and button name change to "test again".
Changed in checkbox (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
gyromaxx (gyromaxx) wrote : | #1 |
David Henningsson (diwic) wrote : | #2 |
@gyromaxx: exactly, and I even made a branch + merge proposal with that particular fix to make it as simple as possible for an ubuntu-core-dev to pick it up.
An interesting thing to notice is that the error is not upstream but only in the karmic branch. This could be the reason why this bug could have escaped detection for so long.
Changed in checkbox (Ubuntu): | |
assignee: | nobody → Marc Tardif (cr3) |
importance: | High → Critical |
status: | New → Confirmed |
Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package checkbox - 0.8.5
---------------
checkbox (0.8.5) karmic; urgency=low
* Fixed translation of suites and tests files (LP: #456115)
* Fixed checking the status of command registries (LP: #457502)
* Fixed selecting suites in the command line (LP: #457559)
* Fixed reporting of bugs to contain test description (LP: #427932)
* Fixed execute permissions on scripts (LP: #459606)
* Renamed processors_info plugin to singular because processor
information is reported as a single structure with a count attribute
* Updated translation files.
-- Marc Tardif <email address hidden> Mon, 26 Oct 2009 12:17:30 -0400
Changed in checkbox (Ubuntu): | |
status: | Confirmed → Fix Released |
Kenyon Karl (kenyon-karl) wrote : | #4 |
Test_disk_bench (I reported as Bug 447614) hung one time in Ubuntu 9.10 Final when running in Live mode on my Asus A2H (A2500H) laptop. Could it have been related to having to fetch code from the CD ROM? Or is it somehow related to the previous test? After rebooting, and returning to this test after skipping the Audio Tests, Systems test did what appear to be a nice test of my hard drive!
I confirm the same problem here with this pre-installed Gnome application System > Administration > System Testing on Ubuntu 9.10RC, e.g. with tests on audio, video modes, kernel modesetting, disk...
For instance:
<code>
Disk benchmark:
/bin/sh: /usr/share/ checkbox/ scripts/ disk_bench_ test: Permission denied
Is this ok?
</code>
I guess all the shell/python scripts for package "checkbox" (Checkbox System Testing) should have at least their execute permission set (or be called via their corresponding interpreter?): checkbox/ scripts/ alsa_record_ playback checkbox/ scripts/ audio_detect_ silence checkbox/ scripts/ compiz- check checkbox/ scripts/ cycle_vts checkbox/ scripts/ disk_bench_ test checkbox/ scripts/ filter_ templates checkbox/ scripts/ gst_pipeline_ test checkbox/ scripts/ internet_ test checkbox/ scripts/ keyboard_ test checkbox/ scripts/ network_ check checkbox/ scripts/ network_ test checkbox/ scripts/ resolution_ test checkbox/ scripts/ run_compiz_ check checkbox/ scripts/ suspend_ test checkbox/ scripts/ xrandr_ cycle
<code>
-rw-r--r-- 1 root root 239 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 1061 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 28457 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 323 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 431 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 2943 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 761 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 3928 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 1829 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 1173 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 451 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 1291 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 655 2009-10-14 17:23 /usr/share/
-rwxr-xr-x 1 root root 14497 2009-10-14 17:23 /usr/share/
-rw-r--r-- 1 root root 3190 2009-10-14 17:23 /usr/share/
</code>
All tests looked to be running OK after just setting the execute bit on these files, e.g. via: checkbox/ scripts/ *
<code>
sudo chmod a+x /usr/share/
</code>
So I guess this would be just a simple file execute permission fix in this package "checkbox"?