flamenco-worker.git
2 days agoFix for 07263c3 master
Sybren A. Stüvel [Thu, 14 Feb 2019 12:08:34 +0000 (13:08 +0100)]
Fix for 07263c3

2 days agoBumped version to 2.3-dev6
Sybren A. Stüvel [Thu, 14 Feb 2019 11:49:49 +0000 (12:49 +0100)]
Bumped version to 2.3-dev6

2 days agoFix fatal exception when unable to connect to Manager
Sybren A. Stüvel [Thu, 14 Feb 2019 11:46:00 +0000 (12:46 +0100)]
Fix fatal exception when unable to connect to Manager

2 days agoRemove filtering of Cycles 'Synchronizing object' lines
Sybren A. Stüvel [Thu, 14 Feb 2019 11:44:21 +0000 (12:44 +0100)]
Remove filtering of Cycles 'Synchronizing object' lines

Nowadays we send the logs only to the Manager, and not to the Server any
more. Let's clog the Manager's harddisk with everything to make Dr. Debug
happier.

3 days agoBumped version to 2.3-dev5
Sybren A. Stüvel [Wed, 13 Feb 2019 09:58:04 +0000 (10:58 +0100)]
Bumped version to 2.3-dev5

3 days agoFix for 26701be6fb95fccb70ddb141563453c19e0a3b06
Sybren A. Stüvel [Wed, 13 Feb 2019 09:57:24 +0000 (10:57 +0100)]
Fix for 26701be6fb95fccb70ddb141563453c19e0a3b06

3 days agoBumped version to 2.3-dev4
Sybren A. Stüvel [Wed, 13 Feb 2019 09:48:48 +0000 (10:48 +0100)]
Bumped version to 2.3-dev4

3 days agoAutomatically re-register when the Manager does not accept credentials
Sybren A. Stüvel [Wed, 13 Feb 2019 09:48:38 +0000 (10:48 +0100)]
Automatically re-register when the Manager does not accept credentials

Fixes T54174, but rather than making a distinction between the username
not being found and the password being wrong (and only re-registering in
the former case), we now just always re-register. This could potentially
hide certain erroneous situations, but it does make the worker operational
in more cases, which I assume is generally preferred.

8 days agoBumped version to 2.3-dev3
Sybren A. Stüvel [Thu, 7 Feb 2019 14:27:12 +0000 (15:27 +0100)]
Bumped version to 2.3-dev3

11 days agoAdded `merge_progressive_render_sequence` command
Sybren A. Stüvel [Tue, 5 Feb 2019 12:04:00 +0000 (13:04 +0100)]
Added `merge_progressive_render_sequence` command

Added the `merge_progressive_render_sequence` for sample-merging sequences of EXR files. The
already-existing `merge_progressive_renders` command only performed on one frame at a time.

This commit also removes the last traces of the preview generation that
half-happened while merging. It was intrinsincly flawed and was superseded
by the `exr_sequence_to_jpeg` command.

12 days agoBumped version to 2.3-dev2
Sybren A. Stüvel [Mon, 4 Feb 2019 10:22:21 +0000 (11:22 +0100)]
Bumped version to 2.3-dev2

12 days agoCreate Video: mock platform.system() to test both Windows and Linux
Sybren A. Stüvel [Mon, 4 Feb 2019 10:21:56 +0000 (11:21 +0100)]
Create Video: mock platform.system() to test both Windows and Linux

Windows is not POSIX-compliant, and as a result ffmpeg does not support
the `-pattern_type glob` CLI argument.

12 days agoCreate Video: always pad video to even sizes
Sybren A. Stüvel [Mon, 4 Feb 2019 10:15:57 +0000 (11:15 +0100)]
Create Video: always pad video to even sizes

H.264 requires that the width and height of the video frame are
multiples of the chroma block size. When using the default yuv420 pixel
format this means the dimensions should be even (e.g. multiples of 2).
The video filter added in this commit ensures this by padding out the
frame with black pixels.

2 weeks agoBumped version to 2.3-dev1
Sybren A. Stüvel [Fri, 1 Feb 2019 10:00:30 +0000 (11:00 +0100)]
Bumped version to 2.3-dev1

2 weeks agoEXR to JPEG: Pass EXR files as glob instead of only the directory
Sybren A. Stüvel [Fri, 1 Feb 2019 09:45:00 +0000 (10:45 +0100)]
EXR to JPEG: Pass EXR files as glob instead of only the directory

This allows the command to run on a subset of the EXR files in the
directory, which is needed for generating previews of EXR files in the
intermediate render directory (which contains multiple EXR files for
each frame).

2 weeks agoUpdated flamenco-worker.spec for resources directory
Sybren A. Stüvel [Thu, 31 Jan 2019 13:21:25 +0000 (14:21 +0100)]
Updated flamenco-worker.spec for resources directory

2 weeks agoAdded 'EXR sequence to JPEG' command
Sybren A. Stüvel [Thu, 31 Jan 2019 10:35:13 +0000 (11:35 +0100)]
Added 'EXR sequence to JPEG' command

This is used for generating JPEG previews of EXR files. It is assumed that
the EXR files are named '######.exr', with any number of leading zeroes.

Gaps in the frame range are supported, and will be rendered as black
images.

2 weeks agoSeparated BlenderRenderCommand into an abstract superclass
Sybren A. Stüvel [Thu, 31 Jan 2019 10:33:21 +0000 (11:33 +0100)]
Separated BlenderRenderCommand into an abstract superclass

This superclass AbstractBlenderCommand takes less parameters so that it'll
be easier to add Blender commands that don't use certain parameters (such
as frame range, render format, etc.)

2 weeks agoAdded some type declarations
Sybren A. Stüvel [Thu, 31 Jan 2019 10:30:32 +0000 (11:30 +0100)]
Added some type declarations

2 weeks agoDeclare we're using Python 3.7 in setup.py
Sybren A. Stüvel [Thu, 31 Jan 2019 10:29:50 +0000 (11:29 +0100)]
Declare we're using Python 3.7 in setup.py

It was still set to 3.5.

2 weeks agoMoved 'merge-exr.blend' into a 'resources' subdirectory
Sybren A. Stüvel [Thu, 31 Jan 2019 10:29:28 +0000 (11:29 +0100)]
Moved 'merge-exr.blend' into a 'resources' subdirectory

We'll be adding more resources, and this provides a suitable place for them.

2 weeks agoUpdated progressive rendering to allow sample chunk ranges
Sybren A. Stüvel [Wed, 30 Jan 2019 13:34:42 +0000 (14:34 +0100)]
Updated progressive rendering to allow sample chunk ranges

This requires Flamenco Server 2.2 or newer. Progressive render jobs
generated by older versions of Flamenco Server are no longer supported.

2 weeks agoBumped version to 2.3-dev0
Sybren A. Stüvel [Thu, 31 Jan 2019 13:16:11 +0000 (14:16 +0100)]
Bumped version to 2.3-dev0

4 weeks agoBumped version to 2.2.1 v2.2.1
Sybren A. Stüvel [Mon, 14 Jan 2019 10:39:32 +0000 (11:39 +0100)]
Bumped version to 2.2.1

4 weeks agoUpdated changelog
Sybren A. Stüvel [Mon, 14 Jan 2019 10:39:24 +0000 (11:39 +0100)]
Updated changelog

4 weeks agoAdded shutdown check to sleep state to prevent infinite loops
Sybren A. Stüvel [Mon, 14 Jan 2019 10:30:39 +0000 (11:30 +0100)]
Added shutdown check to sleep state to prevent infinite loops

