Can you have the test check for a supported environment and exit if it is not?

Ralph

On Jan 10, 2013, at 6:23 AM, Gary Gregory wrote:

> The new HDFS provider only works on Linux and it works for me on Ubuntu
> (via VirtualBox on Win7). How can Gump be fixed?
> 
> Gary
> 
> 
> On Thu, Jan 10, 2013 at 2:53 AM, Gump <iss...@commons.apache.org> wrote:
> 
>> To whom it may engage...
>> 
>> This is an automated request, but not an unsolicited one. For
>> more information please visit http://gump.apache.org/nagged.html,
>> and/or contact the folk at gene...@gump.apache.org.
>> 
>> Project commons-vfs2-test has an issue affecting its community integration.
>> This issue affects 1 projects.
>> The current state of this project is 'Failed', with reason 'Build Failed'.
>> For reference only, the following projects are affected by this:
>>    - commons-vfs2-test :  Apache Commons
>> 
>> 
>> Full details are available at:
>> 
>> http://vmgump.apache.org/gump/public/apache-commons/commons-vfs2-test/index.html
>> 
>> That said, some information snippets are provided here.
>> 
>> The following annotations (debug/informational/warning/error messages)
>> were provided:
>> -WARNING- Overriding Maven settings:
>> [/srv/gump/public/workspace/apache-commons/vfs/gump_mvn_settings.xml]
>> -DEBUG- (Apache Gump generated) Apache Maven Settings in:
>> /srv/gump/public/workspace/apache-commons/vfs/gump_mvn_settings.xml
>> -INFO- Failed with reason build failed
>> -DEBUG- Maven POM in:
>> /srv/gump/public/workspace/apache-commons/vfs/pom.xml
>> -INFO- Project Reports in:
>> /srv/gump/public/workspace/apache-commons/vfs/core/target/surefire-reports
>> 
>> 
>> 
>> The following work was performed:
>> 
>> http://vmgump.apache.org/gump/public/apache-commons/commons-vfs2-test/gump_work/build_apache-commons_commons-vfs2-test.html
>> Work Name: build_apache-commons_commons-vfs2-test (Type: Build)
>> Work ended in a state of : Failed
>> Elapsed: 4 mins 59 secs
>> Command Line: /opt/maven3/bin/mvn --batch-mode --settings
>> /srv/gump/public/workspace/apache-commons/vfs/gump_mvn_settings.xml package
>> [Working Directory: /srv/gump/public/workspace/apache-commons/vfs]
>> M2_HOME: /opt/maven3
>> ---------------------------------------------
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>        at java.lang.reflect.Method.invoke(Method.java:601)
>>        at
>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>>        at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>>        at
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>>        at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
>>        at
>> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>> 
>> Running
>> org.apache.commons.vfs2.provider.https.test.GetContentInfoFunctionalTest
>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.288 sec
>> Running
>> org.apache.commons.vfs2.provider.temp.test.TemporaryProviderTestCase
>> Tests run: 73, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.81 sec
>> Running org.apache.commons.vfs2.FileExtensionSelectorTest
>> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
>> 
>> Results :
>> 
>> Tests in error:
>>  
>> junit.framework.TestSuite@2a018b03(org.apache.commons.vfs2.provider.hdfs.test.HdfsFileProviderTestCase$HdfsProviderTestSuite):
>> /srv/gump/public/workspace/apache-commons/vfs/core/target/test-classes/test-data/write-tests/file1.txt
>> (Permission denied)
>> 
>> Tests run: 1697, Failures: 0, Errors: 1, Skipped: 2
>> 
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Commons VFS ....................................... SUCCESS [9.950s]
>> [INFO] Commons VFS Core .................................. FAILURE
>> [4:45.160s]
>> [INFO] Commons VFS Examples .............................. SKIPPED
>> [INFO] Commons VFS Distribution .......................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 4:56.621s
>> [INFO] Finished at: Thu Jan 10 07:53:15 UTC 2013
>> [INFO] Final Memory: 28M/68M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.12.3:test (default-test)
>> on project commons-vfs2: There are test failures.
>> [ERROR]
>> [ERROR] Please refer to
>> /srv/gump/public/workspace/apache-commons/vfs/core/target/surefire-reports
>> for the individual test results.
>> [ERROR] -> [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/MojoFailureException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :commons-vfs2
>> ---------------------------------------------
>> 
>> To subscribe to this information via syndicated feeds:
>> - RSS:
>> http://vmgump.apache.org/gump/public/apache-commons/commons-vfs2-test/rss.xml
>> - Atom:
>> http://vmgump.apache.org/gump/public/apache-commons/commons-vfs2-test/atom.xml
>> 
>> ============================== Gump Tracking Only ===
>> Produced by Apache Gump(TM) version 2.3.
>> Gump Run 12000010012013, vmgump.apache.org:vmgump:12000010012013
>> Gump E-mail Identifier (unique within run) #55.
>> 
>> --
>> Apache Gump
>> http://gump.apache.org/ [Instance: vmgump]
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> For additional commands, e-mail: dev-h...@commons.apache.org
>> 
>> 
> 
> 
> -- 
> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
> JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
> Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
> Blog: http://garygregory.wordpress.com
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to