Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2884

Syndesis UI Integration Tests loop forever on Win10 when ran from Eclipse

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      this only affects developers running the integration tests from an eclipse instance

      Show
      this only affects developers running the integration tests from an eclipse instance

      Description

      If the Syndesis UI Integration Tests are launched from Eclipse on Win10 then there is an endless loop trying to delete the json file on tearDown of the test when deleting the whole project. The exception says access denied which points to the fact that this file is still being used / open by the Eclipse instance running the integration tests.

      stack in log:

      !ENTRY org.eclipse.jdt.core 4 4 2018-03-19 17:15:56.667
      !MESSAGE JavaBuilder handling ImageBuilderInternalException while building: SyndesisExtensionProjectCreatorRunnableForCustomConnectorIT
      !STACK 1
      org.eclipse.core.internal.resources.ResourceException: Problems encountered while copying resources.
      	at org.eclipse.core.internal.localstore.FileSystemResourceManager.copy(FileSystemResourceManager.java:336)
      	at org.eclipse.core.internal.resources.Resource.copy(Resource.java:545)
      	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.copyResource(AbstractImageBuilder.java:387)
      	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder$3.visit(BatchImageBuilder.java:231)
      	at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:84)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:129)
      	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
      	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
      	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.copyExtraResourcesBack(BatchImageBuilder.java:200)
      	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:124)
      	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:47)
      	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:256)
      	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:186)
      	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
      	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
      	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
      	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
      	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      Contains: File not found: C:\ws\junit-workspace\SyndesisExtensionProjectCreatorRunnableForCustomConnectorIT\target\classes\META-INF\syndesis\syndesis-extension-definition.json.
      java.io.FileNotFoundException: C:\ws\junit-workspace\SyndesisExtensionProjectCreatorRunnableForCustomConnectorIT\target\classes\META-INF\syndesis\syndesis-extension-definition.json (Access is denied)
      	at java.io.FileInputStream.open0(Native Method)
      	at java.io.FileInputStream.open(FileInputStream.java:195)
      	at java.io.FileInputStream.<init>(FileInputStream.java:138)
      	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:401)
      	at org.eclipse.core.filesystem.provider.FileStore.copyFile(FileStore.java:197)
      	at org.eclipse.core.filesystem.provider.FileStore.copy(FileStore.java:128)
      	at org.eclipse.core.internal.filesystem.local.LocalFile.copy(LocalFile.java:124)
      	at org.eclipse.core.internal.localstore.CopyVisitor.copyContents(CopyVisitor.java:100)
      	at org.eclipse.core.internal.localstore.CopyVisitor.copy(CopyVisitor.java:71)
      	at org.eclipse.core.internal.localstore.CopyVisitor.visit(CopyVisitor.java:205)
      	at org.eclipse.core.internal.localstore.UnifiedTree.accept(UnifiedTree.java:111)
      	at org.eclipse.core.internal.localstore.FileSystemResourceManager.copy(FileSystemResourceManager.java:333)
      	at org.eclipse.core.internal.resources.Resource.copy(Resource.java:545)
      	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.copyResource(AbstractImageBuilder.java:387)
      	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder$3.visit(BatchImageBuilder.java:231)
      	at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:84)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
      	at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:129)
      	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
      	at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
      	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.copyExtraResourcesBack(BatchImageBuilder.java:200)
      	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.cleanOutputFolders(BatchImageBuilder.java:124)
      	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:47)
      	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:256)
      	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:186)
      	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
      	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
      	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
      	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
      	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
      	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      

        Gliffy Diagrams

          Attachments

          1. screenshot-1.png
            screenshot-1.png
            25 kB
          2. screenshot-2.png
            screenshot-2.png
            24 kB
          3. screenshot-3.png
            screenshot-3.png
            75 kB

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lhein Lars Heinemann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: