Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

Issues deploying docker with locally generated metric-platform #63

Open
creat89 opened this issue Jun 1, 2019 · 3 comments
Open

Issues deploying docker with locally generated metric-platform #63

creat89 opened this issue Jun 1, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@creat89
Copy link
Contributor

creat89 commented Jun 1, 2019

Hello,

Currently I'm trying to test some new features that we are developing on our server. The goal is to use the product generated by my computer using mvn clean install --DskipTests. Until not so long, I was able to do this, as this is how we solved some issues with the indexer connection. But currently, I cannot anymore.

The platform runs perfectly if I donwload the file from Castalia's server, but if instead of that I copy from the hard disk I get the following issue once I deploy the platform and try to get the metrics:

https://gist.github.com/creat89/a5092d57d78dc8b7ea367d73cbc3fb5d

Any idea why could it be failing with my local copy but not with the remote one? There hasn't been any change in the host, and I've been building without cache, just to be sure everything is clean.

NOTE: As I really need to test these new features, I took the risk and push the changes and wait for Jenkins to do its work. The platform runs correctly, so I can only see this using the locally produced version.

@creat89 creat89 added the help wanted Extra attention is needed label Jun 1, 2019
@creat89 creat89 changed the title Issues deploying docker with local generated metric-platform Issues deploying docker with locally generated metric-platform Jun 1, 2019
@MarcioMateus
Copy link
Contributor

Hi @creat89, it seems that the loss-app didn't start or crashed. That's why the api-server cannot find it. Do you have the crash log for oss-app?
You are using the metric platform from which branch? dev?

@creat89
Copy link
Contributor Author

creat89 commented Jun 3, 2019

I am/was using the dev branch. No I didn't observe any other issue. The things is I don't know why the locally built version didn't work but the one pushed and downloaded from Jenkins yes.

@creat89
Copy link
Contributor Author

creat89 commented Jun 3, 2019

Here is the relevant part of my modified version of the docker file:

WORKDIR /ossmeter

# Get the binaries and uncompress them in the container
#RUN wget http://ci5.castalia.camp:8080/job/scava-metric-platform/job/dev/lastSuccessfulBuild/artifact/metric-platform/releng/org.eclipse.scava.product/target/products/scava-product-linux.gtk.x86_64.zip \
#&& unzip scava-product-linux.gtk.x86_64.zip \
#&& rm scava-product-linux.gtk.x86_64.zip

COPY scava-product-linux.gtk.x86_64.zip /ossmeter/scava-product-linux.gtk.x86_64.zip
RUN unzip scava-product-linux.gtk.x86_64.zip \
&& rm scava-product-linux.gtk.x86_64.zip

The file scava-product-linux.gtk.x86_64.zip that was built by myself it is located next to the dockerfile, so I don't know now why does it break and cannot load correctly the oss-app container.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants