CI failure for reference application distro

Does any one know what is going on here?

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project referenceapplication-package: Failed to deploy artifacts: Could not transfer artifact org.openmrs.distro:referenceapplication-package:zip:distro:2.5-20160819.121203-184 from/to openmrs-repo-snapshots (http://mavenrepo.openmrs.org/nexus/content/repositories/snapshots): Failed to transfer file: http://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/distro/referenceapplication-package/2.5-SNAPSHOT/referenceapplication-package-2.5-20160819.121203-184-distro.zip. Return code is: 500, ReasonPhrase: Server Error. -> [Help 1]

For details, see: https://ci.openmrs.org/browse/REFAPP-OMODDISTRO-JOB1-4910/log

Maybe mavenrepo is low on disk space…?

I’ll take a look quickly.

EDIT: 100 points for :medal_sports:@raff​:trophy::

pascal@gw81:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       118G  112G  5.0M 100% /
udev            5.9G  4.0K  5.9G   1% /dev
tmpfs           1.2G  260K  1.2G   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            5.9G   12K  5.9G   1% /run/shm

What do I do?!

Could you find out which files take the most space?

One idea is that we could look into not proxying maven central http://mavenrepo.openmrs.org/nexus/content/repositories/central/ depending on how much space it takes up… or tweaking its expiration policy as described here https://books.sonatype.com/nexus-book/reference/confignx-sect-manage-repo.html

That is if we can’t get more space :slight_smile:

Is there a strong reason to proxy maven central? Seems like this would take up a lot of space and could easily be disabled, but I know little about it. Would that mean we’d need to update all our modules to also reference mavenrepo (if they don’t already)?

@raff what would it take to get your switch to bintray set up?

Mark

There were a few uncompressed Confluence backups taking up 2.2GB each, so I compressed them. We’re looking a little better now:

root@gw81:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       118G  104G  8.7G  93% /
udev            5.9G  4.0K  5.9G   1% /dev
tmpfs           1.2G  260K  1.2G   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            5.9G   12K  5.9G   1% /run/shm

We definitely need to find a proper solution though. Any ideas @r0bby?

Thanks guys! At least this has been fixed. :smile:

3 Likes

Could this have happened again? https://ci.openmrs.org/browse/REFAPP-OMODDISTRO-JOB1-4998/log

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project referenceapplication-package: Failed to deploy artifacts: Could not transfer artifact org.openmrs.distro:referenceapplication-package:zip:distro:2.5-20160826.142755-272 from/to openmrs-repo-snapshots (http://mavenrepo.openmrs.org/nexus/content/repositories/snapshots): Failed to transfer file: http://mavenrepo.openmrs.org/nexus/content/repositories/snapshots/org/openmrs/distro/referenceapplication-package/2.5-SNAPSHOT/referenceapplication-package-2.5-20160826.142755-272-distro.zip. Return code is: 500, ReasonPhrase: Server Error. -> [Help 1]

May be nexus was down

Depending on how big the file is…we don’t have much disk space on that server

1 Like