Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] surefire plug-in "chmod" issue on Solaris 10

Hi All J
I’m using tycho for some time as our plug-in build and release mechanism, let me start by thinking you guys for a great release tool! J

 

Recently though I’m running into issues on Solaris. Looks like the surefire plug-in is running into “chmod” issues while trying to extract a plug-in,

the exact same build works fine on windows and Solaris, which makes me classify this as an OS issue.

 

One of my tests had me swich from 0.17 to 0.19, but that did not change the result.

 

The file causing trouble contains special characters, “versiontest-1@2^3_1.noarch.rpm”, the “^” character seems to cause the ruckus.

A simple “chmod” using the Solaris version works fine, so I assume tycho uses some java reimplementation?

 

Here is the details:

 

[INFO] --- tycho-surefire-plugin:0.17.0:test (default-test) @ tests.update ---
[WARNING] -------------------------------                                           
[WARNING] Standard error:
[WARNING] -------------------------------
[WARNING] 
[WARNING] -------------------------------
[WARNING] Standard output:
[WARNING] -------------------------------
[WARNING] /bin/sh: 3_1.noarch.rpm: not found
chmod: WARNING: can't access /path/versiontest-1@2
 
[WARNING] -------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] testserver ............. SUCCESS [14.412s]
[INFO] tests .................. SUCCESS [1:21:04.527s]
[INFO] tests.update ........... FAILURE [11:58.042s]
[INFO] tests.regression ....... SKIPPED
[INFO] ui.tests ............... SKIPPED
[INFO] target ................. SKIPPED
[INFO] aggregator.tests ....... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:33:55.620s
[INFO] Finished at: Tue Nov 12 01:53:57 CET 2013
[INFO] Final Memory: 21M/82M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:0.17.0:test (default-test) on project tests.update: Execution default-test of goal org.eclipse.tycho:tycho-surefire-plugin:0.17.0:test failed: Unable to unpack jar /path/ tests-1.0.0-SNAPSHOT.jar: chmod exit code was: 1 -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf : tests.update
Build step 'Invoke top-level Maven targets' marked build as failure

 

TIA,

Ciao, hh

 


Back to the top