Container error occurs on RHEL OS when running any of the following Vale commands locally in the Quarkus git repo:
./mvnw -f docs test -Dvale -DvaleLevel=suggestion
./mvnw -f docs test -Dvale=git -DvaleLevel=warning
./mvnw -f docs test -Dvale='doc-.*' -DvaleLevel=error
2022-11-07 18:45:57,445 ERROR [π³ .io/.15.5]] (main) Log output from the failed container:
2022-11-07 18:45:56,654 WARN [π³ .io/.15.5]] (main) Unable to mount a file from test host into a running container. This may be a misconfiguration or limitation of your Docker environment. Some features might not work.
2022-11-07 18:45:56,681 INFO [π³ .io/.15.5]] (main) Container docker.io/jdkato/vale:v2.15.5 is starting: d6305b094543c47cc91cb18994a10f93da493e6db208abf3f308a0520a5c8df4
2022-11-07 18:45:57,351 ERROR [π³ .io/.15.5]] (main) Could not start container: java.lang.IllegalStateException: Container did not start correctly.
....
{
"Code": "E100",
"Text": "E100 [--config] Runtime error\n\npath '/vale/vale.ini' does not exist\n\nExecution stopped with code 1."
}
Expected behavior
The Vale linter runs and checks Quarkus doc (asciidoc) content for Quarkus style rules as configured in the .vale.ini
Actual behavior
2022-11-07 18:45:57,445 ERROR [π³ .io/.15.5]] (main) Log output from the failed container:
2022-11-07 18:45:56,654 WARN [π³ .io/.15.5]] (main) Unable to mount a file from test host into a running container. This may be a misconfiguration or limitation of your Docker environment. Some features might not work.
2022-11-07 18:45:56,681 INFO [π³ .io/.15.5]] (main) Container docker.io/jdkato/vale:v2.15.5 is starting: d6305b094543c47cc91cb18994a10f93da493e6db208abf3f308a0520a5c8df4
2022-11-07 18:45:57,351 ERROR [π³ .io/.15.5]] (main) Could not start container: java.lang.IllegalStateException: Container did not start correctly.
....
{
"Code": "E100",
"Text": "E100 [--config] Runtime error\n\npath '/vale/vale.ini' does not exist\n\nExecution stopped with code 1."
}
Describe the bug
Problem:
Container error occurs on RHEL OS when running any of the following Vale commands locally in the Quarkus git repo:
2022-11-07 18:45:57,445 ERROR [π³ .io/.15.5]] (main) Log output from the failed container:
Expected behavior
The Vale linter runs and checks Quarkus doc (asciidoc) content for Quarkus style rules as configured in the .vale.ini
Actual behavior
2022-11-07 18:45:57,445 ERROR [π³ .io/.15.5]] (main) Log output from the failed container:
How to Reproduce?
No response
Output of
uname -a
orver
Linux mpurcell.remote.csb 4.18.0-409.el8.x86_64 #1 SMP Tue Jul 12 00:42:37 EDT 2022 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "11.0.16" 2022-07-19 LTS OpenJDK Runtime Environment (Red_Hat-11.0.16.0.8-1.el8_6) (build 11.0.16+8-LTS) OpenJDK 64-Bit Server VM (Red_Hat-11.0.16.0.8-1.el8_6) (build 11.0.16+8-LTS, mixed mode, sharing)
GraalVM version (if different from Java)
N/A
Quarkus version or git rev
main
Build tool (ie. output of
mvnw --version
orgradlew --version
)Maven home: /usr/share/maven Java version: 17.0.4, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-17-openjdk-17.0.4.0.8-2.el8_6.x86_64 Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "4.18.0-409.el8.x86_64", arch: "amd64", family: "unix"
Additional information
No response