Error when trying to run the image.
GalluFrancesco opened this issue · comments
Hi!
Premise, I'm a beginner with Docker. After successfully building the image
[+] Building 8.4s (24/24) FINISHED docker:default
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.1s
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 1.17kB 0.1s
=> [internal] load metadata for docker.io/library/openjdk:11-jre-slim 1.0s
=> [internal] load metadata for docker.io/library/openjdk:11 1.0s
=> [internal] load build context 7.1s
=> => transferring context: 37.32kB 7.1s
=> [stage-1 1/7] FROM docker.io/library/openjdk:11-jre-slim@sha256:93af7df2308c5141a751c4830e6b6c5717db102b3b31f012ea29d842dc4f2b02 0.0s
=> [builder 1/11] FROM docker.io/library/openjdk:11@sha256:99bac5bf83633e3c7399aed725c8415e7b569b54e03e4599e580fc9cdb7c21ab 0.0s
=> CACHED [builder 2/11] COPY . /usr/src/openas2 0.0s
=> CACHED [builder 3/11] WORKDIR /usr/src/openas2 0.0s
=> CACHED [builder 4/11] RUN rm -f Server/dist/* 0.0s
=> CACHED [builder 5/11] RUN rm -f Remote/dist/* 0.0s
=> CACHED [builder 6/11] RUN rm -f Bundle/dist/* 0.0s
=> CACHED [builder 7/11] RUN ./mvnw clean package 0.0s
=> CACHED [builder 8/11] RUN mkdir ./Runtime && unzip Server/dist/OpenAS2Server-*.zip -d Runtime 0.0s
=> CACHED [builder 9/11] RUN ./mvnw clean 0.0s
=> CACHED [builder 10/11] COPY start-container.sh /usr/src/openas2/Runtime/bin/ 0.0s
=> CACHED [builder 11/11] RUN cd /usr/src/openas2/Runtime/bin && chmod 755 *.sh && cd /usr/src/openas2/Runtime && mv config config_templ 0.0s
=> CACHED [stage-1 2/7] COPY --from=builder /usr/src/openas2/Runtime/bin /opt/openas2/bin 0.0s
=> CACHED [stage-1 3/7] COPY --from=builder /usr/src/openas2/Runtime/lib /opt/openas2/lib 0.0s
=> CACHED [stage-1 4/7] COPY --from=builder /usr/src/openas2/Runtime/resources /opt/openas2/resources 0.0s
=> CACHED [stage-1 5/7] COPY --from=builder /usr/src/openas2/Runtime/config_template /opt/openas2/config_template 0.0s
=> CACHED [stage-1 6/7] RUN mkdir /opt/openas2/config 0.0s
=> CACHED [stage-1 7/7] WORKDIR /opt/openas2 0.0s
=> exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:923c329f7886238479cee2b7b94b3e5591b874a1a3b230a2831ec9596b55ca74 0.0s
=> => naming to docker.io/library/openas2:latest 0.0s
What's Next?
View summary of image vulnerabilities and recommendations → docker scout quickview
When I try to run it, I encounter this error:
/bin/sh: 1: /opt/openas2/bin/start-container.sh: not found
Can you tell me how to fix it?
That fork fails with:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
And this repo is not passing the tests:
2231.7 [INFO] Results:
2231.7 [INFO]
2231.7 [ERROR] Errors:
2231.7 [ERROR] OpenAS2ServerTest.shouldSendMessagesAsyncMdn:105 java.util.concurrent.Executi...
2231.7 [ERROR] OpenAS2ServerTest.shouldSendMessagesSyncMdn:94 java.util.concurrent.Execution...
2231.7 [INFO]
2231.7 [ERROR] Tests run: 35, Failures: 0, Errors: 2, Skipped: 0
2231.7 [INFO]
2232.0 [INFO] ------------------------------------------------------------------------
2232.0 [INFO] Reactor Summary:
2232.0 [INFO]
2232.0 [INFO] OpenAS2 ............................................ SUCCESS [ 17.293 s]
2232.0 [INFO] OpenAS2 Remote ..................................... SUCCESS [ 11.110 s]
2232.0 [INFO] OpenAS2 Server ..................................... FAILURE [36:39 min]
2232.0 [INFO] ------------------------------------------------------------------------
2232.0 [INFO] BUILD FAILURE
2232.0 [INFO] ------------------------------------------------------------------------
2232.0 [INFO] Total time: 37:07 min
2232.0 [INFO] Finished at: 2023-08-31T03:28:24+00:00
2505.6 [INFO] Final Memory: 37M/126M
2505.6 [INFO] ------------------------------------------------------------------------
2505.6 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project openas2-server: There are test failures.
2505.6 [ERROR]
2505.6 [ERROR] Please refer to /usr/src/openas2/Server/target/surefire-reports for the individual test results.
2505.6 [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
2505.6 [ERROR] -> [Help 1]
2505.6 [ERROR]
2505.6 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
2505.6 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
2505.6 [ERROR]
2505.6 [ERROR] For more information about the errors and possible solutions, please read the following articles:
2505.6 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
2505.6 [ERROR]
2505.6 [ERROR] After correcting the problems, you can resume the build with the command
2505.6 [ERROR] mvn <goals> -rf :openas2-server
Thanks! I allocated 4GB and your repo built without issue.
Now I'm facing (at localhost:8080) the following error (I pulled the latest changes before building):
White page, and in the chrome console this error:
vue.runtime.esm.js:3049 Error: Vuetify is not properly initialized, see https://v2.vuetifyjs.com/getting-started/quick-start#bootstrapping-the-vuetify-object
at o.beforeCreate (VApp.js:34:13)
at Vn (vue.runtime.esm.js:3017:61)
at Vr (vue.runtime.esm.js:4031:13)
at Qi.t._init (vue.runtime.esm.js:5689:9)
at new o (vue.runtime.esm.js:5826:18)
at fi (vue.runtime.esm.js:4544:12)
at init (vue.runtime.esm.js:4406:52)
at b (vue.runtime.esm.js:6567:17)
at f (vue.runtime.esm.js:6521:13)
at o.__patch__ (vue.runtime.esm.js:7071:13)