Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-12476

README.PDF is not generated by BuildBot nor locally

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 18.12.05, 22.01.01, Upcoming Branch
    • None
    • BuildBot, Gradle
    • None

    Description

      There is no README.PDF file at
      https://nightlies.apache.org/ofbiz/trunk/readme/pdf/
      nor at
      https://nightlies.apache.org/ofbiz/stable/readme/pdf/

      They are still present at
      https://ci.apache.org/projects/ofbiz/site/trunk/readme/pdf/
      and
      https://ci.apache.org/projects/ofbiz/site/stable/readme/pdf/
      But I guess have not been changed since BuildBot 0.8 has been deprecated.

      Moreover there are no other PDF files at all on nightlies stable. It's OK on trunk, but the README.PDF missing.

      Maybe a solution would maybe be to remove the badges, but that's not satisfying.

      Here are the reported errors for the task generateReadmeFiles:

      • trunk locally (on Windows 7):
        GRAVE: (EACCES) Permission denied - C:/Users/Jacques/AppData/Local/Temp/image-20211231-15808-cfn6c1.svg?branch=trunk
        Exception in thread "main" org.asciidoctor.gradle.remote.AsciidoctorRemoteExecutionException: Error running Asciidoctor whilst attempting to process C:\projectsASF\Git\ofbiz-framework\README.adoc using backend pdf
                at org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_convertFiles_closure4.doCall(AsciidoctorJavaExec.groovy:87)
        [...]
        Caused by: org.asciidoctor.internal.AsciidoctorCoreException: org.jruby.exceptions.SystemCallError: (EACCES) Permission denied - C:/Users/Jacques/AppData/Local/Temp/image-20211231-15808-cfn6c1.svg?branch=trunk
                at org.asciidoctor.internal.JRubyAsciidoctor.convertFile(JRubyAsciidoctor.java:498)
                at org.asciidoctor.internal.JRubyAsciidoctor.convertFile(JRubyAsciidoctor.java:469)
                at org.asciidoctor.gradle.remote.AsciidoctorJavaExec$_convertFiles_closure4.doCall(AsciidoctorJavaExec.groovy:83)
                ... 22 more
        Caused by: org.jruby.exceptions.SystemCallError: (EACCES) Permission denied - C:/Users/Jacques/AppData/Local/Temp/image-20211231-15808-cfn6c1.svg?branch=trunk
                at org.jruby.RubyIO.sysopen(org/jruby/RubyIO.java:1237)
                at org.jruby.RubyFile.initialize(org/jruby/RubyFile.java:365)
                at org.jruby.RubyIO.open(org/jruby/RubyIO.java:1156)
        
      • trunk on BuildBot:
         Task :generateReadmeFiles
        could not retrieve remote image: https://sonarcloud.io/api/project_badges/measure?project=apache_ofbiz-framework&metric=alert_status; 400  (uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb:resolve_image_path)
        Dec 31, 2021 7:43:33 PM uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb resolve_image_path
        WARNING: could not retrieve remote image: https://sonarcloud.io/api/project_badges/measure?project=apache_ofbiz-framework&metric=alert_status; 400
        Dec 31, 2021 7:43:33 PM uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb layout_prose
        WARNING: could not embed image: /tmp/image-20211231-2051196-14rafo2.svg?branch=trunk; image file is an unrecognised format; install prawn-gmagick gem to add support
        could not embed image: /tmp/image-20211231-2051196-14rafo2.svg?branch=trunk; image file is an unrecognised format; install prawn-gmagick gem to add support (uri:classloader:/gems/asciidoctor-pdf-1.5.3/lib/asciidoctor/pdf/converter.rb:layout_prose)
        
      • 18.12 locally (on Windows 7):
        > Task :generateReadmeFiles FAILED
        FAILURE: Build failed with an exception.
        * What went wrong:
        Execution failed for task ':generateReadmeFiles'.
        > Failed to create MD5 hash for file content.
        
      • 18.12 on BuildBot (eg https://ci2.apache.org/#/builders/46/builds/84):
        Task :generateReadmeFiles
        asciidoctor: WARNING: allow-uri-read is not enabled; cannot embed remote image: https://img.shields.io/badge/License-Apache%202.0-blue.svg
        asciidoctor: WARNING: image to embed not found or not readable: https://img.shields.io/badge/License-Apache%202.0-blue.svg
        asciidoctor: WARNING: allow-uri-read is not enabled; cannot embed remote image: https://img.shields.io/badge/Version-release18.12-green.svg
        asciidoctor: WARNING: image to embed not found or not readable: https://img.shields.io/badge/Version-release18.12-green.svg
        asciidoctor: WARNING: allow-uri-read is not enabled; cannot embed remote image: https://github.com/apache/ofbiz-framework/actions/workflows/gradle.yaml/badge.svg?branch=release18.12
        asciidoctor: WARNING: image to embed not found or not readable: https://github.com/apache/ofbiz-framework/actions/workflows/gradle.yaml/badge.svg?branch=release18.12
        asciidoctor: WARNING: allow-uri-read is not enabled; cannot embed remote image: https://github.com/apache/ofbiz-framework/actions/workflows/codeql-analysis.yml/badge.svg?branch=release18.12
        asciidoctor: WARNING: image to embed not found or not readable: https://github.com/apache/ofbiz-framework/actions/workflows/codeql-analysis.yml/badge.svg?branch=release18.12
        

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            jleroux Jacques Le Roux
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: