Sunday, May 26, 2019

Re: [update] www/p5-WWW-Tumblr 5.2 -> 5.3

On Tue, May 21, 2019 at 08:40:06AM +0200, Charlene Wendling wrote:
>
> Here is an update for WWW::Tumblr.
>
> This update address changes made to the Tumblr API, with no visible
> changes for possible consumers [0].
>
> Port-wise it's a simple update, with a depends refresh.
>
> Testing:
>
> - 'make test' passes

I don't get that, I get *lots* of failures. Did I miss something?
(previous version also fails, so could be something on my end)

see below

> - there are no consumers
>
> Comments/feedback are welcome.
>
> Charlène.
>
>
> [0] https://metacpan.org/source/DAMOG/WWW-Tumblr-5.3/Changes
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/p5-WWW-Tumblr/Makefile,v
> retrieving revision 1.10
> diff -u -p -u -p -r1.10 Makefile
> --- Makefile 20 Mar 2016 19:57:23 -0000 1.10
> +++ Makefile 21 May 2019 06:31:19 -0000
> @@ -2,7 +2,7 @@
>
> COMMENT = Perl interface for the Tumblr API
>
> -DISTNAME = WWW-Tumblr-5.2
> +DISTNAME = WWW-Tumblr-5.3
> CATEGORIES = www
>
> MODULES = cpan
> @@ -11,8 +11,10 @@ PKG_ARCH = *
> # Perl
> PERMIT_PACKAGE_CDROM = Yes
>
> -RUN_DEPENDS = www/p5-libwww \
> +RUN_DEPENDS = converters/p5-JSON \
> devel/p5-Moose \
> - net/p5-Net-OAuth
> + net/p5-Net-OAuth \
> + www/p5-HTTP-Message \
> + www/p5-libwww
>
> .include <bsd.port.mk>
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/www/p5-WWW-Tumblr/distinfo,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 distinfo
> --- distinfo 20 Sep 2015 08:33:57 -0000 1.4
> +++ distinfo 21 May 2019 06:31:19 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (WWW-Tumblr-5.2.tar.gz) = ePEdJbLT/1q5gx5G9biyJ39HARWP3/gQXGWLSfZKX3E=
> -SIZE (WWW-Tumblr-5.2.tar.gz) = 233541
> +SHA256 (WWW-Tumblr-5.3.tar.gz) = wQ0BYfOjp4fqA0UhT4RsfgKGo/SjVFnahhZ9+Xu0rcg=
> +SIZE (WWW-Tumblr-5.3.tar.gz) = 231316
>


===> Regression tests for p5-WWW-Tumblr-5.3
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ................... ok

# Failed test 'response is a hash reference'
# at t/01-blog_info.t line 12.

# Failed test 'response has a blog response'
# at t/01-blog_info.t line 13.

# Failed test 'blog response also a hash'
# at t/01-blog_info.t line 14.
# got: ''
# expected: 'HASH'

# Failed test 'blog response not empty'
# at t/01-blog_info.t line 16.
# Looks like you failed 4 tests of 6.
t/01-blog_info.t ..............
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.

# Failed test 'avatar response ok'
# at t/02-blog_avatar.t line 15.

# Failed test 'avatar response is a reference'
# at t/02-blog_avatar.t line 16.

# Failed test 'avatar response reference is a hash'
# at t/02-blog_avatar.t line 17.
# got: ''
# expected: 'HASH'

# Failed test 'contains an avatar_url param'
# at t/02-blog_avatar.t line 18.
# Looks like you failed 40 tests of 42.
t/02-blog_avatar.t ............
Dubious, test returned 40 (wstat 10240, 0x2800)
Failed 40/42 subtests
t/03-blog_likes.t ............. ok

# Failed test 'followers is set'
# at t/04-blog_followers.t line 13.

# Failed test 'followers is s reference'
# at t/04-blog_followers.t line 15.

# Failed test 'a HASH reference'
# at t/04-blog_followers.t line 16.
# got: ''
# expected: 'HASH'

# Failed test 'total users is there'
# at t/04-blog_followers.t line 17.

# Failed test 'users is there'
# at t/04-blog_followers.t line 18.

# Failed test 'users is a reference'
# at t/04-blog_followers.t line 19.

# Failed test 'users is an array reference'
# at t/04-blog_followers.t line 20.
# got: ''
# expected: 'ARRAY'
# Looks like you failed 7 tests of 9.
t/04-blog_followers.t .........
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/9 subtests

# Failed test 'posts is set'
# at t/05-blog_posts.t line 13.

# Failed test 'posts is s reference'
# at t/05-blog_posts.t line 15.

# Failed test 'a HASH reference'
# at t/05-blog_posts.t line 16.
# got: ''
# expected: 'HASH'

# Failed test 'this should be fine'
# at t/05-blog_posts.t line 19.

# Failed test 'posts/queue'
# at t/05-blog_posts.t line 20.

# Failed test 'posts/draft'
# at t/05-blog_posts.t line 21.

# Failed test 'posts/submission'
# at t/05-blog_posts.t line 22.
# Looks like you failed 7 tests of 10.
t/05-blog_posts.t .............
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/10 subtests
malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "(end of string)") at t/06-blog_postings.t line 16.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 22 just after 2.
t/06-blog_postings.t ..........
Dubious, test returned 22 (wstat 5632, 0x1600)
All 2 subtests passed

# Failed test 'data posting'
# at t/07-blog_post_data_image.t line 19.
# Looks like you failed 1 test of 3.
t/07-blog_post_data_image.t ...
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests

# Failed test 'data posting'
# at t/08-blog_post_data_images.t line 19.
# Looks like you failed 1 test of 3.
t/08-blog_post_data_images.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests

# Failed test 'user info is fine'
# at t/09-user_info.t line 13.

# Failed test 'response is a hash reference'
# at t/09-user_info.t line 14.
# Looks like you failed 2 tests of 4.
t/09-user_info.t ..............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests

# Failed test 'user dashboard is fine'
# at t/10-user_dashboard.t line 13.

# Failed test 'response is a hash reference'
# at t/10-user_dashboard.t line 14.
# Looks like you failed 2 tests of 4.
t/10-user_dashboard.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests

# Failed test 'user likes is fine'
# at t/11-user_likes.t line 13.

# Failed test 'response is a hash reference'
# at t/11-user_likes.t line 14.
# Looks like you failed 2 tests of 4.
t/11-user_likes.t .............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests

# Failed test 'user following is fine'
# at t/12-user_following.t line 13.

# Failed test 'response is a hash reference'
# at t/12-user_following.t line 14.
# Looks like you failed 2 tests of 4.
t/12-user_following.t .........
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests

# Failed test 'user follow is fine'
# at t/13-user_follow.t line 13.
# Looks like you failed 1 test of 3.
t/13-user_follow.t ............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests

# Failed test 'user unfollow is fine'
# at t/14-user_unfollow.t line 13.
# Looks like you failed 1 test of 3.
t/14-user_unfollow.t ..........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
t/15-tagged.t ................. ok

Test Summary Report
-------------------
t/01-blog_info.t (Wstat: 1024 Tests: 6 Failed: 4)
Failed tests: 3-6
Non-zero exit status: 4
t/02-blog_avatar.t (Wstat: 10240 Tests: 42 Failed: 40)
Failed tests: 3-42
Non-zero exit status: 40
t/04-blog_followers.t (Wstat: 1792 Tests: 9 Failed: 7)
Failed tests: 3-9
Non-zero exit status: 7
t/05-blog_posts.t (Wstat: 1792 Tests: 10 Failed: 7)
Failed tests: 3-5, 7-10
Non-zero exit status: 7
t/06-blog_postings.t (Wstat: 5632 Tests: 2 Failed: 0)
Non-zero exit status: 22
Parse errors: No plan found in TAP output
t/07-blog_post_data_image.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 3
Non-zero exit status: 1
t/08-blog_post_data_images.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 3
Non-zero exit status: 1
t/09-user_info.t (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
t/10-user_dashboard.t (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
t/11-user_likes.t (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
t/12-user_following.t (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
t/13-user_follow.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 3
Non-zero exit status: 1
t/14-user_unfollow.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 3
Non-zero exit status: 1
Files=16, Tests=103, 15 wallclock secs ( 0.11 usr 0.17 sys + 11.20 cusr 2.68 csys = 14.16 CPU)
Result: FAIL
Failed 13/16 test programs. 70/103 subtests failed.
*** Error 255 in /usr/ports/pobj/p5-WWW-Tumblr-5.3/WWW-Tumblr-5.3 (Makefile:906 'test_dynamic')
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2835 '/usr/ports/pobj/p5-WWW-Tumblr-5.3/.test_done')
*** Error 1 in /usr/ports/mystuff/www/p5-WWW-Tumblr (/usr/ports/infrastructure/mk/bsd.port.mk:2466 'test')

No comments:

Post a Comment