Skip to content
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

Closer to a clean install of cro... #37

Open
cschwenz opened this issue Oct 9, 2017 · 1 comment
Open

Closer to a clean install of cro... #37

cschwenz opened this issue Oct 9, 2017 · 1 comment

Comments

@cschwenz
Copy link

cschwenz commented Oct 9, 2017

Okay, so after removing everything and starting from building and installing Rakudo Perl 6, followed by zef --verbose install IO::Socket::Async::SSL WebSocket Digest::SHA1::Native Crypt::Random IO::Path::ChildSecure HTTP::HPACK , I was able to get to this point (previously Cro::HTTP was failing):

% zef install cro                                                                                                          (master|✔)
===> Searching for: cro
===> Searching for missing dependencies: Cro::WebSocket
===> Searching for missing dependencies: Cro::HTTP
===> Searching for missing dependencies: Cro::Core, Cro::TLS
===> Testing: Cro::Core:ver<0.7>
===> Testing [OK] for Cro::Core:ver<0.7>
===> Testing: Cro::TLS:ver<0.7>
===> Testing [OK] for Cro::TLS:ver<0.7>
===> Testing: Cro::HTTP:ver<0.7>
===> Testing [OK] for Cro::HTTP:ver<0.7>
===> Testing: Cro::WebSocket:ver<0.7>
===> Testing [OK] for Cro::WebSocket:ver<0.7>
===> Testing: cro:ver<0.7>
WARNING: unhandled Failure detected in DESTROY. If you meant to ignore it, you can mark it as handled by calling .Bool, .so, .not, or .defined methods. The Failure was:
No such symbol 'Cro::Tools::LinkTemplate::HTTPS'
  in sub get-available-templates at /Users/cal/.zef/store/cro.git/aed600e44c27c58ddf16f2b4a6f8e1f7e95c9f6e/lib/Cro/Tools/TemplateLocator.pm6 (Cro::Tools::TemplateLocator) line 33
  in sub print-endpoint at /Users/cal/.zef/store/cro.git/aed600e44c27c58ddf16f2b4a6f8e1f7e95c9f6e/lib/Cro/Tools/Link/Editor.pm6 (Cro::Tools::Link::Editor) line 87
  in sub add-link at /Users/cal/.zef/store/cro.git/aed600e44c27c58ddf16f2b4a6f8e1f7e95c9f6e/lib/Cro/Tools/Link/Editor.pm6 (Cro::Tools::Link::Editor) line 65
  in block <unit> at t/tools-link-editor.t line 10

# Check service up attempt 1: connection refused
# Check service up attempt 2: connection refused
# Check service up attempt 3: connection refused
# Check service up attempt 4: connection refused
# Check service up attempt 5: connection refused
# Check service up attempt 6: connection refused
# Check service up attempt 7: connection refused
# Check service up attempt 8: connection refused
# Check service up attempt 9: connection refused
# Check service up attempt 10: connection refused
# Check service up attempt 11: connection refused
# Check service up attempt 12: connection refused
# Check service up attempt 13: connection refused
# Check service up attempt 14: connection refused
# Check service up attempt 15: connection refused
# Check service up attempt 16: connection refused
# Check service up attempt 17: connection refused
# Check service up attempt 18: connection refused
# Check service up attempt 19: connection refused
# Check service up attempt 20: connection refused
# Failed test 'Could call the started service'
# at t/tools-runner.t line 62
# Failed test 'Got expected resposne from service'
# at t/tools-runner.t line 63
# expected: 'Service 1 OK'
#      got: (Any)
# Failed test 'Was not on STDERR'
# at t/tools-runner.t line 67
# Failed test 'Got log line mentioning status code'
# at t/tools-runner.t line 68
# Check service up attempt 1: connection refused
# Check service up attempt 2: connection refused
# Check service up attempt 3: connection refused
# Check service up attempt 4: connection refused
# Check service up attempt 5: connection refused
# Check service up attempt 6: connection refused
# Check service up attempt 7: connection refused
# Check service up attempt 8: connection refused
# Check service up attempt 9: connection refused
# Check service up attempt 10: connection refused
# Check service up attempt 11: connection refused
# Check service up attempt 12: connection refused
# Check service up attempt 13: connection refused
# Check service up attempt 14: connection refused
# Check service up attempt 15: connection refused
# Check service up attempt 16: connection refused
# Check service up attempt 17: connection refused
# Check service up attempt 18: connection refused
# Check service up attempt 19: connection refused
# Check service up attempt 20: connection refused
# Failed test 'Could call the restarted service'
# at t/tools-runner.t line 79
# Failed test 'Got response indicating new service running'
# at t/tools-runner.t line 80
# expected: 'Service 1 UPDATED'
#      got: (Any)
# Failed test 'Was not on STDERR'
# at t/tools-runner.t line 84
# Failed test 'Got log line mentioning status code'
# at t/tools-runner.t line 85
# Looks like you failed 8 tests of 20
# Failed test 'First service has correct path'
# at t/tools-services.t line 27
# expected: '/var/folders/wr/pz8bs3nx2c515m09t5j4f_xr0000gn/T//cro-test-1737632532897610565445853975597039156628/nested/service2'
#      got: '/var/folders/wr/pz8bs3nx2c515m09t5j4f_xr0000gn/T/cro-test-1737632532897610565445853975597039156628/nested/service2'
# Failed test 'Second service has correct path'
# at t/tools-services.t line 32
# expected: '/var/folders/wr/pz8bs3nx2c515m09t5j4f_xr0000gn/T//cro-test-1737632532897610565445853975597039156628/service1'
#      got: '/var/folders/wr/pz8bs3nx2c515m09t5j4f_xr0000gn/T/cro-test-1737632532897610565445853975597039156628/service1'
# Failed test 'Third service has correct path'
# at t/tools-services.t line 47
# expected: '/var/folders/wr/pz8bs3nx2c515m09t5j4f_xr0000gn/T//cro-test-1737632532897610565445853975597039156628/service3'
#      got: '/var/folders/wr/pz8bs3nx2c515m09t5j4f_xr0000gn/T/cro-test-1737632532897610565445853975597039156628/service3'
# Failed test 'Got notified of changed service source file'
# at t/tools-services.t line 69
# expected: '/var/folders/wr/pz8bs3nx2c515m09t5j4f_xr0000gn/T//cro-test-1737632532897610565445853975597039156628/nested/service2/lib/Foo.pm6'
#      got: '/var/folders/wr/pz8bs3nx2c515m09t5j4f_xr0000gn/T/cro-test-1737632532897610565445853975597039156628/nested/service2/lib/Foo.pm6'
# Looks like you failed 4 tests of 25
===> Testing [FAIL]: cro:ver<0.7>
Aborting due to test failure: cro:ver<0.7> (use --force-test to override)
  in code  at /Users/cal/local/share/perl6/site/sources/29769DA546CA5B55E3D2F7F8C9D20095C41CCF61 (Zef::Client) line 375
  in method test at /Users/cal/local/share/perl6/site/sources/29769DA546CA5B55E3D2F7F8C9D20095C41CCF61 (Zef::Client) line 353
  in code  at /Users/cal/local/share/perl6/site/sources/29769DA546CA5B55E3D2F7F8C9D20095C41CCF61 (Zef::Client) line 530
  in sub  at /Users/cal/local/share/perl6/site/sources/29769DA546CA5B55E3D2F7F8C9D20095C41CCF61 (Zef::Client) line 527
  in method install at /Users/cal/local/share/perl6/site/sources/29769DA546CA5B55E3D2F7F8C9D20095C41CCF61 (Zef::Client) line 633
  in sub MAIN at /Users/cal/local/share/perl6/site/sources/3A2818F8A8CE2F1251F051B779AA0EC17DA2F72E (Zef::CLI) line 152
  in block <unit> at /Users/cal/local/share/perl6/site/resources/91C74F08994E0006C3049614EF974F6E1A8EDF2D line 1
  in sub MAIN at /Users/cal/local/share/perl6/site/bin/zef line 2
  in block <unit> at /Users/cal/local/share/perl6/site/bin/zef line 2

perl6 version:

% perl6 -v                                                                                                                 (master|✔)
This is Rakudo version 2017.09-353-g1ea3297b2 built on MoarVM version 2017.09.1-575-gd4e230a6
implementing Perl 6.c.
@jnthn
Copy link
Member

jnthn commented Oct 9, 2017

I wonder if it's just some really slow precompilation of...something, but I'd expect all the deps to be installed from Cro::HTTP, which is what would make it particularly slow. If you've a local checkout of this repo, you could try running that test file manually, and then tweaking the retry count up to 50 or so just in case it is that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants