eclipse-tycho / tycho

Tycho project repository (tycho)
https://tycho.eclipseprojects.io
Eclipse Public License 2.0
170 stars 190 forks source link

On Mac OSX tycho-surefire-plugin assembles workspace in target/work folder incomplete #598

Open hookyAt opened 2 years ago

hookyAt commented 2 years ago

Hi, our tycho build runs great under windows and linux, but on Mac OSX certain tests fail. In those tests we parse Java-Files with the eclipse emf plug-In.

The error messages in the log file (target/work/data/.metadata/.log:) says like:

Line 110: Syntax error, annotations are only available if source level is 1.5 or greater
Line 111: Syntax error, parameterized types are only available if source level is 1.5 or greater
Line 112: Syntax error, parameterized types are only available if source level is 1.5 or greater
Line 113: '<>' operator is not allowed for source level below 1.7

While comparing the linux workspace with the mac workspace, I found that the settings for the source level is in target/work/data/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs. That file is missing in the Mac OSX workspace.

Missing file and settings from org.eclipse.jdt.core.prefs

org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.source=11

Also when using the command line from the maven output for the org.eclipse.tycho.surefire.osgibooter.headlesstest the Tests fail. But when the org.eclipse.jdt.core.prefs is copied, from linux to mac, the tests runs without problems.

We use BREE and the toolchains.xml is correct.

Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: /opt/apache-maven-3.8.4 Java version: 11.0.13, vendor: Eclipse Adoptium, runtime: /opt/jdk-11.0.13+8/Contents/Home Default locale: de_AT, platform encoding: UTF-8 OS name: "mac os x", version: "12.1", arch: "x86_64", family: "mac"

Used Tycho 2.5.0 and 2.6.0 Tried with target platform 2019-03 and 2021-12

Log output, ommited a few lines:

[INFO] --- tycho-surefire-plugin:2.5.0:test (default-test) @ org.faktorips.devtools.core.refactor.test ---
[DEBUG] Configuring mojo org.eclipse.tycho:tycho-surefire-plugin:2.5.0:test from plugin realm ClassRealm[plugin>org.eclipse.tycho:tycho-surefire-plugin:2.5.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@277050dc]
[DEBUG] Configuring mojo 'org.eclipse.tycho:tycho-surefire-plugin:2.5.0:test' with basic configurator -->
[DEBUG]   (f) argLine = -javaagent:/Users/admin/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/jacoco.exec -Xms256m -Xmx512m -XX:+AggressiveOpts -XstartOnFirstThread
[DEBUG]   (f) deleteOsgiDataDirectory = true
[DEBUG]   (f) enableAssertions = false
[DEBUG]   (f) excludes = []
[DEBUG]   (f) failIfNoTests = true
[DEBUG]   (f) includes = [**/*Test.java]
[DEBUG]   (f) osgiDataDirectory = /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/data
[DEBUG]   (f) perCoreThreadCount = true
[DEBUG]   (f) pluginArtifacts = [org.eclipse.tycho:tycho-surefire-plugin:maven-plugin:2.5.0:, org.apache.maven:maven-plugin-api:jar:3.8.2:compile, org.apache.maven:maven-model:jar:3.8.2:compile, org.apache.maven:maven-artifact:jar:3.8.2:compile, org.apache.commons:commons-lang3:jar:3.8.1:compile, org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.3.5:compile, org.codehaus.plexus:plexus-classworlds:jar:2.6.0:compile, org.codehaus.plexus:plexus-utils:jar:3.3.0:compile, org.apache.maven:maven-core:jar:3.8.2:compile, org.apache.maven:maven-settings:jar:3.8.2:compile, org.apache.maven:maven-settings-builder:jar:3.8.2:compile, org.sonatype.plexus:plexus-sec-dispatcher:jar:1.4:compile, org.apache.maven:maven-builder-support:jar:3.8.2:compile, org.apache.maven:maven-repository-metadata:jar:3.8.2:compile, org.apache.maven:maven-model-builder:jar:3.8.2:compile, org.apache.maven:maven-resolver-provider:jar:3.8.2:compile, org.slf4j:slf4j-api:jar:1.7.32:compile, org.apache.maven.resolver:maven-resolver-impl:jar:1.6.3:compile, org.apache.maven.resolver:maven-resolver-api:jar:1.6.3:compile, org.apache.maven.resolver:maven-resolver-spi:jar:1.6.3:compile, org.apache.maven.resolver:maven-resolver-util:jar:1.6.3:compile, org.apache.maven.shared:maven-shared-utils:jar:3.3.4:compile, commons-io:commons-io:jar:2.6:compile, com.google.inject:guice:jar:no_aop:4.2.2:compile, aopalliance:aopalliance:jar:1.0:compile, com.google.guava:guava:jar:25.1-android:compile, com.google.code.findbugs:jsr305:jar:3.0.2:compile, org.checkerframework:checker-compat-qual:jar:2.0.0:compile, com.google.errorprone:error_prone_annotations:jar:2.1.3:compile, com.google.j2objc:j2objc-annotations:jar:1.1:compile, org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile, javax.inject:javax.inject:jar:1:compile, org.codehaus.plexus:plexus-archiver:jar:4.2.2:compile, org.codehaus.plexus:plexus-io:jar:3.2.0:compile, org.apache.commons:commons-compress:jar:1.21:compile, org.iq80.snappy:snappy:jar:0.4:compile, org.tukaani:xz:jar:1.8:runtime, org.codehaus.plexus:plexus-cipher:jar:2.0:compile, org.eclipse.platform:org.eclipse.osgi:jar:3.17.0:compile, org.apache.maven:maven-compat:jar:3.8.2:compile, org.codehaus.plexus:plexus-interpolation:jar:1.25:compile, org.apache.maven.wagon:wagon-provider-api:jar:3.4.3:compile, org.eclipse.tycho:sisu-equinox-launching:jar:2.5.0:compile, org.apache.commons:commons-exec:jar:1.3:compile, org.eclipse.tycho:org.eclipse.tycho.surefire.osgibooter:jar:2.5.0:runtime, org.eclipse.tycho:org.eclipse.tycho.surefire.junit:jar:2.5.0:runtime, org.eclipse.tycho:org.eclipse.tycho.surefire.junit4:jar:2.5.0:runtime, org.eclipse.tycho:org.eclipse.tycho.surefire.junit47:jar:2.5.0:runtime, org.eclipse.tycho:org.eclipse.tycho.surefire.junit5:jar:2.5.0:runtime, org.eclipse.tycho:org.eclipse.tycho.surefire.junit54:jar:2.5.0:runtime, org.eclipse.tycho:org.eclipse.tycho.surefire.junit55:jar:2.5.0:runtime, org.eclipse.tycho:org.eclipse.tycho.surefire.junit56:jar:2.5.0:runtime, org.eclipse.tycho:org.eclipse.tycho.surefire.junit57:jar:2.5.0:runtime, org.eclipse.tycho:org.eclipse.tycho.surefire.testng:jar:2.5.0:runtime, org.apache.maven.surefire:surefire-api:jar:2.22.2:compile, org.apache.maven.surefire:surefire-logger-api:jar:2.22.2:compile, org.codehaus.plexus:plexus-component-annotations:jar:2.1.0:compile, org.apache.maven.surefire:maven-surefire-common:jar:2.22.2:compile, org.apache.maven.surefire:surefire-booter:jar:2.22.2:compile, org.apache.maven:maven-plugin-descriptor:jar:2.2.1:compile, org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile, classworlds:classworlds:jar:1.1-alpha-2:compile, org.apache.maven:maven-project:jar:2.2.1:compile, org.apache.maven:maven-profile:jar:2.2.1:compile, org.apache.maven:maven-artifact-manager:jar:2.2.1:compile, backport-util-concurrent:backport-util-concurrent:jar:3.1:compile, org.apache.maven:maven-plugin-registry:jar:2.2.1:compile, org.apache.maven:maven-toolchain:jar:2.2.1:compile, org.codehaus.plexus:plexus-java:jar:0.9.10:compile, org.ow2.asm:asm:jar:6.2:compile, com.thoughtworks.qdox:qdox:jar:2.0-M8:compile]
[DEBUG]   (f) printBundles = false
[DEBUG]   (f) profileName = DefaultProfile
[DEBUG]   (f) project = MavenProject: org.faktorips:org.faktorips.devtools.core.refactor.test:22.6.0-SNAPSHOT @ /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/pom.xml
[DEBUG]   (f) redirectTestOutputToFile = false
[DEBUG]   (f) reportsDirectory = /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/surefire-reports
[DEBUG]   (f) rerunFailingTestsCount = 0
[DEBUG]   (f) runOrder = filesystem
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@2bdd4505
[DEBUG]   (f) showEclipseLog = false
[DEBUG]   (f) skipAfterFailureCount = 0
[DEBUG]   (f) surefireProperties = /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/surefire.properties
[DEBUG]   (f) testClassesDirectory = /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/classes
[DEBUG]   (f) testFailureIgnore = true
[DEBUG]   (f) testRuntime = default
[DEBUG]   (f) trimStackTrace = true
[DEBUG]   (f) useJDK = BREE
[DEBUG]   (f) useUIHarness = false
[DEBUG]   (f) useUIThread = true
[DEBUG]   (f) useUnlimitedThreads = false
[DEBUG]   (f) work = /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work
[DEBUG] -- end configuration --
[DEBUG] Using test framework provider org.eclipse.tycho.surefire.provider.impl.JUnit4Provider
[DEBUG] Expanding: /Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.debug/3.19.0.v20211112-1303/org.eclipse.jdt.debug-3.19.0.v20211112-1303.jar into /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/plugins/org.eclipse.jdt.debug_3.19.0.v20211112-1303
[DEBUG] expand complete
[DEBUG] Installation OSGI bundles:
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.osgi.util/3.6.100.v20210723-1119/org.eclipse.osgi.util-3.6.100.v20210723-1119.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.osgi.services/3.10.200.v20210723-0643/org.eclipse.osgi.services-3.10.200.v20210723-0643.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/com.google.guava/30.1.0.v20210127-2300/com.google.guava-30.1.0.v20210127-2300.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/com.ibm.icu/67.1.0.v20200706-1749/com.ibm.icu-67.1.0.v20200706-1749.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/com.opencsv/3.3.0/com.opencsv-3.3.0.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.commons.lang3/3.4.0/org.apache.commons.lang3-3.4.0.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/com.sun.activation.javax.activation/1.2.0/com.sun.activation.javax.activation-1.2.0.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/com.sun.jna/5.8.0.v20210503-0343/com.sun.jna-5.8.0.v20210503-0343.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/com.sun.jna.platform/5.8.0.v20210406-1004/com.sun.jna.platform-5.8.0.v20210406-1004.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/com.sun.xml.bind.jaxb-osgi/2.4.0.b180830_0438/com.sun.xml.bind.jaxb-osgi-2.4.0.b180830_0438.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/jaxb-api/2.4.0.b1808300359/jaxb-api-2.4.0.b1808300359.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/javax.annotation/1.3.5.v20200909-1856/javax.annotation-1.3.5.v20200909-1856.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.batik.constants/1.14.0.v20210324-0332/org.apache.batik.constants-1.14.0.v20210324-0332.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.batik.css/1.14.0.v20210324-0332/org.apache.batik.css-1.14.0.v20210324-0332.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.batik.util/1.14.0.v20210324-0332/org.apache.batik.util-1.14.0.v20210324-0332.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.batik.i18n/1.14.0.v20210324-0332/org.apache.batik.i18n-1.14.0.v20210324-0332.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.xmlgraphics/2.6.0.v20210409-0748/org.apache.xmlgraphics-2.6.0.v20210409-0748.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.w3c.dom.svg/1.1.0.v201011041433/org.w3c.dom.svg-1.1.0.v201011041433.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.w3c.dom.events/3.0.0.draft20060413_v201105210656/org.w3c.dom.events-3.0.0.draft20060413_v201105210656.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.w3c.css.sac/1.3.1.v200903091627/org.w3c.css.sac-1.3.1.v200903091627.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.commons.collections/3.2.1/org.apache.commons.collections-3.2.1.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.commons.io/2.8.0.v20210415-0900/org.apache.commons.io-2.8.0.v20210415-0900.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.commons.logging/1.2.0.v20180409-1502/org.apache.commons.logging-1.2.0.v20180409-1502.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.felix.scr/2.1.24.v20200924-1939/org.apache.felix.scr-2.1.24.v20200924-1939.jar@1:start
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.bouncycastle.bcpg/1.69.0.v20210713-1924/org.bouncycastle.bcpg-1.69.0.v20210713-1924.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.bouncycastle.bcprov/1.69.0.v20210923-1401/org.bouncycastle.bcprov-1.69.0.v20210923-1401.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.compare/3.8.200.v20210910-1335/org.eclipse.compare-3.8.200.v20210910-1335.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui/3.200.0.v20211026-0701/org.eclipse.ui-3.200.0.v20211026-0701.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.resources/3.16.0.v20211001-2032/org.eclipse.core.resources-3.16.0.v20211001-2032.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.jface.text/3.19.0.v20211026-2100/org.eclipse.jface.text-3.19.0.v20211026-2100.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide/3.18.400.v20211026-0701/org.eclipse.ui.ide-3.18.400.v20211026-0701.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.views/3.11.100.v20210816-0811/org.eclipse.ui.views-3.11.100.v20210816-0811.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench.texteditor/3.16.300.v20211119-1032/org.eclipse.ui.workbench.texteditor-3.16.300.v20211119-1032.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.runtime/3.24.0.v20210910-0750/org.eclipse.core.runtime-3.24.0.v20210910-0750.jar@4:start
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.expressions/3.8.100.v20210910-0640/org.eclipse.core.expressions-3.8.100.v20210910-0640.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.editors/3.14.300.v20210913-0815/org.eclipse.ui.editors-3.14.300.v20210913-0815.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.forms/3.11.300.v20211022-1451/org.eclipse.ui.forms-3.11.300.v20211022-1451.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.compare.core/3.6.1000.v20201020-1107/org.eclipse.compare.core-3.6.1000.v20201020-1107.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.commands/3.10.100.v20210722-1426/org.eclipse.core.commands-3.10.100.v20210722-1426.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.common/3.15.100.v20211021-1418/org.eclipse.equinox.common-3.15.100.v20211021-1418.jar@2:start
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.contenttype/3.8.100.v20210910-0640/org.eclipse.core.contenttype-3.8.100.v20210910-0640.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.preferences/3.9.100.v20211021-1418/org.eclipse.equinox.preferences-3.9.100.v20211021-1418.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.registry/3.11.100.v20211021-1418/org.eclipse.equinox.registry-3.11.100.v20211021-1418.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.databinding/1.10.100.v20200926-1123/org.eclipse.core.databinding-1.10.100.v20200926-1123.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.databinding.observable/1.11.0.v20210722-1426/org.eclipse.core.databinding.observable-1.11.0.v20210722-1426.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.databinding.property/1.9.0.v20210619-1129/org.eclipse.core.databinding.property-1.9.0.v20210619-1129.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.filebuffers/3.7.100.v20210909-1906/org.eclipse.core.filebuffers-3.7.100.v20210909-1906.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.text/3.12.0.v20210512-1644/org.eclipse.text-3.12.0.v20210512-1644.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.filesystem/1.9.200.v20210912-1851/org.eclipse.core.filesystem-1.9.200.v20210912-1851.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.jobs/3.12.0.v20210723-1034/org.eclipse.core.jobs-3.12.0.v20210723-1034.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.net/1.3.1100.v20210424-0724/org.eclipse.core.net-1.3.1100.v20210424-0724.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.security/1.3.800.v20211021-1418/org.eclipse.equinox.security-1.3.800.v20211021-1418.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.app/1.6.100.v20211021-1418/org.eclipse.equinox.app-1.6.100.v20211021-1418.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.core.variables/3.5.100.v20210721-1355/org.eclipse.core.variables-3.5.100.v20210721-1355.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.debug.core/3.18.300.v20211117-1829/org.eclipse.debug.core-3.18.300.v20211117-1829.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.debug.ui/3.15.200.v20211108-1752/org.eclipse.debug.ui-3.15.200.v20211108-1752.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.console/3.11.100.v20210721-1355/org.eclipse.ui.console-3.11.100.v20210721-1355.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.help/3.9.100.v20210721-0601/org.eclipse.help-3.9.100.v20210721-0601.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.jface/3.24.0.v20211110-1517/org.eclipse.jface-3.24.0.v20211110-1517.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.workbench/3.124.0.v20211116-0651/org.eclipse.ui.workbench-3.124.0.v20211116-0651.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.services/1.5.0.v20210115-1333/org.eclipse.e4.ui.services-1.5.0.v20210115-1333.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.draw2d/3.10.100.201606061308/org.eclipse.draw2d-3.10.100.201606061308.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.swt/3.118.0.v20211123-0851/org.eclipse.swt-3.118.0.v20211123-0851.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.core.commands/1.0.0.v20210507-1901/org.eclipse.e4.core.commands-1.0.0.v20210507-1901.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.core.di/1.8.100.v20210910-0640/org.eclipse.e4.core.di-1.8.100.v20210910-0640.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/javax.inject/1.0.0.v20091030/javax.inject-1.0.0.v20091030.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.core.contexts/1.9.100.v20211011-1349/org.eclipse.e4.core.contexts-1.9.100.v20211011-1349.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.core.services/2.3.100.v20210910-0640/org.eclipse.e4.core.services-2.3.100.v20210910-0640.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.core.di.annotations/1.7.100.v20210910-0640/org.eclipse.e4.core.di.annotations-1.7.100.v20210910-0640.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.core.di.extensions/0.17.100.v20210910-0640/org.eclipse.e4.core.di.extensions-0.17.100.v20210910-0640.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.core.di.extensions.supplier/0.16.200.v20210910-0640/org.eclipse.e4.core.di.extensions.supplier-0.16.200.v20210910-0640.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.emf.xpath/0.3.0.v20210722-1426/org.eclipse.e4.emf.xpath-0.3.0.v20210722-1426.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.commons.jxpath/1.3.0.v200911051830/org.apache.commons.jxpath-1.3.0.v200911051830.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.emf.ecore/2.25.0.v20210816-0937/org.eclipse.emf.ecore-2.25.0.v20210816-0937.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.bindings/0.13.100.v20210722-1426/org.eclipse.e4.ui.bindings-0.13.100.v20210722-1426.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.css.core/0.13.200.v20211022-1402/org.eclipse.e4.ui.css.core-0.13.200.v20211022-1402.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.css.swt/0.14.400.v20211026-1534/org.eclipse.e4.ui.css.swt-0.14.400.v20211026-1534.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.css.swt.theme/0.13.0.v20201026-1147/org.eclipse.e4.ui.css.swt.theme-0.13.0.v20201026-1147.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.di/1.4.0.v20210621-1133/org.eclipse.e4.ui.di-1.4.0.v20210621-1133.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.dialogs/1.3.100.v20211103-1334/org.eclipse.e4.ui.dialogs-1.3.100.v20211103-1334.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.ide/3.16.0.v20210625-1251/org.eclipse.e4.ui.ide-3.16.0.v20210625-1251.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.model.workbench/2.2.0.v20210727-1533/org.eclipse.e4.ui.model.workbench-2.2.0.v20210727-1533.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.event/1.6.100.v20211021-1418/org.eclipse.equinox.event-1.6.100.v20211021-1418.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.widgets/1.3.0.v20210621-1136/org.eclipse.e4.ui.widgets-1.3.0.v20210621-1136.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.workbench/1.13.100.v20211019-0756/org.eclipse.e4.ui.workbench-1.13.100.v20211019-0756.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.emf.ecore.change/2.14.0.v20190528-0725/org.eclipse.emf.ecore.change-2.14.0.v20190528-0725.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.emf.ecore.xmi/2.16.0.v20190528-0725/org.eclipse.emf.ecore.xmi-2.16.0.v20190528-0725.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.workbench.addons.swt/1.4.400.v20211102-0453/org.eclipse.e4.ui.workbench.addons.swt-1.4.400.v20211102-0453.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.workbench.renderers.swt/0.15.300.v20211102-1716/org.eclipse.e4.ui.workbench.renderers.swt-0.15.300.v20211102-1716.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.workbench.swt/0.16.300.v20211102-0939/org.eclipse.e4.ui.workbench.swt-0.16.300.v20211102-0939.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.jface.databinding/1.13.0.v20210619-1146/org.eclipse.jface.databinding-1.13.0.v20210619-1146.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.e4.ui.workbench3/0.16.0.v20210619-0956/org.eclipse.e4.ui.workbench3-0.16.0.v20210619-0956.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.urischeme/1.2.100.v20211001-1648/org.eclipse.urischeme-1.2.100.v20211001-1648.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.emf.common/2.23.0.v20210924-1718/org.eclipse.emf.common-2.23.0.v20210924-1718.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.bidi/1.4.100.v20211021-1418/org.eclipse.equinox.bidi-1.4.100.v20211021-1418.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.6.400.v20210924-0641/org.eclipse.equinox.launcher-1.6.400.v20210924-0641.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.p2.artifact.repository/1.4.300.v20211104-1311/org.eclipse.equinox.p2.artifact.repository-1.4.300.v20211104-1311.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.p2.metadata/2.6.100.v20210813-0606/org.eclipse.equinox.p2.metadata-2.6.100.v20210813-0606.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.tukaani.xz/1.9.0.v20210624-1259/org.tukaani.xz-1.9.0.v20210624-1259.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.p2.core/2.8.100.v20210908-0659/org.eclipse.equinox.p2.core-2.8.100.v20210908-0659.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.p2.jarprocessor/1.2.100.v20210907-0854/org.eclipse.equinox.p2.jarprocessor-1.2.100.v20210907-0854.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.p2.repository/2.5.300.v20211006-1229/org.eclipse.equinox.p2.repository-2.5.300.v20211006-1229.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.p2.engine/2.7.200.v20211104-1616/org.eclipse.equinox.p2.engine-2.7.200.v20211104-1616.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.p2.metadata.repository/1.4.0.v20210315-2228/org.eclipse.equinox.p2.metadata.repository-1.4.0.v20210315-2228.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.gef/3.11.0.201606061308/org.eclipse.gef-3.11.0.201606061308.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.core/3.28.0.v20211117-1416/org.eclipse.jdt.core-3.28.0.v20211117-1416.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.core.manipulation/1.15.100.v20211115-1252/org.eclipse.jdt.core.manipulation-1.15.100.v20211115-1252.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ltk.core.refactoring/3.12.100.v20210926-1112/org.eclipse.ltk.core.refactoring-3.12.100.v20210926-1112.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.launching/3.19.400.v20211011-0920/org.eclipse.jdt.launching-3.19.400.v20211011-0920.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/plugins/org.eclipse.jdt.debug_3.19.0.v20211112-1303
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.jdt.ui/3.25.0.v20211115-1252/org.eclipse.jdt.ui-3.25.0.v20211115-1252.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.search/3.14.0.v20211108-0804/org.eclipse.search-3.14.0.v20211108-0804.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.team.ui/3.9.100.v20210721-1306/org.eclipse.team.ui-3.9.100.v20210721-1306.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.team.core/3.9.200.v20211013-1022/org.eclipse.team.core-3.9.200.v20211013-1022.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ltk.ui.refactoring/3.12.0.v20210618-1953/org.eclipse.ltk.ui.refactoring-3.12.0.v20210618-1953.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.navigator/3.10.200.v20211009-1706/org.eclipse.ui.navigator-3.10.200.v20211009-1706.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.navigator.resources/3.8.300.v20210914-2004/org.eclipse.ui.navigator.resources-3.8.300.v20210914-2004.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.jface.notifications/0.4.0.v20211004-0555/org.eclipse.jface.notifications-0.4.0.v20211004-0555.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.swt.win32.win32.x86_64/3.118.0.v20211123-0851/org.eclipse.swt.win32.win32.x86_64-3.118.0.v20211123-0851.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.ide.application/1.4.200.v20211026-0701/org.eclipse.ui.ide.application-1.4.200.v20211026-0701.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.ui.views.properties.tabbed/3.9.100.v20201223-1348/org.eclipse.ui.views.properties.tabbed-3.9.100.v20201223-1348.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.xtend.lib/2.25.0.v20210301-0821/org.eclipse.xtend.lib-2.25.0.v20210301-0821.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.xtext.xbase.lib/2.25.0.v20210301-0821/org.eclipse.xtext.xbase.lib-2.25.0.v20210301-0821.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.xtend.lib.macro/2.25.0.v20210301-0821/org.eclipse.xtend.lib.macro-2.25.0.v20210301-0821.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.abstracttest/target/org.faktorips.abstracttest-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.devtools.model/target/org.faktorips.devtools.model-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.testsupport/target/org.faktorips.testsupport-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.apache.commons.lang/2.6.0/org.apache.commons.lang-2.6.0.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.hamcrest.core/1.3.0.zz-NO-SPLIT_PCK-v201303031735/org.hamcrest.core-1.3.0.zz-NO-SPLIT_PCK-v201303031735.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.junit/4.13.2.v20211018-1956/org.junit-4.13.2.v20211018-1956.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.mockito.mockito-core/1.9.5/org.mockito.mockito-core-1.9.5.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.abstracttest.core/target/org.faktorips.abstracttest.core-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.devtools.core/target/org.faktorips.devtools.core-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.eclipse.emf.codegen/target/org.faktorips.eclipse.emf.codegen-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.devtools.model.builder/target/org.faktorips.devtools.model.builder-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor/target/org.faktorips.devtools.core.refactor-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.devtools.stdbuilder/target/org.faktorips.devtools.stdbuilder-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.fl/target/org.faktorips.fl-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.util/target/org.faktorips.util-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.dtflcommon/target/org.faktorips.dtflcommon-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.valuetypes/target/org.faktorips.valuetypes-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.runtime/target/org.faktorips.runtime-22.6.0-SNAPSHOT.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/spotbugs-annotations/4.2.0/spotbugs-annotations-4.2.0.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.objenesis/1.4.0/org.objenesis-1.4.0.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.w3c.dom.smil/1.0.1.v200903091627/org.w3c.dom.smil-1.0.1.v200903091627.jar
[DEBUG]     reference:file:/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.swt.gtk.linux.x86_64/3.118.0.v20211123-0851/org.eclipse.swt.gtk.linux.x86_64-3.118.0.v20211123-0851.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.swt.cocoa.macosx.x86_64/3.118.0.v20211123-0851/org.eclipse.swt.cocoa.macosx.x86_64-3.118.0.v20211123-0851.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.surefire.osgibooter/2.5.0/org.eclipse.tycho.surefire.osgibooter-2.5.0.jar
[DEBUG]     reference:file:/Users/admin/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.surefire.junit4/2.5.0/org.eclipse.tycho.surefire.junit4-2.5.0.jar
[DEBUG] Toolchain JDK[/opt/jdk-8u312b07] doesn't match required property: id
[INFO] Toolchain in tycho-surefire-plugin: JDK[/opt/jdk-11.0.13+8/Contents/Home]
[INFO] Executing Test Runtime with timeout 0, logs (if any) will be placed at: /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/data/.metadata/.log
[INFO] Command line:
    [/opt/jdk-11.0.13+8/Contents/Home/bin/java, -Dosgi.noShutdown=false, -Dosgi.os=macosx, -Dosgi.ws=cocoa, -Dosgi.arch=x86_64, -javaagent:/Users/admin/.m2/repository/org/jacoco/org.jacoco.agent/0.8.7/org.jacoco.agent-0.8.7-runtime.jar=destfile=/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/jacoco.exec, -Xms256m, -Xmx512m, -XX:+AggressiveOpts, -XstartOnFirstThread, -Dosgi.clean=true, -jar, /Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.6.400.v20210924-0641/org.eclipse.equinox.launcher-1.6.400.v20210924-0641.jar, -debug, -consolelog, -data, /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/data, -install, /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work, -configuration, /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/configuration, -application, org.eclipse.tycho.surefire.osgibooter.headlesstest, -testproperties, /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/surefire.properties]
Configuration location:
    file:/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/configuration/
Configuration file:
    file:/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/configuration/config.ini loaded
Install location:
    file:/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/
Framework located:
    file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.osgi/3.17.100.v20211104-1730/org.eclipse.osgi-3.17.100.v20211104-1730.jar
Framework classpath:
    file:/Users/admin/.m2/repository/p2/osgi/bundle/org.eclipse.osgi/3.17.100.v20211104-1730/org.eclipse.osgi-3.17.100.v20211104-1730.jar
Debug options:
    file:/Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/.options not found
Time to load bundles: 945
Starting application: 4077
Running org.faktorips.devtools.core.refactor.RefactoringParticipantHelperTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.342 s - in org.faktorips.devtools.core.refactor.RefactoringParticipantHelperTest
testInitializeNonIpsElement(org.faktorips.devtools.core.refactor.RefactoringParticipantHelperTest)  Time elapsed: 1.656 s
testInitializeNoStandardBuilderSetGiven(org.faktorips.devtools.core.refactor.RefactoringParticipantHelperTest)  Time elapsed: 0.21 s
testInitializeIpsObjectPartContainer_targetsRemembered(org.faktorips.devtools.core.refactor.RefactoringParticipantHelperTest)  Time elapsed: 0.204 s
testInitializeIpsObjectPartContainer(org.faktorips.devtools.core.refactor.RefactoringParticipantHelperTest)  Time elapsed: 0.15 s
Running org.faktorips.devtools.core.refactor.PullUpRefactoringParticipantTest
!SESSION 2022-01-27 10:18:05.887 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.13
java.vendor=Eclipse Adoptium
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=de_AT
Framework arguments:  -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/surefire.properties
Command-line arguments:  -debug -consolelog -data /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/work/data -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties /Users/admin/git/faktorips.base/org.faktorips.devtools.core.refactor.test/target/surefire.properties

!ENTRY org.faktorips.eclipse.emf.codegen 2 0 2022-01-27 10:18:16.151
!MESSAGE A problem was detected while parsing a Java file
    Line 13: Syntax error, annotations are only available if source level is 1.5 or greater
    Line 14: Syntax error, annotations are only available if source level is 1.5 or greater
    Line 15: Syntax error, annotations are only available if source level is 1.5 or greater
    Line 16: Syntax error, annotations are only available if source level is 1.5 or greaterpackage org.faktorips.sample.model;
import org.faktorips.sample.model.internal.SourcePolicy;
import org.faktorips.runtime.model.annotation.IpsPublishedInterface;
import org.faktorips.runtime.model.annotation.IpsPolicyCmptType;
import org.faktorips.runtime.model.annotation.IpsConfiguredBy;
import org.faktorips.runtime.model.annotation.IpsDocumented;

 /**
 * Published Interface for SourcePolicy. 
 *
 * @generated
 */
 @IpsPublishedInterface(implementation = SourcePolicy.class)
 @IpsPolicyCmptType(name = "SourcePolicy")
 @IpsConfiguredBy(ISourceProduct.class)
 @IpsDocumented(bundleName = "org.faktorips.sample.model.productdef-label-and-descriptions", defaultLocale = "de")
 public interface ISourcePolicy  extends ITargetPolicy 
     {
... A lot of java code ...

!ENTRY org.eclipse.core.resources 4 2 2022-01-27 10:18:16.520
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 1
org.eclipse.core.runtime.CoreException: Build Results
    at org.faktorips.devtools.model.builder.IpsBuilder.build(IpsBuilder.java:159)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:853)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:232)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:281)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:334)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:337)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:296)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:488)
    at org.eclipse.core.internal.resources.Project$1.run(Project.java:565)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:603)
    at org.eclipse.core.internal.resources.Project.build(Project.java:116)
    at org.faktorips.abstracttest.AbstractIpsPluginTest.performFullBuild(AbstractIpsPluginTest.java:1396)
    at org.faktorips.devtools.core.refactor.PullUpRefactoringParticipantTest.performTestPullUpProductCmptTypeAttribute(PullUpRefactoringParticipantTest.java:148)
    at org.faktorips.devtools.core.refactor.PullUpRefactoringParticipantTest.testPullUpProductCmptTypeAttribute(PullUpRefactoringParticipantTest.java:102)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
    at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
    at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
    at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
    at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
    at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
    at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:206)
    at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:161)
    at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:84)
    at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:128)
    at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:23)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
