[Python-modules-team] Bug#918632: simplejson breaks json-schema-validator autopkgtest

Paul Gevers elbrus at debian.org
Mon Jan 7 20:49:01 GMT 2019


Source: simplejson, json-schema-validator
Control: found -1 simplejson/3.16.0-1
Control: found -1 json-schema-validator/2.3.1-3
X-Debbugs-CC: debian-ci at lists.debian.org
User: debian-ci at lists.debian.org
Usertags: breaks needs-update

Dear maintainers,

With a recent upload of simplejson the autopkgtest of
json-schema-validator fails in testing when that autopkgtest is run with
the binary packages of simplejson from unstable. It passes when run with
only packages from testing. In tabular form:
                       pass            fail
simplejson             from testing    3.16.0-1
json-schema-validator  from testing    2.3.1-3
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is contributing to the delay of the migration
of simplejson to testing [1]. Due to the nature of this issue, I filed
this bug report against both packages. Can you please investigate the
situation and reassign the bug to the right package? If needed, please
change the bug's severity.

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

Paul

[1] https://qa.debian.org/excuses.php?package=simplejson

https://ci.debian.net/data/autopkgtest/testing/amd64/j/json-schema-validator/1658943/log.gz

======================================================================
FAIL: test_validation_error_has_proper_message
(tests.test_validator.ValidatorFailureTests)
tests.test_validator.ValidatorFailureTests.test_validation_error_has_proper_message
(type_boolean_got_empty_string)
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File
"/usr/lib/python2.7/dist-packages/json_schema_validator/tests/test_validator.py",
line 501, in test_validation_error_has_proper_message
    self.assertEqual(ex.message, self.raises.message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: "'' does not match type
'boolean'" != "u'' does not match type 'boolean'"


======================================================================
FAIL: test_validation_error_has_proper_message
(tests.test_validator.ValidatorFailureTests)
tests.test_validator.ValidatorFailureTests.test_validation_error_has_proper_message
(type_null_got_empty_string)
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File
"/usr/lib/python2.7/dist-packages/json_schema_validator/tests/test_validator.py",
line 501, in test_validation_error_has_proper_message
    self.assertEqual(ex.message, self.raises.message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
411, in assertEqual
    self.assertThat(observed, matcher, message)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line
498, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: "'' does not match type 'null'"
!= "u'' does not match type 'null'"


----------------------------------------------------------------------
Ran 302 tests in 0.067s

FAILED (failures=2)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190107/c34ca3d5/attachment.sig>


More information about the Python-modules-team mailing list