ISSUE TYPE
Bug Report
COMPONENT NAME
CLOUDSTACK VERSION
4.11 8ba318da1996492824329a5e05354b95523db851
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
Maven build fails to build marvin: tools/marvin/setup.py is corrupt.
Some other pom files are corrupt.
STEPS TO REPRODUCE
Build RPM's
cd packaging
./package.sh -d centos7 -p oss
EXPECTED RESULTS
Build Succeeds
ACTUAL RESULTS
RPM Build failed
00:33:07 [INFO] ------------------------------------------------------------------------
00:33:07 [INFO] Building Apache CloudStack marvin 4.11.2-SNAPSHOT
00:33:07 [INFO] ------------------------------------------------------------------------
00:33:08 [INFO]
00:33:08 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ cloud-marvin ---
00:33:08 [INFO] Deleting /build/workspace/cloudstack-el7/dist/rpmbuild/BUILD/cloudstack-4.11.2-SNAPSHOT/tools/marvin (includes = [target, dist], excludes = [])
00:33:08 [INFO]
00:33:08 [INFO] --- maven-antrun-plugin:1.8:run (clean) @ cloud-marvin ---
00:33:08 [INFO] Executing tasks
00:33:08
00:33:08 main:
00:33:08 [echo] Deleting cloud-marvin API sources
00:33:08 [INFO] Executed tasks
00:33:08 [INFO]
00:33:08 [INFO] --- maven-checkstyle-plugin:2.17:check (cloudstack-checkstyle) @ cloud-marvin ---
00:33:08 [INFO] Starting audit...
00:33:08 Audit done.
00:33:08 [INFO]
00:33:08 [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin ---
00:33:11 [INFO]
00:33:11 [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin ---
00:33:12 [INFO]
00:33:12 [INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ cloud-marvin ---
00:33:12 [INFO]
00:33:12 [INFO] --- exec-maven-plugin:1.2.1:exec (package) @ cloud-marvin ---
00:33:12 File "setup.py", line 1
00:33:12 4.11.2-SNAPSHOT#!/usr/bin/env python
00:33:12 ^
00:33:12 SyntaxError: invalid syntax
<snip>
00:33:14 + cp 'tools/marvin/dist/Marvin-*.tar.gz' /build/workspace/cloudstack-el7/dist/rpmbuild/BUILDROOT/cloudstack-4.11.2-SNAPSHOT.el7.centos.x86_64/usr/share/cloudstack-marvin/
00:33:14 cp: cannot stat 'tools/marvin/dist/Marvin-*.tar.gz': No such file or directory
00:33:14 error: Bad exit status from /var/tmp/rpm-tmp.OcuBKw (%install)
00:33:14
00:33:14
00:33:14 RPM build errors:
00:33:14 Bad exit status from /var/tmp/rpm-tmp.OcuBKw (%install)
00:33:14 RPM Build Failed
ISSUE TYPE
Bug Report
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
Maven build fails to build marvin: tools/marvin/setup.py is corrupt.
Some other pom files are corrupt.
STEPS TO REPRODUCE
Build RPM's
EXPECTED RESULTS
Build Succeeds
ACTUAL RESULTS
RPM Build failed