[jboss-jira] [JBoss JIRA] Commented: (JBAS-8543) Verify AS functionality on Windows

Sacha Labourey (JIRA) jira-events at lists.jboss.org
Thu Oct 21 06:48:54 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12558406#action_12558406 ] 

Sacha Labourey commented on JBAS-8543:
--------------------------------------

Some random failure: mostly with OSGi but happened once with the naming module. Was using the latest from Git on Windows 7-64 with JDK1.6 (64bits):

C:\Users\Sacha\workspace\jboss-as>java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)


Typical failure:


[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss Application Server: OSGi Subsystem 7.0.0.Beta1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-java-version) @ jboss-as-osgi ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0-beta-1:enforce (enforce-maven-version) @ jboss-as-osgi ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ jboss-as-osgi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ jboss-as-osgi ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-checkstyle-plugin:2.5:checkstyle (check-style) @ jboss-as-osgi ---
[INFO] Starting audit...
Audit done.

[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ jboss-as-osgi ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.1:testCompile (default-testCompile) @ jboss-as-osgi ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-antrun-plugin:1.4:run (build-dist) @ jboss-as-osgi ---
project.artifactId
[INFO] Executing tasks

modules:
     [echo] Initializing module -> javax.transaction.api
[INFO] Executed tasks
[INFO]
[INFO] --- maven-surefire-plugin:2.5:test (default-test) @ jboss-as-osgi ---
[INFO] Surefire report directory: C:\Users\Sacha\workspace\jboss-as\osgi\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.jboss.as.osgi.xservice.BundleDependsOnLocalModuleTestCase
12:09:41,359 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: system.bundle:0.0.0
12:09:41,382 INFO  [org.jboss.as.osgi] (Thread-2) Starting OSGi Framework
12:09:41,383 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) JBossOSGi Framework Core - 1.0.0.Alpha11
12:09:41,471 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (Thread-2) Starting bundles for start level: 1
12:09:41,471 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) Framework started
12:09:41,583 INFO  [org.jboss.as.deployment] (main) Activating deployment: bundle1
12:09:41,605 WARN  [org.jboss.vfs] (main) VFS was unable to set the URLStreamHandlerFactory.  This will have unpredictable results
12:09:41,704 INFO  [org.jboss.as.osgi] (Thread-2) Installing deployment: [bundle1:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploymen
ts/bundle1/]
12:09:41,723 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: bundle1:1.0.0
12:09:41,770 INFO  [org.jboss.as.osgi] (Thread-2) Uninstalling deployment: [bundle1:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploym
ents/bundle1/]
12:09:41,772 WARN  [org.jboss.osgi.deployment.deployer.SystemDeployerService] (Thread-2) Cannot uninstall: [bundle1:1.0.0,location=vfs:/C:/Users/Sacha
/workspace/jboss-as/osgi/deployments/bundle1/]: java.lang.IllegalStateException: Bundle uninstalled: bundle1:1.0.0
        at org.jboss.osgi.framework.bundle.AbstractBundle.assertNotUninstalled(AbstractBundle.java:764)
        at org.jboss.osgi.framework.bundle.AbstractBundle.uninstall(AbstractBundle.java:484)
        at org.jboss.osgi.framework.bundle.AbstractUserBundle.uninstall(AbstractUserBundle.java:381)
        at org.jboss.osgi.framework.bundle.BundleWrapper.uninstall(BundleWrapper.java:186)
        at org.jboss.osgi.deployment.deployer.SystemDeployerService.undeployInternal(SystemDeployerService.java:142)
        at org.jboss.osgi.deployment.deployer.SystemDeployerService.undeploy(SystemDeployerService.java:73)
        at org.jboss.osgi.framework.plugin.internal.DeployerServicePluginImpl.undeploy(DeployerServicePluginImpl.java:85)
        at org.jboss.as.osgi.deployment.OSGiDeploymentService.stop(OSGiDeploymentService.java:129)
        at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:983)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

12:09:41,786 INFO  [org.jboss.as.osgi] (Thread-2) Stopping OSGi Framework
12:09:41,799 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (pool-3-thread-1) Stopping bundles for start level: 1
12:09:41,804 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (pool-3-thread-1) Framework stopped
12:09:41,824 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: system.bundle:0.0.0
12:09:41,830 INFO  [org.jboss.as.osgi] (Thread-2) Starting OSGi Framework
12:09:41,831 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) JBossOSGi Framework Core - 1.0.0.Alpha11
12:09:41,838 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (Thread-2) Starting bundles for start level: 1
12:09:41,838 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) Framework started
12:09:41,918 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (main) Install bundle: javax.transaction.api:0.0.0
12:09:41,932 INFO  [org.jboss.as.deployment] (main) Activating deployment: bundle2
12:09:41,947 INFO  [org.jboss.as.osgi] (Thread-2) Installing deployment: [bundle2:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploymen
ts/bundle2/]
12:09:41,962 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: bundle2:1.0.0
12:09:41,998 INFO  [org.jboss.as.osgi] (Thread-2) Uninstalling deployment: [bundle2:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploym
ents/bundle2/]
12:09:42,003 INFO  [org.jboss.as.osgi] (Thread-2) Stopping OSGi Framework
12:09:42,004 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (pool-8-thread-1) Stopping bundles for start level: 1
12:09:42,005 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (pool-8-thread-1) Framework stopped
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.031 sec <<< FAILURE!
Running org.jboss.as.osgi.deployment.OSGiDeploymentTestCase
12:09:42,337 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: system.bundle:0.0.0
12:09:42,342 INFO  [org.jboss.as.osgi] (Thread-2) Starting OSGi Framework
12:09:42,343 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) JBossOSGi Framework Core - 1.0.0.Alpha11
12:09:42,350 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (Thread-2) Starting bundles for start level: 1
12:09:42,350 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) Framework started
12:09:42,411 INFO  [org.jboss.as.deployment] (main) Activating deployment: bundle3
12:09:42,440 INFO  [org.jboss.as.osgi] (Thread-2) Installing deployment: [bundle3:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploymen
ts/bundle3/]
12:09:42,455 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: bundle3:1.0.0
12:09:42,458 INFO  [org.jboss.as.osgi] (Thread-2) Uninstalling deployment: [bundle3:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploym
ents/bundle3/]
12:09:42,468 INFO  [org.jboss.as.deployment] (main) Activating deployment: bundle4
12:09:42,498 INFO  [org.jboss.as.osgi] (Thread-2) Installing deployment: [bundle4:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploymen
ts/bundle4/]
12:09:42,500 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: bundle4:1.0.0
12:09:42,503 INFO  [org.jboss.as.osgi] (Thread-2) Uninstalling deployment: [bundle4:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploym
ents/bundle4/]
12:09:42,504 WARN  [org.jboss.osgi.deployment.deployer.SystemDeployerService] (Thread-2) Cannot uninstall: [bundle4:1.0.0,location=vfs:/C:/Users/Sacha
/workspace/jboss-as/osgi/deployments/bundle4/]: java.lang.IllegalStateException: Bundle uninstalled: bundle4:1.0.0
        at org.jboss.osgi.framework.bundle.AbstractBundle.assertNotUninstalled(AbstractBundle.java:764)
        at org.jboss.osgi.framework.bundle.AbstractBundle.uninstall(AbstractBundle.java:484)
        at org.jboss.osgi.framework.bundle.AbstractUserBundle.uninstall(AbstractUserBundle.java:381)
        at org.jboss.osgi.framework.bundle.BundleWrapper.uninstall(BundleWrapper.java:186)
        at org.jboss.osgi.deployment.deployer.SystemDeployerService.undeployInternal(SystemDeployerService.java:142)
        at org.jboss.osgi.deployment.deployer.SystemDeployerService.undeploy(SystemDeployerService.java:73)
        at org.jboss.osgi.framework.plugin.internal.DeployerServicePluginImpl.undeploy(DeployerServicePluginImpl.java:85)
        at org.jboss.as.osgi.deployment.OSGiDeploymentService.stop(OSGiDeploymentService.java:129)
        at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:983)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)

12:09:42,516 INFO  [org.jboss.as.deployment] (main) Activating deployment: module5
12:09:42,525 INFO  [org.jboss.as.osgi] (Thread-2) Installing deployment: [simple-module:1.0.0,location=/C:/Users/Sacha/workspace/jboss-as/osgi/deploym
ents/module5]
12:09:42,527 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: simple-module:1.0.0
12:09:42,534 ERROR [org.jboss.osgi.testing.OSGiTestHelper] (main) Unexpected ClassNotFoundException for: simple-module loads org.jboss.as.osgi.deploym
ent.a.A: java.lang.ClassNotFoundException: org.jboss.as.osgi.deployment.a.A from [Module "module:jbosgi.simple-module:1.0.0-rev1" from OSGiModuleLoade
r]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:194)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:270)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:60)
        at org.jboss.osgi.framework.bundle.HostRevision.loadClass(HostRevision.java:103)
        at org.jboss.osgi.framework.bundle.AbstractBundle.loadClass(AbstractBundle.java:662)
        at org.jboss.osgi.framework.bundle.BundleWrapper.loadClass(BundleWrapper.java:161)
        at org.jboss.osgi.testing.OSGiTestHelper.assertLoadClass(OSGiTestHelper.java:280)
        at org.jboss.as.osgi.AbstractOSGiSubsystemTest.assertLoadClass(AbstractOSGiSubsystemTest.java:130)
        at org.jboss.as.osgi.deployment.OSGiDeploymentTestCase.testModuleWithXServiceProperties(OSGiDeploymentTestCase.java:152)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
        at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

12:09:42,542 INFO  [org.jboss.as.deployment] (main) Activating deployment: module-two
12:09:42,554 INFO  [org.jboss.as.osgi] (Thread-2) Installing deployment: [module-two:1.0.0,location=/C:/Users/Sacha/workspace/jboss-as/osgi/deployment
s/module-two]
12:09:42,556 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: module-two:1.0.0
12:09:42,561 ERROR [org.jboss.osgi.testing.OSGiTestHelper] (main) Unexpected ClassNotFoundException for: module-two loads org.jboss.as.osgi.deployment
.a.A: java.lang.ClassNotFoundException: org.jboss.as.osgi.deployment.a.A from [Module "module:jbosgi.module-two:1.0.0-rev1" from OSGiModuleLoader]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:194)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:270)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:60)
        at org.jboss.osgi.framework.bundle.HostRevision.loadClass(HostRevision.java:103)
        at org.jboss.osgi.framework.bundle.AbstractBundle.loadClass(AbstractBundle.java:662)
        at org.jboss.osgi.framework.bundle.BundleWrapper.loadClass(BundleWrapper.java:161)
        at org.jboss.osgi.testing.OSGiTestHelper.assertLoadClass(OSGiTestHelper.java:280)
        at org.jboss.as.osgi.AbstractOSGiSubsystemTest.assertLoadClass(AbstractOSGiSubsystemTest.java:130)
        at org.jboss.as.osgi.deployment.OSGiDeploymentTestCase.testAttachedOSGiMetaData(OSGiDeploymentTestCase.java:183)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
        at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
        at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
        at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)

12:09:42,578 INFO  [org.jboss.as.deployment] (main) Activating deployment: module-with-xmodule
12:09:42,594 INFO  [org.jboss.as.osgi] (Thread-2) Installing deployment: [module-two:1.0.0,location=/C:/Users/Sacha/workspace/jboss-as/osgi/deployment
s/module-with-xmodule]
12:09:42,596 ERROR [org.jboss.as.deployment] (Thread-2) Deployment [service jboss.deployment.module-with-xmodule] failed to start correctly.  Complete
ly shutting down deployment.  Please see additional errors for details.: org.jboss.msc.service.StartException in service service jboss.osgi.deployment
.module-with-xmodule: Failed to install deployment: [module-two:1.0.0,location=/C:/Users/Sacha/workspace/jboss-as/osgi/deployments/module-with-xmodule
]
        at org.jboss.as.osgi.deployment.OSGiDeploymentService.start(OSGiDeploymentService.java:117)
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:923)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.osgi.framework.BundleException: Cannot install module-two:1.0.0 a bundle with that name and version is already installed: /C:/Users/Sac
ha/workspace/jboss-as/osgi/deployments/module-two
        at org.jboss.osgi.framework.bundle.BundleValidatorR4.validateBundle(BundleValidatorR4.java:110)
        at org.jboss.osgi.framework.bundle.BundleManager.validateBundle(BundleManager.java:530)
        at org.jboss.osgi.framework.bundle.BundleManager.createBundle(BundleManager.java:503)
        at org.jboss.osgi.framework.bundle.BundleManager.installBundle(BundleManager.java:479)
        at org.jboss.osgi.framework.plugin.internal.DeployerServicePluginImpl$DeployerServiceImpl.installBundle(DeployerServicePluginImpl.java:110)
        at org.jboss.osgi.deployment.deployer.SystemDeployerService.deployInternal(SystemDeployerService.java:103)
        at org.jboss.osgi.deployment.deployer.SystemDeployerService.deploy(SystemDeployerService.java:65)
        at org.jboss.osgi.framework.plugin.internal.DeployerServicePluginImpl.deploy(DeployerServicePluginImpl.java:79)
        at org.jboss.as.osgi.deployment.OSGiDeploymentService.start(OSGiDeploymentService.java:113)
        ... 4 more

12:09:47,599 INFO  [org.jboss.as.osgi] (Thread-2) Uninstalling deployment: [simple-module:1.0.0,location=/C:/Users/Sacha/workspace/jboss-as/osgi/deplo
yments/module5]
12:09:47,603 INFO  [org.jboss.as.osgi] (Thread-2) Uninstalling deployment: [module-two:1.0.0,location=/C:/Users/Sacha/workspace/jboss-as/osgi/deployme
nts/module-two]
Tests run: 5, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 5.591 sec <<< FAILURE!
Running org.jboss.as.osgi.parser.XMLValidationTestCase
12:09:47,625 INFO  [org.jboss.as.osgi] (Thread-2) Stopping OSGi Framework
12:09:47,627 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (pool-12-thread-1) Stopping bundles for start level: 1
12:09:47,628 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (pool-12-thread-1) Framework stopped
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.281 sec
Running org.jboss.as.osgi.parser.XSDValidationTestCase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
Running org.jboss.as.osgi.parser.OSGiSubsystemParserTestCase
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
Running org.jboss.as.osgi.xservice.BundleAccessesModuleServiceTestCase
12:09:48,050 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: system.bundle:0.0.0
12:09:48,055 INFO  [org.jboss.as.osgi] (Thread-2) Starting OSGi Framework
12:09:48,056 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) JBossOSGi Framework Core - 1.0.0.Alpha11
12:09:48,062 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (Thread-2) Starting bundles for start level: 1
12:09:48,062 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) Framework started
12:09:48,075 INFO  [org.jboss.as.deployment] (main) Activating deployment: module6
12:09:48,090 INFO  [org.jboss.as.osgi] (Thread-2) Stopping OSGi Framework
12:09:48,099 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (pool-20-thread-1) Stopping bundles for start level: 1
12:09:48,101 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (pool-20-thread-1) Framework stopped
12:09:48,113 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: system.bundle:0.0.0
12:09:48,118 INFO  [org.jboss.as.osgi] (Thread-2) Starting OSGi Framework
12:09:48,119 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) JBossOSGi Framework Core - 1.0.0.Alpha11
12:09:48,125 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (Thread-2) Starting bundles for start level: 1
12:09:48,126 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) Framework started
12:09:48,134 INFO  [org.jboss.as.deployment] (main) Activating deployment: module7
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.121 sec <<< FAILURE!
Running org.jboss.as.osgi.xservice.ModuleAccessesOSGiServiceTestCase
12:09:48,166 INFO  [org.jboss.as.osgi] (Thread-2) Stopping OSGi Framework
12:09:48,183 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (pool-24-thread-1) Stopping bundles for start level: 1
12:09:48,186 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (pool-24-thread-1) Framework stopped
12:09:48,196 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: system.bundle:0.0.0
12:09:48,202 INFO  [org.jboss.as.osgi] (Thread-2) Starting OSGi Framework
12:09:48,203 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) JBossOSGi Framework Core - 1.0.0.Alpha11
12:09:48,209 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (Thread-2) Starting bundles for start level: 1
12:09:48,209 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) Framework started
12:09:48,217 INFO  [org.jboss.as.deployment] (main) Activating deployment: xservice-api-module8
12:09:48,228 WARN  [org.jboss.osgi.framework.plugin.internal.BundleDeploymentPluginImpl] (main) Cannot obtain module directory: C:\Users\Sacha\workspa
ce\jboss-as\osgi\target\test-modules\test\xservice-api-module8\main
12:09:48,230 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (main) Install bundle: test.xservice-api-module8:0.0.0
12:09:48,243 INFO  [org.jboss.as.deployment] (main) Activating deployment: bundle9
12:09:48,258 INFO  [org.jboss.as.osgi] (Thread-2) Installing deployment: [bundle9:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploymen
ts/bundle9/]
12:09:48,262 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: bundle9:1.0.0
12:09:48,274 INFO  [org.jboss.as.osgi] (Thread-2) Uninstalling deployment: [bundle9:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploym
ents/bundle9/]
12:09:48,282 INFO  [org.jboss.as.osgi] (Thread-2) Stopping OSGi Framework
12:09:48,283 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (pool-28-thread-1) Stopping bundles for start level: 1
12:09:48,286 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (pool-28-thread-1) Framework stopped
12:09:48,298 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: system.bundle:0.0.0
12:09:48,304 INFO  [org.jboss.as.osgi] (Thread-2) Starting OSGi Framework
12:09:48,304 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) JBossOSGi Framework Core - 1.0.0.Alpha11
12:09:48,310 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (Thread-2) Starting bundles for start level: 1
12:09:48,311 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (Thread-2) Framework started
12:09:48,315 INFO  [org.jboss.as.deployment] (main) Activating deployment: xservice-api-module10
12:09:48,328 WARN  [org.jboss.osgi.framework.plugin.internal.BundleDeploymentPluginImpl] (main) Cannot obtain module directory: C:\Users\Sacha\workspa
ce\jboss-as\osgi\target\test-modules\test\xservice-api-module10\main
12:09:48,329 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (main) Install bundle: test.xservice-api-module10:0.0.0
12:09:48,336 INFO  [org.jboss.as.deployment] (main) Activating deployment: bundle11
12:09:48,356 INFO  [org.jboss.as.osgi] (Thread-2) Installing deployment: [bundle11:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deployme
nts/bundle11/]
12:09:48,359 INFO  [org.jboss.osgi.framework.bundle.BundleManager] (Thread-2) Install bundle: bundle11:1.0.0
12:09:48,391 INFO  [org.jboss.as.osgi] (Thread-2) Uninstalling deployment: [bundle11:1.0.0,location=vfs:/C:/Users/Sacha/workspace/jboss-as/osgi/deploy
ments/bundle11/]
12:09:48,405 INFO  [org.jboss.as.osgi] (Thread-2) Stopping OSGi Framework
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.256 sec <<< FAILURE!

Results :

Failed tests:
  testModuleWithXServiceProperties(org.jboss.as.osgi.deployment.OSGiDeploymentTestCase)
  testAttachedOSGiMetaData(org.jboss.as.osgi.deployment.OSGiDeploymentTestCase)
  testAttachedXModule(org.jboss.as.osgi.deployment.OSGiDeploymentTestCase)

Exception in thread "vfs-shutdown" java.lang.NullPointerException
Tests in error:
        at org.jboss.vfs.TempFileProvider$DeleteTask.run(TempFileProvider.java:140)
  testBundleDependencyOnSystemModule(org.jboss.as.osgi.xservice.BundleDependsOnLocalModuleTestCase)
        at org.jboss.vfs.TempFileProvider.close(TempFileProvider.java:122)
  testTargetModuleService(org.jboss.as.osgi.xservice.BundleAccessesModuleServiceTestCase)
        at org.jboss.osgi.vfs30.VFSAdaptor30$1.run(VFSAdaptor30.java:74)
  testBundleInvokesTargetModuleService(org.jboss.as.osgi.xservice.BundleAccessesModuleServiceTestCase)
  testBundleTargetService(org.jboss.as.osgi.xservice.ModuleAccessesOSGiServiceTestCase)
  testModuleInvokesTargetBundleService(org.jboss.as.osgi.xservice.ModuleAccessesOSGiServiceTestCase)

Tests run: 24, Failures: 3, Errors: 5, Skipped: 0

12:09:48,411 INFO  [org.jboss.osgi.framework.plugin.internal.StartLevelPluginImpl] (pool-33-thread-1) Stopping bundles for start level: 1
12:09:48,424 INFO  [org.jboss.osgi.framework.bundle.FrameworkState] (pool-33-thread-1) Framework stopped
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JBoss Application Server: Build Configuration ..... SUCCESS [6.839s]
[INFO] JBoss Application Server: Parent Aggregator ....... SUCCESS [6.617s]
[INFO] JBoss Application Server: Deployment Client ....... SUCCESS [8.155s]
[INFO] JBoss Application Server: Protocol Utilities ...... SUCCESS [4.507s]
[INFO] JBoss Application Server: Domain Core ............. SUCCESS [8.874s]
[INFO] JBoss Application Server: Domain Client ........... SUCCESS [1.200s]
[INFO] JBoss Application Server: Transaction Subsystem ... SUCCESS [1.172s]
[INFO] JBoss Application Server: Connector Subsystem ..... SUCCESS [1.918s]
[INFO] JBoss Application Server: Process Manager ......... SUCCESS [0.976s]
[INFO] JBoss Application Server: Threading Subsystem ..... SUCCESS [0.619s]
[INFO] JBoss Application Server: Domain Controller ....... SUCCESS [0.601s]
[INFO] JBoss Application Server: Server .................. SUCCESS [0.654s]
[INFO] JBoss Application Server: Server Manager .......... SUCCESS [2.293s]
[INFO] JBoss Application Server: Remoting Subsystem ...... SUCCESS [0.717s]
[INFO] JBoss Application Server: Logging Subsystem ....... SUCCESS [1.314s]
[INFO] JBoss Application Server: Naming Subsystem ........ SUCCESS [2.476s]
[INFO] JBoss Application Server: JMX Subsystem ........... SUCCESS [0.399s]
[INFO] JBoss Application Server: Service Archive Subsystem  SUCCESS [2.629s]
[INFO] JBoss Application Server: Managed Beans Subsystem . SUCCESS [2.307s]
[INFO] JBoss Application Server: Messaging Subsystem ..... SUCCESS [1.123s]
[INFO] JBoss Application Server: OSGi Subsystem .......... FAILURE [11.243s]
[INFO] JBoss Application Server: Build ................... SKIPPED
[INFO] JBoss Application Server: Test Suite: Aggregator .. SKIPPED
[INFO] JBoss Application Server: Test Suite: Integration Tests  SKIPPED
[INFO] JBoss Application Server: Test Suite: Smoke Tests . SKIPPED
[INFO] JBoss Application Server: Test Suite: Stress Tests  SKIPPED
[INFO] JBoss Application Server: Test Suite: Benchmark Tests  SKIPPED
[INFO] JBoss AS Demos .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:09.870s
[INFO] Finished at: Thu Oct 21 12:09:48 CEST 2010
[INFO] Final Memory: 40M/310M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.5:test (default-test) on project jboss-as-osgi: There are test failure
s.

Please refer to C:\Users\Sacha\workspace\jboss-as\osgi\target\surefire-reports for the individual test results.
-> [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 :jboss-as-osgi
Press any key to continue . . .


> Verify AS functionality on Windows
> ----------------------------------
>
>                 Key: JBAS-8543
>                 URL: https://jira.jboss.org/browse/JBAS-8543
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>
> SachaL reports build problems on AS7 master.
> Please post a link to the Hudson QA that shows the matrix of supported OS

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list