Contains: Build Results
Contains: PolicyCmptClassBuilder: Error during: Build file 129c8deb-5a9e-4c1c-90e8-9ac4bb5b2df4/productdef//SourcePolicy.ipspolicycmpttype.
org.eclipse.core.runtime.CoreException: Can't create JDT Compilation Unit for the new generated Java source: L/129c8deb-5a9e-4c1c-90e8-9ac4bb5b2df4/src/org/faktorips/sample/model/ISourcePolicy.java
    at org.faktorips.devtools.model.builder.java.JavaSourceFileBuilder.merge(JavaSourceFileBuilder.java:905)
    at org.faktorips.devtools.model.builder.java.JavaSourceFileBuilder.build(JavaSourceFileBuilder.java:727)
    at org.faktorips.devtools.model.builder.IpsBuilder$BuildArtefactBuildCommand.build(IpsBuilder.java:922)
    at org.faktorips.devtools.model.builder.IpsBuilder.applyBuildCommand(IpsBuilder.java:370)
    at org.faktorips.devtools.model.builder.IpsBuilder.buildIpsSrcFile(IpsBuilder.java:746)
    at org.faktorips.devtools.model.builder.IpsBuilder.fullBuild(IpsBuilder.java:454)
    at org.faktorips.devtools.model.builder.IpsBuilder.build(IpsBuilder.java:141)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:853)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:232)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:281)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:334)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:337)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:296)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:488)
    at org.eclipse.core.internal.resources.Project$1.run(Project.java:565)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:603)
    at org.eclipse.core.internal.resources.Project.build(Project.java:116)
    at org.faktorips.abstracttest.AbstractIpsPluginTest.performFullBuild(AbstractIpsPluginTest.java:1396)
    at org.faktorips.devtools.core.refactor.PullUpRefactoringParticipantTest.performTestPullUpProductCmptTypeAttribute(PullUpRefactoringParticipantTest.java:148)
    at org.faktorips.devtools.core.refactor.PullUpRefactoringParticipantTest.testPullUpProductCmptTypeAttribute(PullUpRefactoringParticipantTest.java:102)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
    at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
    at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
    at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
    at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
    at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
    at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
    at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:206)
    at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:161)
    at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:84)
    at org.eclipse.tycho.surefire.osgibooter.OsgiSurefireBooter.run(OsgiSurefireBooter.java:128)
    at org.eclipse.tycho.surefire.osgibooter.HeadlessTestApplication.start(HeadlessTestApplication.java:23)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1467)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1440)
