Double dash in branch-names are interpreted as CJK ideographs
While trying to get the plcgen0
branch build (attempt 3, at https://ci.eclipse.org/escet/job/ESCET%20build/job/382--add-plcgen0/3/ ), I ran into an issue with CHI documentation. See below.
[2022-08-10T21:48:58.000Z] [INFO] -------< org.eclipse.escet:org.eclipse.escet.chi.documentation >--------
[2022-08-10T21:48:58.001Z] [INFO] Building org.eclipse.escet.chi.documentation 0.7.0-SNAPSHOT [24/112]
[2022-08-10T21:48:58.001Z] [INFO] ---------------------------[ eclipse-plugin ]---------------------------
[2022-08-10T21:48:58.001Z] [INFO]
[2022-08-10T21:48:58.001Z] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.001Z] [INFO]
[2022-08-10T21:48:58.001Z] [INFO] --- tycho-packaging-plugin:2.7.1:build-qualifier (default-build-qualifier) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.001Z] [INFO] The project's OSGi version is 0.7.0.v20220810-120419-dev
[2022-08-10T21:48:58.001Z] [INFO]
[2022-08-10T21:48:58.001Z] [INFO] --- tycho-packaging-plugin:2.7.1:validate-id (default-validate-id) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.001Z] [INFO]
[2022-08-10T21:48:58.001Z] [INFO] --- tycho-packaging-plugin:2.7.1:validate-version (default-validate-version) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.001Z] [INFO]
[2022-08-10T21:48:58.001Z] [INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce-versions) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.001Z] [INFO]
[2022-08-10T21:48:58.001Z] [INFO] --- org.eclipse.escet.common.asciidoc:0.7.0-SNAPSHOT:source-check (source-check) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.260Z] [INFO] Checking 35 AsciiDoc source file(s).
[2022-08-10T21:48:58.260Z] [INFO] No problems found.
[2022-08-10T21:48:58.260Z] [INFO]
[2022-08-10T21:48:58.260Z] [INFO] --- maven-checkstyle-plugin:3.1.2:check (checkstyle-validate) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.260Z] [INFO] You have 0 Checkstyle violations.
[2022-08-10T21:48:58.260Z] [INFO]
[2022-08-10T21:48:58.260Z] [INFO] --- target-platform-configuration:2.7.1:target-platform (default-target-platform) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.260Z] [INFO]
[2022-08-10T21:48:58.260Z] [INFO] --- tycho-compiler-plugin:2.7.1:validate-classpath (default-validate-classpath) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.260Z] [INFO] Resolving class path of org.eclipse.escet.chi.documentation...
[2022-08-10T21:48:58.260Z] [INFO]
[2022-08-10T21:48:58.260Z] [INFO] --- jacoco-maven-plugin:0.8.7:prepare-agent (jacoco-initialize) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:48:58.260Z] [INFO] argLine set to -javaagent:/home/jenkins/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/home/jenkins/agent/workspace/ESCET_build_382--add-plcgen0/chi/org.eclipse.escet.chi.documentation/target/jacoco.exec,output=file
[2022-08-10T21:48:58.260Z] [INFO]
[2022-08-10T21:48:58.260Z] [INFO] --- asciidoctor-maven-plugin:2.1.0:process-asciidoc (generate-eclipse-help) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:49:16.645Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2022-08-10T21:49:16.645Z] [INFO] Copying 0 resource
[2022-08-10T21:49:18.092Z] [INFO] Converted /home/jenkins/agent/workspace/ESCET_build_382--add-plcgen0/chi/org.eclipse.escet.chi.documentation/asciidoc/documentation.asciidoc
[2022-08-10T21:49:18.092Z] [INFO]
[2022-08-10T21:49:18.092Z] [INFO] --- asciidoctor-maven-plugin:2.1.0:process-asciidoc (generate-pdf) @ org.eclipse.escet.chi.documentation ---
[2022-08-10T21:49:20.046Z] [INFO] Using 'UTF-8' encoding to copy filtered resources.
[2022-08-10T21:49:20.046Z] [INFO] Copying 0 resource
[2022-08-10T21:49:30.258Z] [INFO] asciidoctor: WARN: image to embed not found or not readable: /home/jenkins/agent/workspace/ESCET_build_382—​add-plcgen0/chi/org.eclipse.escet.chi.documentation/images/eclipse-incubation.png
[2022-08-10T21:50:26.700Z] [INFO] Converted /home/jenkins/agent/workspace/ESCET_build_382--add-plcgen0/chi/org.eclipse.escet.chi.documentation/asciidoc/documentation.asciidoc
[2022-08-10T21:50:26.700Z] [ERROR] asciidoctor: WARN: image to embed not found or not readable: /home/jenkins/agent/workspace/ESCET_build_382—​add-plcgen0/chi/org.eclipse.escet.chi.documentation/images/eclipse-incubation.png
[2022-08-10T21:50:26.700Z] [INFO] ------------------------------------------------------------------------
- The branch does not touch anything CHI. (
git diff develop --stat=1000 | grep chi
gavecif/org.eclipse.escet.cif.plcgen0/.settings/org.eclipse.jdt.launching.prefs
as only hit.) - The branch builds locally.
- The file
chi/org.eclipse.escet.chi.documentation/images/eclipse-incubation.png
exists. - It can be opened with an image viewer. (I noticed it's also broken for dark theme, but that's a different problem.)
What I think is the problem is that while "jacoco" correctly uses "ESCET_build_382--add-plcgen0" (with 382--add-plcgen0
being the branch name), asciidoctor near the bottom uses ESCET_build_382—​add-plcgen0
, with 8212 and 8203 being CJK ideographs. See screenshots from unicode.org
I have no idea how to fix this other than by changing the branchname.