[jboss-jira] [JBoss JIRA] Created: (JBVFS-59) testWarLinkUpdate failures

Scott M Stark (JIRA) jira-events at lists.jboss.org
Tue Sep 9 12:27:39 EDT 2008


testWarLinkUpdate failures
--------------------------

                 Key: JBVFS-59
                 URL: https://jira.jboss.org/jira/browse/JBVFS-59
             Project: JBoss VFS
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: org.jboss.test.virtual.test.FileVFSUnitTestCase.testWarLinkUpdate
org.jboss.test.virtual.test.CopyFileVFSUnitTestCase.testWarLinkUpdate

            Reporter: Scott M Stark


There are two failures in the testWarLinkUpdate tests, FileVFSUnitTestCase and CopyFileVFSUnitTestCase.

<testcase time="0.014" name="testWarLinkUpdate">
    <error type="junit.framework.AssertionFailedError" message="Wrong number of WEB-INF link children">junit.framework.AssertionFailedError: Wrong number of WEB-INF link children
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at org.jboss.test.virtual.test.FileVFSUnitTestCase.testWarLinkUpdate(FileVFSUnitTestCase.java:1101)
	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:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
	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:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
</error>
    <system-out>545 DEBUG [CopyFileVFSUnitTestCase] ==== Starting testWarLinkUpdate ====
545 INFO  [CopyFileVFSUnitTestCase] Force copy: true
547 DEBUG [AbstractVirtualFileHandler] IGNORING: Exception while closing connection
java.io.FileNotFoundException: /tmp/jboss-vfs-testWarLinkUpdate51572.tmp/WEB-INF (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.&amp;init&amp;(FileInputStream.java:106)
	at java.io.FileInputStream.&amp;init&amp;(FileInputStream.java:66)
	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
	at org.jboss.virtual.plugins.context.AbstractURLHandler.closeConnection(AbstractURLHandler.java:121)
	at org.jboss.virtual.plugins.context.AbstractURLHandler.initCacheLastModified(AbstractURLHandler.java:107)
	at org.jboss.virtual.plugins.context.AbstractURLHandler.&amp;init&amp;(AbstractURLHandler.java:66)
	at org.jboss.virtual.plugins.context.file.LinkHandler$ParentOfLink.&amp;init&amp;(LinkHandler.java:67)
	at org.jboss.virtual.plugins.context.file.LinkHandler.&amp;init&amp;(LinkHandler.java:164)
	at org.jboss.virtual.plugins.context.file.FileSystemContext.createLinkHandler(FileSystemContext.java:351)
	at org.jboss.virtual.plugins.context.file.FileHandler.getChildLink(FileHandler.java:301)
	at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:315)
	at org.jboss.virtual.plugins.context.file.FileSystemContext.createVirtualFileHandler(FileSystemContext.java:257)
	at org.jboss.virtual.plugins.context.file.FileHandler.createChildHandler(FileHandler.java:272)
	at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:535)
	at org.jboss.virtual.plugins.context.file.FileHandler.getChild(FileHandler.java:281)
	at org.jboss.virtual.plugins.context.AbstractVFSContext.getChild(AbstractVFSContext.java:164)
	at org.jboss.virtual.VFS.getChild(VFS.java:228)
	at org.jboss.test.virtual.test.FileVFSUnitTestCase.testWarLinkUpdate(FileVFSUnitTestCase.java:1070)

	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:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
	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:585)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
554 DEBUG [CopyFileVFSUnitTestCase] testWarLinkUpdate took 9ms
554 DEBUG [CopyFileVFSUnitTestCase] ==== Stopping testWarLinkUpdate ====
</system-out>
  </testcase>



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

        



More information about the jboss-jira mailing list