Caused by: org.eclipse.emf.common.util.WrappedException: org.eclipse.emf.common.util.DiagnosticException: A problem was detected while parsing a Java file
    at org.eclipse.emf.codegen.merge.java.facade.ast.ASTFacadeHelper.createCompilationUnit(ASTFacadeHelper.java:191)
    at org.eclipse.emf.codegen.merge.java.facade.ast.ASTFacadeHelper.createCompilationUnit(ASTFacadeHelper.java:1)
    at org.eclipse.emf.codegen.merge.java.JMerger.createCompilationUnitForContents(JMerger.java:316)
    at org.faktorips.devtools.model.builder.java.JavaSourceFileBuilder.merge(JavaSourceFileBuilder.java:903)
    ... 70 more
Caused by: org.eclipse.emf.common.util.DiagnosticException: A problem was detected while parsing a Java file
    ... 74 more
Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 3.564 s <<< FAILURE! - in org.faktorips.devtools.core.refactor.PullUpRefactoringParticipantTest
testPullUpProductCmptTypeAttribute(org.faktorips.devtools.core.refactor.PullUpRefactoringParticipantTest)  Time elapsed: 1.382 s  <<< ERROR!
org.eclipse.core.internal.resources.ResourceException: Errors occurred during the build.
    at org.faktorips.devtools.core.refactor.PullUpRefactoringParticipantTest.performTestPullUpProductCmptTypeAttribute(PullUpRefactoringParticipantTest.java:148)
    at org.faktorips.devtools.core.refactor.PullUpRefactoringParticipantTest.testPullUpProductCmptTypeAttribute(PullUpRefactoringParticipantTest.java:102)

