Bug#918632: simplejson breaks json-schema-validator autopkgtest

2019-02-28 Thread Paul Gevers
Hi all,

On 18-02-2019 23:04, Neil Williams wrote:
> Unless there are any relevant bug reports filed against simplejson or
> some other confirmation of the bug as being caused by simplejson within
> say a week to 10 days, I'll assign this just to json-schema-validator
> and seek removal of json-schema-validator from Debian as orphaned, out
> of date & RC buggy.

Anticipating that the above will happen today, I'll mark the regression
to be ignored by the migration software now. (The reassignment still
needs to happen to prevent simplejson to be marked as having an RC bug
in buster).

Paul



signature.asc
Description: OpenPGP digital signature


Bug#918632: simplejson breaks json-schema-validator autopkgtest

2019-02-18 Thread Neil Williams
On Mon, 18 Feb 2019 20:05:41 +0100 Paul Gevers 
wrote:
> Control: severity -1 serious
> 
> Hi,
> 
> On Mon, 7 Jan 2019 21:49:01 +0100 Paul Gevers 
> wrote:
> > 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:
> >passfail
> > simplejson from testing3.16.0-1
> > json-schema-validator  from testing2.3.1-3
> > all others from testingfrom 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.
> 
> Since February 12, this is now blocking simplejson from migrating.
> This bug should be fixed either direction: or simplejson fixes the
> regression it causes in json-schema-validator, or
> json-schema-validator fixes its autopkgtest to adapt to the new
> situation. Please agree which package should be fixed and reassign it
> to that package, keeping the version information.

My guess is that json-schema-validator is the package at fault but I
orphaned it precisely because I don't have time to investigate bugs in
the package. There are no reverse dependencies that affect buster or
unstable and no Python3 package in Debian. Nobody else has taken any
interest in the package since it was orphaned over a year ago.

Unless there are any relevant bug reports filed against simplejson or
some other confirmation of the bug as being caused by simplejson within
say a week to 10 days, I'll assign this just to json-schema-validator
and seek removal of json-schema-validator from Debian as orphaned, out
of date & RC buggy. There are better ways to validate Python data
structures than exporting & validating in JSON.

-- 

Neil Williams
h...@codehelp.co.uk



pgp7RB3VmH4OA.pgp
Description: OpenPGP digital signature


Bug#918632: simplejson breaks json-schema-validator autopkgtest

2019-02-18 Thread Paul Gevers
Control: severity -1 serious

Hi,

On Mon, 7 Jan 2019 21:49:01 +0100 Paul Gevers  wrote:
> 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:
>passfail
> simplejson from testing3.16.0-1
> json-schema-validator  from testing2.3.1-3
> all others from testingfrom 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.

Since February 12, this is now blocking simplejson from migrating. This
bug should be fixed either direction: or simplejson fixes the regression
it causes in json-schema-validator, or json-schema-validator fixes its
autopkgtest to adapt to the new situation. Please agree which package
should be fixed and reassign it to that package, keeping the version
information.

Paul



signature.asc
Description: OpenPGP digital signature


Bug#918632: simplejson breaks json-schema-validator autopkgtest

2019-01-07 Thread Paul Gevers
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...@lists.debian.org
User: debian...@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:
   passfail
simplejson from testing3.16.0-1
json-schema-validator  from testing2.3.1-3
all others from testingfrom 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)



signature.asc
Description: OpenPGP digital signature