action #169246
closed
[ci] circleCI job "build-docs-nightly" failed size:S
Added by tinita about 2 months ago.
Updated about 1 month ago.
Category:
Regressions/Crashes
Description
Observation¶
https://app.circleci.com/pipelines/github/os-autoinst/openQA/15181/workflows/8e94fa45-cda5-4307-8264-c7620912a213/jobs/145193
...
Fetching: Ascii85-2.0.1.gem (100%)
ERROR: Error installing asciidoctor-pdf:
The last version of Ascii85 (!= 2.0.0, < 3.0, >= 1.0) to support your Ruby & RubyGems was 1.1.1. Try installing it with `gem install Ascii85 -v 1.1.1` and then running the current command again
Ascii85 requires Ruby version >= 2.7.0. The current ruby version is 2.5.0.
Suggestions¶
- Pin the version of Ascii85 to resolve the error like in other places where we already do this
- Remove the PDF generation (the HTML version is most likely sufficient) and update GitHub pages accordingly (so there's no dangling or outdated link to the PDF on open.qa)
- Copied from action #123867: [sporadic][ci] circleCI job "build-docs-nightly" failed added
- Subject changed from [sporadic][ci] circleCI job "build-docs-nightly" failed to [ci] circleCI job "build-docs-nightly" failed
- Related to action #122584: build-docs-nightly fails with "Error installing asciidoctor-pdf" size:M added
- Copied from deleted (action #123867: [sporadic][ci] circleCI job "build-docs-nightly" failed)
- Description updated (diff)
As a suggestion: Build a container image and use that to provide the assets, and use that instead of installing during the ci runs.
EDIT: Actually there's one https://github.com/os-autoinst/openQA/blob/master/container/devel%3AopenQA%3Aci/base/Dockerfile but seems to be a fully fledged container for many things, not just for building docs :).
For the sake of an example, this is one I was about to add to openQA:
FROM opensuse/tumbleweed
# Work around https://github.com/openSUSE/obs-build/issues/487
RUN zypper ar https://download.opensuse.org/repositories/SUSE:/CA/openSUSE_Tumbleweed/SUSE:CA.repo && zypper --gpg-auto-import-keys ref && zypper -n in -y openSUSE-release-appliance-docker ca-certificates-suse
RUN zypper install -y openQA-client
mkdir /root/.config/openqa
LABEL org.label-schema.name="openqa/openqa-cli"
ENTRYPOINT "bash"
# This command will get executed on container start by default
CMD ["openqa-cli"]
So on the CI's to use the openqa/openqa-cli (for an example)
- Subject changed from [ci] circleCI job "build-docs-nightly" failed to [ci] circleCI job "build-docs-nightly" failed size:S
- Description updated (diff)
- Status changed from New to Workable
- Status changed from Workable to In Progress
- Assignee set to mkittler
- Status changed from In Progress to Feedback
- Status changed from Feedback to Resolved
The documentation was updated again.
Also available in: Atom
PDF