action #56003
closed[qe-core][functional] Add ghostscript to Tumbleweed
0%
Description
I have written a bash script called gwrap
which will be the main part of the new package gswrap for Tumbleweed[1]. This script uses the tool bwrap
from package bubblewrap to provide a fresh namespace for ghostscript. Both the next package version of ghostscript as well as gswrap uses update-alternatives to replace the program /usr/bin/gs
with the gswrap script, if installed, otherwise the alternative link points to /usr/bin/gs.bin
... The aim of this is to have a secure container for ghostscript executed with option -dSAFER
which should work for the most cases. Even with the X window system and also with pipes and the option -sOutputFile=%pipe%<command>
[1] https://build.opensuse.org/package/show/Printing/gswrap
Acceptance criteria¶
- AC: A new openQA test module covers use case for gswrap
Exit criteria¶
- EC: An test is implemented in OBS/IBS
Further information¶
Updated by SLindoMansilla about 5 years ago
- Subject changed from Test case for gswrap package for ghostscript to [functional][u] Test case for gswrap package for ghostscript
- Description updated (diff)
- Priority changed from Normal to High
Updated by SLindoMansilla about 5 years ago
- Assignee set to mgriessmeier
Waiting for mgriessmeier's feedback
Updated by szarate about 5 years ago
- Status changed from New to Feedback
Setting to feedback, waiting for clarification from PO. (We don't event know why we we set it to wait for feeedback in the first place)
Updated by mgriessmeier about 5 years ago
- Status changed from Feedback to New
- Assignee deleted (
mgriessmeier) - Target version set to Milestone 30+
so this is a valid ticket for a new test in our domain.
but setting to next milestone
Updated by SLindoMansilla almost 5 years ago
- Status changed from New to Workable
- Priority changed from High to Normal
- Estimated time set to 42.00 h
Updated by mgriessmeier almost 5 years ago
- Target version changed from Milestone 30+ to Milestone 31
Updated by jorauch almost 5 years ago
- Status changed from Workable to In Progress
- Assignee set to jorauch
Now this looks like a job for me
Updated by jorauch over 4 years ago
- Status changed from In Progress to Workable
- Assignee deleted (
jorauch)
unassigning due to vacation and lack of progress
Updated by zluo over 4 years ago
- Status changed from Workable to In Progress
- Assignee set to zluo
take over
Updated by zluo over 4 years ago
https://build.opensuse.org/package/show/Printing/gswrap shows:
gswrap
SLE_12_SP5
x86_64
succeeded
SLE_15
x86_64
succeeded
SLE_15_SP1
x86_64
succeeded
SLE_15_SP2
x86_64
succeeded
openSUSE_Factory_ARM
aarch64
succeeded
armv7l
succeeded
openSUSE_Factory_PowerPC
ppc64
succeeded
ppc64le
succeeded
openSUSE_Leap_15.1
x86_64
succeeded
openSUSE_Leap_15.2
x86_64
succeeded
openSUSE_Tumbleweed
i586
succeeded
x86_64
succeeded
But let me focus this for tumbleweed at first.
Updated by zluo over 4 years ago
http://f40.suse.de/tests/7715#step/gswrap/13
still not working yet. I have issue with opening ps file which works on my TW.
Updated by zluo over 4 years ago
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/10257
need to work on it further.
Updated by zluo over 4 years ago
actually I cannot make further progress.
just for record:
from wernerfink: ps is a text based command ... there is no X forwarding
Updated by SLindoMansilla over 4 years ago
- Assignee changed from zluo to SLindoMansilla
I will try to apply Werner's suggestions.
Updated by tjyrinki_suse about 4 years ago
- Subject changed from [functional][u] Test case for gswrap package for ghostscript to [qe-core][functional] Test case for gswrap package for ghostscript
Updated by SLindoMansilla over 3 years ago
- Assignee deleted (
SLindoMansilla)
No time to work on this :(
Updated by zluo over 3 years ago
- Assignee set to zluo
will try this now again :) At least I will think about how to make a useful test case fo Tumbleweed.
Updated by zluo over 3 years ago
- Target version changed from Milestone 31 to QE-Core: Ready
- Start date changed from 2019-08-27 to 2021-06-29
Updated by zluo over 3 years ago
found that we have it already on OSD:
https://openqa.suse.de/tests/5990467#step/ghostscript/1
we have now x11/ghostscript.pm and checked for following on Tumbleweed:
type_string("bash -x gs.wrap -dSAFER \n");
save_screenshot;
type_string("/usr/bin/gs.wrap -sDEVICE=x11alpha -g600x400 $reference\n");
save_screenshot;
Updated by zluo over 3 years ago
create needle 'ghostview_alphabet' required for Tumbleweed. So far it looks good for current code of ghostscrit.pm
Schedule this module to Tumbleweed at first. This meets main requirement of this ticket.
Updated by zluo over 3 years ago
Updated by zluo over 3 years ago
- Subject changed from [qe-core][functional] Test case for gswrap package for ghostscript to [qe-core][functional] Add ghostscript to Tumbleweed
Updated by zluo over 3 years ago
- Status changed from In Progress to Resolved
https://openqa.opensuse.org/tests/1815503#step/ghostscript/37 looks good on O3.