Failed to determine Pass/Failure of the task "Run Embedded Signature Test" - driver

We have developed driver for printer and preparing its submission for WHQL signature.
We have one failed WHQL test - Failed to determine Pass/Failure of the task "Run Embedded Signature Test"
A link for a test:
http://msdn.microsoft.com/en-us/library/windows/hardware/jj124852.aspx
It is a test of embedded signature - may be it should fail until we drivers are signed?
The logs are below:
Failure : Failed to determine Pass/Failure of the task "Run Embedded Signature Test". Task Will be marked as Failed anyway.
Failure : Failed to Parse the LogFile Associated with the Execute Task
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Copying LogFiles From TaskGuidXML "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test"
Cause : Copying File "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" Fails
Failure : Failed to Copy the Logfiles associated with the Execute Task
Cause : Cannot Find Pattern "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml"
Cause : Failed to Parse the RollupCounts XML file "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test".
Cause : Failed to move to rool element TaskResult
Cause : the rollup counts XML file "C:\WLK\JobsWorkingDir\Tasks\WTTJobRunFC644A7F-4450-4864-8725-3EBE4E252C47\2773D33C-D67D-440B-94CB-DD76F21788B6.xml" For Task "Run Embedded Signature Test" does not exist.
Cause : The Execute Task with Commandline cmd /c EmbeddedSignature.exe /driver: 2>errorout.txt Failed with ExitCode e0434352

The problem was in Russian windows, after installation of English windows version of windows the problem has been resolved and test passed.
Please close the topic.

Related

Execution failed for task ':website:buildDockerImage'. using gradlew build of apache beam

I need to build apache beam using gradle . ./gradlew build . However, I got the following error :
Execution failed for task ':website:buildDockerImage'. > A problem occurred starting process 'command 'docker''
java version : openjdk version "1.8.0_265"
gradle version : Gradle 5.4
By using --info , I got the following :
Caching disabled for task ':website:buildDockerImage' because:
Caching has not been enabled for the task
Task ':website:buildDockerImage' is not up-to-date because:
Task has not declared any outputs despite executing actions.
Starting process 'command 'docker''. Working directory: /home/namenode/beam/website Command: docker build -t beam-website .
:website:buildDockerImage (Thread[Daemon worker Thread 20,5,main]) completed. Took 0.018 secs.
Closing Git repo: /home/namenode/beam/.git
Closing Git repo: /home/namenode/beam/.git
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':website:buildDockerImage'.
> A problem occurred starting process 'command 'docker''
while --stacktrace outputs :
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':website:buildDockerImage'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:200)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:198)
at org.gradle.process.internal.ExecHandleRunner.startProcess(ExecHandleRunner.java:98)
at org.gradle.process.internal.ExecHandleRunner.run(ExecHandleRunner.java:71)
... more
Caused by: java.io.IOException: Cannot run program "docker" (in directory "/home/namenode/beam/website"): error=2, No such file or directory
at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
... 7 more
Caused by: java.io.IOException: error=2, No such file or directory
... 8 more
BUILD FAILED in 1s
1 actionable task: 1 executed
[root#namenode beam]# ./gradlew build
Watching the file system is not supported on this operating system.
Configuration on demand is an incubating feature.
> Task :website:buildDockerImage FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':website:buildDockerImage'.
> A problem occurred starting process 'command 'docker''
how can I proceed ?

gradle jacocoTestReport task is failing

gradle jacocoTestReport --info
The following error is causing jenkins build failure.
> Task :jacocoTestReport FAILED
Caching disabled for task ':jacocoTestReport' because:
Build cache is disabled
Task ':jacocoTestReport' is not up-to-date because:
Task has failed previously.
[ant:jacocoReport] Loading execution data file C:\Users\*\build\jacoco\test.exec
:jacocoTestReport (Thread[Execution worker for ':',5,main]) completed. Took 0.702 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':jacocoTestReport'.
> Error while creating report
See the documentation: You'll have to add org.gradle.caching=true into file gradle.properties.
And then build the whole project again, so that the previous task's output would have been cached.

Failed to copy /home/[...]/ecj.jar to /usr/share/ant/lib/ecj.jar due to java.io.FileNotFoundException /usr/share/ant/lib/ecj.jar (Permission denied)

While ant clean works fine within Liferay IDE, when trying from command line I get:
$ ant clean
Buildfile: /home/nico/myportlet/build.xml
[copy] Copying 1 file to /usr/share/ant/lib
Attempt to copy /home/nico/liferay-plugins-sdk-6.2-ee-sp14/lib/ecj.jar to /usr/share/ant/lib/ecj.jar using NIO Channels failed due to '/usr/share/ant/lib/ecj.jar (Permission denied)'. Falling back to streams.
BUILD FAILED
/home/nico/myportlet/build.xml:5: The following error occurred while executing this line:
/home/nico/liferay-plugins-sdk-6.2-ee-sp14/portlets/build-common-portlet.xml:5: The following error occurred while executing this line:
/home/nico/liferay-plugins-sdk-6.2-ee-sp14/build-common-plugin.xml:5: The following error occurred while executing this line:
/home/nico/liferay-plugins-sdk-6.2-ee-sp14/build-common.xml:94: Failed to copy /home/nico/liferay-plugins-sdk-6.2-ee-sp14/lib/ecj.jar to /usr/share/ant/lib/ecj.jar due to java.io.FileNotFoundException /usr/share/ant/lib/ecj.jar (Permission denied)
Total time: 2 seconds
How to fix that?
Just copy the file manually as root.
After you have done that, ant will be happy and execute the tasks without complaining.
Here is how to do on Linux/Mac:
sudo cp /home/nico/liferay-plugins-sdk-6.2-ee-sp14/lib/ecj.jar /usr/share/ant/lib/
Or to not messing up with system libraries we could reference folder to ant like :
ant clean -lib /home/nico/liferay-plugins-sdk-6.2-ee-sp14/lib

SonarQube 4.3.3 file exclusion not working

I build my code and invoke SONAR analysis through Jenkins.
I want to ignore all the folder/files from SONAR code analysis that fall under the 'target' folder of my code. I have already tried the following things:
added '/target/' under the SONAR's Settings > Exclusions, restarted the SONAR server. But i am getting following error
[ERROR] Failed to
execute goal org.codehaus.mojo:sonar-maven-plugin:2.5:sonar
(default-cli) on project : Dangling meta character '*' near index 0
[ERROR] /target/ [ERROR] ^
added '\\*\\*/target/\\*\\*' under the SONAR's Settings > Exclusions, to avoid the previos error.
added 'sonar.exclusions=/target/' in sonar.properties file.
But SONAR is still analyzing the code under the "target" folder and under all its sub-folders.
The right solution is :
sonar.exclusions=target/**
(or just target/** is you set it through the UI)
The pattern should be
-Dsonar.exclusions=**/target/**

Error while executing the rcov report, rails stats report and brakeman warnings from Jenkins

I am using Jenkins for deployment process and it works fine. When i try to take rcov report rails stats report and brakeman warnings.
[ubuntu#xx.xxx.xxx.xx] executing command
** [out :: ubuntu#xx.xxx.xxx.xx] Starting Unicorn..
command finished in 2228ms
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
ERROR: Publisher hudson.plugins.brakeman.BrakemanPublisher aborted due to exception
java.io.FileNotFoundException: /home/kannan/.jenkins/workspace/Publisher Dev/brakeman-output.tabs (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at hudson.FilePath.read(FilePath.java:1570)
at hudson.FilePath.readToString(FilePath.java:1595)
at hudson.plugins.brakeman.BrakemanPublisher.perform(BrakemanPublisher.java:99)
at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:146)
at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:331)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:776)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
at hudson.model.Run.execute(Run.java:1618)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:247)
Publishing rails stats report...
Build failed, skipping rcov coverage report
Build step 'Publish Rcov report' marked build as failure
Finished: FAILURE
What am i supposed to do
Look at the error:
java.io.FileNotFoundException: /home/kannan/.jenkins/workspace/Publisher Dev/brakeman-output.tabs (No such file or directory)
This means Jenkins can't find the report generated by Brakeman. Either you have not set up the job correctly or Brakeman is failing for some reason. You should check the console output for Brakeman errors and verify you have configured the job correctly as described here.

Resources