-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CAMP fails on the CityGo case-study #81
Comments
Hi @fchauvel, According this issue: Please, consider details above Project folder structureroot@osboxes:/home/osboxes/Desktop/STAMP/stamp_docker_citygoApp# tree -L 2
CAMP evaluation over ATOS use case (CityGo)
Objective: CAMP will generate X configurations as a docker-compose-configuration_X.yml. So this docker-compose-configuration_X.yml have to deploy same services as docker-compose.yml ( base yml file after CAMP execution) |
Hi there, I updated the performance scenario as we discussed. I also updated the related documentation. Please take a look and let me know if there are still things that look mysterious and that you do not know how to do. I will continue tomorrow with the functional scenario. Hope this helps. |
Hi @fchauvel , Thanks for your updated. I ran my jenkins job to test it and I get the following output.
|
This problem occurs when CAMP tries to replace the pattern From the error, it is the citygo component, but check as well the python component. Should one of these dockerfile be a multistage build, only replace the final FROM statement by |
Hi, This is what root@supersede:/var/jenkins_home/workspace/citygo_camp/out/config_1/images# cat python_0/Dockerfile
Seems it a wrong subsitution for the FROM:ubuntu:latest? root@supersede:/var/jenkins_home/workspace/citygo_camp/out/config_1/images# cat citygo_0/Dockerfile
Thanks, |
Those two Dockerfiles are directly generated from the ones in the This looks complicated but it is this very indirection on image tag, that lets CAMP assemble components in various ways, although in the citygo case there is only one possibility. |
Hi @fchauvel , Succesfully CAMP configurations generated but errors on executions. See above Test execution aborted!
Also if I entered into camp container and build the image I will get same error before comment root@c5f5c1fd5360:/camp/samples/stamp/atos/performance/out/config_1/images/python_0# docker build .
I guess after install python packages, you need to update package lists from
|
Hi there, Looking at the error message, I understand that the command: Besides, in the file FROM camp/runtime
RUN apt-get update \
&& apt-get install -y --no-install-recommends python2.7 \
&& rm -rf /usr/bin/python \
&& ln -s /usr/bin/python2.7 /usr/bin/python Finally, I saw that the file |
Hi @fchauvel, Found an error and solved it by this commit 3b89744. Let's go to test again
Thanks, |
Included a fix: 0c6fc82 |
Included a fix that does NOT deploy Citygo using CAMP cause some errors with dependencies within dockerfiles images: 5c97f34 |
Hi, Camp configuration has been generated but only the first one has been deployed with problems on deployment due to ports and address are already in use by other services.
I will make a commit to fix the issue ASAP. Best, |
Hi @fchauvel It's OK that CAMP build and generates 10 configurations for CityGo but It fails on deployment step.
Camp execute Logs
Run funtional Test :
Run performance Test in a Jenkins pipeline job:
As I see in camp.yml in browser component section:
Does CAMP needs Best, |
Hi, Yes, actually according to the |
Hi again, Also, I see in the logs that CAMP is trying to run a container named "browser", which it expects to find according to the services:
browser:
build: ./browser This service will be run by CAMP when it lauched the tests, and then CAMP will fetch the test reports from there. |
Hi, I tested again and it gets the same output reported before. By other hand you have to know that test located in template/browser/Dockerfile are related for scenario 2 ( test: funtional test), but it's located in performance folder. I just commit and I relocated test files according both scenearios. See here: 4109d70 |
Hi @fchauvel , Some errors in tests deployment CI/CD:
It seems test_report.yaml is not generated See here Thanks, Fernando |
Hi, According scenario 2 case study in functional test I get the following error when CAMP run
Best, |
Close as per v0.9.0 |
Characteristics
Description
We open here a new issue to group and summarize Issue #24, #68, #77 and #80, which we shall close accordingly.
The template directory, the camp.yml, as well as the docker-compose file must be reworked so that one can run all the way.
Alternatively, we must also rework the case-study description and documentation available at: https://stamp-project.github.io/camp/pages/citygo.html
Steps to reproduce
Run CAMP on the CityGo case-study. See
samples/stamp/atos/
. There are two separate scenarios, namely performance and functional.Other files and URLs
Relationships
Help on issue template
Preview to follow the link or open file .github/ISSUE_DOC.md
The text was updated successfully, but these errors were encountered: