:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [erich]...done
==> Making package: todoman 3.4.1-1 (Tue Nov 13 16:27:34 2018)
==> Retrieving sources...
  -> Found todoman-3.4.1.tar.gz
==> Validating source files with sha512sums...
    todoman-3.4.1.tar.gz ... Passed
==> Appending keys from archlinux.gpg...
gpg: Warning: using insecure memory!
==> Locally signing trusted keys in keyring...
  -> Locally signing key DDB867B92AA789C165EEFA799B729B06A680C281...
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 91FFE0700E80619CEB73235CA88E23E377514E00...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
==> Importing owner trust values...
gpg: Warning: using insecure memory!
==> Disabling revoked keys in keyring...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50...
  -> Disabling key 40440DC037C05620984379A6761FAD69BA06C6A9...
  -> Disabling key B1F2C889CB2CCB2ADA36D963097D629E437520BD...
  -> Disabling key 5357F3B111688D88C1D88119FCF2CB179205AC90...
  -> Disabling key 5559BC1A32B8F76B3FCCD9555FA5E5544F010D48...
  -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
  -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
  -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
  -> Disabling key 4FCF887689C41B09506BE8D5F3E1D5C5D30DB0AD...
  -> Disabling key FB871F0131FEA4FB5A9192B4C8880A6406361833...
  -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
  -> Disabling key 5E7585ADFF106BFFBBA319DC654B877A0864983E...
  -> Disabling key 50F33E2E5B0C3D900424ABE89BDCF497A4BBCC7F...
  -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
  -> Disabling key 65EEFE022108E2B708CBFCF7F9E712E59AF5F22A...
  -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6...
  -> Disabling key 40776A5221EF5AD468A4906D42A1DB15EC133BAD...
  -> Disabling key 8CF934E339CAD8ABF342E822E711306E3C4F88BC...
  -> Disabling key 5696C003B0854206450C8E5BE613C09CB4440678...
  -> Disabling key 5A2257D19FF7E1E0E415968CE62F853100F0D0F0...
  -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5...
  -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
  -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
  -> Disabling key 34C5D94FE7E7913E86DC427E7FB1A3800C84C0A5...
  -> Disabling key 39F880E50E49A4D11341E8F939E4F17F295AFBF4...
  -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
  -> Disabling key 07DFD3A0BC213FA12EDC217559B3122E2FA915EC...
  -> Disabling key 44D4A033AC140143927397D47EFD567D4C7EA887...
  -> Disabling key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
  -> Disabling key 8840BD07FC24CB7CE394A07CCF7037A4F27FB7DA...
==> Updating trust database...
gpg: Warning: using insecure memory!
gpg: next trustdb check due at 2019-03-29
==> Making package: todoman 3.4.1-1 (Tue 13 Nov 2018 04:27:37 PM CET)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (20) libnsl-1.2.0-1  python-3.7.1-1  python-appdirs-1.4.3-2  python-click-7.0-1  python-future-0.17.1-1  python-packaging-18.0-1  python-pyparsing-2.3.0-1  python-pytz-2018.7-1  python-six-1.11.0-3  python-atomicwrites-1.2.1-1  python-click-log-0.3.2-2  python-configobj-5.0.6-4  python-dateutil-2.7.5-1  python-humanize-0.5.1-6  python-icalendar-4.0.3-1  python-parsedatetime-2.4-2  python-setuptools-1:40.5.0-1  python-tabulate-0.8.2-3  python-urwid-2.0.1-2  python-xdg-0.26-2

Total Download Size:     1.35 MiB
Total Installed Size:  158.23 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading python-urwid-2.0.1-2-x86_64.pkg.tar.xz...
downloading python-click-7.0-1-any.pkg.tar.xz...
downloading python-click-log-0.3.2-2-any.pkg.tar.xz...
downloading python-configobj-5.0.6-4-any.pkg.tar.xz...
downloading python-humanize-0.5.1-6-any.pkg.tar.xz...
downloading python-icalendar-4.0.3-1-any.pkg.tar.xz...
downloading python-future-0.17.1-1-any.pkg.tar.xz...
downloading python-parsedatetime-2.4-2-any.pkg.tar.xz...
downloading python-tabulate-0.8.2-3-any.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing libnsl...
installing python...
Optional dependencies for python
    python-setuptools [pending]
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
installing python-atomicwrites...
installing python-click...
installing python-click-log...
installing python-six...
installing python-configobj...
installing python-dateutil...
installing python-humanize...
installing python-pytz...
installing python-icalendar...
installing python-future...
Optional dependencies for python-future
    python-setuptools: futurize and pasteurize scripts [pending]
installing python-parsedatetime...
installing python-xdg...
installing python-appdirs...
installing python-pyparsing...
installing python-packaging...
installing python-setuptools...
installing python-tabulate...
installing python-urwid...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (11) python-apipkg-1.5-1  python-attrs-18.2.0-1  python-coverage-4.5.1-2  python-iniconfig-1.0.0-2  python-more-itertools-4.3.0-1  python-pluggy-0.8.0-1  python-py-1.7.0-1  python-pytest-3.10.1-1  python-freezegun-0.3.11-1  python-hypothesis-3.82.1-1  python-pytest-runner-4.2-2

Total Download Size:   0.89 MiB
Total Installed Size:  6.71 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
downloading python-freezegun-0.3.11-1-any.pkg.tar.xz...
downloading python-coverage-4.5.1-2-x86_64.pkg.tar.xz...
downloading python-hypothesis-3.82.1-1-any.pkg.tar.xz...
downloading python-pytest-3.10.1-1-any.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
installing python-freezegun...
installing python-attrs...
installing python-coverage...
installing python-hypothesis...
Optional dependencies for python-hypothesis
    python-pytz: for datetime and django module [installed]
    python-faker: for fakefactory and django module
    python-django: for django module
    python-numpy: for numpy module
    python-pytest: for pytest module [pending]
installing python-iniconfig...
installing python-apipkg...
installing python-py...
installing python-pluggy...
installing python-more-itertools...
installing python-pytest...
installing python-pytest-runner...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
  -> Found todoman-3.4.1.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting todoman-3.4.1.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
running build
running build_py
creating build
creating build/lib
creating build/lib/todoman
copying todoman/version.py -> build/lib/todoman
copying todoman/model.py -> build/lib/todoman
copying todoman/interactive.py -> build/lib/todoman
copying todoman/configuration.py -> build/lib/todoman
copying todoman/__main__.py -> build/lib/todoman
copying todoman/exceptions.py -> build/lib/todoman
copying todoman/widgets.py -> build/lib/todoman
copying todoman/cli.py -> build/lib/todoman
copying todoman/formatters.py -> build/lib/todoman
copying todoman/__init__.py -> build/lib/todoman
running egg_info
writing todoman.egg-info/PKG-INFO
writing dependency_links to todoman.egg-info/dependency_links.txt
writing entry points to todoman.egg-info/entry_points.txt
writing requirements to todoman.egg-info/requires.txt
writing top-level names to todoman.egg-info/top_level.txt
reading manifest file 'todoman.egg-info/SOURCES.txt'
writing manifest file 'todoman.egg-info/SOURCES.txt'
copying todoman/confspec.ini -> build/lib/todoman
==> Starting check()...
============================= test session starts ==============================
platform linux -- Python 3.7.1, pytest-3.10.1, py-1.7.0, pluggy-0.8.0
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/build/todoman/src/todoman-3.4.1/.hypothesis/examples')
rootdir: /build/todoman/src/todoman-3.4.1, inifile: setup.cfg
plugins: hypothesis-3.82.1
collected 176 items

tests/test_backend.py .....F...                                          [  5%]
tests/test_cli.py .............x......................................s. [ 35%]
...........                                                              [ 42%]
tests/test_config.py .......xx......                                     [ 50%]
tests/test_filtering.py ..F......                                        [ 55%]
tests/test_formatter.py ...............                                  [ 64%]
tests/test_main.py .                                                     [ 64%]
tests/test_model.py ............ss..ss................                   [ 84%]
tests/test_porcelain.py ........                                         [ 88%]
tests/test_ui.py ...........                                             [ 94%]
tests/test_widgets.py .........                                          [100%]

=================================== FAILURES ===================================
___________________________ test_vtodo_serialization ___________________________

todo_factory = <function todo_factory.<locals>.inner at 0x7f2e65cf6ea0>

    def test_vtodo_serialization(todo_factory):
        """Test VTODO serialization: one field of each type."""
        description = 'A tea would be nice, thanks.'
        todo = todo_factory(
            categories=['tea', 'drinking', 'hot'],
            description=description,
            due=datetime(3000, 3, 21),
            priority=7,
            status='IN-PROCESS',
            summary='Some tea',
>           rrule='FREQ=MONTHLY',
        )

tests/test_backend.py:61: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/conftest.py:92: in inner
    default_database.save(todo)
todoman/model.py:972: in save
    todo.id = self.cache.add_vtodo(vtodo, todo.path, todo.id)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <todoman.model.Cache object at 0x7f2e660036a0>
todo = VTODO({'SUMMARY': vText('b'Some tea''), 'PRIORITY': 7, 'SEQUENCE': 1, 'UID': vText('b'fa90d51ac10e4458a2c29451dcfca0b4...d5c2e8>, 'LAST-MODIFIED': <icalendar.prop.vDDDTypes object at 0x7f2e66d5c3c8>, 'RRULE': vRecur({'FREQ': ['MONTHLY']})})
file_path = '/tmp/pytest-of-builduser/pytest-0/test_vtodo_serialization0/default/fa90d51ac10e4458a2c29451dcfca0b4@erich.ics'
id = None

    def add_vtodo(self, todo, file_path, id=None):
        """
        Adds a todo into the cache.
    
        :param icalendar.Todo todo: The icalendar component object on which
        """
    
        sql = '''
            INSERT INTO todos (
                {}
                file_path,
                uid,
                summary,
                due,
                start,
                priority,
                created_at,
                completed_at,
                percent_complete,
                dtstamp,
                status,
                description,
                location,
                categories,
                sequence,
                last_modified,
                rrule
            ) VALUES ({}?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
            '''
    
        due = self._serialize_datetime(todo, 'due')
        start = self._serialize_datetime(todo, 'dtstart')
    
        if start and due:
            start = None if start >= due else start
    
        params = (
            file_path,
            todo.get('uid'),
            todo.get('summary'),
            due,
            start,
            todo.get('priority', 0) or None,
            self._serialize_datetime(todo, 'created'),
            self._serialize_datetime(todo, 'completed'),
            todo.get('percent-complete', None),
            self._serialize_datetime(todo, 'dtstamp'),
            todo.get('status', 'NEEDS-ACTION'),
            todo.get('description', None),
            todo.get('location', None),
            todo.get('categories', None),
            todo.get('sequence', 1),
            self._serialize_datetime(todo, 'last-modified'),
            self._serialize_rrule(todo, 'rrule'),
        )
    
        if id:
            params = (id,) + params
            sql = sql.format('id,\n', '?, ')
        else:
            sql = sql.format('', '')
    
        cursor = self._conn.cursor()
        try:
>           cursor.execute(sql, params)
E           sqlite3.InterfaceError: Error binding parameter 13 - probably unsupported type.

todoman/model.py:604: InterfaceError
________________________________ test_category _________________________________

tmpdir = local('/tmp/pytest-of-builduser/pytest-0/test_category0')
runner = <conftest.runner.<locals>.SleepyCliRunner object at 0x7f2e657754e0>
create = <function create.<locals>.inner at 0x7f2e65f24c80>

    def test_category(tmpdir, runner, create):
        result = runner.invoke(cli, ['list'], catch_exceptions=False)
        assert not result.exception
        assert not result.output.strip()
    
        create('one.ics', 'SUMMARY:haha\n' 'CATEGORIES:work,trip\n')
        create('two.ics', 'CATEGORIES:trip\n' 'SUMMARY:hoho\n')
        create('three.ics', 'SUMMARY:harhar\n')
        result = runner.invoke(cli, ['list', '--category', 'work'])
        assert not result.exception
>       assert 'haha' in result.output
E       AssertionError: assert 'haha' in 'Failed to read entry /tmp/pytest-of-builduser/pytest-0/test_category0/default/two.ics.\nTraceback (most recent call l...\n    cursor.execute(sql, params)\nsqlite3.InterfaceError: Error binding parameter 13 - probably unsupported type.\n\n'
E        +  where 'Failed to read entry /tmp/pytest-of-builduser/pytest-0/test_category0/default/two.ics.\nTraceback (most recent call l...\n    cursor.execute(sql, params)\nsqlite3.InterfaceError: Error binding parameter 13 - probably unsupported type.\n\n' = <Result okay>.output

tests/test_filtering.py:74: AssertionError
------------------------------ Captured log call -------------------------------
model.py                   926 ERROR    Failed to read entry /tmp/pytest-of-builduser/pytest-0/test_category0/default/two.ics.
Traceback (most recent call last):
  File "/build/todoman/src/todoman-3.4.1/todoman/model.py", line 924, in update_cache
    self.cache.add_vtodo(component, entry_path)
  File "/build/todoman/src/todoman-3.4.1/todoman/model.py", line 604, in add_vtodo
    cursor.execute(sql, params)
sqlite3.InterfaceError: Error binding parameter 13 - probably unsupported type.
model.py                   926 ERROR    Failed to read entry /tmp/pytest-of-builduser/pytest-0/test_category0/default/one.ics.
Traceback (most recent call last):
  File "/build/todoman/src/todoman-3.4.1/todoman/model.py", line 924, in update_cache
    self.cache.add_vtodo(component, entry_path)
  File "/build/todoman/src/todoman-3.4.1/todoman/model.py", line 604, in add_vtodo
    cursor.execute(sql, params)
sqlite3.InterfaceError: Error binding parameter 13 - probably unsupported type.
========= 2 failed, 166 passed, 5 skipped, 3 xfailed in 24.09 seconds ==========
==> ERROR: A failure occurred in check().
    Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/erich/build
