Corion / WWW-Mechanize-Chrome

automate the Chrome browser
https://metacpan.org/release/WWW-Mechanize-Chrome
Artistic License 2.0
30 stars 12 forks source link

Version 0.34 failing to install on Mac #43

Closed sdondley closed 4 years ago

sdondley commented 5 years ago

Build log:

cpanm (App::cpanminus) 1.7044 on perl 5.024004 built for darwin-2level
Work directory is /Users/stevedondley/.cpanm/work/1564420241.85926
You have make /usr/bin/make
You have LWP 6.31
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching WWW::Mechanize::Chrome () on cpanmetadb ...
--> Working on WWW::Mechanize::Chrome
Fetching http://www.cpan.org/authors/id/C/CO/CORION/WWW-Mechanize-Chrome-0.34.tar.gz
-> OK
Unpacking WWW-Mechanize-Chrome-0.34.tar.gz
Entering WWW-Mechanize-Chrome-0.34
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.34)
Configuring WWW-Mechanize-Chrome-0.34
Running Makefile.PL
(Re)Creating lib/WWW/Mechanize/Chrome/Examples.pm
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for WWW::Mechanize::Chrome
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have HTTP::Cookies 0 ... Yes (6.04)
Checking if you have Filter::signatures 0.09 ... Yes (0.15)
Checking if you have Test::Deep 0 ... Yes (1.128)
Checking if you have File::Spec 0 ... Yes (3.75)
Checking if you have Algorithm::Loops 0 ... Yes (1.032)
Checking if you have Imager 0 ... Yes (1.009)
Checking if you have Storable 0 ... Yes (3.11)
Checking if you have Test::More 0 ... Yes (1.302156)
Checking if you have Imager::File::PNG 0 ... Yes (0.94)
Checking if you have Log::Log4perl 0 ... Yes (1.49)
Checking if you have Future 0.35 ... Yes (0.39)
Checking if you have File::Basename 0 ... Yes (2.85)
Checking if you have JSON 0 ... Yes (4.00)
Checking if you have Data::Dumper 0 ... Yes (2.173)
Checking if you have AnyEvent::Future 0 ... Yes (0.03)
Checking if you have ExtUtils::MakeMaker 5.52_01 ... Yes (7.34)
Checking if you have Try::Tiny 0 ... Yes (0.30)
Checking if you have Scalar::Util 0 ... Yes (1.50)
Checking if you have Moo 2 ... Yes (2.003004)
Checking if you have IO::Socket::INET 0 ... Yes (1.35)
Checking if you have Carp 0 ... Yes (1.50)
Checking if you have Object::Import 0 ... Yes (1.005)
Checking if you have AnyEvent 0 ... Yes (7.14)
Checking if you have AnyEvent::WebSocket::Client 0 ... Yes (0.50)
Checking if you have URI::file 0 ... Yes (4.21)
Checking if you have HTML::Selector::XPath 0 ... Yes (0.25)
Checking if you have WWW::Mechanize::Link 0 ... Yes (1.91)
Checking if you have Future::HTTP 0.06 ... Yes (0.12)
Checking if you have Image::Info 0 ... Yes (1.41)
Checking if you have URI 0 ... Yes (1.76)
Checking if you have Exporter 5 ... Yes (5.72)
Checking if you have MIME::Base64 0 ... Yes (3.15)
Checking if you have HTTP::Headers 0 ... Yes (6.18)
Checking if you have Test::HTTP::LocalServer 0.61 ... Yes (0.64)
Checking if you have POSIX 0 ... Yes (1.65_01)
Checking if you have HTTP::Response 0 ... Yes (6.18)
Building and testing WWW-Mechanize-Chrome-0.34
cp lib/WWW/Mechanize/Chrome/Troubleshooting.pm blib/lib/WWW/Mechanize/Chrome/Troubleshooting.pm
cp lib/Chrome/DevToolsProtocol/Transport/Mojo.pm blib/lib/Chrome/DevToolsProtocol/Transport/Mojo.pm
cp lib/HTTP/Cookies/ChromeDevTools.pm blib/lib/HTTP/Cookies/ChromeDevTools.pm
cp lib/Chrome/DevToolsProtocol/Transport/AnyEvent.pm blib/lib/Chrome/DevToolsProtocol/Transport/AnyEvent.pm
cp lib/Chrome/DevToolsProtocol.pm blib/lib/Chrome/DevToolsProtocol.pm
cp lib/WWW/Mechanize/Chrome/Cookbook.pm blib/lib/WWW/Mechanize/Chrome/Cookbook.pm
cp lib/WWW/Mechanize/Chrome.pm blib/lib/WWW/Mechanize/Chrome.pm
cp lib/WWW/Mechanize/Chrome/Examples.pm blib/lib/WWW/Mechanize/Chrome/Examples.pm
cp lib/Chrome/DevToolsProtocol/Transport.pm blib/lib/Chrome/DevToolsProtocol/Transport.pm
cp lib/WWW/Mechanize/Chrome/Contributing.pod blib/lib/WWW/Mechanize/Chrome/Contributing.pod
cp lib/WWW/Mechanize/Chrome/DSL.pm blib/lib/WWW/Mechanize/Chrome/DSL.pm
cp lib/Chrome/DevToolsProtocol/Transport/NetAsync.pm blib/lib/Chrome/DevToolsProtocol/Transport/NetAsync.pm
cp lib/WWW/Mechanize/Chrome/Node.pm blib/lib/WWW/Mechanize/Chrome/Node.pm
cp lib/WWW/Mechanize/Chrome/Install.pod blib/lib/WWW/Mechanize/Chrome/Install.pod
Manifying 14 pod documents
PERL_DL_NONLAZY=1 "/Users/stevedondley/perl5/perlbrew/perls/perl-5.24.1/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/00-load.t t/01-chrome-devtools-protocol.t t/02-chrome-devtools-tab.t t/03-listener-leak-test.t t/47-mech-simplest.t t/49-launch.t t/49-mech-get-file.t t/49-mech-nav.t t/49-port.t t/50-follow-link.t t/50-form-with-fields.t t/50-form2.t t/50-mech-content.t t/50-mech-ct.t t/50-mech-encoding.t t/50-mech-eval.t t/50-mech-forms.t t/50-mech-get-nonexistent.t t/50-mech-get.t t/50-mech-new-dsl.t t/50-mech-new.t t/50-mech-redirect.t t/50-mech-start-url.t t/50-mech-status.t t/50-popup.t t/51-mech-form-with-fields.t t/51-mech-links.t t/51-mech-set-content.t t/51-mech-submit.t t/53-mech-capture-js-error.t t/56-render-content.t t/58-alert.t t/60-mech-cookies.t t/60-mech-custom-headers.t t/61-mech-download.t t/61-screencast.t t/62-networkstatus.t t/62-viewport-size.t t/65-is_visible.t t/65-save-content.t t/65-wait_until_visible.t t/70-mech-png.t t/75-classnames.t t/76-scroll.t t/77-reload-fragment.t t/78-memleak.t
# Testing WWW::Mechanize::Chrome 0.34, Perl 5.024004
# B 1.62
# Carp 1.50
# Carp::Heavy 1.50
# Chrome::DevToolsProtocol 0.34
# Chrome::DevToolsProtocol::EventListener <unknown>
# Chrome::DevToolsProtocol::Transport 0.34
# Class::Method::Modifiers 2.12
# Class::XSAccessor 1.19
# Class::XSAccessor::Heavy 1.19
# Config 5.024004
# Cwd 3.75
# Data::Dumper 2.173
# Devel::GlobalDestruction 0.14
# DynaLoader 1.38
# Errno 1.25
# Exporter 5.72
# Exporter::Heavy 5.72
# Fcntl 1.13
# File::Basename 2.85
# File::Spec 3.75
# File::Spec::Unix 3.75
# Filter::Simple 0.92
# Filter::Util::Call 1.55
# Filter::signatures 0.15
# Future 0.39
# Future::HTTP 0.12
# HTML::Selector::XPath 0.25
# HTTP::Cookies 6.04
# HTTP::Cookies::ChromeDevTools 0.34
# HTTP::Cookies::Netscape 6.04
# HTTP::Date 6.02
# HTTP::Headers 6.18
# HTTP::Headers::Util 6.18
# HTTP::Message 6.18
# HTTP::Response 6.18
# HTTP::Status 6.18
# IO 1.36_01
# IO::Handle 1.36
# IO::Socket 1.38
# IO::Socket::INET 1.35
# IO::Socket::UNIX 1.26
# JSON 4.00
# JSON::XS 4.0
# List::Util 1.5
# Log::Log4perl 1.49
# Log::Log4perl::Appender <unknown>
# Log::Log4perl::Appender::String <unknown>
# Log::Log4perl::Config <unknown>
# Log::Log4perl::Config::BaseConfigurator <unknown>
# Log::Log4perl::Config::PropertyConfigurator <unknown>
# Log::Log4perl::Config::Watch <unknown>
# Log::Log4perl::DateFormat <unknown>
# Log::Log4perl::Filter <unknown>
# Log::Log4perl::Filter::Boolean <unknown>
# Log::Log4perl::JavaMap <unknown>
# Log::Log4perl::Layout <unknown>
# Log::Log4perl::Layout::PatternLayout <unknown>
# Log::Log4perl::Layout::PatternLayout::Multiline <unknown>
# Log::Log4perl::Layout::SimpleLayout <unknown>
# Log::Log4perl::Level <unknown>
# Log::Log4perl::Logger <unknown>
# Log::Log4perl::MDC <unknown>
# Log::Log4perl::NDC <unknown>
# Log::Log4perl::Util <unknown>
# Log::Log4perl::Util::TimeTracker <unknown>
# MIME::Base64 3.15
# Method::Generate::Accessor <unknown>
# Method::Generate::Constructor <unknown>
# Module::Runtime 0.016
# Moo 2.003004
# Moo::Object <unknown>
# Moo::_Utils <unknown>
# Moo::_mro <unknown>
# Moo::_strictures <unknown>
# Moo::sification <unknown>
# POSIX 1.65_01
# PerlIO 1.09
# Scalar::Util 1.5
# SelectSaver 1.02
# SelfLoader 1.23
# Socket 2.020_03
# Storable 3.11
# Storable::Limit <unknown>
# Sub::Defer 2.005001
# Sub::Exporter::Progressive 0.001013
# Sub::Quote 2.005001
# Sub::Util 1.5
# Symbol 1.07
# Sys::Hostname 1.20
# Test::Builder 1.302156
# Test::Builder::Formatter 1.302156
# Test::Builder::Module 1.302156
# Test::Builder::TodoDiag 1.302156
# Test::More 1.302156
# Test2::API 1.302156
# Test2::API::Context 1.302156
# Test2::API::Instance 1.302156
# Test2::API::Stack 1.302156
# Test2::Event 1.302156
# Test2::Event::Bail 1.302156
# Test2::Event::Diag 1.302156
# Test2::Event::Exception 1.302156
# Test2::Event::Fail 1.302156
# Test2::Event::Note 1.302156
# Test2::Event::Ok 1.302156
# Test2::Event::Pass 1.302156
# Test2::Event::Plan 1.302156
# Test2::Event::Skip 1.302156
# Test2::Event::Subtest 1.302156
# Test2::Event::V2 1.302156
# Test2::Event::Waiting 1.302156
# Test2::EventFacet 1.302156
# Test2::EventFacet::About 1.302156
# Test2::EventFacet::Amnesty 1.302156
# Test2::EventFacet::Assert 1.302156
# Test2::EventFacet::Control 1.302156
# Test2::EventFacet::Error 1.302156
# Test2::EventFacet::Hub 1.302156
# Test2::EventFacet::Info 1.302156
# Test2::EventFacet::Meta 1.302156
# Test2::EventFacet::Parent 1.302156
# Test2::EventFacet::Plan 1.302156
# Test2::EventFacet::Trace 1.302156
# Test2::Formatter 1.302156
# Test2::Formatter::TAP 1.302156
# Test2::Hub 1.302156
# Test2::Hub::Interceptor 1.302156
# Test2::Hub::Interceptor::Terminator 1.302156
# Test2::Hub::Subtest 1.302156
# Test2::Util 1.302156
# Test2::Util::ExternalMeta 1.302156
# Test2::Util::Facets2Legacy 1.302156
# Test2::Util::HashBase 1.302156
# Test2::Util::Trace 1.302156
# Text::Balanced 2.03
# Tie::Hash 1.05
# Time::HiRes 1.9741
# Time::Local 1.2300
# Try::Tiny 0.30
# Types::Serialiser 1.0
# URI 1.76
# URI::Escape 3.31
# WWW::Mechanize::Chrome 0.34
# WWW::Mechanize::Chrome::Node 0.34
# WWW::Mechanize::Link 1.91
# XSLoader 0.22
# attributes 0.27
# base 2.2301
# bytes 1.05
# common::sense 3.74
# constant 1.33
# feature 1.42
# mro 1.18
# overload 1.26
# overloading 0.02
# re 0.32
# strict 1.11
# vars 1.03
# warnings 1.36
# warnings::register 1.04
t/00-load.t ...................... ok
# Testing with /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[0729/131048.295550:ERROR:browser_process_sub_thread.cc(221)] Waited 3 ms for network service
# Using Chrome version 'HeadlessChrome/75.0.3770.142'
t/01-chrome-devtools-protocol.t .. ok
# Testing with /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[0729/131052.223738:ERROR:browser_process_sub_thread.cc(221)] Waited 5 ms for network service
# Using Chrome version 'HeadlessChrome/75.0.3770.142'
# HeadlessChrome/75.0.3770.142
# Created new tab 55631AE15314953F03907DD9A54D1757
# Closing tab
[0729/131052.751609:ERROR:browser_process_sub_thread.cc(221)] Waited 5 ms for network service
t/02-chrome-devtools-tab.t ....... ok
# Testing with /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[0729/131058.697720:ERROR:browser_process_sub_thread.cc(221)] Waited 3 ms for network service
# Using Chrome version 'HeadlessChrome/75.0.3770.142'
-> FAIL Timed out (> 1800s). Use --verbose to retry.
make: *** [test_dynamic] Terminated: 15
-> FAIL Installing WWW::Mechanize::Chrome failed. See /Users/stevedondley/.cpanm/work/1564420241.85926/build.log for details. Retry with --force to force install it.
Expiring 3 work directories.
Corion commented 4 years ago

This should work now, cleaning up this ticket