Complete log: tycho.surefire.log.zip

laeubi commented 2 years ago

@hookyAt can you debug this and provide a patch? I don't have a mac at hand for development/testing. I think this could also be the cause for this one:

hookyAt commented 2 years ago

@laeubi I can try. Maybe you can point me in the right direction. OSGI is still a wondrous thing for me.

laeubi commented 2 years ago

As a first step you can cehckout tycho sourceode and start maven with mvnDebug clean install then set a breakpoint in the TychoSurefireMojo and see what happens (or not happens) regarding copy the files on windows versus what happens on mac.

Beside that you can try to create a minimal reproducer project that shows the issue so we can take a look at a live example.

laeubi commented 2 years ago

Missing file and settings from org.eclipse.jdt.core.prefs

https://github.com/eclipse/tycho/blob/cacd9e88ab04b9cc5f8c068f9ada022bead63cac/tycho-compiler-plugin/src/main/java/org/eclipse/tycho/compiler/AbstractOsgiCompilerMojo.java#L558-L572

Are you seeing an error that the compiler settings could not be found during the build?

hookyAt commented 2 years ago

Actually no. It finds and uses the expected settings.

[DEBUG] Manifest BREEs: [OSGi profile 'JavaSE-11' { source level: 11, target level: 11}]
[DEBUG] Target Platform EE: OSGi profile 'JavaSE-11' { source level: 11, target level: 11}
[DEBUG] Effective source/target: 11/11
[DEBUG] Using compiler 'jdt'.

The only thing is, an eclipse-test-plugin only runs org.eclipse.tycho:tycho-compiler-plugin:2.5.0:compile. While an eclipse-plugin runs both org.eclipse.tycho:tycho-compiler-plugin:2.5.0:compile and org.eclipse.tycho:tycho-compiler-plugin:2.5.0:testCompile But that is the same behavior on linux and mac.

hookyAt commented 2 years ago

So I finally managed to build a small example and debug it on Linux. What I see is, the file target/work/data/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jdt.core.prefs is created in the execute Method of AbstractTestMojo#runTest:

private void runTest(EquinoxInstallation testRuntime) throws MojoExecutionException, MojoFailureException {
        int result;
        File logFile = new File(osgiDataDirectory, ".metadata/.log");
        LaunchConfiguration cli;
        try {
            if (deleteOsgiDataDirectory) {
                FileUtils.deleteDirectory(osgiDataDirectory);
            }
            cli = createCommandLine(testRuntime);
            getLog().info("Executing Test Runtime with timeout " + forkedProcessTimeoutInSeconds
                    + ", logs (if any) will be placed at: " + logFile.getAbsolutePath());
            result = launcher.execute(cli, forkedProcessTimeoutInSeconds);
        } catch (Exception e) {
            throw new MojoExecutionException("Error while executing platform", e);
        }

So I debugged the EquinoxLauncher or more specific the OsgiSurefireBooter#run And again the file is crated in the invokeProvider method which delegates to the maven surefire plugin.

RunResult result = ProviderFactory.invokeProvider(null, createCombinedClassLoader(testPlugin), reporterFactory,
                providerConfiguration, false, startupConfiguration, true);

So I would say this is not a Tycho Bug, but somewhere in osgi or equinox. Who else would unpack prefs files in a directory called .metadata/.plugins/org.eclipse.core.runtime/.settings?

laeubi commented 2 years ago

@hookyAt maybe the https://accounts.eclipse.org/mailing-list/equinox-dev would be a good place to ask for help on this then.