Unable to query for default vendor from RPM: Error while executing process. while running streamsets - maven

I just followed the following tutorials for latest streamset 2.6.6 with flume as datacollector, https://github.com/streamsets/datacollector/blob/master/BUILD.md
At the time of making the build i have faced the following error:
[ERROR] Failed to execute goal
org.codehaus.mojo:rpm-maven-plugin:2.1.2:attached-rpm
(generate-sdc-streamsets-datacollector-aws-lib-rpm) on project
streamsets-datacollector-aws-lib: Unable to query for default vendor
from RPM: Error while executing process. Cannot run program "rpm":
error=2, No such file or directory -> [Help 1]

Related

TeamCity and Allure folders error while building

I constantly get an error on TeamCity caused by Allure folders.
If I run the build with:
gradlew clean test
I get the error:
Execution failed for task ':clean'. org.gradle.api.UncheckedIOException: java.io.IOException: Unable to delete directory 'D:\BuildAgent\work{BUILD_NUMBER}\build'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.- D:\BuildAgent\work{BUILD_NUMBER}\build\allure-results
and if I run the build with:
gradlew test
I get the error:
Execution failed for task ':test'. org.gradle.api.GradleException: Could not read path 'D:\BuildAgent\work{BUILD_NUMBER}\build\allure-results\history'.
How can I solve it?
Did you check the permission on the path? Also seeing issues on my side when running tests with gradle-wrapper. Do you use docker?

How to fix this: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (installer)

I've been trying to run the code mvn clean install but this error shows up:
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.4.0:exec (installer) on project cloudstaff.communicator: Command execution failed.: Cannot run program "javapackager" (in directory "/home/users/matthewb/Workbench/workbench"): error=2, No such file or directory -> [Help 1]

xl-deploy: Getting HTTP error code : 500 error

I am getting this error while running "mvn clean xldeploy:import"
Failed to execute goal com.xebialabs.xldeploy:xldeploy-maven-plugin:5.1.0:import (default-cli) on project gsp.tms.app: Execution default-cli of goal com.xebialabs.xldeploy:xldeploy-maven-plugin:5.1.0:import failed: Failed : HTTP error code : 500 -> [Help 1]
How to fix it?
May be checking log file located at XLDeploy server under "XLD_INSTALL_HOME/log/deployit.log" at time of executing this gives more details,
This error can happen for multiple reasons for example due to unknown type definition needed by package being imported which could happen because of missing plugin in XLDeploy it self.
Another thing you can do is to try to import this package from XLDeploy UI and see if there are any errors during import.

Unable to build wso2 kernel 4.0.6

When i am trying to build the wso2 kernel4.0.6, Build failed due to the f0llowing error:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-
5:attached (2-dist) on project wso2carbon-core: Failed to create assembly: Error adding file to archive:
\distribution\kernel\4.0.0\..\..\..\core\org.wso2.carbon.core\4.0.0\target\Version.aar isn't a file. ->
As the file \core\org.wso2.carbon.core\4.0.0\target\Version.aar that maven is looking for isn't present, your build is failing.
You need to check out the code in https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0/patch-releases/4.0.6/ location and build. Use that URL location if you haven't done so.

I get an IOException when building the Roofline Tool. Why?

I currently get the error below trying to run roofline. It would be nice if any of you could help me out getting this up and running in my new environment?
bravegag#bravegag-MacBookPro:/opt/roofline/tool$ ./gradlew
FAILURE: Build failed with an exception.
What went wrong:
Could not open task artifact state cache (/opt/roofline/tool/.gradle/1.0-milestone-8/taskArtifacts).
java.io.IOException: No such file or directory
BUILD FAILED
==> You have to have write access for the directory you are trying to build in.
You have to have write access for the directory you are trying to build in

Resources