-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test failures in Perl 5.30.3 #229
Comments
Full log from cpanp: Comparing my results with CPANTS, it looks like all those testers ran only 703 or 704 tests due to skipping: "Did not find right version of encoder", while we run 212,671 tests. |
For one more point of data, we have 295,002 passing tests with no failures for Sereal and 292,447 passing tests with no failures for Sereal::Encoder. |
Ok, interesting. I will dig.
Yves
…On Thu, 4 Jun 2020 at 01:42, Brett T. Warden ***@***.***> wrote:
When building Sereal::Decoder 4.0.11 with Perl 5.30.3 on Clear Linux, I
encountered new test failures that did not occur with Perl 5.30.2.
Excerpt (similar patterns in other tests, too):
# Failed test 'long ascii string 'abc' x 9999 (snappy_v4, object-oriented, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 9999 (snappy_v4, object-oriented, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\0\215bcabcabc\376\3\0\215ababcabc\376\3\0\215ab"... (octets: 29997, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 29997, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 9999 (snappy_v4, functional simple, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 9999 (snappy_v4, functional simple, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\20\202bcabcabc\376\3\20\202bcabcabc\376\3\20\202bc"... (octets: 29997, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 29997, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 9999 (snappy_v4, functional with object, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 9999 (snappy_v4, functional with object, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\220>bcabcabc\376\3\220>ababcabc\376\3\220>ab"... (octets: 29997, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 29997, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 9999 (snappy_v4, header-body, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 9999 (snappy_v4, header-body, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\0\0bcabcabc\376\3\0\0bcabcabc\376\3\0\0bc"... (octets: 29997, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 29997, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10000 (snappy_v4, object-oriented, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 10000 (snappy_v4, object-oriented, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3P\31bcabcabc\376\3P\31abcacabc\376\3P\31ab"... (octets: 30000, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 30000, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10000 (snappy_v4, functional simple, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 10000 (snappy_v4, functional simple, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\0\0bcabcabc\376\3\0\0bcabcabc\376\3\0\0bc"... (octets: 30000, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 30000, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10000 (snappy_v4, functional with object, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 10000 (snappy_v4, functional with object, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\20\202bcabcabc\376\3\20\202P\31abcabc\376\3\20\202P\31"... (octets: 30000, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 30000, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10000 (snappy_v4, header-body, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 10000 (snappy_v4, header-body, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3cabcabcabc\376\3cabcabcabc\376\3cabc"... (octets: 30000, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 30000, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10001 (snappy_v4, object-oriented, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#229>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAZ5R7BBHHCZ5WHV7XHC3LRU3NVXANCNFSM4NSDWDOQ>
.
--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
Probably obvious, but if I hide the previous version of Sereal::Encoder while building Sereal::Decoder, I can make it skip all those failing tests. |
On Thu, 11 Jun 2020 at 17:46, Brett T. Warden ***@***.***> wrote:
Probably obvious, but if I hide the previous version of Sereal::Encoder
while building Sereal::Decoder, I can make it skip all those failing tests.
Actually no, that wasn't that obvious. I haven't been able to replicate
these failures. Was the old version also built for 5.30.3?
cheers,
Yves
…--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
I've looked into this more, and i dont get it. The test says you have Sereal::Encoder and Sereal::Decoder 4.011. Also all the fails relate to snappy which is suggestive that something broke there. It looks to me like you installed Sereal::Encoder 4.011 first and then tried to install Sereal::Decoder 4.011, which is strange, usually its the other way around. Anyway, at this point im just plain confused. Can you help dig into this a bit more? Is it possible you are using the build mode where modules for 5.30.3 are shared with 5.30.2 and etc? I need to see your perl -V and some other stuff. |
We had Sereal, Sereal::Encoder, and Sereal::Decoder 4.011 installed under 5.30.2. I upgraded Perl to 5.30.3, and configured it to support modules from 5.30.2 to ease the transition. I rebuilt all of our modules for 5.30.3. It wasn't strictly alphabetical, but the process did complete Sereal and Sereal::Encoder successfully first, then Sereal::Decoder failed. |
On Thu, 11 Jun 2020 at 19:23, Brett T. Warden ***@***.***> wrote:
perlv.txt <https://github.com/Sereal/Sereal/files/4766249/perlv.txt>
We had Sereal, Sereal::Encoder, and Sereal::Decoder 4.011 installed under
5.30.2. I upgraded Perl to 5.30.3, *and configured it to support modules
from 5.30.2* to ease the transition. I rebuilt all of our modules for
5.30.3. It wasn't strictly alphabetical, but the process did complete
Sereal and Sereal::Encoder successfully first, then Sereal::Decoder failed.
I see. So my guess is that someone broke binary compatibility somewhere, no
idea where or how. In theory upgrading from 5.30.2 to 5.30.3 should not
break XS code but this is not enforced, if a change was made to a perl
internal data structure then using the old XS code with the new perl binary
could break something. Probably worth a ticket to the Perl crew. But at
this point I'm pretty sure this Isn't a bug in Sereal itself, its a problem
from running the old Sereal binary against the new Perl binary -- I guess I
could make Sereal whine if it notices this is happening, but its kind of a
weird edge case that should be caught in build/test.
What I would do is force install the Decoder on 5.30.3 and then try to
re-install the Encoder. If the encoder passes tests you are good. I have
released 4.014 just an hour ago so you could try to use that version to
see.
Please let me know if you concur and I can close the ticket.
cheers,
Yves
…--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
Encoder 4.014 fails on I think the same snappy tests. What I don't understand is that the chroot where I'm building it doesn't even have snappy installed. edit: Oh, i see you're using a local copy, not the system's snappy |
On Thu, 11 Jun 2020 at 20:13, Brett T. Warden ***@***.***> wrote:
Encoder 4.014 fails on I think the same snappy tests. What I don't understand is that the chroot where I'm building it doesn't even have snappy installed.
Snappy should be built from source:
Sereal-Encoder-4.014/snappy/
Sereal-Encoder-4.014/snappy/csnappy.h
Sereal-Encoder-4.014/snappy/csnappy_compress.c
Sereal-Encoder-4.014/snappy/csnappy_internal.h
Sereal-Encoder-4.014/snappy/csnappy_compat.h
Sereal-Encoder-4.014/snappy/csnappy_decompress.c
Sereal-Encoder-4.014/snappy/csnappy_internal_userspace.h
I can see if there are upgrades to snappy (csnappy). Maybe that will help.
Yves
…--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
On Thu, 11 Jun 2020 at 22:58, demerphq ***@***.***> wrote:
On Thu, 11 Jun 2020 at 20:13, Brett T. Warden ***@***.***> wrote:
>
> Encoder 4.014 fails on I think the same snappy tests. What I don't understand is that the chroot where I'm building it doesn't even have snappy installed.
Snappy should be built from source:
Sereal-Encoder-4.014/snappy/
Sereal-Encoder-4.014/snappy/csnappy.h
Sereal-Encoder-4.014/snappy/csnappy_compress.c
Sereal-Encoder-4.014/snappy/csnappy_internal.h
Sereal-Encoder-4.014/snappy/csnappy_compat.h
Sereal-Encoder-4.014/snappy/csnappy_decompress.c
Sereal-Encoder-4.014/snappy/csnappy_internal_userspace.h
I can see if there are upgrades to snappy (csnappy). Maybe that will help.
Nope. Nothing there. Not sure what to do about this. Also I dont
understand why it would break in 5.30.3 and not in 5.30.2
Yves
…--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
Linux 5.6.14-1-default [openSUSE Tumbleweed 20200610] HP ZBook 15G3 Core(TM) i7-6820HQ CPU @ 2.70GHz/2781(8 cores) x86_64 15925 Mb |
Another difference that might contribute -- between passing and failing builds we moved from gcc9 to gcc10. |
I just confirmed. Building 4.014 on Perl 5.30.3 with gcc9:
With gcc10:
|
On Fri, 12 Jun 2020, 17:47 Brett T. Warden, ***@***.***> wrote:
I just confirmed. Building 4.014 on Perl 5.30.3 with gcc9:
All tests successful.
Files=73, Tests=296736, 69 wallclock secs ( 9.90 usr 0.84 sys + 66.62 cusr 2.09 csys = 79.45 CPU)
Result: PASS
With gcc10:
Files=73, Tests=212672, 51 wallclock secs ( 7.26 usr 0.60 sys + 49.00 cusr 1.54 csys = 58.40 CPU)
Result: FAIL
Failed 14/73 test programs. 344/212672 subtests failed.
make: *** [Makefile:1102: test_dynamic] Error 255
Interesting. I'll try to figure this out but its not an area I have any
particular expertise. Does this seem like a compiler /bug/ to you? I tend
to discount such bugs initially, but they do happen. I will also report
this to the csnappy project as we just bundle and use their library.
Yves
… |
On Fri, 12 Jun 2020 at 11:38, H.Merijn Brand ***@***.***> wrote:
Linux 5.6.14-1-default [openSUSE Tumbleweed 20200610] HP ZBook 15G3
Core(TM) i7-6820HQ CPU @ 2.70GHz/2781(8 cores) x86_64 15925 Mb
This is perl 5, version 30, subversion 0 (v5.30.0) built for
x86_64-linux-thread-multi-ld
Same failues on 4.014
What version of gcc? 10?
Yves
…--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
On Sun, 14 Jun 2020 01:32:45 -0700, Yves Orton
<[email protected]> wrote:
On Fri, 12 Jun 2020 at 11:38, H.Merijn Brand
***@***.***> wrote:
> Linux 5.6.14-1-default [openSUSE Tumbleweed 20200610] HP ZBook 15G3
> Core(TM) i7-6820HQ CPU @ 2.70GHz/2781(8 cores) x86_64 15925 Mb
> This is perl 5, version 30, subversion 0 (v5.30.0) built for
> x86_64-linux-thread-multi-ld
> Same failues on 4.014
>
>
> What version of gcc? 10?
Yes:
$ gcc -dumpversion
10
$ gcc --version
gcc (SUSE Linux) 10.1.1 20200507 [revision dd38686d9c810cecbaa80bb82ed91caaa58ad635]
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ path -p gcc
/usr/bin/gcc
gcc-10-1.13.x86_64
… Yves
--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using perl5.00307 .. 5.31 porting perl5 on HP-UX, AIX, and Linux
https://useplaintext.email https://tux.nl http://www.test-smoke.org
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
|
On Sun, 14 Jun 2020 at 11:32, H.Merijn Brand <[email protected]>
wrote:
On Sun, 14 Jun 2020 01:32:45 -0700, Yves Orton
***@***.***> wrote:
> On Fri, 12 Jun 2020 at 11:38, H.Merijn Brand
> ***@***.***> wrote:
>
> > Linux 5.6.14-1-default [openSUSE Tumbleweed 20200610] HP ZBook 15G3
> > Core(TM) i7-6820HQ CPU @ 2.70GHz/2781(8 cores) x86_64 15925 Mb
> > This is perl 5, version 30, subversion 0 (v5.30.0) built for
> > x86_64-linux-thread-multi-ld
> > Same failues on 4.014
> >
> >
> > What version of gcc? 10?
Yes:
$ gcc -dumpversion
10
$ gcc --version
gcc (SUSE Linux) 10.1.1 20200507 [revision
dd38686d9c810cecbaa80bb82ed91caaa58ad635]
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ path -p gcc
/usr/bin/gcc
gcc-10-1.13.x86_64
Can you try gcc-9? Apparently that should fix it.
Yves
…--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
But that requires manual intervention, as I need to alter the generated |
On Sun, 14 Jun 2020 at 11:58, H.Merijn Brand ***@***.***> wrote:
$ gcc-9 -dumpversion
9
$ gcc-9 --version
gcc-9 (SUSE Linux) 9.3.1 20200406 [revision 6db837a5288ee3ca5ec504fbd5a765817e556ac2]
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ path -p gcc-9
/usr/bin/gcc-9
gcc9-9.3.1+git1296-1.9.x86_64
All tests successful.
Files=73, Tests=296736, 81 wallclock secs (21.15 usr 1.32 sys + 77.86 cusr 2.38 csys = 102.71 CPU)
Result: PASS
But that requires manual intervention, as I need to alter the generated
Makefile
I think I need to upgrade my OS to get gcc-10 running. I only have 7 here.
Anyway, I am not clear if this is a compiler bug, or if it is something in
the snappy code doing something dodgy. Until I can replicate I cant fix it.
For the time being I think you guys should file a bug report with the gcc
team.
Yves
…--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
Does gcc-10 miscompile the snappy code in isolation? |
On Mon, 15 Jun 2020 at 19:15, Damian Gryski ***@***.***> wrote:
Does gcc-10 miscompile the snappy code in isolation?
I havent managed to get it built personally with gcc-10, I ended up
shaving a yak and I not done yet.
Yves
|
We are seeing the same issue on Mageia Cauldron (using gcc-10 too) |
I played a bit with the test cases and failures are with patterns of length < 16 and not power of 2, when the total length is >= 1022...
Are the strings directly passed to snappy or encoded / processed before? I also tried building with -O0 instead of -O2 and this doesn't help. |
Compression happens on the Sereal document body after the entire structure has been serialized, then a header is added. If gcc-10 is miscompiling snappy, we should be able to write test cases that target the snappy library and not worry about sereal. |
Reading the source, the reason why tests pass when the size is < 1024 is because compression is disabled at that threshold by default. If changing the threshold to 1, it fails for 9 x "abc", at offset 24 like for longer strings. |
The corruption is FE 03 00 C0 getting written at offset 24-28 then 8 bytes are ok, then FE 03 00 C0 then 8 bytes are ok, then FE 03 00 C0 then everything is fine. FE 03 00 is what makes most of the compressed body. |
I changed the test code to dump data, encoded and decoded into files, for "abc" x 32.
So 4 I tried a pure C encoding / decoding of the data without header, which works fine, and the compressed part looks consistent:
As the encoded data looks similar (apart from an added header) with the one I get in C that gets decompressed fine, I would blame decoding rather than encoding, and probably not in the snappy code. |
I wonder if gcc-10 changed the default size of an int (or something related) and we're using an unsigned integer type somewhere? |
I have spent a few more hours trying to debug this in the Decoder, adding a simple test. After adding a lot of logging the test passed, gradually removing it I ended up with this patch making it work:
So it seems gcc is doing something strange int that loop, and the problem is really in csnappy not Sereal. |
Wow, thanks for your work hunting this down. |
So my previous attempt at changing the optimisation flag didn't help as I was doing it while building Encode while the problem was in Decode. Changing And the following reproduces the problem:
I'll report it to gcc, and will build with -O2 meanwhile. |
Hi,
Just wanted to thank you for your excellent debugging efforts on this.
So if I understand correctly for now we can test for gcc10 and then drop to
-O2 for such builds.
I will put a patch together today..
Yves
…On Mon, 27 Jul 2020 at 03:31, Pascal Terjan ***@***.***> wrote:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96326
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#229 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAZ5R2HWQSSVHLA3CNAL2TR5TKGLANCNFSM4NSDWDOQ>
.
--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
From the gcc bug report:
So, seems like we should 1) inform csnappy of this and 2) run the perl test suite with ubsan/: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html |
This hopefully fixes issue #229. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96326
Hi, to all who reported this issue could you please 4.017_001 and see
if it fixes the issue?
Thanks!
Yves
…On Mon, 27 Jul 2020 at 03:31, Pascal Terjan ***@***.***> wrote:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96326
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
Hi, could you please try 4.017_001 and tell me if it passes test now? I
would like to close this ticket.
Yves
…On Thu, 4 Jun 2020 at 01:42, Brett T. Warden ***@***.***> wrote:
When building Sereal::Decoder 4.0.11 with Perl 5.30.3 on Clear Linux, I
encountered new test failures that did not occur with Perl 5.30.2.
Excerpt (similar patterns in other tests, too):
# Failed test 'long ascii string 'abc' x 9999 (snappy_v4, object-oriented, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 9999 (snappy_v4, object-oriented, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\0\215bcabcabc\376\3\0\215ababcabc\376\3\0\215ab"... (octets: 29997, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 29997, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 9999 (snappy_v4, functional simple, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 9999 (snappy_v4, functional simple, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\20\202bcabcabc\376\3\20\202bcabcabc\376\3\20\202bc"... (octets: 29997, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 29997, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 9999 (snappy_v4, functional with object, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 9999 (snappy_v4, functional with object, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\220>bcabcabc\376\3\220>ababcabc\376\3\220>ab"... (octets: 29997, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 29997, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 9999 (snappy_v4, header-body, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 9999 (snappy_v4, header-body, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\0\0bcabcabc\376\3\0\0bcabcabc\376\3\0\0bc"... (octets: 29997, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 29997, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10000 (snappy_v4, object-oriented, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 10000 (snappy_v4, object-oriented, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3P\31bcabcabc\376\3P\31abcacabc\376\3P\31ab"... (octets: 30000, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 30000, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10000 (snappy_v4, functional simple, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 10000 (snappy_v4, functional simple, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\0\0bcabcabc\376\3\0\0bcabcabc\376\3\0\0bc"... (octets: 30000, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 30000, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10000 (snappy_v4, functional with object, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 10000 (snappy_v4, functional with object, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3\20\202bcabcabc\376\3\20\202P\31abcabc\376\3\20\202P\31"... (octets: 30000, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 30000, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10000 (snappy_v4, header-body, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
# long ascii string 'abc' x 10000 (snappy_v4, header-body, decoded vs data) - first string difference at octet offset 24
# got-octets = ..."cabcabcabc" . "\376\3cabcabcabc\376\3cabcabcabc\376\3cabc"... (octets: 30000, utf8-flag: 0)
# want-octets = ..."cabcabcabc" . "abcabcabcabcabcabcabcabcabcabc"... (octets: 30000, utf8-flag: 0)
# Failed test 'long ascii string 'abc' x 10001 (snappy_v4, object-oriented, decoded vs data) - strings different'
# at t/lib/Sereal/TestSet.pm line 1220.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#229>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAZ5R7BBHHCZ5WHV7XHC3LRU3NVXANCNFSM4NSDWDOQ>
.
--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
Hi, can you please try 4.017_001 and let me know if it passes test now?
Thanks
yves
…On Fri, 12 Jun 2020 at 11:38, H.Merijn Brand ***@***.***> wrote:
Linux 5.6.14-1-default [openSUSE Tumbleweed 20200610] HP ZBook 15G3 Core(TM) i7-6820HQ CPU @ 2.70GHz/2781(8 cores) x86_64 15925 Mb
This is perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-linux-thread-multi-ld
Same failues on 4.014
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
|
Super! Thanks a lot of the report and the help. Hope life is treating you
well also. ;-)
Ill roll a proper release right now.
Yves
…On Mon, 3 Aug 2020 at 10:12, H.Merijn Brand ***@***.***> wrote:
Linux 5.7.11-1-default [openSUSE Tumbleweed 20200731] HP ZBook 15G3
Core(TM) i7-6820HQ CPU @ 2.70GHz/2118(8 cores) x86_64 15922 Mb
gcc (SUSE Linux) 10.1.1 20200625 [revision c91e43e9363bd119a695d64505f96539fa451bf2]
Sereal-Encoder-4.017_001
All tests successful.
Files=70, Tests=294317, 82 wallclock secs (21.37 usr 1.40 sys + 79.00 cusr 2.28 csys = 104.05 CPU)
Result: PASS
Sereal-Decoder-4.017_001
All tests successful.
Files=74, Tests=296792, 81 wallclock secs (21.01 usr 1.39 sys + 78.95 cusr 2.37 csys = 103.72 CPU)
Result: PASS
Sereal-4.017_001
All tests successful.
Files=87, Tests=296905, 86 wallclock secs (22.31 usr 1.40 sys + 83.61 cusr 2.45 csys = 109.77 CPU)
Result: PASS
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#229 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAZ5RY4FKY32LPFBEL5YK3R6ZWOJANCNFSM4NSDWDOQ>
.
--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
When building Sereal::Decoder 4.0.11 with Perl 5.30.3 on Clear Linux, I encountered new test failures that did not occur with Perl 5.30.2.
Excerpt (similar patterns in other tests, too):
The text was updated successfully, but these errors were encountered: