org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)

Sonatype JIRA | Tamás Cservenák | 3 years ago
  1. 0

    Setup: Nexus master (wannabe 2.7), default config, virgin config. Add "Generate YUM Metadata" capability to releases and third-party repositories. Add "Merge YUM Metadata" capability to public group. Deploy to releases and third-party repositories some RPMs. I started seeing errors like these: {noformat} jvm 1 | 2013-09-18 14:44:21 DEBUG [qtp480154901-76] admin org.sonatype.nexus.yum.internal.YumImpl - Processing added rpm releases:/org/test/1.6/test-1.6.rpm jvm 1 | 2013-09-18 14:44:22 INFO [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.task.GenerateMetadataTask - Scheduled task (GenerateMetadataTask) started :: Generate Yum metadata of repository 'releases' jvm 1 | 2013-09-18 14:44:22 DEBUG [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.task.GenerateMetadataTask - Generating Yum-Repository for '/home/cstamas/worx/m1/sonatype-work/nexus/storage/releases' ... jvm 1 | 2013-09-18 14:44:22 DEBUG [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.RpmListWriter - Reuse existing rpm list file : /home/cstamas/worx/m1/sonatype-work/nexus/tmp/nexus-yum-repository-plugin/.cache-releases/.packageFiles/releases.txt jvm 1 | 2013-09-18 14:44:22 DEBUG [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.RpmListWriter - Added rpm org/test/1.6/test-1.6.rpm to file list. jvm 1 | 2013-09-18 14:44:22 DEBUG [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.RpmListWriter - Wrote 7 rpm packages to rpm list file /home/cstamas/worx/m1/sonatype-work/nexus/tmp/nexus-yum-repository-plugin/.cache-releases/.packageFiles/releases.txt . jvm 1 | 2013-09-18 14:44:22 WARN [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.task.GenerateMetadataTask - Yum groups definition file '/home/cstamas/worx/m1/sonatype-work/nexus/storage/releases' must have an '.xml' extension, ignoring jvm 1 | 2013-09-18 14:44:22 DEBUG [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.task.CommandLineExecutor - Execute command : createrepo --update --verbose --database --outputdir /home/cstamas/worx/m1/sonatype-work/nexus/storage/releases --pkglist /home/cstamas/worx/m1/sonatype-work/nexus/tmp/nexus-yum-repository-plugin/.cache-releases/.packageFiles/releases.txt --cachedir /home/cstamas/worx/m1/sonatype-work/nexus/tmp/nexus-yum-repository-plugin/.cache-releases/releases --baseurl http://192.168.1.65:8081/nexus/content/repositories/releases /home/cstamas/worx/m1/sonatype-work/nexus/storage/releases jvm 1 | Scanning old repo data jvm 1 | Indexed 6 base nodes jvm 1 | Indexed 1 filelist nodes jvm 1 | Indexed 1 other nodes jvm 1 | Using data from old metadata for org/test/1.0/test-1.0.rpm jvm 1 | Using data from old metadata for org/test/1.1/test-1.1.rpm jvm 1 | Using data from old metadata for org/test/1.2/test-1.2.rpm jvm 1 | Using data from old metadata for org/test/1.3/test-1.3.rpm jvm 1 | Using data from old metadata for org/test/1.4/test-1.4.rpm jvm 1 | Using data from old metadata for org/test/1.5/test-1.5.rpm jvm 1 | Spawning worker 0 with 1 pkgs jvm 1 | Worker 0: reading org/test/1.6/test-1.6.rpm jvm 1 | Workers Finished jvm 1 | Gathering worker results jvm 1 | jvm 1 | Saving Primary metadata jvm 1 | Saving file lists metadata jvm 1 | Saving other metadata jvm 1 | Generating sqlite DBs jvm 1 | Starting other db creation: Wed Sep 18 14:44:22 2013 jvm 1 | Ending other db creation: Wed Sep 18 14:44:22 2013 jvm 1 | Starting filelists db creation: Wed Sep 18 14:44:22 2013 jvm 1 | Ending filelists db creation: Wed Sep 18 14:44:22 2013 jvm 1 | Starting primary db creation: Wed Sep 18 14:44:22 2013 jvm 1 | Ending primary db creation: Wed Sep 18 14:44:23 2013 jvm 1 | Sqlite DBs complete jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.task.CommandLineExecutor - Execution finished with exit code : 0 jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.YumRepositoryImpl - Yum repository releases/null available at /home/cstamas/worx/m1/sonatype-work/nexus/storage/releases/repodata contains [repomd.xml, 303e85fd5f667db85df5e50d2c1ed849a413a65af7b9d0a9f807988a85fbfa9b-primary.sqlite.bz2, a3ff016a2efde6d9368337bf4ed2ef4f157539db5a77d6b6111b4b989e28552f-filelists.xml.gz, debb4f6d7d908650a5bb3822b810e1cf3faf9c64ea57bc9c8977e3aca7eae248-other.sqlite.bz2, 16f78ebb9310d7afed706a5ea3b571e5b39aa2c6eb6de08bcbde62bfe679e13b-primary.xml.gz, beadd047875b55b2763a3ca49ab30954b2b9d58ea2f5d3d88e1a9ccd59d97668-filelists.sqlite.bz2, 099514be6df5cd1d8043a7d3cc1b591d9a2f92d85642ba662594b4c06108c482-other.xml.gz] jvm 1 | 2013-09-18 14:44:23 INFO [pxpool-1-thread-5] admin org.sonatype.nexus.yum.internal.task.GenerateMetadataTask - Scheduled task (GenerateMetadataTask) finished :: Generate Yum metadata of repository 'releases' (started 2013-09-18T14:44:22+02:00, runtime 0:00:01.124) jvm 1 | 2013-09-18 14:44:23 INFO [pxpool-1-thread-5] admin org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration due to changes in [Scheduled Task Configuration] made by Task-User... jvm 1 | 2013-09-18 14:44:23 INFO [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.task.MergeMetadataTask - Scheduled task (MergeMetadataTask) started :: Merging Yum metadata in repository 'public' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.task.MergeMetadataTask - Deleting yum temp dir : /var/tmp/yum-cstamas-WwDXcU jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/beadd047875b55b2763a3ca49ab30954b2b9d58ea2f5d3d88e1a9ccd59d97668-filelists.sqlite.bz2' to '/repodata/beadd047875b55b2763a3ca49ab30954b2b9d58ea2f5d3d88e1a9ccd59d97668-filelists.sqlite.bz2' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/099514be6df5cd1d8043a7d3cc1b591d9a2f92d85642ba662594b4c06108c482-other.xml.gz' to '/repodata/099514be6df5cd1d8043a7d3cc1b591d9a2f92d85642ba662594b4c06108c482-other.xml.gz' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/16f78ebb9310d7afed706a5ea3b571e5b39aa2c6eb6de08bcbde62bfe679e13b-primary.xml.gz' to '/repodata/16f78ebb9310d7afed706a5ea3b571e5b39aa2c6eb6de08bcbde62bfe679e13b-primary.xml.gz' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/debb4f6d7d908650a5bb3822b810e1cf3faf9c64ea57bc9c8977e3aca7eae248-other.sqlite.bz2' to '/repodata/debb4f6d7d908650a5bb3822b810e1cf3faf9c64ea57bc9c8977e3aca7eae248-other.sqlite.bz2' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/303e85fd5f667db85df5e50d2c1ed849a413a65af7b9d0a9f807988a85fbfa9b-primary.sqlite.bz2' to '/repodata/303e85fd5f667db85df5e50d2c1ed849a413a65af7b9d0a9f807988a85fbfa9b-primary.sqlite.bz2' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/a3ff016a2efde6d9368337bf4ed2ef4f157539db5a77d6b6111b4b989e28552f-filelists.xml.gz' to '/repodata/a3ff016a2efde6d9368337bf4ed2ef4f157539db5a77d6b6111b4b989e28552f-filelists.xml.gz' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/1d223795bc04f0be95a34a10bf5365238320f9b5054334e5dbee8a3a2fbe6b6f-filelists.sqlite.bz2' to '/repodata/1d223795bc04f0be95a34a10bf5365238320f9b5054334e5dbee8a3a2fbe6b6f-filelists.sqlite.bz2' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/18f5486ab29be468f62eeac7e5ed2c042056a1c33065c31eae326b8a87045937-other.xml.gz' to '/repodata/18f5486ab29be468f62eeac7e5ed2c042056a1c33065c31eae326b8a87045937-other.xml.gz' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/1b06316fad5b8d3f639c81ddb59882c9923e92182bd590fa2667c841a2c11a75-primary.xml.gz' to '/repodata/1b06316fad5b8d3f639c81ddb59882c9923e92182bd590fa2667c841a2c11a75-primary.xml.gz' jvm 1 | 2013-09-18 14:44:23 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/45bc61ceef0ad363c3c52229e52a59c88027ba220d0527eb82387cc839cf37f5-other.sqlite.bz2' to '/repodata/45bc61ceef0ad363c3c52229e52a59c88027ba220d0527eb82387cc839cf37f5-other.sqlite.bz2' jvm 1 | 2013-09-18 14:44:24 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/b22607c418e566dd7b4f60979e9f8a8ef22be2fc779021929fa340d47fd5a926-primary.sqlite.bz2' to '/repodata/b22607c418e566dd7b4f60979e9f8a8ef22be2fc779021929fa340d47fd5a926-primary.sqlite.bz2' jvm 1 | 2013-09-18 14:44:24 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.YumRegistryImpl - Request changed from '/repodata/f5a1b1fa46f63a357285c7b1919bb5447bacb5665b17492477ea7b3e6b7b1cf8-filelists.xml.gz' to '/repodata/f5a1b1fa46f63a357285c7b1919bb5447bacb5665b17492477ea7b3e6b7b1cf8-filelists.xml.gz' jvm 1 | 2013-09-18 14:44:24 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.task.MergeMetadataTask - Merging repository group 'public' out of [/home/cstamas/worx/m1/sonatype-work/nexus/storage/releases, /home/cstamas/worx/m1/sonatype-work/nexus/storage/thirdparty] jvm 1 | 2013-09-18 14:44:24 DEBUG [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.task.CommandLineExecutor - Execute command : mergerepo -d --repo=file:/home/cstamas/worx/m1/sonatype-work/nexus/storage/releases/ --repo=file:/home/cstamas/worx/m1/sonatype-work/nexus/storage/thirdparty/ -o /home/cstamas/worx/m1/sonatype-work/nexus/storage/public jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1522, in _progress_update jvm 1 | if self._over_max_size(cur=self._amount_read-self._reget_length): jvm 1 | File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 1539, in _over_max_size jvm 1 | if cur > max_size + max_size*.10: jvm 1 | TypeError: can't multiply sequence by non-int of type 'float' jvm 1 | Traceback (most recent call last): jvm 1 | File "/usr/share/createrepo/mergerepo.py", line 85, in <module> jvm 1 | main(sys.argv[1:]) jvm 1 | File "/usr/share/createrepo/mergerepo.py", line 82, in main jvm 1 | rmbase.write_metadata() jvm 1 | File "/usr/lib64/python2.7/site-packages/createrepo/merge.py", line 106, in write_metadata jvm 1 | compsfile.write(self.yumbase.comps.xml()) jvm 1 | File "/usr/lib64/python2.7/site-packages/yum/__init__.py", line 915, in <lambda> jvm 1 | comps = property(fget=lambda self: self._getGroups(), jvm 1 | File "/usr/lib64/python2.7/site-packages/yum/__init__.py", line 838, in _getGroups jvm 1 | raise Errors.GroupsError, _('No Groups Available in any repository') jvm 1 | yum.Errors.GroupsError: No Groups Available in any repository jvm 1 | 2013-09-18 14:44:24 WARN [pxpool-1-thread-6] admin org.sonatype.nexus.yum.internal.task.MergeMetadataTask - Scheduled task (MergeMetadataTask) failed :: Merging Yum metadata in repository 'public' (started 2013-09-18T14:44:23+02:00, runtime 0:00:00.473) jvm 1 | org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) jvm 1 | at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377) ~[na:na] jvm 1 | at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160) ~[na:na] jvm 1 | at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147) ~[na:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.CommandLineExecutor.exec(CommandLineExecutor.java:46) ~[na:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.MergeMetadataTask.doRun(MergeMetadataTask.java:94) ~[na:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.MergeMetadataTask.doRun(MergeMetadataTask.java:56) ~[na:na] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:157) ~[nexus-core-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT] jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419) [nexus-scheduler-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT] jvm 1 | at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45) [nexus-core-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.2.jar:1.2.2] jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_40] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_40] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_40] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_40] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_40] jvm 1 | at java.lang.Thread.run(Thread.java:724) [na:1.7.0_40] jvm 1 | 2013-09-18 14:44:24 WARN [pxpool-1-thread-6] admin org.sonatype.scheduling.DefaultScheduledTask - Exception in call method of scheduled task MergeMetadataTask jvm 1 | org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) jvm 1 | at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377) ~[na:na] jvm 1 | at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160) ~[na:na] jvm 1 | at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147) ~[na:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.CommandLineExecutor.exec(CommandLineExecutor.java:46) ~[na:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.MergeMetadataTask.doRun(MergeMetadataTask.java:94) ~[na:na] jvm 1 | at org.sonatype.nexus.yum.internal.task.MergeMetadataTask.doRun(MergeMetadataTask.java:56) ~[na:na] jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:157) ~[nexus-core-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT] jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419) ~[nexus-scheduler-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT] jvm 1 | at org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45) [nexus-core-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.2.jar:1.2.2] jvm 1 | at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.2.jar:1.2.2] jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:262) [na:1.7.0_40] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_40] jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_40] jvm 1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_40] jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_40] jvm 1 | at java.lang.Thread.run(Thread.java:724) [na:1.7.0_40] jvm 1 | 2013-09-18 14:44:24 INFO [pxpool-1-thread-6] admin org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration due to changes in [Scheduled Task Configuration] made by Task-User... {noformat}

    Sonatype JIRA | 3 years ago | Tamás Cservenák
    org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  2. 0

    maven build problem (Oracle jdk8, Maven 3.0.5)

    GitHub | 2 years ago | sosoxuc
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.1.5:compile (default) on project swagger-annotations: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  3. 0

    Scala error

    GitHub | 3 years ago | balagod
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: io/gatling/app/ZincCompiler

    GitHub | 3 years ago | stig
    org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
  6. 0

    gatling - composing chains and executing in sequence

    Stack Overflow | 2 years ago | govin
    org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.commons.exec.ExecuteException

    Process exited with an error: 1 (Exit value: 1)

    at org.apache.commons.exec.DefaultExecutor.executeInternal()
  2. Apache Commons Exec
    DefaultExecutor.execute
    1. org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)[na:na]
    2. org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)[na:na]
    3. org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:147)[na:na]
    3 frames
  3. org.sonatype.nexus
    MergeMetadataTask.doRun
    1. org.sonatype.nexus.yum.internal.task.CommandLineExecutor.exec(CommandLineExecutor.java:46)[na:na]
    2. org.sonatype.nexus.yum.internal.task.MergeMetadataTask.doRun(MergeMetadataTask.java:94)[na:na]
    3. org.sonatype.nexus.yum.internal.task.MergeMetadataTask.doRun(MergeMetadataTask.java:56)[na:na]
    3 frames
  4. ${project.groupId}:${project.artifactId}
    AbstractNexusTask.call
    1. org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:157)[nexus-core-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
    1 frame
  5. ${project.groupId}:${project.artifactId}
    DefaultScheduledTask.call
    1. org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:419)[nexus-scheduler-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
    1 frame
  6. ${project.groupId}:${project.artifactId}
    MDCAwareCallable.call
    1. org.sonatype.nexus.threads.MDCAwareCallable.call(MDCAwareCallable.java:45)[nexus-core-2.7.0-SNAPSHOT.jar:2.7.0-SNAPSHOT]
    1 frame
  7. Shiro
    SubjectCallable.call
    1. org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.2.jar:1.2.2]
    2. org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.2.jar:1.2.2]
    2 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_40]
    2. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_40]
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[na:1.7.0_40]
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_40]
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_40]
    6. java.lang.Thread.run(Thread.java:724)[na:1.7.0_40]
    6 frames