Closed twata1 closed 7 months ago
What version of Sereal do you have? If you upgrade to the latest version (5.004) do you see the same results?
Thanks for the reply.
What version of Sereal do you have?
C:\home\sunnyday1>module-version Sereal
The version of Sereal in C:\home\sunnyday1\perl5\lib\perl5 is 5.004
C:\home\sunnyday1>cpan Sereal CPAN: CPAN::SQLite loaded ok (v0.219) CPAN: HTTP::Tiny loaded ok (v0.088) CPAN: Net::SSLeay loaded ok (v1.94) CPAN: IO::Socket::SSL loaded ok (v2.084) Fetching with HTTP::Tiny: https://cpan.org/authors/01mailrc.txt.gz Fetching with HTTP::Tiny: https://cpan.org/modules/02packages.details.txt.gz Fetching with HTTP::Tiny: https://cpan.org/modules/03modlist.data.gz Database was generated on Sun, 21 Jan 2024 09:25:47 GMT Updating database file ... Done! CPAN: Module::CoreList loaded ok (v5.20210123) Sereal is up to date (5.004).
C:\home\sunnyday1>
prove -blv t\serialization.t
was run as follows.
C:\home\sunnyday1\JSON-Schema-Modern-0.581>perl Build.PL
Creating new 'Build' script for 'JSON-Schema-Modern' version '0.581'
C:\home\sunnyday1\JSON-Schema-Modern-0.581>Build
(snip)
C:\home\sunnyday1\JSON-Schema-Modern-0.581>prove -blv t\serialization.t
t\serialization.t ..
# Seeded srand with seed '20240122' from local date.
ok 1 - evaluated against an empty schema
ok 2 - evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations
ok 3 - evaluate data against schema with custom dialect; format-annotation is used
ok 4 - frozen object contains all the right keys
ok 5 - thawed object contains all the right keys
ok 6 - evaluate again against an empty schema
ok 7 - in thawed object, evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations
ok 8 - evaluate again against an empty schema
ok 9 - core vocabulary_class for a different spec version works in a thawed object
ok 10 - format-assertion vocabulary_class works in a thawed object
ok 11 - metaschema_vocabulary_classes works in a thawed object
ok 12 - media_type works in a thawed object
ok 13 - encoding works in a thawed object
# Seeded srand with seed '20240122' from local date.
(hangs)
thanks. my next question is if this is a new issue? i.e. were you able to install the module before, and it has just started failing now? Or could it be that there was always a problem and installing earlier versions of the distribution were equally problematic.
(In particular, this test just changed recently in v0.579; the new addition of a child process might be causing issues in windows.)
thanks. my next question is if this is a new issue?
Yes.
C:\home\sunnyday1>module-version JSON::Schema::Modern
The version of JSON::Schema::Modern in C:\home\sunnyday1\perl5\lib\perl5 is 0.578
C:\home\sunnyday1>
For now, It seems to me that this issue resolved. The build log is attached. Build-6f02673.log.txt
Thank you for your help!
Hello,
It seems to me that t/serialization.t hangs on Windows as follows.
Strawberry Perl 5.32.1 on Windows 8.1 (64-bit)
The following Strawbery Perl 64-bit versions seem to hang as well. v5.32.0 v5.30.3 v5.30.2 v5.30.0 v5.28.2 v5.26.1 v5.24.4 v5.22.3
Thank you,