4 weeks agoPrevent uncaught CancelledError to force an awakening of the Worker
Sybren A. Stüvel [Mon, 14 Jan 2019 10:20:09 +0000 (11:20 +0100)]
Prevent uncaught CancelledError to force an awakening of the Worker

4 weeks agoBumped version to 2.2.1-dev0
Sybren A. Stüvel [Mon, 14 Jan 2019 10:03:13 +0000 (11:03 +0100)]
Bumped version to 2.2.1-dev0

4 weeks agoFixed bug where uncaught exception made the Worker stop requesting tasks
Sybren A. Stüvel [Mon, 14 Jan 2019 10:02:41 +0000 (11:02 +0100)]
Fixed bug where uncaught exception made the Worker stop requesting tasks

5 weeks agoBumped release date of 2.2 to today v2.2
Sybren A. Stüvel [Fri, 11 Jan 2019 09:59:42 +0000 (10:59 +0100)]
Bumped release date of 2.2 to today

5 weeks agoDocumented installation of ffprobe and blender
Sybren A. Stüvel [Fri, 11 Jan 2019 09:59:21 +0000 (10:59 +0100)]
Documented installation of ffprobe and blender

5 weeks agoRemoved mypy warn_unused_ignores=True setting windows-fixes
Sybren A. Stüvel [Thu, 10 Jan 2019 16:42:04 +0000 (17:42 +0100)]
Removed mypy warn_unused_ignores=True setting

Some errors are platform-specific (e.g. using asyncio.ProactorEventLoop
only exists on Windows and thus mypy complains on Linux) so ignoring those
is needed on Linux but not on Windows. Yay.

5 weeks agoAlso catch FileNotFoundError when doing a write check
Sybren A. Stüvel [Thu, 10 Jan 2019 16:17:20 +0000 (17:17 +0100)]
Also catch FileNotFoundError when doing a write check

This error is raised when the parent directory of a write check location
doesn't exist.

5 weeks agoLog error on uncaught exception in Worker.single_iteration()
Sybren A. Stüvel [Thu, 10 Jan 2019 16:16:11 +0000 (17:16 +0100)]
Log error on uncaught exception in Worker.single_iteration()

5 weeks agoMypy workaround, Windows-specific code fails mypy checks on Linux
Sybren A. Stüvel [Thu, 10 Jan 2019 15:44:27 +0000 (16:44 +0100)]
Mypy workaround, Windows-specific code fails mypy checks on Linux

5 weeks agoProperly create the asyncio loop on Windows
Sybren A. Stüvel [Thu, 10 Jan 2019 15:40:11 +0000 (16:40 +0100)]
Properly create the asyncio loop on Windows

On Windows, the loop was recreated on every call to `construct_asyncio_loop()`,
whereas on Linux the existing loop would be reused if possible. Now both
platforms work the same.

5 weeks agoUse less shell-uoting-sensitive test values
Sybren A. Stüvel [Thu, 10 Jan 2019 15:19:07 +0000 (16:19 +0100)]
Use less shell-uoting-sensitive test values

The new values work on Windows too.

5 weeks agoDisconnect from SQLite DB when tearing down tests
Sybren A. Stüvel [Thu, 10 Jan 2019 15:18:34 +0000 (16:18 +0100)]
Disconnect from SQLite DB when tearing down tests

This allows the temp directory to be cleaned up on Windows.

5 weeks agoSkip unwritable dir/file checks on Windows
Sybren A. Stüvel [Thu, 10 Jan 2019 15:23:37 +0000 (16:23 +0100)]
Skip unwritable dir/file checks on Windows

On Windows Python just hangs because of a misinterpretation of the
returned error. See https://bugs.python.org/issue22107

5 weeks agoMake test file writable before trying to delete it
Sybren A. Stüvel [Thu, 10 Jan 2019 14:53:25 +0000 (15:53 +0100)]
Make test file writable before trying to delete it

Otherwise Windows doesn't allow deletion.

5 weeks agoEnable debug logging in flamenco_worker.commands while testing commands
Sybren A. Stüvel [Thu, 10 Jan 2019 14:01:57 +0000 (15:01 +0100)]
Enable debug logging in flamenco_worker.commands while testing commands

5 weeks agoWindows compatibility: don't try to re-open temporary file
Sybren A. Stüvel [Thu, 10 Jan 2019 14:01:36 +0000 (15:01 +0100)]
Windows compatibility: don't try to re-open temporary file

5 weeks agoExplicitly open file with encoding='utf8'
Sybren A. Stüvel [Thu, 10 Jan 2019 14:01:22 +0000 (15:01 +0100)]
Explicitly open file with encoding='utf8'

5 weeks agoWindows compatibility fixes
Sybren A. Stüvel [Thu, 10 Jan 2019 13:55:47 +0000 (14:55 +0100)]
Windows compatibility fixes

5 weeks agoWorkaround for FFmpeg not supporting '-pattern_type glob' on Windows
Sybren A. Stüvel [Thu, 10 Jan 2019 13:43:54 +0000 (14:43 +0100)]
Workaround for FFmpeg not supporting '-pattern_type glob' on Windows

Globbing is the only way in which we can convert arbitrary frame sequences
to a video; the other input options all assume that the frame numbers are
sequential, and stop at the first gap. Globbing just skips gaps and
actually uses all available frames.

The workaround consist of doing the globbing in Python and creating an
index file that lists all the input files.

5 weeks agoFormatting
Sybren A. Stüvel [Thu, 10 Jan 2019 13:41:45 +0000 (14:41 +0100)]
Formatting

5 weeks agoMore Windows compatibility fixes
Sybren A. Stüvel [Thu, 10 Jan 2019 13:19:46 +0000 (14:19 +0100)]
More Windows compatibility fixes

5 weeks agoAdded 'colorama' as Windows-only dependency
Sybren A. Stüvel [Thu, 10 Jan 2019 15:23:15 +0000 (16:23 +0100)]
Added 'colorama' as Windows-only dependency

This is required for pytest coverage reports, and silently fails if not
available.

5 weeks agoWindows-specific fix for BlenderRenderCommand
Sybren A. Stüvel [Thu, 10 Jan 2019 12:41:34 +0000 (13:41 +0100)]
Windows-specific fix for BlenderRenderCommand

We should always pass POSIX-style paths to the CLI, it makes life much
easier.

5 weeks agoSome Windows-specific unit test fixes
Sybren A. Stüvel [Thu, 10 Jan 2019 12:41:03 +0000 (13:41 +0100)]
Some Windows-specific unit test fixes

5 weeks agoFixed unit test
Sybren A. Stüvel [Thu, 10 Jan 2019 12:38:34 +0000 (13:38 +0100)]
Fixed unit test

5 weeks agoRemoved mypy workaround, apparently no longer necessary
Sybren A. Stüvel [Thu, 10 Jan 2019 12:37:50 +0000 (13:37 +0100)]
Removed mypy workaround, apparently no longer necessary

5 weeks agoActually removed pathlib2 from pipfile
Sybren A. Stüvel [Thu, 10 Jan 2019 11:41:38 +0000 (12:41 +0100)]
Actually removed pathlib2 from pipfile

5 weeks agoUpdated build instructions to mention pipenv
Sybren A. Stüvel [Thu, 10 Jan 2019 11:39:05 +0000 (12:39 +0100)]
Updated build instructions to mention pipenv

5 weeks agoMarked version 2.2 as released today
Sybren A. Stüvel [Thu, 10 Jan 2019 11:36:42 +0000 (12:36 +0100)]
Marked version 2.2 as released today

5 weeks agoBumped version to 2.2
Sybren A. Stüvel [Thu, 10 Jan 2019 11:36:35 +0000 (12:36 +0100)]
Bumped version to 2.2

5 weeks agoReordered Changelog so that Python version is at the top
Sybren A. Stüvel [Thu, 10 Jan 2019 11:36:03 +0000 (12:36 +0100)]
Reordered Changelog so that Python version is at the top

5 weeks agoUpdated pipfile locked dependencies and removed pathlib2
Sybren A. Stüvel [Thu, 10 Jan 2019 11:35:25 +0000 (12:35 +0100)]
Updated pipfile locked dependencies and removed pathlib2

Pathlib2 was used to support Python 3.5, but we're not using that version
any more anyway.

6 weeks agoBumped version to 2.2-dev12
Sybren A. Stüvel [Fri, 4 Jan 2019 15:45:18 +0000 (16:45 +0100)]
Bumped version to 2.2-dev12

6 weeks agoAlso log override file contents when passing to Blender for rendering
Sybren A. Stüvel [Fri, 4 Jan 2019 15:43:52 +0000 (16:43 +0100)]
Also log override file contents when passing to Blender for rendering

6 weeks agoUpdated CHANGELOG
Sybren A. Stüvel [Fri, 4 Jan 2019 15:08:37 +0000 (16:08 +0100)]
Updated CHANGELOG

6 weeks agoAdded 'create_python_file' command
Sybren A. Stüvel [Fri, 4 Jan 2019 15:05:27 +0000 (16:05 +0100)]
Added 'create_python_file' command

6 weeks agoDetect & load RNA overrides file
Sybren A. Stüvel [Fri, 4 Jan 2019 14:55:19 +0000 (15:55 +0100)]
Detect & load RNA overrides file

The 'blender_render' and 'blender_render_progressive' commands now look for
a file named 'thefile-overrides.py' in the same directory as
'thefile.blend'. If it exists, Blender will be told to load that Python
file between loading the blend file and starting the rendering.

6 weeks agoAdded missing 'await'
Sybren A. Stüvel [Fri, 4 Jan 2019 14:55:26 +0000 (15:55 +0100)]
Added missing 'await'

6 weeks agoUpdated test with new FFMPEG settings for 'create video' command
Sybren A. Stüvel [Fri, 4 Jan 2019 14:46:14 +0000 (15:46 +0100)]
Updated test with new FFMPEG settings for 'create video' command

8 weeks agoBumped version to 2.2-dev11
Sybren A. Stüvel [Tue, 18 Dec 2018 14:01:14 +0000 (15:01 +0100)]
Bumped version to 2.2-dev11

8 weeks agoReduce video quality for 'create-video' command
Sybren A. Stüvel [Tue, 18 Dec 2018 14:00:49 +0000 (15:00 +0100)]
Reduce video quality for 'create-video' command

Changed CRF 17 → 23 and GOP 1 → 18

2 months agoGracefully handle KeyboardInterrupt being thrown when shutting down
Sybren A. Stüvel [Tue, 11 Dec 2018 11:48:59 +0000 (12:48 +0100)]
Gracefully handle KeyboardInterrupt being thrown when shutting down

2 months agoBumped version to 2.2-dev10
Sybren A. Stüvel [Fri, 7 Dec 2018 10:29:30 +0000 (11:29 +0100)]
Bumped version to 2.2-dev10

2 months agoAdded support for commands used in the blender-video-chunks job type
Sybren A. Stüvel [Thu, 6 Dec 2018 14:48:05 +0000 (15:48 +0100)]
Added support for commands used in the blender-video-chunks job type

Adds the following commands:

    - blender_render_audio
    - concat_videos
    - create_video
    - move_with_counter
    - mux_audio

2 months agoThrottle 'output produced' messages to Manager
Sybren A. Stüvel [Thu, 6 Dec 2018 14:48:22 +0000 (15:48 +0100)]
Throttle 'output produced' messages to Manager

2 months agoUpdated changelog
Sybren A. Stüvel [Tue, 4 Dec 2018 15:32:18 +0000 (16:32 +0100)]
Updated changelog

2 months agoBumped version to 2.2-dev9
Sybren A. Stüvel [Tue, 4 Dec 2018 15:31:30 +0000 (16:31 +0100)]
Bumped version to 2.2-dev9

2 months agoExplicitly return task to the Manager queue when stopping the task
Sybren A. Stüvel [Tue, 4 Dec 2018 15:29:32 +0000 (16:29 +0100)]
Explicitly return task to the Manager queue when stopping the task

This should solve issues when tasks fail after the worker shuts down or
goes to sleep. Previously the task would be set to 'claimed-by-manager'
when the Worker when to sleep, but flushing the task queue on the Worker
could still trigger reactivation of the task on the Manager. Since the
Worker wouldn't be running the task any more, it would time out. This is
now fixed.

2 months agoBumped version to 2.2-dev8 v2.2-dev8
Sybren A. Stüvel [Thu, 29 Nov 2018 10:22:59 +0000 (11:22 +0100)]
Bumped version to 2.2-dev8

2 months agoGracefully handle timeout error on May-I-Run task when shutting down
Sybren A. Stüvel [Wed, 28 Nov 2018 16:14:37 +0000 (17:14 +0100)]
Gracefully handle timeout error on May-I-Run task when shutting down

2 months agoDeclare PreTaskCheckParams as Iterable
Sybren A. Stüvel [Wed, 28 Nov 2018 09:16:56 +0000 (10:16 +0100)]
Declare PreTaskCheckParams as Iterable

This allows both tuple and list.

2 months agoPass FFmpeg binary as `ffmpeg_cmd` and split the command
Sybren A. Stüvel [Fri, 23 Nov 2018 15:12:38 +0000 (16:12 +0100)]
Pass FFmpeg binary as `ffmpeg_cmd` and split the command

This is for consistency with the `blender_cmd` setting of Blender render
commands. The splitting is done so that extra CLI commands can be given
in the Manager config.

2 months agoBumped version to 2.2-dev7
Sybren A. Stüvel [Thu, 22 Nov 2018 15:11:26 +0000 (16:11 +0100)]
Bumped version to 2.2-dev7

2 months agoGracefully handle aborting a command without `self.proc` attribute
Sybren A. Stüvel [Wed, 21 Nov 2018 14:32:59 +0000 (15:32 +0100)]
Gracefully handle aborting a command without `self.proc` attribute

2 months agoAdded command 'create_video' to run FFmpeg
Sybren A. Stüvel [Wed, 21 Nov 2018 12:07:50 +0000 (13:07 +0100)]
Added command 'create_video' to run FFmpeg

This requires FFmpeg to be installed (not just for the command, but also
for running the accompanying unit test). Because of this external
dependency, the worker has to declare task_type='video-encoding' in its
configuration file before it gets such tasks. This is not enabled by
default.

2 months agoDocument that Python 3.7 is required now
Sybren A. Stüvel [Wed, 21 Nov 2018 12:57:20 +0000 (13:57 +0100)]
Document that Python 3.7 is required now

2 months agoStricter type declarations in `commands.py`
Sybren A. Stüvel [Wed, 21 Nov 2018 12:05:24 +0000 (13:05 +0100)]
Stricter type declarations in `commands.py`

2 months agoFix warning in PyCharm by explicitly declaring `abc.ABC` as superclass
Sybren A. Stüvel [Wed, 21 Nov 2018 10:33:01 +0000 (11:33 +0100)]
Fix warning in PyCharm by explicitly declaring `abc.ABC` as superclass

This fixes a warning that `AbstractSubprocessCommand` doesn't implement all
abstract methods.

2 months agoAdded MyPy runner to unit tests
Sybren A. Stüvel [Wed, 21 Nov 2018 10:32:11 +0000 (11:32 +0100)]
Added MyPy runner to unit tests

