Skip to content

Test failures when building Portable package #1

Description

@shawnlaffan

Originally reported at StrawberryPerl/Perl-Dist-Strawberry#300

The Portable build has test failures on one of my machines but not on another machine on the same network. These have also surfaced for some cpan-testers machines (e.g. https://matrix.perl-magpie.org/results/25d42f9f-7d9b-1014-9dcb-8e4de8b45353 ).

The target URL has a redirect, so this might be a consequence of recent network changes on the servers.

If this is a connectivity issue then the test should perhaps be modified to skip when this error occurs. FWIW, all tests are skipped when the machine is offline.

"C:\strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/01_compile.t ... ok
t/02_simple.t .... ok
t/03_config.t .... ok
t/04_cpan.t ...... ok
unable to contact the remote mirror at t/05_minicpan.t line 27.
# Looks like your test exited with 255 just after 2.
t/05_minicpan.t .. 
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 2/4 subtests 

The failing test is

Portable/t/05_minicpan.t

Lines 32 to 36 in 2294607

is(
$object->{remote},
'http://cpan.strawberryperl.com/',
'->remote ok',
);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions