pylint \ flake8 plugins won't run from pyBuilder - plugins

No linter plugins seem to run from my pyBuild run.
I can use either
use_plugin("python.distutils")
or
use_plugin("python.flake8")
but when the pyBuilder run is finished, it says:
Tasks: prepare [2073 ms] compile_sources [0 ms] run_unit_tests [504 ms] package [460 ms] run_integration_tests [0 ms] verify [0 ms
] publish [2164 ms]
Full build.py file:
from pybuilder.core import use_plugin, init
use_plugin("python.core")
use_plugin("python.pylint")
use_plugin("python.install_dependencies")
use_plugin("pypi:pybuilder_pytest")
use_plugin("pypi:pybuilder_pylint_extended")
#use_plugin("pypi:pybuilder_pytest_coverage")
use_plugin("python.distutils")
default_task = "publish"
#init
def initialize(project):
project.author = "DellEMC"
project.name = "RPCenter"
project.set_property('dir_source_main_python', '..\..\services')
project.get_property("pytest_extra_args").append("-x")
project.set_property('dir_source_pytest_python', '..\..\services')
#project.set_property('pytest_coverage_break_build_threshold', 75)
project.set_property('pylint_options', '["--rcfile=pylintrc.txt", "--reports=n", "../../services"]')
Any ideas?
Thanks.

I encountered exactly same problem and reached pybuilder issue tracker for help in issue #652.
As it has been answered I quote
Flake8 works quite well. It is however is registered as an analyze task which is not executed by default
So just run your build with a command that enables analyze tasks and yout flake8 linting will be executed, as follows:
$ pyb analyze -vvv
PyBuilder version 0.11.17
Build started at 2019-11-23 13:22:04
------------------------------------------------------------
[INFO] Building pybflake8 version 1.0.dev0
[INFO] Executing build in /Users/marekyggdrasil/projects/pybflake8
[INFO] Going to execute task analyze
[INFO] Executing flake8 on project sources.
[WARN] flake8: src/main/python/run.py:2:121: E501 line too long (345 > 120 characters)
------------------------------------------------------------
BUILD FAILED - flake8 found 1 warning(s)
------------------------------------------------------------
Build finished at 2019-11-23 13:22:06
Build took 1 seconds (1627 ms)

Related

elastic beanstalk error when use sh ./platform/hooks/prebuild : no such file or directory

I'm trying to deploy simple front-end web by elastic beanstalk.
When I deploy my app by eb deploy or eb create --elb-type application --instance-type t3.micro, There are an error when executing an sh that I add to prevent Out Of Memory.
2022/12/10 08:20:43.618277 [INFO] Executing instruction: StageApplication
2022/12/10 08:20:43.620012 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/
2022/12/10 08:20:43.620027 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/
2022/12/10 08:20:43.646596 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully
2022/12/10 08:20:43.647365 [INFO] Executing instruction: RunAppDeployPreBuildHooks
2022/12/10 08:20:43.647379 [INFO] Executing platform hooks in .platform/hooks/prebuild/
2022/12/10 08:20:43.647409 [INFO] Following scripts will be executed in order: [00_test.sh 01_configure_swap_space.sh]
2022/12/10 08:20:43.647413 [INFO] Try add execution permission
2022/12/10 08:20:43.647418 [INFO] Adding execute mode to file, original mode is 420
2022/12/10 08:20:43.647428 [INFO] Running script: .platform/hooks/prebuild/00_test.sh
2022/12/10 08:20:43.647663 [ERROR] An error occurred during execution of command [app-deploy] - [RunAppDeployPreBuildHooks]. Stop running the command. Error: Command .platform/hooks/prebuild/00_test.sh failed with error fork/exec .platform/hooks/prebuild/00_test.sh: no such file or directory
2022/12/10 08:20:43.647668 [INFO] Executing cleanup logic
2022/12/10 08:20:43.647752 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Engine execution has encountered an error.","returncode":1,"events":[{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1670660443647,"severity":"ERROR"}]}]}
2022/12/10 08:20:43.648454 [INFO] Platform Engine finished execution on command: app-deploy
I created an 00_test.sh echoing simple statement in exactly same location and chomd 777 to them. But it still doesn't work.
Some post(/.platform/hooks/': No such file or directory when deploying Django App to AWS Elastic Beanstalk) said it depends on OS, so I also tried to this all process with in vscode.
If someone who experienced same situation, want to know why this happened and solution.

Pipeline failed if scanning scala files

I created Gitlab CI which sends all files in project folder to scan in SonarQube, and it's working perfect with python files, but if I add scala files it's failed. My Gitlab CI:
image: testimage
variables:
SONARQUBE_URL: https://sonarqube.com
stages:
- PyLint
pylint:
stage: PyLint
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
script:
- apt-get install scala -y
- cd project
- scalac *.scala
- ls
- cd ..
- sed -i 's/PROJECT-NAME/'"$CI_PROJECT_NAME"'/g' sonar-project.properties
- sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dsonar.qualitygate.wait=true -Dsonar.projectVersion=${CI_PIPELINE_ID}
- echo 'Repository Link:' "$SONARQUBE_URL${CI_PROJECT_NAME}"
Some lines from logs:
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
INFO: Total time: 13.545s
INFO: Final Memory: 16M/136M
INFO: ------------------------------------------------------------------------
ERROR: Error during SonarQube Scanner execution
java.lang.IllegalStateException: Can not execute Findbugs
at org.sonarsource.scanner.cli.Main.main(Main.java:61)
Caused by: java.lang.IllegalStateException: One (sub)project contains Java source files that are not compiled (/builds/scala/myrepo).
Property sonar.java.binaries was not set, it is required to locate the compiled .class files. For instance set the property to: sonar.java.binaries=target/classes
Sonar JavaResourceLocator.classpath was empty
Sonar JavaResourceLocator.classFilesToAnalyze was empty
at org.sonar.plugins.findbugs.FindbugsConfiguration.buildMissingCompiledCodeException(FindbugsConfiguration.java:154)
at org.sonar.plugins.findbugs.FindbugsConfiguration.initializeFindbugsProject(FindbugsConfiguration.java:124)
at org.sonar.plugins.findbugs.FindbugsExecutor.execute(FindbugsExecutor.java:117)
... 31 more
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
Cleaning up file based variables
00:01
ERROR: Job failed: command terminated with exit code 1
My solution was to add this line in sonar-project.properties file:
sonar.java.binaries=.

Trying to create sample linux mage with yocto prject but cause building error

I tried to create a Linux image based on "yocto project mega Manuel".But I got an error in building image step.
I followed the mega Manuel.
I'm using Ubuntu 18.04.1 LTS.
Error:
aju#aju-HP-15-Notebook-PC:~/poky/build$ bitbake core-image-sato
WARNING: Host distribution "Ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience
unexpected failures. It is recommended that you use a tested
distribution.
Parsing recipes: 100% |#########################################| Time: 00:00:49
Parsing of 899 .bb files complete (0 cached, 899 parsed). 1330 targets, 38 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration: BB_VERSION = "1.28.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-18.04" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "2.0.3" TUNE_FEATURES = "m32 i586"
TARGET_FPU = "" meta meta-yocto
meta-yocto-bsp = "jethro:331275422b2c3f326f605c23ae89eedb4e222eb5"
NOTE: Preparing RunQueue NOTE: Executing SetScene Tasks NOTE:
Executing RunQueue Tasks ERROR: oe_runmake failed ERROR: Function
failed: do_compile (log file is located at
/home/aju/poky/build/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.301)
ERROR: Logfile of failure stored in:
/home/aju/poky/build/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.301
Log data follows: | DEBUG: Executing shell function do_compile | NOTE:
make -j 4 | : && /bin/mkdir -p doc && {
PATH='/home/aju/poky/build/tmp/work/x86_64-linux/automake-native/1.15-r0/build/t/wrap:'$PATH
&& export PATH; } && /usr/bin/perl
/home/aju/poky/build/tmp/work/x86_64-linux/automake-native/1.15-r0/automake-1.15/doc/help2man
--output=doc/automake-1.15.1 automake-1.15
| help2man: can't get --help' info from automake-1.15
| Try--no-discard-stderr' if option outputs to stderr
| Makefile:3687: recipe for target 'doc/automake-1.15.1' failed
| make: *** [doc/automake-1.15.1] Error 255
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/aju/poky/build/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.301)
ERROR: Task 403 (virtual:native:/home/aju/poky/meta/recipes-devtools/automake/automake_1.15.bb,
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 73 tasks of which 53 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:
Summary: 1 task failed: virtual:native:/home/aju/poky/meta/recipes-devtools/automake/automake_1.15.bb,
do_compile Summary: There was 1 WARNING message shown. Summary: There
were 2 ERROR messages shown, returning a non-zero exit code.
Is it the problem with this latest version or is it something else?
Why are you using such an old release of Yocto? 2.0.x was first released in 2015 and isn't supported on modern distributions. If you need to use 2.0.x then you can pick a patch from a recent release to fix autoconf, but I really do recommend using 2.5 (or 2.6, due to release any day now) instead.

Failed to execute goal jbpm-console-ng-showcase error=206 filename or extension is too long

i am trying to develop jbpm6 using maven..i am using maven 3.0.5 version in windows platform.i used https://github.com/droolsjbpm/jbpm-console-ng link to get the source code.when i try to "mvn clean install" in most of modules in my project they build successfully.
but in one module i have problems face...
when i try to "mvn clean install" it, it gives below error,
[INFO] --- gwt-maven-plugin:2.5.0:compile (gwt-compile) # jbpm-console-ng-showcase ---
[WARNING] Declared compileSourcesArtifact was not found in project dependencies org.drools:drools-wb-workitems-editor-api:jar
[WARNING] Declared compileSourcesArtifact was not found in project dependencies org.drools:drools-wb-workitems-editor-client:jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.465s
[INFO] Finished at: Wed Apr 30 12:48:31 IST 2014
[INFO] Final Memory: 66M/474M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.5.0:compile (gwt-compile) on project jbpm-console-ng-showcase: Failed to execute command line :
[ERROR] [-Xmx2048m, -XX:MaxPermSize=256m, -Djetty.custom.sys.classes=bitronix;javax.transaction, -Dorg.kie.demo=true, -Dorg.kie.clean.onstartup=true, -classpath, C:\Users\AKILA\.m2\repository\com\google\gwt\gwt-user\2.5.0\gwt-user-2.5.0.jar;C:\Users\AKILA\.m2\repository\com\google\gwt\gwt-dev\2.5.0\
gwt-dev-2.5.0.jar;C:\Users\AKILA\workspace\jbpm-console-ng-r6.0.1.Final\jbpm-console-ng-showcase\target\classes;C:\Users\AKILA\workspace\jbpm-console-ng-r6.0.1.Final\jbpm-console-ng-showcase\src\main\java;C:\Users\AKILA\workspace\jbpm-console-ng-r6.0.1.Final\jbpm-console-ng-showcase\src\main\resourc
es;C:\Users\AKILA\.m2\repository\org\kie\kie-ci\6.0.1.Final\kie-ci-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-core\6.0.1.Final\drools-core-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-compiler\6.0.1.Final\drools-compiler-6.0.1.Final.jar;C:\Users\AKILA\.m2\repo
sitory\org\antlr\antlr-runtime\3.5\antlr-runtime-3.5.jar;C:\Users\AKILA\.m2\repository\org\eclipse\jdt\core\compiler\ecj\3.7.2\ecj-3.7.2.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-core\3.0.5\maven-core-3.0.5.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-settings\3.0.5\maven-
settings-3.0.5.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-settings-builder\3.0.5\maven-settings-builder-3.0.5.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-repository-metadata\3.0.5\maven-repository-metadata-3.0.5.jar;C:\Users\AKILA\.m2\repository\org\apache\maven\maven-arti
let\jse\org.restlet\2.1.4\org.restlet-2.1.4.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-commons\0.3.1.Final\uberfire-commons-0.3.1.Final.jar;C:\Users\AKILA
\.m2\repository\org\jboss\errai\errai-jboss-as-support\2.4.3.Final\errai-jboss-as-support-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-bus\2.4.3.Final\errai-bus-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-config\2.4.3.Final\errai-config-2.4.3.Final.jar;
C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-marshalling\2.4.3.Final\errai-marshalling-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\com\google\inject\guice\3.0\guice-3.0.jar;C:\Users\AKILA\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0.jar;C:\Users\AKILA\.m2\repository\org\javass
ist\javassist\3.15.0-GA\javassist-3.15.0-GA.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\io\netty\netty\4.0.0.Alpha1.errai.r1\netty-4.0.0.Alpha1.errai.r1.jar;C:\Users\AKILA\.m2\repository\com\google\guava\guava\13.0.1\guava-13.0.1.jar;C:\Users\AKILA\.m2\repository\org\jgroups\jgroups\3.2.10.Fin
al\jgroups-3.2.10.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-ioc\2.4.3.Final\errai-ioc-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-codegen\2.4.3.Final\errai-codegen-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-codegen-gwt\2.4.3.Final\
errai-codegen-gwt-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-cdi-client\2.4.3.Final\errai-cdi-client-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-ioc-bus-support\2.4.3.Final\errai-ioc-bus-support-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\
errai\errai-javax-enterprise\2.4.3.Final\errai-javax-enterprise-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-weld-integration\2.4.3.Final\errai-weld-integration-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-cdi-jetty\2.4.3.Final\errai-cdi-jetty-2.4.3.Fina
l.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-ui\2.4.3.Final\errai-ui-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\org\jsoup\jsoup\1.7.1\jsoup-1.7.1.jar;C:\Users\AKILA\.m2\repository\org\apache\stanbol\org.apache.stanbol.enhancer.engines.htmlextractor\0.10.0\org.apache.stanbol.enhancer.
engines.htmlextractor-0.10.0.jar;C:\Users\AKILA\.m2\repository\org\apache\clerezza\rdf.core\0.12-incubating\rdf.core-0.12-incubating.jar;C:\Users\AKILA\.m2\repository\org\apache\clerezza\utils\0.1-incubating\utils-0.1-incubating.jar;C:\Users\AKILA\.m2\repository\org\apache\httpcomponents\httpcore\4.
1\httpcore-4.1.jar;C:\Users\AKILA\.m2\repository\org\wymiwyg\wymiwyg-commons-core\0.7.6\wymiwyg-commons-core-0.7.6.jar;C:\Users\AKILA\.m2\repository\commons-logging\commons-logging-api\1.1\commons-logging-api-1.1.jar;C:\Users\AKILA\.m2\repository\org\lesscss\lesscss\1.3.3\lesscss-1.3.3.jar;C:\Users\
AKILA\.m2\repository\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar;C:\Users\AKILA\.m2\repository\org\mozilla\rhino\1.7R4\rhino-1.7R4.jar;C:\Users\AKILA\.m2\repository\org\jboss\errai\errai-data-binding\2.4.3.Final\errai-data-binding-2.4.3.Final.jar;C:\Users\AKILA\.m2\repository\com\goog
le\guava\guava-gwt\14.0.1\guava-gwt-14.0.1.jar;C:\Users\AKILA\.m2\repository\com\h2database\h2\1.3.168\h2-1.3.168.jar;C:\Users\AKILA\.m2\repository\org\hibernate\hibernate-entitymanager\4.2.0.SP1\hibernate-entitymanager-4.2.0.SP1.jar;C:\Users\AKILA\.m2\repository\org\jboss\logging\jboss-logging\3.1.
2.GA\jboss-logging-3.1.2.GA.jar;C:\Users\AKILA\.m2\repository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.1_spec\1.0.1.Final\jboss-transaction-api_1.1_spec-1.0.1.Final.jar;C:\Users\AKILA\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\AKILA\.m2\repository\org\hibernate\common\
hibernate-commons-annotations\4.0.1.Final\hibernate-commons-annotations-4.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\hibernate\hibernate-core\4.2.0.SP1\hibernate-core-4.2.0.SP1.jar;C:\Users\AKILA\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\AKILA\.m2\repository\org\hibernate\hibern
ate-validator\4.3.1.Final\hibernate-validator-4.3.1.Final.jar;C:\Users\AKILA\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\jetty\6.1.25\jetty-6.1.25.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\jetty-util\6.
1.25\jetty-util-6.1.25.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\servlet-api\2.5-20081211\servlet-api-2.5-20081211.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\jetty-plus\6.1.25\jetty-plus-6.1.25.jar;C:\Users\AKILA\.m2\repository\org\mortbay\jetty\jetty-naming\6.1.25\jetty-naming-6.
1.25.jar;C:\Users\AKILA\.m2\repository\org\jboss\weld\se\weld-se-core\1.1.13.Final\weld-se-core-1.1.13.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\weld\weld-spi\1.1.Final\weld-spi-1.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\weld\weld-api\1.1.Final\weld-api-1.1.Final.jar;C:\Users\AKIL
A\.m2\repository\org\jboss\weld\weld-core\1.1.13.Final\weld-core-1.1.13.Final.jar;C:\Users\AKILA\.m2\repository\org\slf4j\slf4j-ext\1.7.2\slf4j-ext-1.7.2.jar;C:\Users\AKILA\.m2\repository\ch\qos\cal10n\cal10n-api\0.7.4\cal10n-api-0.7.4.jar;C:\Users\AKILA\.m2\repository\javax\el\el-api\2.2\el-api-2.2
.jar;C:\Users\AKILA\.m2\repository\org\jboss\weld\servlet\weld-servlet-core\1.1.13.Final\weld-servlet-core-1.1.13.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\solder\solder-impl\3.2.1.Final\solder-impl-3.2.1.Final.jar;C:\Users\AKILA\.m2\repository\org\hamcrest\hamcrest-core\1.3.RC2\hamcrest-cor
e-1.3.RC2.jar;C:\Users\AKILA\.m2\repository\org\jboss\solder\solder-logging\3.2.1.Final\solder-logging-3.2.1.Final.jar;C:\Users\AKILA\.m2\repository\com\google\gwt\gwt-user\2.5.0\gwt-user-2.5.0.jar;C:\Users\AKILA\.m2\repository\javax\validation\validation-api\1.0.0.GA\validation-api-1.0.0.GA-sources
.jar;C:\Users\AKILA\.m2\repository\org\osgi\org.osgi.core\4.2.0\org.osgi.core-4.2.0.jar;C:\Users\AKILA\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2.5\jaxb-impl-2.2.5.jar;C:\Users\AKILA\.m2\repository\com\sun\xml\bind\jaxb-xjc\2.2.5\jaxb-xjc-2.2.5.jar;C:\Users\AKILA\.m2\repository\javax\transaction\
jta\1.1\jta-1.1.jar;C:\Users\AKILA\.m2\repository\org\codehaus\btm\btm\2.1.4\btm-2.1.4.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-shared-services\6.0.1.Final\jbpm-shared-services-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-persistence-jpa\6.0.1.Final\drools-persistence-jpa-6
.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-bpmn2-emfextmodel\6.0.1.Final\jbpm-bpmn2-emfextmodel-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\eclipse\emf\org.eclipse.emf.common\2.6.0.v20100614-1136\org.eclipse.emf.common-2.6.0.v20100614-1136.jar;C:\Users\AKILA\.m2\repository\org\
eclipse\emf\org.eclipse.emf.ecore\2.6.0.v20100614-1136\org.eclipse.emf.ecore-2.6.0.v20100614-1136.jar;C:\Users\AKILA\.m2\repository\org\eclipse\emf\org.eclipse.emf.ecore.xmi\2.5.0.v20100521-1846\org.eclipse.emf.ecore.xmi-2.5.0.v20100521-1846.jar;C:\Users\AKILA\.m2\repository\org\eclipse\org.eclipse.
bpmn2\0.7.3\org.eclipse.bpmn2-0.7.3.jar;C:\Users\AKILA\.m2\repository\org\kie\remote\kie-services-remote\6.0.1.Final\kie-services-remote-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\remote\kie-services-client\6.0.1.Final\kie-services-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\java
x\jms\jms\1.1\jms-1.1.jar;C:\Users\AKILA\.m2\repository\org\jboss\spec\javax\servlet\jboss-servlet-api_3.0_spec\1.0.2.Final\jboss-servlet-api_3.0_spec-1.0.2.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\resteasy-jaxrs\2.3.6.Final\resteasy-jaxrs-2.3.6.Final.jar;C:\Users\AKILA\.m2\reposit
ory\org\scannotation\scannotation\1.0.3\scannotation-1.0.3.jar;C:\Users\AKILA\.m2\repository\javassist\javassist\3.12.1.GA\javassist-3.12.1.GA.jar;C:\Users\AKILA\.m2\repository\org\apache\httpcomponents\httpclient\4.2.1\httpclient-4.2.1.jar;C:\Users\AKILA\.m2\repository\net\jcip\jcip-annotations\1.0
\jcip-annotations-1.0.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\resteasy-jaxb-provider\2.3.6.Final\resteasy-jaxb-provider-2.3.6.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\resteasy-jackson-provider\2.3.6.Final\resteasy-jackson-provider-2.3.6.Final.jar;C:\Users\AKILA\.m2\rep
ository\org\codehaus\jackson\jackson-jaxrs\1.9.9\jackson-jaxrs-1.9.9.jar;C:\Users\AKILA\.m2\repository\org\codehaus\jackson\jackson-xc\1.9.9\jackson-xc-1.9.9.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-audit\6.0.1.Final\jbpm-audit-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\
jaxrs-api\2.3.6.Final\jaxrs-api-2.3.6.Final.jar;C:\Users\AKILA\.m2\repository\org\jboss\resteasy\resteasy-jettison-provider\2.3.6.Final\resteasy-jettison-provider-2.3.6.Final.jar;C:\Users\AKILA\.m2\repository\org\codehaus\jettison\jettison\1.3.1\jettison-1.3.1.jar;C:\Users\AKILA\.m2\repository\org\j
boss\spec\javax\ejb\jboss-ejb-api_3.1_spec\1.0.2.Final\jboss-ejb-api_3.1_spec-1.0.2.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-services-api\6.0.1.Final\guvnor-services-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-api\6.0.1.Final\guvnor-m2repo-edito
r-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-client\6.0.1.Final\guvnor-m2repo-editor-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-backend\6.0.1.Final\guvnor-m2repo-editor-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\reposit
ory\org\guvnor\guvnor-project-api\6.0.1.Final\guvnor-project-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-workbench-models-datamodel-api\6.0.1.Final\drools-workbench-models-datamodel-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-project-backend\6.0.1.Fina
l\guvnor-project-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-services-backend\6.0.1.Final\guvnor-services-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-workingset-api\6.0.1.Final\guvnor-workingset-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository
\org\guvnor\guvnor-workingset-client\6.0.1.Final\guvnor-workingset-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-project-builder\6.0.1.Final\guvnor-project-builder-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\com\google\protobuf\protobuf-java\2.5.0\protobuf-java-2.5.0.jar;C
:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-backend\6.0.1.Final\kie-wb-common-project-explorer-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-api\6.0.1.Final\kie-wb-common-project-explorer-api-6
.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-client\6.0.1.Final\kie-wb-common-project-explorer-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-editor-client\6.0.1.Final\kie-wb-common-project
-editor-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-editor-api\6.0.1.Final\kie-wb-common-project-editor-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-view-source-widget\6.0.1.Final\kie-wb-view-source-widget
-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-default-editor-api\6.0.1.Final\kie-wb-common-default-editor-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-default-editor-client\6.0.1.Final\kie-wb-common-default-editor-
client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-editor-backend\6.0.1.Final\kie-wb-common-project-editor-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-imports-editor-client\6.0.1.Final\kie-wb-
common-project-imports-editor-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-imports-editor-api\6.0.1.Final\kie-wb-common-project-imports-editor-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-datamodel-
api\6.0.1.Final\kie-wb-common-datamodel-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-security\6.0.1.Final\kie-wb-common-security-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-common-ui\6.0.1.Final\kie-wb-common-ui-6.0.1.F
inal.jar;C:\Users\AKILA\.m2\repository\org\drools\drools-workbench-models-commons\6.0.1.Final\drools-workbench-models-commons-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-datamodel-backend\6.0.1.Final\kie-wb-common-datamodel-backend-6.0.1.Final.jar;C:\Users\
AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-services-api\6.0.1.Final\kie-wb-common-services-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-services-backend\6.0.1.Final\kie-wb-common-services-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repo
sitory\org\kie\workbench\widgets\kie-wb-metadata-widget\6.0.1.Final\kie-wb-metadata-widget-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-config-resource-widget\6.0.1.Final\kie-wb-config-resource-widget-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-conso
le-ng-dashboard-client\6.0.1.Final\jbpm-console-ng-dashboard-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-dashboard-backend\6.0.1.Final\jbpm-console-ng-dashboard-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-dashboard-api\6.0.1.Final\
jbpm-console-ng-dashboard-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-app\6.0.1.Final\jbpm-form-modeler-app-6.0.1.Final.war;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-api\6.0.1.Final\jbpm-form-modeler-renderer-api-6.0.1.Final.jar;C:\Users\AKILA
\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-client\6.0.1.Final\jbpm-form-modeler-renderer-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-backend\6.0.1.Final\jbpm-form-modeler-renderer-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbp
m-form-modeler-editor-api\6.0.1.Final\jbpm-form-modeler-editor-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-editor-client\6.0.1.Final\jbpm-form-modeler-editor-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-editor-backend\6.0.1.Final\jb
pm-form-modeler-editor-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-data-modeller-core\6.0.1.Final\kie-wb-common-data-modeller-core-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-form-provider\6.0.1.Final\jbpm-form-modeler-f
orm-provider-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-api\6.0.1.Final\kie-wb-common-data-modeller-api-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-backend\6.0.1.Final\kie-wb-common-data-
modeller-backend-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-client\6.0.1.Final\kie-wb-common-data-modeller-client-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-data-modeler\6.0.1.Final\jbpm-form-modeler-data-modeler-
6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-service-core\6.0.1.Final\jbpm-form-modeler-service-core-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-common\6.0.1.Final\jbpm-form-modeler-common-6.0.1.Final.jar;C:\Users\AKILA\.m2\repository\net\sf\o
pencsv\opencsv\2.3\opencsv-2.3.jar;C:\Users\AKILA\.m2\repository\commons-jxpath\commons-jxpath\1.3\commons-jxpath-1.3.jar;C:\Users\AKILA\.m2\repository\org\beanshell\bsh\1.3.0\bsh-1.3.0.jar;C:\Users\AKILA\.m2\repository\org\jboss\spec\javax\servlet\jsp\jboss-jsp-api_2.2_spec\1.0.1.Final\jboss-jsp-ap
i_2.2_spec-1.0.1.Final.jar;C:\Users\AKILA\.m2\repository\javax\servlet\jstl\1.2\jstl-1.2.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-api\6.0.1.Final\guvnor-m2repo-editor-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-m2repo-editor-client\6.0.1.Final
\guvnor-m2repo-editor-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-workingset-api\6.0.1.Final\guvnor-workingset-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-workingset-client\6.0.1.Final\guvnor-workingset-client-6.0.1.Final-sources.jar
;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-services-api\6.0.1.Final\guvnor-services-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\guvnor\guvnor-project-api\6.0.1.Final\guvnor-project-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-comm
on-project-editor-api\6.0.1.Final\kie-wb-common-project-editor-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-editor-client\6.0.1.Final\kie-wb-common-project-editor-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workben
ch\screens\kie-wb-common-project-imports-editor-api\6.0.1.Final\kie-wb-common-project-imports-editor-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-imports-editor-client\6.0.1.Final\kie-wb-common-project-imports-editor-client-6.0.1.Final-sou
rces.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-api\6.0.1.Final\kie-wb-common-project-explorer-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-project-explorer-client\6.0.1.Final\kie-wb-common-project-e
xplorer-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-common-ui\6.0.1.Final\kie-wb-common-ui-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-view-source-widget\6.0.1.Final\kie-wb-view-source-widget-6.0.1.Final-sou
rces.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-metadata-widget\6.0.1.Final\kie-wb-metadata-widget-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\widgets\kie-wb-config-resource-widget\6.0.1.Final\kie-wb-config-resource-widget-6.0.1.Final-sources.jar;C
:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-services-api\6.0.1.Final\kie-wb-common-services-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\services\kie-wb-common-security\6.0.1.Final\kie-wb-common-security-6.0.1.Final-sources.jar;C:\Users\AKILA\
.m2\repository\org\kie\workbench\services\kie-wb-common-datamodel-api\6.0.1.Final\kie-wb-common-datamodel-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-api\6.0.1.Final\kie-wb-common-data-modeller-api-6.0.1.Final-sources.jar;C:\Users\A
KILA\.m2\repository\org\kie\workbench\screens\kie-wb-common-data-modeller-client\6.0.1.Final\kie-wb-common-data-modeller-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-commons\0.3.1.Final\uberfire-commons-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\u
berfire\uberfire-nio2-model\0.3.1.Final\uberfire-nio2-model-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-js\0.3.1.Final\uberfire-js-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-security-api\0.3.1.Final\uberfire-security-api-0.3.1.Final-so
urces.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-security-client\0.3.1.Final\uberfire-security-client-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-client-api\0.3.1.Final\uberfire-client-api-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire
\uberfire-widgets-core-client\0.3.1.Final\uberfire-widgets-core-client-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-widgets-commons\0.3.1.Final\uberfire-widgets-commons-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\uberfire\uberfire-workbench\0.3.1.Final\ub
erfire-workbench-0.3.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-bpm-home-client\6.0.1.Final\jbpm-console-ng-bpm-home-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-human-tasks-api\6.0.1.Final\jbpm-console-ng-human-tasks-api-6.0.1
.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-human-tasks-client\6.0.1.Final\jbpm-console-ng-human-tasks-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-process-runtime-api\6.0.1.Final\jbpm-console-ng-process-runtime-api-6.0.1.Final-s
ources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-process-runtime-client\6.0.1.Final\jbpm-console-ng-process-runtime-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-business-domain-api\6.0.1.Final\jbpm-console-ng-business-domain-api-6.0.1.Final-s
ources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-business-domain-client\6.0.1.Final\jbpm-console-ng-business-domain-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-designer-api\6.0.1.Final\jbpm-designer-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\reposi
tory\org\jbpm\jbpm-designer-client\6.0.1.Final\jbpm-designer-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-dashboard-api\6.0.1.Final\jbpm-console-ng-dashboard-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-console-ng-dashboard-client\6
.0.1.Final\jbpm-console-ng-dashboard-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-editor-api\6.0.1.Final\jbpm-form-modeler-editor-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-editor-client\6.0.1.Final\jbpm-form-modele
r-editor-client-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-api\6.0.1.Final\jbpm-form-modeler-renderer-api-6.0.1.Final-sources.jar;C:\Users\AKILA\.m2\repository\org\jbpm\jbpm-form-modeler-renderer-client\6.0.1.Final\jbpm-form-modeler-renderer-client-6.0.
1.Final-sources.jar, com.google.gwt.dev.Compiler, -logLevel, INFO, -style, OBF, -war, C:\Users\AKILA\workspace\jbpm-console-ng-r6.0.1.Final\jbpm-console-ng-showcase\target\jbpm-console-ng-showcase-6.0.1.Final, -localWorkers, 4, -XfragmentCount, -1, -gen, C:\Users\AKILA\workspace\jbpm-console-ng-r6.0
.1.Final\jbpm-console-ng-showcase\target\.generated, org.jbpm.console.ng.FastCompiledjBPMShowcase]: Error while executing process. Cannot run program "C:\Program Files\Java\jdk1.6.0_45\jre\bin\java": CreateProcess error=206, The filename or extension is too long
please help me to resolve this problem
and i saw some people said this project working properly in linux platform...but i want to use it in windows platform
You can change it to gradle project , It can be built under win7+gradle2.0+jdk 1.7.51 .
This is a maven issue with long paths in windows, you need to ask in their forums for answer. Try googling the specific issues, you will find some answers there.

Hudson failing build w/o revealing cause

Every build has failed as of Tuesday. I'm not exactly sure what happened. The Phing targets (clean/prepare) are being executed properly. Additionally, the unit tests are passing with flying colors, with only a warning for duplicate code (not a reason for a fail). I tried removing the phpDoc target to see if that was causing the error, but the build still failed.
Started by user chris Updating
file://localhost/projects/svn/ips-com/trunk
At revision 234 no change for
file://localhost/projects/svn/ips-com/trunk
since the previous build [trunk] $
/opt/phing/bin/phing clean prepare
-logger phing.listener.NoBannerLogger Buildfile:
/var/lib/hudson/.hudson/jobs/IPS/workspace/trunk/build.xml
IPS > clean:
[echo] Clean... [delete] Deleting directory
/var/lib/hudson/.hudson/jobs/IPS/workspace/build
IPS > prepare:
[echo] Prepare...
[mkdir] Created dir: /var/lib/hudson/.hudson/jobs/IPS/workspace/build
[mkdir] Created dir: /var/lib/hudson/.hudson/jobs/IPS/workspace/build/logs
[mkdir] Created dir: /var/lib/hudson/.hudson/jobs/IPS/workspace/build/logs/coverage
[mkdir] Created dir: /var/lib/hudson/.hudson/jobs/IPS/workspace/build/logs/coverage-html
[mkdir] Created dir: /var/lib/hudson/.hudson/jobs/IPS/workspace/build/docs
[mkdir] Created dir: /var/lib/hudson/.hudson/jobs/IPS/workspace/build/app
BUILD FINISHED
Total time: 1.0244 second
[workspace] $ /bin/bash -xe
/tmp/hudson3259012225710915845.sh
+ cd trunk/tests
+ /usr/local/bin/phpunit --verbose -d memory_limit=512M --log-junit
../../build/logs/phpunit.xml
--coverage-clover ../../build/logs/coverage/clover.xml
--coverage-html ../../build/logs/coverage-html/
PHPUnit 3.5.0 by Sebastian Bergmann.
IPS Default_IndexControllerTest .
Default_AuthControllerTest ......
Manage_UsersControllerTest .....
testDeleteInvalidUserId ..
testGetPermissionsForInvalidUserId .. Audit_OverviewControllerTest
............
Time: 14 seconds, Memory: 61.00Mb
[30;42m[2KOK (28 tests, 198
assertions) [0m[2K Writing code
coverage data to XML file, this may
take a moment.
Generating code coverage report, this
may take a moment.
Warning: Unknown: Error occured while
closing statement in Unknown on line 0
Warning: Unknown: Error occured while
closing statement in Unknown on line 0
Warning: Unknown: Error occured while
closing statement in Unknown on line 0
Warning: Unknown: Error occured while
closing statement in Unknown on line 0
Warning: Unknown: Error occured while
closing statement in Unknown on line 0
Warning: Unknown: Error occured while
closing statement in Unknown on line 0
Warning: Unknown: Error occured while
closing statement in Unknown on line 0
Warning: Unknown: Error occured while
closing statement in Unknown on line 0
[workspace] $ /bin/bash -xe
/tmp/hudson1439023061736436000.sh
+ /usr/local/bin/phpcpd --log-pmd ./build/logs/cpd.xml ./trunk phpcpd
1.3.2 by Sebastian Bergmann.
Found 1 exact clones with 6 duplicated
lines in 2 files:
library/Ips/Form/Decorator/SplitInput.php:8-14
library/Ips/Form/Decorator/FeetInches.php:10-16
0.04% duplicated lines out of 16585 total lines of code.
Time: 4 seconds, Memory: 19.50Mb [DRY]
Skipping publisher since build result
is FAILURE Publishing Javadoc [xUnit]
[INFO] - Starting to record. [xUnit]
[WARNING] - Can't create the path
/var/lib/hudson/.hudson/jobs/IPS/workspace/generatedJUnitFiles.
Maybe the directory already exists.
[xUnit] [INFO] - Processing
PHPUnit-3.4 (default) [xUnit] [INFO] -
[PHPUnit-3.4 (default)] - 1 test
report file(s) were found with the
pattern 'build/logs/phpunit.xml'
relative to
'/var/lib/hudson/.hudson/jobs/IPS/workspace'
for the testing framework 'PHPUnit-3.4
(default)'. [xUnit] [INFO] -
Converting
'/var/lib/hudson/.hudson/jobs/IPS/workspace/build/logs/phpunit.xml'
. [xUnit] [INFO] - Stopping recording.
Publishing Clover coverage report...
Publishing Clover XML report...
Publishing Clover coverage results...
Finished: FAILURE
What changed since Tuesday? Try to manually run exactly the same commands that Hudson tries to run from the same directory that Hudson starts it from (usually the jobs workspace directory). Of course with the user account that Hudson is started under.
There are several possibilities. ranging from standard groups for a directory, to permission, or other things outside of Hudson. Was Hudson upgraded? Was a plugin upgraded? Was the OS or php upgraded? Was there a change in the default or user .profile or .env (or the equivalent files)? Does another process accesses the workspace? ......
Once I had the problem that all of the sudden my deployment scripts did not run anymore. The mystery was, that I could still run the script from command line with the Hudson user account. The reason was simple but took a while to uncover. There was a java upgrade from 5 to 6. Both versions were available. After comparing the environment variables, there was a difference in the path. The problem was that the new path was set in the global .profile. But Hudson does not open an interactive shell, therefore the .profile will not be executed. If you have a problem like this, you can put the initialization in the .env file (or whatever the filename is for your system), because this will be run regardless if it is a interactive shell or not. Alternatively you can configure Hudson to set it on master or node/slave level.
if you want a command to not break the 'build' as a failure you have to add #! in front of the command to prevent the flags -xe which produce this behaviour.