Page MenuHomePhabricator

Using non-English characters in jsub, jstart, qcronsub program name
Open, LowPublic

Description

When working under the new Debian Stretch environment, I find that when I assign a program name with non-English characters, it will just be ignored and won't appear in my Grid Engine jobs list. But with the same program name, it worked in Ubuntu Trusty.

The error message (e.g., in "cron-tools.cewbot-20150503.提報關注度不足過期提醒.err"):

Unable to run job: Error reading answer list from qmaster
Exiting.

It seems there are some similar discussions:
http://wikimedia.7.x6.nabble.com/Toolserver-having-a-bad-day-td4906700.html
http://arc.liv.ac.uk/pipermail/sge-bugs/2012-February/000271.html

But I still don't know how to fix the problem.

Did I miss anything?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 20 2019, 6:10 AM
Kanashimi updated the task description. (Show Details)Mar 20 2019, 6:10 AM
Kanashimi updated the task description. (Show Details)Mar 20 2019, 6:19 AM
Kanashimi updated the task description. (Show Details)
Kanashimi updated the task description. (Show Details)
Kanashimi updated the task description. (Show Details)Mar 20 2019, 8:35 AM

I assume this is about Toolforge? Context welcome. :)

@Aklapper Yes, it's about Toolforge.

bd808 triaged this task as Low priority.Mar 25 2019, 5:20 AM
bd808 added a project: Upstream.
bd808 added a subscriber: bd808.

This seems to be a known bug upstream: https://arc.liv.ac.uk/trac/SGE/ticket/1411

Passing qsub a non-ASCII job name (for instance), it reports
Unable to run job: Error reading answer list from qmaster.
whereas a forbidden ASCII character reports, say
Unable to run job: At ('@') not allowed in objectname.

I added a note about this issue at https://wikitech.wikimedia.org/wiki/News/Toolforge_Trusty_deprecation#%22Unable_to_run_job:_Error_reading_answer_list_from_qmaster%22

We could probably add something to our jsub wrapper program to either give a nicer error message or to somehow automatically translate the job name into something that does work with the grid engine.