crossminer / scava

https://eclipse.org/scava/
Eclipse Public License 2.0
18 stars 13 forks source link

Problems to get projects analysed #326

Closed valeriocos closed 5 years ago

valeriocos commented 5 years ago

I have recently started using the beta.crossminer instance and I'm facing some difficulties to analyse some project. One the issue found is reported by @blueoly https://github.com/crossminer/scava/issues/325.

It also seems that using more than a worker causes problems. When adding a second task, the system seems to freeze/crash and the workers disappear (I still have to identify the right steps to replicate it, but @blueoly restarted the instance already 2-3 times ;)). It also strange to see that a worker is called w1 and the second one worker1.

A similar issue is related when deleting a task, this is what I see at: http://beta.crossminer.org:5601/#/worker

captura_2

Sometimes, when creating a task, after adding the parameters (label name, single execution task type, start date 01/01/2018, end date 01/01/2019, all metrics) and clicking the save button, the parameters disappear and it isn't possible to save (even when adding again the parameters):

captura_3 captura_4

valeriocos commented 5 years ago

@ambpro do you have any idea of what is happening?

ambpro commented 5 years ago

Hello @valeriocos,

have recently started using the beta.crossminer instance and I'm facing some difficulties to analyse some project. One the issue found is reported by @blueoly #325.

It also seems that using more than a worker causes problems. When adding a second task, the system seems to freeze/crash and the workers disappear (I still have to identify the right steps to replicate it, but @blueoly restarted the instance already 2-3 times ;)). It also strange to see that a worker is called w1 and the second one worker1.

please, check out my reply about the issue #325 -:)

In summary, the analysis process data model has been changed a couple months ago. The data dumps from M24 is no longer up-to-date and I suggest you to get ride of it and move to the new one on M30.

Please, let me know if this could help !

valeriocos commented 5 years ago

Thank you for the pointer @ambpro . I'll remove the dumped data at https://github.com/crossminer/scava-deployment/blob/dev/oss-db/Dockerfile and try it again.

valeriocos commented 5 years ago

It seems that the proble was related to the limited number of resources of my machine, which is not able to handle all services in the docker-compose. What worked for me was to follow the procedure detailed at: https://github.com/crossminer/scava-deployment/tree/dev#task-analysis