lp:~pieq/plainbox

Owned by Pierre Equoy
Get this repository:
git clone https://git.launchpad.net/~pieq/plainbox
Only Pierre Equoy can upload to this repository. If you are Pierre Equoy please log in for upload directions.

Branches

Name Last Modified Last Commit
doc-update 2017-03-24 04:27:09 UTC 2017-03-24
Modify Sphinx conf to fix builds on readthedocs.org

Author: Pierre Equoy
Author Date: 2017-03-24 04:27:09 UTC

Modify Sphinx conf to fix builds on readthedocs.org

new-feature-auto-retry 2017-03-21 07:13:32 UTC 2017-03-21
Implement auto-retry feature

Author: Pierre Equoy
Author Date: 2017-03-14 08:05:53 UTC

Implement auto-retry feature

New feature to allow Checkbox to automatically retry failed jobs.

This commit implements new parameters in the Checkbox launcher in order to
enable the "auto-retry" feature and to define the maximum number of attempts
as well as the delay before retrying the failed jobs.

1663166-fix-stream-exporter 2017-02-13 09:10:08 UTC 2017-02-13
Send all data to stdout/stderr at once to avoid later decoding errors

Author: Pierre Equoy
Author Date: 2017-02-13 09:10:08 UTC

Send all data to stdout/stderr at once to avoid later decoding errors

When displaying a testing session results on screen (stdout/stderr), the
StreamTransport class copy the raw data to a ByteStringStreamTranslator that
then decode it into Unicode text in order to show it properly on screen.

The method used was using a buffer and sending 16 KB chunks, which sometimes
lead to a UnicodeDecodeError exception because a Unicode character would be
spread between two chunks of data, making its decoding impossible.

For instance, the Unicode character ☑ is composed of 3 bytes (0xE2 0x9C 0x93).
If this data is cut and only the first part (0xE2) sent in the data chunk, it
is impossible to decode it into a known Unicode character and plainbox crashes.

To avoid this, we make sure the whole data is sent at once.

LP: #1663166

13 of 3 results
This repository contains Public information 
Everyone can see this information.

Subscribers