OpenMRS Core build failures

We seem to be having multiple build failures on OpenMRS Core:

Looking at CI, it looks like integration tests are failing.

Any idea of what is causing these build failures, @dkayiwa or @k.joseph?

Thanks @burke for bringing this, for integration Tests on ci, the embedded dockerized refapp instance at the moment is currently failing to be instantiated under the hood , however @k.joseph is looking into this at the moment , we decided to use localhosts in test.ci.property file in order not to base of qa instance due to its unstability but otherwise if qa instance server is stable all the tests should be passing which we ignored for the moment to have something stable for the qa support team cc @k.joseph

They are caused by lack of enough memory on the machine. The error message are different, but all related to memory problems.

One build log has this: error='Cannot allocate memory' (errno=12)

Another one has: Process Exit Code: 137

@cintiadr could you be knowing why these machines are running out of memory.

2 Likes

So we had some docker left overs in two agents:

root@yak:~# docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                PORTS                               NAMES
1acfb92659ce        f38aba1c0f5a        "/usr/local/tomcat/s…"   12 days ago         Up 9 days (healthy)   0.0.0.0:8080->8080/tcp              docker_openmrs-referenceapplication_1
94059ac1b44e        mysql:5.7           "docker-entrypoint.s…"   12 days ago         Up 9 days (healthy)   0.0.0.0:3306->3306/tcp, 33060/tcp   docker_openmrs-referenceapplication-mysql_1


root@yokobue:~# docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                  PORTS                               NAMES
b22f2d85be3c        6f280379da6c        "/usr/local/tomcat/s…"   12 days ago         Up 10 hours (healthy)   0.0.0.0:8080->8080/tcp              docker_openmrs-referenceapplication_1
6fc54731a209        mysql:5.7           "docker-entrypoint.s…"   12 days ago         Up 9 days (healthy)     0.0.0.0:3306->3306/tcp, 33060/tcp   docker_openmrs-referenceapplication-mysql_1

So far, it has been always that :smiley:

1 Like

You should be able to see metrics per agent (yue, yak and yokobue) in https://p.datadoghq.com/sb/b4ac08896-cabd49c324a0bef12a915151e130cf9e

1 Like