[ 
https://issues.apache.org/jira/browse/SPARK-38174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17490574#comment-17490574
 ] 

Maciej Szymkiewicz commented on SPARK-38174:
--------------------------------------------

I also compared the last failing log and the next that passed 
(https://github.com/apache/spark/runs/5144322617?check_suite_focus=true), but 
nothing really stands out, and virtual image version is still 20220207.1.

Histogram looks unremarkable and, since files are written for each build, we 
can reject "later version" as a plausible explanation.

It seems like the issue can arise if files were somehow corrupt, but I cannot 
see why on this particular one.

It seems like it failed pretty deep into core R utilities

 
{code}
 45. base:::as.data.frame(read_CRAN_object(CRAN_baseurl_for_web_area() ...
 46. tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packag ...
 47. base:::readRDS(con)
 48. base:::.handleSimpleError(function (err)  ...
 49. pkgdown:::h(simpleError(msg, call))
 50. rlang:::abort(msg, parent = err)
 51. rlang:::signal_abort(cnd, .file)
 52. base:::signalCondition(cnd)
 53. (function (e)  ...
{code}

and I none of the packages that we install specifically for docs R builds are 
likely to the culprit ‒ these are mostly font utils.

Doesn't seem like CRAN deb repos provide changelogs, so I am not sure if 
something changed there.

I guess it is something to monitor, unless anyone has any other ideas where to 
look for the source of the problem.
 

> SparkR documentation build fails in CI
> --------------------------------------
>
>                 Key: SPARK-38174
>                 URL: https://issues.apache.org/jira/browse/SPARK-38174
>             Project: Spark
>          Issue Type: Test
>          Components: Build, SparkR
>    Affects Versions: 3.3.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>
> SparkR documentation job in GitHub Actions seems to be broken now as below 
> (https://github.com/apache/spark/runs/5138914521?check_suite_focus=true):
> {code}
> Writing 'reference/head.html'
> Reading 'man/hint.Rd'
> Writing 'reference/hint.html'
> Reading 'man/histogram.Rd'
> Error in .f(.x[[i]], ...) : Failed to parse Rd in histogram.Rd
> ℹ ReadItem: unknown type 73, perhaps written by later version of R
> Caused by error in `readRDS()`:
> ! ReadItem: unknown type 73, perhaps written by later version of R
> Error: <callr_status_error: callr subprocess failed: Failed to parse Rd in 
> histogram.Rd
> ℹ ReadItem: unknown type 73, perhaps written by later version of R
> Caused by error in `readRDS()`:
> ! ReadItem: unknown type 73, perhaps written by later version of R>
> -->
> <callr_remote_error in .f(.x[[i]], ...):
>  Failed to parse Rd in histogram.Rd
> ℹ ReadItem: unknown type 73, perhaps written by later version of R
> Caused by error in `readRDS()`:
> ! ReadItem: unknown type 73, perhaps written by later version of R>
>  in process 13417 
>  Stack trace:
>  Process 13346:
>  1. pkgdown::build_site("..")
>  2. pkgdown:::build_site_external(pkg = pkg, examples = examples,  ...
>  3. callr::r(function(..., crayon_enabled, crayon_colors, pkgdown_internet) { 
> ...
>  4. callr:::get_result(output = out, options)
>  5. throw(newerr, parent = remerr[[2]])
>  x callr subprocess failed: Failed to parse Rd in histogram.Rd
> ℹ ReadItem: unknown type 73, perhaps written by later version of R
> Caused by error in `readRDS()`:
> ! ReadItem: unknown type 73, perhaps written by later version of R 
>  Process 13417:
>  17. (function (..., crayon_enabled, crayon_colors, pkgdown_internet)  ...
>  18. pkgdown::build_site(...)
>  19. pkgdown:::build_site_local(pkg = pkg, examples = examples, run_do ...
>  20. pkgdown:::build_reference(pkg, lazy = lazy, examples = examples,  ...
>  21. purrr::map(topics, build_reference_topic, pkg = pkg, lazy = lazy,  ...
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to