2 months agoFixed last MyPy error
Sybren A. Stüvel [Wed, 21 Nov 2018 10:30:19 +0000 (11:30 +0100)]
Fixed last MyPy error

3 months agoOnly stop task if task-to-stop is the same as currently-executing-task
Sybren A. Stüvel [Fri, 16 Nov 2018 14:45:39 +0000 (15:45 +0100)]
Only stop task if task-to-stop is the same as currently-executing-task

The 'may-i-run' endpoint may say 'no' to us running task X, but when the
response comes in and is handled the worker may already be working on task
Y. This case is now recognised, and the 'no' will be ignored.

3 months agoLess verbose debug log when POSTing to Manager
Sybren A. Stüvel [Fri, 16 Nov 2018 09:35:59 +0000 (10:35 +0100)]
Less verbose debug log when POSTing to Manager

The POSTed logs can get huge, so we limit to the first 80 characters now.

3 months agoSome more debug log reduction
Sybren A. Stüvel [Thu, 15 Nov 2018 14:28:20 +0000 (15:28 +0100)]
Some more debug log reduction

3 months agoUse pid=%d instead of PID %r for consistency with other PID logging
Sybren A. Stüvel [Thu, 15 Nov 2018 13:44:15 +0000 (14:44 +0100)]
Use pid=%d instead of PID %r for consistency with other PID logging

3 months agoMaster → Manager
Sybren A. Stüvel [Thu, 15 Nov 2018 13:22:54 +0000 (14:22 +0100)]
Master → Manager

3 months agoLog fetch_task stuff in a separate logger
Sybren A. Stüvel [Thu, 15 Nov 2018 13:14:32 +0000 (14:14 +0100)]
Log fetch_task stuff in a separate logger

3 months agoLog pre-task sanity checking in sub-logger
Sybren A. Stüvel [Thu, 15 Nov 2018 13:09:57 +0000 (14:09 +0100)]
Log pre-task sanity checking in sub-logger

This allows us to hide those specific logs from the debug log.

3 months agoSplice '.line' into logger name for debug log
Sybren A. Stüvel [Thu, 15 Nov 2018 12:53:11 +0000 (13:53 +0100)]
Splice '.line' into logger name for debug log

Now the log is sent to
`flamenco_worker.commands.blender_render.line.(task_id=xxx, command_idx=0)`
instead of
`flamenco_worker.commands.blender_render.(task_id=xxx, command_idx=0).line`

This makes configuration of log levels easier.

3 months agoInclude proper PIDs in unit tests
Sybren A. Stüvel [Thu, 15 Nov 2018 12:52:15 +0000 (13:52 +0100)]
Include proper PIDs in unit tests

3 months agoAbsolute imports for tests to make PyCharm happy
Sybren A. Stüvel [Thu, 15 Nov 2018 12:49:20 +0000 (13:49 +0100)]
Absolute imports for tests to make PyCharm happy

3 months agoOnly send render status updates every 30 seconds
Sybren A. Stüvel [Thu, 15 Nov 2018 11:48:14 +0000 (12:48 +0100)]
Only send render status updates every 30 seconds

Previously it was done for every line of Blender output that contained
render time info, which was way too often.

3 months agoFix logging failed command
Sybren A. Stüvel [Thu, 15 Nov 2018 11:43:22 +0000 (12:43 +0100)]
Fix logging failed command

3 months agoSend subprocess read-lines to separate logger
Sybren A. Stüvel [Thu, 15 Nov 2018 11:38:42 +0000 (12:38 +0100)]
Send subprocess read-lines to separate logger

This allows the logging config to mask those out if required.

3 months agoDon't log 'unable to find remaining time', it's too spammy
Sybren A. Stüvel [Thu, 15 Nov 2018 11:35:40 +0000 (12:35 +0100)]
Don't log 'unable to find remaining time', it's too spammy