I deployed a new version of the jsub command at 2017-10-05T22:42Z. The
major change was porting the script from Python2 to Python3.
Unfortunately I did not test all code paths with the new script. When
invoked as `jstart` or `jsub -continuous ...` it would fail with an
error [0]:
Traceback (most recent call last):
File "/usr/bin/jstart", line 662, in <module>
main()
File "/usr/bin/jstart", line 654, in main
(out, err) = proc.communicate(qsub_stdin)
File "/usr/lib/python3.4/subprocess.py", line 960, in communicate
stdout, stderr = self._communicate(input, endtime, timeout)
File "/usr/lib/python3.4/subprocess.py", line 1602, in _communicate
input_view = memoryview(self._input)
TypeError: memoryview: str object does not have the buffer interface
At 2017-10-06T15:33Z I deployed a fix for this problem. `jstart` and
`jsub -continuous ...` are now working again. I apologize for the
interruption of service. I'm going to try and add an automated test
for this code path to help catch any similar errors in the future.
[0]:
https://phabricator.wikimedia.org/T177614
Bryan
--
Bryan Davis Wikimedia Foundation <bd808(a)wikimedia.org>
[[m:User:BDavis_(WMF)]] Manager, Cloud Services Boise, ID USA
irc: bd808 v:415.839.6885 x6855