Skip to content

Don't push a zim file if the test failed / implement Quarantine #10

@jmontleon

Description

@jmontleon

Problem

The task generated a garbage zim file. The test results in the log backs this up, as does the size of ~1MB instead of the typical ~45MB. If the test failed it probably shouldn't be published/made available.

If I follow the link https://download.kiwix.org/zim/archlinux_en_all_maxi.zim this is what I get though. I guess kiwix is probably just looking at the latest available copy.

[INFO] Checking zim file /data/archlinux_en_all_nopic_2021-05.zim
[INFO] Verifying ZIM-file structure integrity...
[INFO] Avoiding redundant checksum test (already performed by the integrity check).
[INFO] Searching for metadata entries...
[INFO] Searching for Favicon...
[INFO] Searching for main page...
[INFO] Verifying Articles' content...
[INFO] Searching for redundant articles...
  Verifying Similar Articles for redundancies...
[ERROR] Invalid internal links found:
  The following links:
- Arch_Linux
(A/Arch_Linux) were not found in article A/Main_page
[INFO] Overall Test Status: Fail
[INFO] Total time taken by zimcheck: 0 seconds.

Reproducing steps

This zim has broken occasionally before but it seems like a transient issue that usually gets resolved on the next build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions