{"action":"created","issue":{"url":"https://api.github.com/repos/pjcj/Devel--Cover/issues/202","repository_url":"https://api.github.com/repos/pjcj/Devel--Cover","labels_url":"https://api.github.com/repos/pjcj/Devel--Cover/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/pjcj/Devel--Cover/issues/202/comments","events_url":"https://api.github.com/repos/pjcj/Devel--Cover/issues/202/events","html_url":"https://github.com/pjcj/Devel--Cover/issues/202","id":283344702,"node_id":"MDU6SXNzdWUyODMzNDQ3MDI=","number":202,"title":"Bad interaction with Sereal on Perl 5 blead","user":{"login":"jkeenan","id":96524,"node_id":"MDQ6VXNlcjk2NTI0","avatar_url":"https://avatars2.githubusercontent.com/u/96524?v=4","gravatar_id":"","url":"https://api.github.com/users/jkeenan","html_url":"https://github.com/jkeenan","followers_url":"https://api.github.com/users/jkeenan/followers","following_url":"https://api.github.com/users/jkeenan/following{/other_user}","gists_url":"https://api.github.com/users/jkeenan/gists{/gist_id}","starred_url":"https://api.github.com/users/jkeenan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkeenan/subscriptions","organizations_url":"https://api.github.com/users/jkeenan/orgs","repos_url":"https://api.github.com/users/jkeenan/repos","events_url":"https://api.github.com/users/jkeenan/events{/privacy}","received_events_url":"https://api.github.com/users/jkeenan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-19T19:34:01Z","updated_at":"2018-07-09T18:29:12Z","closed_at":"2018-07-09T17:50:57Z","author_association":"CONTRIBUTOR","body":"Today I wanted to measure the test coverage of a branch of CPAN distribution Test-API https://github.com/jkeenan/Test-API/tree/gh7-20171219.\r\n\r\nWhen I build, compile, test and perform coverage analysis of this branch using perl-5.26.0, everything DWIMs.  For example, when I call ```cover -summary```, I get expected STDOUT:\r\n```\r\n$ cover -summary\r\nReading database from /home/jkeenan/gitwork/zzzothers/Test-API/cover_db\r\n\r\n\r\n---------------------------- ------ ------ ------ ------ ------ ------ ------\r\nFile                           stmt   bran   cond    sub    pod   time  total\r\n---------------------------- ------ ------ ------ ------ ------ ------ ------\r\nblib/lib/Test/API.pm           99.4   89.5  100.0  100.0  100.0  100.0   97.9\r\nTotal                          99.4   89.5  100.0  100.0  100.0  100.0   97.9\r\n---------------------------- ------ ------ ------ ------ ------ ------ ------\r\n\r\n\r\nHTML output written to /home/jkeenan/gitwork/zzzothers/Test-API/cover_db/coverage.html\r\ndone.\r\n\r\n```\r\n\r\nHowever, there were changes in Perl 5 blead which necessitate patching Test-API to get to the branch above.  When I build, compile and test using perl at v5.27.6-343-gbae26b9, those 3 operations DWIM -- but ```cover``` does not!\r\n```\r\n$ ~/testing/blead/bin/perl -I~/testing/blead/lib Makefile.PL\r\nGenerating a Unix-style Makefile\r\nWriting Makefile for Test::API\r\nWriting MYMETA.yml and MYMETA.json\r\n\r\n$ make\r\ncp lib/Test/API.pm blib/lib/Test/API.pm\r\n\r\n$ cover -delete\r\nDeleting database /home/jkeenan/gitwork/zzzothers/Test-API/cover_db\r\n\r\n$ harness\r\nPERL_DL_NONLAZY=1 \"/home/jkeenan/testing/blead/bin/perl\" \"-MExtUtils::Command::MM\" \"-MTest::Harness\" \"-e\" \"undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')\" t/*.t\r\nt/02-public.t .... ok     \r\nt/03-export.t .... ok     \r\nt/04-class-ok.t .. ok   \r\nAll tests successful.\r\nFiles=3, Tests=31,  1 wallclock secs ( 0.02 usr  0.01 sys +  0.70 cusr  0.04 csys =  0.77 CPU)\r\nResult: PASS\r\n\r\n$ cover -summary\r\nReading database from /home/jkeenan/gitwork/zzzothers/Test-API/cover_db\r\nfound digests.lock in /home/jkeenan/gitwork/zzzothers/Test-API/cover_db at /home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux/Devel/Cover/DB.pm line 203.\r\nDevel::Cover: /home/jkeenan/gitwork/zzzothers/Test-API/cover_db is an invalid database\r\nCan't read /home/jkeenan/gitwork/zzzothers/Test-API/cover_db/runs/1513710944.16405.31528/cover.14 with Sereal Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 580 at /home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux/Devel/Cover/DB/IO/Sereal.pm line 38, <$fh> chunk 1.\r\nCan't read /home/jkeenan/gitwork/zzzothers/Test-API/cover_db/runs/1513710944.16408.20845/cover.14 with Sereal Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 580 at /home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux/Devel/Cover/DB/IO/Sereal.pm line 38, <$fh> chunk 1.\r\nCan't read /home/jkeenan/gitwork/zzzothers/Test-API/cover_db/runs/1513710945.16411.31415/cover.14 with Sereal Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 580 at /home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux/Devel/Cover/DB/IO/Sereal.pm line 38, <$fh> chunk 1.\r\nfound digests.lock in /home/jkeenan/gitwork/zzzothers/Test-API/cover_db at /home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux/Devel/Cover/DB.pm line 203.\r\nDevel::Cover: /home/jkeenan/gitwork/zzzothers/Test-API/cover_db is an invalid database\r\nCan't read /home/jkeenan/gitwork/zzzothers/Test-API/cover_db/structure/3e185fa8de9ec370b06d9602619c5f29 with Sereal Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 580 at /home/jkeenan/perl5/perlbrew/perls/perl-5.26.0/lib/site_perl/5.26.0/x86_64-linux/Devel/Cover/DB/IO/Sereal.pm line 38, <$fh> chunk 1.\r\n```\r\nMy first thought was, \"Oh, I probably need to install Sereal against Perl 5 blead.\"  I did so, called ```git clean -dfx``` and started over -- only to get the same result, i.e., ```found digests.lock``` leading to ```invalid database``` and ```Not a valid Sereal document```.\r\n\r\nNot further diagnosed.\r\n\r\nThank you very much.\r\nJim Keenan"},"comment":{"url":"https://api.github.com/repos/pjcj/Devel--Cover/issues/comments/403576135","html_url":"https://github.com/pjcj/Devel--Cover/issues/202#issuecomment-403576135","issue_url":"https://api.github.com/repos/pjcj/Devel--Cover/issues/202","id":403576135,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzU3NjEzNQ==","user":{"login":"pjcj","id":183004,"node_id":"MDQ6VXNlcjE4MzAwNA==","avatar_url":"https://avatars2.githubusercontent.com/u/183004?v=4","gravatar_id":"","url":"https://api.github.com/users/pjcj","html_url":"https://github.com/pjcj","followers_url":"https://api.github.com/users/pjcj/followers","following_url":"https://api.github.com/users/pjcj/following{/other_user}","gists_url":"https://api.github.com/users/pjcj/gists{/gist_id}","starred_url":"https://api.github.com/users/pjcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjcj/subscriptions","organizations_url":"https://api.github.com/users/pjcj/orgs","repos_url":"https://api.github.com/users/pjcj/repos","events_url":"https://api.github.com/users/pjcj/events{/privacy}","received_events_url":"https://api.github.com/users/pjcj/received_events","type":"User","site_admin":false},"created_at":"2018-07-09T18:29:12Z","updated_at":"2018-07-09T18:29:12Z","author_association":"OWNER","body":"That's great! Thanks for checking."}}
{"actor":{"display_login":"pjcj"}}