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

Build freeze - CI timeout #1652

Closed
t-bltg opened this issue Jul 20, 2021 · 8 comments
Closed

Build freeze - CI timeout #1652

t-bltg opened this issue Jul 20, 2021 · 8 comments

Comments

@t-bltg
Copy link
Contributor

t-bltg commented Jul 20, 2021

Hi, we're trying Documenter@0.27.4 with ansicolor in https://github.com/JuliaPlots/PlotDocs.jl, but the build freezes on expansion of markdown templates.
I can reproduce this locally. Is there a way to debug the build other than setting env var JULIA_DEBUG=Documenter ?

See the corresponding issue: JuliaPlots/PlotDocs.jl#248.

@fredrikekre
Copy link
Member

Are you saying it does not freeze if you use 0.27.4 with ansicolor = false?

@t-bltg
Copy link
Contributor Author

t-bltg commented Jul 20, 2021

Are you saying it does not freeze if you use 0.27.4 with ansicolor = false?

Nope, I'm just saying that it freezes with 0.27.4, but one major change is that we now use ansicolor=true.

I tried a few days ago with cd16ae1 before merging JuliaPlots/PlotDocs.jl#246 and it worked.
So I suppose that the regression that we hit:

  1. is somewhere between cd16ae1 and release of 0.27.4 yesterday,
    ==> EDIT: weird, reverting back to cd16ae1 now also hangs !
  2. is induced by an external dependency.

I'll try now with ansicolor=false to see what happens.
As expected, this does NOT seem to be related to setting ansicolor=true: with ansicolor=false it also hangs at ExpandTemplates: expanding markdown templates. + Running ExpanderPipeline on animations.md for the FIRST markdown page (out of 35).
You can reproduce with the procedure described in JuliaPlots/PlotDocs.jl#248 (comment).

And SIGINT are not intercepted, so I cannot get a backtrace, damn.

@BrianGun, yes, it seems that we hit the same bug.

@t-bltg t-bltg changed the title Build freeze Build freeze - CI timeout Jul 20, 2021
@t-bltg
Copy link
Contributor Author

t-bltg commented Jul 21, 2021

Odd, I can now build locally, with #1656, and Documenter@0.27.4:
1033.287926 seconds (1.13 G allocations: 49.676 GiB, 2.55% gc time, 0.39% compilation time)

But it still fails on CI.

@fredrikekre
Copy link
Member

But it still fails on CI.

Even if you enable @debug output?

@t-bltg
Copy link
Contributor Author

t-bltg commented Jul 21, 2021

Even if you enable @debug output?

We did enable @debug: https://github.com/JuliaPlots/Plots.jl/blob/f9a1e2e92de63826d02ec55ef03c7e3d8d1b120c/.github/workflows/docs.yml#L47

I'm trying to disable @info from https://github.com/JuliaPlots/PlotDocs.jl/blob/master/docs/src/animations.md, since it used to hang in the IOCapture.capture() block.

@t-bltg
Copy link
Contributor Author

t-bltg commented Jul 23, 2021

Narrowed down to JuliaPlots/Plots.jl#3664.

@mortenpi
Copy link
Member

It looks like this is unrelated to Documenter then.

@t-bltg
Copy link
Contributor Author

t-bltg commented Jul 24, 2021

Not yet resolved, but yes, I guess it's reasonable to close this.

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

No branches or pull requests

3 participants