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

ietf related repos timeout #63

Closed
CAMOBAP opened this issue May 1, 2021 · 2 comments
Closed

ietf related repos timeout #63

CAMOBAP opened this issue May 1, 2021 · 2 comments
Assignees

Comments

@CAMOBAP
Copy link
Contributor

CAMOBAP commented May 1, 2021

Problem

For IETF related repositories:

We often see timeouts like:

Reading workgroups from https://tools.ietf.org/wg/...
bundler: failed to load command: metanorma (/Users/runner/work/mn-templates-ietf/mn-templates-ietf/vendor/bundle/ruby/3.0.0/bin/metanorma)
/Users/runner/work/mn-templates-ietf/mn-templates-ietf/vendor/bundle/ruby/3.0.0/gems/metanorma-ietf-2.3.1/lib/asciidoctor/ietf/validate.rb:48:in `initialize': No such file or directory @ rb_sysopen - https://tools.ietf.org/wg/ (Errno::ENOENT)
	from /Users/runner/work/mn-templates-ietf/mn-templates-ietf/vendor/bundle/ruby/3.0.0/gems/metanorma-ietf-2.3.1/lib/asciidoctor/ietf/validate.rb:48:in `open'
	from /Users/runner/work/mn-templates-ietf/mn-templates-ietf/vendor/bundle/ruby/3.0.0/gems/metanorma-ietf-2.3.1/lib/asciidoctor/ietf/validate.rb:48:in `cache_workgroup_ietf'
	from /Users/runner/work/mn-templates-ietf/mn-templates-ietf/vendor/bundle/ruby/3.0.0/gems/metanorma-ietf-2.3.1/lib/asciidoctor/ietf/validate.rb:75:in `block in cache_workgroup'
	from /Users/runner/work/mn-templates-ietf/mn-templates-ietf/vendor/bundle/ruby/3.0.0/gems/metanorma-ietf-2.3.1/lib/asciidoctor/ietf/validate.rb:74:in `open'
	from /Users/runner/work/mn-templates-ietf/mn-templates-ietf/vendor/bundle/ruby/3.0.0/gems/metanorma-ietf-2.3.1/lib/asciidoctor/ietf/validate.rb:74:in `cache_workgroup'
...

Proposed solution

This can be fixed by caching ~/.metanorma-ietf-workgroup-cache.json like already done here:

One cons: this IETF specific logic and it will be in all other CI configuration

FYI @ronaldtse

@CAMOBAP
Copy link
Contributor Author

CAMOBAP commented Jul 21, 2021

The good proposal was made by @ronaldtse here metanorma/metanorma-docker#94 (comment)

@ronaldtse ronaldtse moved this from Medium priority to High priority in Alexander Bobrikovich Jul 21, 2021
@CAMOBAP CAMOBAP closed this as completed Jul 23, 2021
Alexander Bobrikovich automation moved this from High priority to Done Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants