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

Documentable fails with 2020.02 #79

Closed
JJ opened this issue Feb 26, 2020 · 4 comments
Closed

Documentable fails with 2020.02 #79

JJ opened this issue Feb 26, 2020 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@JJ
Copy link
Contributor

JJ commented Feb 26, 2020

Describe the bug

Here you go:

[Documentable] No handle for <native/int> in cache, but marked as existing. Cache corrupted.
[Documentable]   in block  at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 74
[Documentable]   in submethod TWEAK at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 72
[Documentable]   in submethod BUILD at /home/jmerelo/.zef/store/Documentable.git/fc87442671bef59b4e1d4eebd420bfc8ae89bd1a/lib/Documentable/Registry.pm6 (Documentable::Registry) line 57
[Documentable]   in sub MAIN at /home/jmerelo/.zef/store/Documentable.git/fc87442671bef59b4e1d4eebd420bfc8ae89bd1a/lib/Documentable/CLI.pm6 (Documentable::CLI) line 143
[Documentable]   in block <unit> at t/102-update.t line 9
[Documentable] No handle for <type/array> in cache, but marked as existing. Cache corrupted.
[Documentable]   in block  at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 74
[Documentable]   in submethod TWEAK at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 72
[Documentable]   in submethod BUILD at /home/jmerelo/.zef/store/Documentable.git/fc87442671bef59b4e1d4eebd420bfc8ae89bd1a/lib/Documentable/Registry.pm6 (Documentable::Registry) line 57
[Documentable]   in block <unit> at t/301-registry.t line 9
[Documentable] No handle for <404> in cache, but marked as existing. Cache corrupted.
[Documentable]   in block  at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 74
[Documentable]   in submethod TWEAK at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 72
[Documentable]   in submethod BUILD at /home/jmerelo/.zef/store/Documentable.git/fc87442671bef59b4e1d4eebd420bfc8ae89bd1a/lib/Documentable/Registry.pm6 (Documentable::Registry) line 57
[Documentable]   in block <unit> at t/303-process-pod-dir.t line 8
[Documentable] No handle for <homepage> in cache, but marked as existing. Cache corrupted.
[Documentable]   in block  at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 74
[Documentable]   in submethod TWEAK at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 72
[Documentable]   in submethod BUILD at /home/jmerelo/.zef/store/Documentable.git/fc87442671bef59b4e1d4eebd420bfc8ae89bd1a/lib/Documentable/Registry.pm6 (Documentable::Registry) line 57
[Documentable]   in block <unit> at t/304-compose-type.t line 8
[Documentable] No handle for <programs/01-debugging> in cache, but marked as existing. Cache corrupted.
[Documentable]   in block  at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 74
[Documentable]   in submethod TWEAK at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 72
[Documentable]   in submethod BUILD at /home/jmerelo/.zef/store/Documentable.git/fc87442671bef59b4e1d4eebd420bfc8ae89bd1a/lib/Documentable/Registry.pm6 (Documentable::Registry) line 57
[Documentable]   in block <unit> at t/305-search.t line 8
[Documentable] No handle for <type/associative> in cache, but marked as existing. Cache corrupted.
[Documentable]   in block  at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 74
[Documentable]   in submethod TWEAK at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 72
[Documentable]   in submethod BUILD at /home/jmerelo/.zef/store/Documentable.git/fc87442671bef59b4e1d4eebd420bfc8ae89bd1a/lib/Documentable/Registry.pm6 (Documentable::Registry) line 57
[Documentable]   in block <unit> at t/306-index.t line 8
[Documentable] No handle for <programs/01-debugging> in cache, but marked as existing. Cache corrupted.
[Documentable]   in block  at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 74
[Documentable]   in submethod TWEAK at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 72
[Documentable]   in submethod BUILD at /home/jmerelo/.zef/store/Documentable.git/fc87442671bef59b4e1d4eebd420bfc8ae89bd1a/lib/Documentable/Registry.pm6 (Documentable::Registry) line 57
[Documentable]   in block <unit> at t/401-indexes.t line 8
[Documentable] No handle for <programs/02-reading-docs> in cache, but marked as existing. Cache corrupted.
[Documentable]   in block  at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 74
[Documentable]   in submethod TWEAK at /home/jmerelo/.zef/store/Pod-To-Cached.git/0c06ddc69a9431f33d46f0b16a1a52089b7577ec/lib/Pod/To/Cached.pm6 (Pod::To::Cached) line 72
[Documentable]   in submethod BUILD at /home/jmerelo/.zef/store/Documentable.git/fc87442671bef59b4e1d4eebd420bfc8ae89bd1a/lib/Documentable/Registry.pm6 (Documentable::Registry) line 57
[Documentable]   in block <unit> at t/402-factory.t line 9
===> Testing [FAIL]: Documentable:ver<1.2.5>:auth<github:perl6>:api<1>
Aborting due to test failure: Documentable:ver<1.2.5>:auth<github:perl6>:api<1> (use --force-test to override)

To Reproduce

Install it from zef

Desktop (please complete the following information):

Ubuntu 16.04

Additional context

The directory already had one .cache-doc.

@JJ JJ added the bug Something isn't working label Feb 26, 2020
@JJ
Copy link
Contributor Author

JJ commented Feb 26, 2020

Same situation if I zef test . locally.

@JJ
Copy link
Contributor Author

JJ commented Feb 26, 2020

It fails due to the presence of caches. If caches are deleted, there's no problem with that. We need to make sure that caches are either unique or deleted before testing start.

@antoniogamiz
Copy link
Collaborator

Related to cache problems, I will add it to the new cache milestone.

@antoniogamiz
Copy link
Collaborator

This is not happening anymore so I will close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants