Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2431

agl-doc - broken link detection (based on linkchecker) report too many errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None

      Host setup : Ubuntu 16.04

       

      apt update
      apt install -y linkchecker curl wget npm jekyll gem ruby-dev
      gem install jekyll 
      

       

      Steps to reproduce problem with a local version of doc website :

       

      wget https://raw.githubusercontent.com/automotive-grade-linux/docs-webtemplate/master/setupdocs.sh
      mkdir docs-webtemplate
      bash setupdocs.sh --directory=docs-webtemplate
      bash setupdocs.sh
      make clean serve
      

       

       

      In another terminal/console:

      cd docs-webtemplate
      make linkchecker

       

      Linkchecker is not working well and report  132264 links and 632 errors.

       

      Statistics:
      Downloaded: 39.8MB.
      Content types: 2142 image, 100773 text, 0 video, 0 audio, 10761 application, 8 mail and 18580 other.
      URL lengths: min=14, max=157, avg=81.
      That's it. 132264 links in 1150 URLs checked. 0 warnings found. 632 errors found.
      Stopped checking at 2019-05-15 08:51:57-007 (8 minutes, 20 seconds)
      Makefile:62: recipe for target 'linkchecker' failed
      make: *** [linkchecker] Error 1
      scottrif@scottrif-ThinkPad-T460:~/AGL-general/WORKDIR/NewWorkflowAGL$
      

       

       

      The same test on openSuse 15.0 host report 25 errors.

       

      Statistics:
      Downloaded: 32.8MB.
      Content types: 281 image, 680 text, 0 video, 0 audio, 32 application, 2 mail and 1756 other.
      URL lengths: min=14, max=157, avg=90.
      That's it. 2751 links in 2752 URLs checked. 0 warnings found. 25 errors found.
      Stopped checking at 2019-05-21 09:48:39+002 (5 minutes, 43 seconds)
      

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            SebD Sebastien Douheret
            SebD Sebastien Douheret
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: