[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#969550: csvkit: autopkgtest regression: AssertionError: 'a,b,c' != 'line_number,a,b,c'



Source: csvkit
Version: 1.0.5-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: regression

Dear maintainer(s),

With a recent upload of csvkit the autopkgtest of csvkit fails in
testing when that autopkgtest is run with the binary packages of csvkit
from unstable. It passes when run with only packages from testing. In
tabular form:

                       pass            fail
csvkit                 from testing    1.0.5-1
versioned deps [0]     from testing    from unstable
all others             from testing    from testing

I copied some of the output at the bottom of this report. Interestingly
enough, the test also passes in unstable, so it seems that there's a
versioned (test) dependency missing somewhere (no, not python-agate-sql).

Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
csvkit/1.0.5-1. I.e. due to versioned dependencies or breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=csvkit

https://ci.debian.net/data/autopkgtest/testing/amd64/c/csvkit/6905506/log.gz

=================================== FAILURES
===================================
________________________ TestCSVFormat.test_linenumbers
________________________

self = <tests.test_utilities.test_csvformat.TestCSVFormat
testMethod=test_linenumbers>

    def test_linenumbers(self):
>       self.assertLines(['--linenumbers', 'examples/dummy.csv'], [
            'line_number,a,b,c',
            '1,1,2,3',
        ])

tests/test_utilities/test_csvformat.py:36:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
tests/utils.py:87: in assertLines
    self.assertEqual(lines[i], row)
E   AssertionError: 'a,b,c' != 'line_number,a,b,c'
E   - a,b,c
E   + line_number,a,b,c
___________________________ TestCSVJSON.test_keying
____________________________

self = <tests.test_utilities.test_csvjson.TestCSVJSON
testMethod=test_keying>

    def test_keying(self):
        js = json.loads(self.get_output(['-k', 'a', 'examples/dummy.csv']))
>       self.assertDictEqual(js, {'True': {'a': True, 'c': 3.0, 'b': 2.0}})
E       AssertionError: {'true': {'a': True, 'b': 2.0, 'c': 3.0}} !=
{'True': {'a': True, 'c': 3.0, 'b': 2.0}}
E       - {'true': {'a': True, 'b': 2.0, 'c': 3.0}}
E       ?   ^
E
E       + {'True': {'a': True, 'b': 2.0, 'c': 3.0}}
E       ?   ^

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: