You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "soulwhisper (via GitHub)" <gi...@apache.org> on 2024/01/25 00:11:40 UTC
[I] docker simulator build failure [cloudstack]
soulwhisper opened a new issue, #8565:
URL: https://github.com/apache/cloudstack/issues/8565
I start simulator for tests, I ran commands below
```shell
docker run --name simulator \
-p 5050:5050 \
-p 8080:8080 \
-d apache/cloudstack-simulator
docker logs -f simulator
```
This is the output
```shell
/usr/lib/python3/dist-packages/supervisor/options.py:473: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
self.warnings.warn(
2024-01-24 23:27:08,018 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2024-01-24 23:27:08,018 INFO Included extra file "/etc/supervisor/conf.d/supervisord.conf" during parsing
2024-01-24 23:27:08,022 INFO RPC interface 'supervisor' initialized
2024-01-24 23:27:08,022 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-01-24 23:27:08,022 INFO supervisord started with pid 1
2024-01-24 23:27:09,027 INFO spawned: 'cloudstack' with pid 7
2024-01-24 23:27:09,032 INFO spawned: 'cloudstack-ui' with pid 8
2024-01-24 23:27:09,035 INFO spawned: 'mysqld' with pid 9
> cloudstack-ui@4.18.1 serve /root/ui
> vue-cli-service lint --no-fix && vue-cli-service serve
[INFO] Scanning for projects...
2024-01-24 23:27:10,076 INFO success: cloudstack entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-01-24 23:27:10,076 INFO success: cloudstack-ui entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-01-24 23:27:10,076 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Downloading from central: https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs-maven-plugin/3.1.12.2/spotbugs-maven-plugin-3.1.12.2.pom
[WARNING] Failed to retrieve plugin descriptor for com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2: Plugin com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.github.spotbugs:spotbugs-maven-plugin:jar:3.1.12.2
Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-maven-plugin/9.4.27.v20200227/jetty-maven-plugin-9.4.27.v20200227.pom
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.jetty:jetty-maven-plugin:9.4.27.v20200227: Plugin org.eclipse.jetty:jetty-maven-plugin:9.4.27.v20200227 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.jetty:jetty-maven-plugin:jar:9.4.27.v20200227
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.7/maven-deploy-plugin-2.7.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7
Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/m2e/lifecycle-mapping/1.0.0/lifecycle-mapping-1.0.0.pom
[WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-assembly-plugin/2.2.1/maven-assembly-plugin-2.2.1.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-assembly-plugin:2.2.1: Plugin org.apache.maven.plugins:maven-assembly-plugin:2.2.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-assembly-plugin:jar:2.2.1
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/build-helper-maven-plugin/3.0.0/build-helper-maven-plugin-3.0.0.pom
[WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:build-helper-maven-plugin:3.0.0: Plugin org.codehaus.mojo:build-helper-maven-plugin:3.0.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:build-helper-maven-plugin:jar:3.0.0
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-deploy-plugin:2.7: Plugin org.apache.maven.plugins:maven-deploy-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-deploy-plugin:jar:2.7
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-docck-plugin/1.0/maven-docck-plugin-1.0.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-docck-plugin:1.0: Plugin org.apache.maven.plugins:maven-docck-plugin:1.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-docck-plugin:jar:1.0
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0.1/maven-enforcer-plugin-1.0.1.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-enforcer-plugin:1.0.1: Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-enforcer-plugin:jar:1.0.1
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-gpg-plugin/1.4/maven-gpg-plugin-1.4.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-gpg-plugin:1.4: Plugin org.apache.maven.plugins:maven-gpg-plugin:1.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-gpg-plugin:jar:1.4
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-invoker-plugin/1.6/maven-invoker-plugin-1.6.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-invoker-plugin:1.6: Plugin org.apache.maven.plugins:maven-invoker-plugin:1.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-invoker-plugin:jar:1.6
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-javadoc-plugin/2.8.1/maven-javadoc-plugin-2.8.1.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-javadoc-plugin:2.8.1: Plugin org.apache.maven.plugins:maven-javadoc-plugin:2.8.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-javadoc-plugin:jar:2.8.1
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-plugin-plugin/3.1/maven-plugin-plugin-3.1.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-plugin-plugin:3.1: Plugin org.apache.maven.plugins:maven-plugin-plugin:3.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-plugin-plugin:jar:3.1
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.5.3/maven-release-plugin-2.5.3.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-scm-plugin/1.7/maven-scm-plugin-1.7.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-scm-plugin:1.7: Plugin org.apache.maven.plugins:maven-scm-plugin:1.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-scm-plugin:jar:1.7
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-failsafe-plugin/2.22.2/maven-failsafe-plugin-2.22.2.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-failsafe-plugin:2.22.2: Plugin org.apache.maven.plugins:maven-failsafe-plugin:2.22.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-failsafe-plugin:jar:2.22.2
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-source-plugin/2.1.2/maven-source-plugin-2.1.2.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-source-plugin:2.1.2: Plugin org.apache.maven.plugins:maven-source-plugin:2.1.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-source-plugin:jar:2.1.2
[WARNING] Failed to retrieve plugin descriptor for com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2: Plugin com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.github.spotbugs:spotbugs-maven-plugin:jar:3.1.12.2
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-pmd-plugin/3.12.0/maven-pmd-plugin-3.12.0.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-pmd-plugin:3.12.0: Plugin org.apache.maven.plugins:maven-pmd-plugin:3.12.0 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-pmd-plugin:jar:3.12.0
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/rat/apache-rat-plugin/0.8/apache-rat-plugin-0.8.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.rat:apache-rat-plugin:0.8: Plugin org.apache.rat:apache-rat-plugin:0.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.rat:apache-rat-plugin:jar:0.8
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/clirr-maven-plugin/2.4/clirr-maven-plugin-2.4.pom
[WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:clirr-maven-plugin:2.4: Plugin org.codehaus.mojo:clirr-maven-plugin:2.4 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:clirr-maven-plugin:jar:2.4
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
[WARNING] Failure to transfer org.apache.maven.plugins/maven-metadata.xml from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.apache.maven.plugins/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
[WARNING] Failure to transfer org.codehaus.mojo/maven-metadata.xml from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer metadata org.codehaus.mojo/maven-metadata.xml from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.079 s
[INFO] Finished at: 2024-01-24T23:27:21Z
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/root/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
2024-01-24 23:27:21,067 INFO exited: cloudstack (exit status 1; not expected)
2024-01-24 23:27:22,072 INFO spawned: 'cloudstack' with pid 292
[INFO024-01-24 23:27:23,072 INFO success: cloudstack entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[m] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/com/github/spotbugs/spotbugs-maven-plugin/3.1.12.2/spotbugs-maven-plugin-3.1.12.2.pom
[WARNING] Failed to retrieve plugin descriptor for com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2: Plugin com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.github.spotbugs:spotbugs-maven-plugin:jar:3.1.12.2
Downloading from central: https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-maven-plugin/9.4.27.v20200227/jetty-maven-plugin-9.4.27.v20200227.pom
```
Then error begins to loop.
I tried to add http_proxy and https_proxy, but not work
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docker simulator build failure [cloudstack]
Posted by "soulwhisper (via GitHub)" <gi...@apache.org>.
soulwhisper closed issue #8565: docker simulator build failure
URL: https://github.com/apache/cloudstack/issues/8565
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docker simulator build failure [cloudstack]
Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #8565:
URL: https://github.com/apache/cloudstack/issues/8565#issuecomment-1909816271
> ```shell
> docker run --name simulator \
> -p 5050:5050 \
> -p 8080:8080 \
> -d apache/cloudstack-simulator
> docker logs -f simulator
> ```
@soulwhisper I copied your commands and have a running simulator now . The messages like
```
[WARNING] Failed to retrieve plugin descriptor for com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2: Plugin com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.github.spotbugs:spotbugs-maven-plugin:jar:3.1.12.2
```
seems to indicate you have a network problem, not being able to download dependencies onto your docker container.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docker simulator build failure [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8565:
URL: https://github.com/apache/cloudstack/issues/8565#issuecomment-1909916429
> > ```shell
> > docker run --name simulator \
> > -p 5050:5050 \
> > -p 8080:8080 \
> > -d apache/cloudstack-simulator
> > docker logs -f simulator
> > ```
>
> @soulwhisper I copied your commands and have a running simulator now . The messages like
>
> ```
> [WARNING] Failed to retrieve plugin descriptor for com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2: Plugin com.github.spotbugs:spotbugs-maven-plugin:3.1.12.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for com.github.spotbugs:spotbugs-maven-plugin:jar:3.1.12.2
> ```
>
> seems to indicate you have a network problem, not being able to download dependencies onto your docker container.
agree with @DaanHoogland
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docker simulator build failure [cloudstack]
Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #8565:
URL: https://github.com/apache/cloudstack/issues/8565#issuecomment-1916209331
> I managed to solve this issue by mounting a maven-proxy.xml to '/root/.m2/settings.xml'.
great, thanks for the update @soulwhisper
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docker simulator build failure [cloudstack]
Posted by "soulwhisper (via GitHub)" <gi...@apache.org>.
soulwhisper commented on issue #8565:
URL: https://github.com/apache/cloudstack/issues/8565#issuecomment-1916205006
I managed to solve this issue by mounting a maven-proxy.xml to '/root/.m2/settings.xml'.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] docker simulator build failure [cloudstack]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #8565:
URL: https://github.com/apache/cloudstack/issues/8565#issuecomment-1909132082
Thanks for opening your first issue here! Be sure to follow the issue template!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org