Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local SDK build on tag I20240314-1800 fails #1911

Closed
iloveeclipse opened this issue Mar 15, 2024 · 17 comments
Closed

Local SDK build on tag I20240314-1800 fails #1911

iloveeclipse opened this issue Mar 15, 2024 · 17 comments
Labels
bug Something isn't working

Comments

@iloveeclipse
Copy link
Member

My local SDK build on tag I20240314-1800 fails (tried two times with maven 3.9.2 / 3.9.6).
Last successful build was last Friday at tag I20240307-1800.

It seems something is wrong either with SWT or with org.eclipse.equinox.p2.tests but I don't see why should it work on master and not on my local build (which is essentially same but just in a different environment).

This seem to be the root cause:

[ERROR]   Missing requirement for filter properties ~= $0: org.eclipse.swt 3.126.0.v20240313-1227 requires 'org.eclipse.equinox.p2.iu; org.eclipse.swt.gtk.linux.x86_64 [3.126.0.v20240313-1227,3.126.0.v20240313-1227], filter=(&(osgi.arch=x86_64)(osgi.os=linux)(osgi.ws=gtk)(!(org.eclipse.swt.buildtime=true)))' but it could not be found

So it seems SWT Linux fragment can't be found matching SWT version. I don't understand why, the fragment seem to be built:

[INFO] ----------< org.eclipse.swt:org.eclipse.swt.gtk.linux.x86_64 >----------
[INFO] Building [bundle] Standard Widget Toolkit for GTK 3.126.0-SNAPSHOT [41/521]
[INFO]   from eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/.polyglot.META-INF
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[INFO] Resolving target definition file:/data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.releng.prereqs.sdk/eclipse-sdk-prereqs.target for environments=[linux/gtk/x86_64], include source mode=honor, referenced repository mode =ignore, execution environment=StandardEEResolutionHints [executionEnvironment=OSGi profile 'JavaSE-17' { source level: 17, target level: 17}], remote p2 repository options=org.eclipse.tycho.p2maven.DefaultProvisioningAgent@3517e6a4
[INFO] Resolving MavenDependencyRoots = [GroupId = com.google.code.gson, ArtifactId = gson, Version = 2.10.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = com.ibm.icu, ArtifactId = icu4j, Version = 74.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = commons-fileupload, ArtifactId = commons-fileupload, Version = 1.5, ArtifactType = jar, IncludeDependencyScope = , GroupId = commons-io, ArtifactId = commons-io, Version = 2.15.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = commons-lang, ArtifactId = commons-lang, Version = 2.6, ArtifactType = jar, IncludeDependencyScope = , GroupId = commons-logging, ArtifactId = commons-logging, Version = 1.3.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = net.java.dev.jna, ArtifactId = jna-platform, Version = 5.14.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.apache.aries.spifly, ArtifactId = org.apache.aries.spifly.dynamic.bundle, Version = 1.3.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.apache.sshd, ArtifactId = sshd-osgi, Version = 2.12.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.bouncycastle, ArtifactId = bcpg-jdk18on, Version = 1.77, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.bouncycastle, ArtifactId = bcprov-jdk18on, Version = 1.77, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.hamcrest, ArtifactId = hamcrest, Version = 2.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.jsoup, ArtifactId = jsoup, Version = 1.17.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.ow2.sat4j, ArtifactId = org.ow2.sat4j.core, Version = 2.3.6, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.ow2.sat4j, ArtifactId = org.ow2.sat4j.pb, Version = 2.3.6, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.slf4j, ArtifactId = slf4j-api, Version = 2.0.12, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.slf4j, ArtifactId = slf4j-simple, Version = 2.0.12, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.tukaani, ArtifactId = xz, Version = 1.9, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Resolving MavenDependencyRoots = [GroupId = jakarta.el, ArtifactId = jakarta.el-api, Version = 3.0.3, ArtifactType = jar, IncludeDependencyScope = , GroupId = jakarta.servlet, ArtifactId = jakarta.servlet-api, Version = 4.0.4, ArtifactType = jar, IncludeDependencyScope = , GroupId = javax.servlet.jsp, ArtifactId = javax.servlet.jsp-api, Version = 2.3.3, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty.ee8, ArtifactId = jetty-ee8-apache-jsp, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty.ee8, ArtifactId = jetty-ee8-nested, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty.ee8, ArtifactId = jetty-ee8-security, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty.ee8, ArtifactId = jetty-ee8-servlet, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty.toolchain, ArtifactId = jetty-servlet-api, Version = 4.0.6, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty, ArtifactId = jetty-http, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty, ArtifactId = jetty-io, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty, ArtifactId = jetty-security, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty, ArtifactId = jetty-server, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty, ArtifactId = jetty-session, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty, ArtifactId = jetty-util-ajax, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.eclipse.jetty, ArtifactId = jetty-util, Version = 12.0.7, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.glassfish, ArtifactId = jakarta.el, Version = 3.0.4, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.mortbay.jasper, ArtifactId = apache-el, Version = 9.0.83.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.mortbay.jasper, ArtifactId = apache-jsp, Version = 9.0.83.1, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Resolving MavenDependencyRoots = [GroupId = net.bytebuddy, ArtifactId = byte-buddy-agent, Version = 1.14.12, ArtifactType = jar, IncludeDependencyScope = , GroupId = net.bytebuddy, ArtifactId = byte-buddy, Version = 1.14.12, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.assertj, ArtifactId = assertj-core, Version = 3.25.3, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.mockito, ArtifactId = mockito-core, Version = 5.11.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.objenesis, ArtifactId = objenesis, Version = 3.3, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Resolving MavenDependencyRoots = [GroupId = org.ow2.asm, ArtifactId = asm-analysis, Version = 9.6, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.ow2.asm, ArtifactId = asm-commons, Version = 9.6, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.ow2.asm, ArtifactId = asm-tree, Version = 9.6, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.ow2.asm, ArtifactId = asm-util, Version = 9.6, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.ow2.asm, ArtifactId = asm, Version = 9.6, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Resolving MavenDependencyRoots = [GroupId = org.osgi, ArtifactId = org.osgi.annotation.bundle, Version = 2.0.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.annotation.versioning, Version = 1.1.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.cm, Version = 1.6.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.component.annotations, Version = 1.5.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.component, Version = 1.5.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.coordinator, Version = 1.0.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.device, Version = 1.1.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.event, Version = 1.4.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.http.whiteboard, Version = 1.1.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.log.stream, Version = 1.0.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.metatype.annotations, Version = 1.4.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.metatype, Version = 1.4.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.prefs, Version = 1.1.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.provisioning, Version = 1.2.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.repository, Version = 1.1.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.upnp, Version = 1.2.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.useradmin, Version = 1.1.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.service.wireadmin, Version = 1.0.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.util.function, Version = 1.2.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.util.measurement, Version = 1.0.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.util.position, Version = 1.0.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.util.promise, Version = 1.3.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.util.pushstream, Version = 1.1.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.osgi, ArtifactId = org.osgi.util.xml, Version = 1.0.2, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Resolving MavenDependencyRoots = [GroupId = biz.aQute.bnd, ArtifactId = biz.aQute.bnd.annotation, Version = 7.0.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = biz.aQute.bnd, ArtifactId = biz.aQute.bnd.embedded-repo, Version = 7.0.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = biz.aQute.bnd, ArtifactId = biz.aQute.bnd.util, Version = 7.0.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = biz.aQute.bnd, ArtifactId = biz.aQute.bndlib, Version = 7.0.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = biz.aQute.bnd, ArtifactId = biz.aQute.repository, Version = 7.0.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = biz.aQute.bnd, ArtifactId = biz.aQute.resolve, Version = 7.0.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.bndtools, ArtifactId = org.bndtools.templates.template, Version = 7.0.0, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.bndtools, ArtifactId = org.bndtools.templating, Version = 7.0.0, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Resolving MavenDependencyRoots = [GroupId = org.apache.felix, ArtifactId = org.apache.felix.gogo.command, Version = 1.1.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.apache.felix, ArtifactId = org.apache.felix.gogo.runtime, Version = 1.1.6, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.apache.felix, ArtifactId = org.apache.felix.gogo.shell, Version = 1.1.4, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.apache.felix, ArtifactId = org.apache.felix.scr, Version = 2.2.10, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Resolving MavenDependencyRoots = [GroupId = org.apiguardian, ArtifactId = apiguardian-api, Version = 1.1.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.jupiter, ArtifactId = junit-jupiter-api, Version = 5.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.jupiter, ArtifactId = junit-jupiter-engine, Version = 5.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.jupiter, ArtifactId = junit-jupiter-migrationsupport, Version = 5.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.jupiter, ArtifactId = junit-jupiter-params, Version = 5.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.platform, ArtifactId = junit-platform-commons, Version = 1.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.platform, ArtifactId = junit-platform-engine, Version = 1.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.platform, ArtifactId = junit-platform-launcher, Version = 1.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.platform, ArtifactId = junit-platform-runner, Version = 1.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.platform, ArtifactId = junit-platform-suite-api, Version = 1.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.platform, ArtifactId = junit-platform-suite-commons, Version = 1.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.platform, ArtifactId = junit-platform-suite-engine, Version = 1.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.junit.vintage, ArtifactId = junit-vintage-engine, Version = 5.10.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = org.opentest4j, ArtifactId = opentest4j, Version = 1.3.0, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] Resolving MavenDependencyRoots = [GroupId = commons-beanutils, ArtifactId = commons-beanutils, Version = 1.9.4, ArtifactType = jar, IncludeDependencyScope = , GroupId = commons-collections, ArtifactId = commons-collections, Version = 3.2.2, ArtifactType = jar, IncludeDependencyScope = , GroupId = commons-jxpath, ArtifactId = commons-jxpath, Version = 1.3, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = IGNORE, IncludeSource = true
[INFO] Resolving MavenDependencyRoots = [GroupId = jakarta.activation, ArtifactId = jakarta.activation-api, Version = 2.1.3, ArtifactType = jar, IncludeDependencyScope = , GroupId = jakarta.annotation, ArtifactId = jakarta.annotation-api, Version = 1.3.5, ArtifactType = jar, IncludeDependencyScope = , GroupId = jakarta.annotation, ArtifactId = jakarta.annotation-api, Version = 2.1.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = jakarta.inject, ArtifactId = jakarta.inject-api, Version = 1.0.5, ArtifactType = jar, IncludeDependencyScope = , GroupId = jakarta.inject, ArtifactId = jakarta.inject-api, Version = 2.0.1, ArtifactType = jar, IncludeDependencyScope = , GroupId = jakarta.xml.bind, ArtifactId = jakarta.xml.bind-api, Version = 4.0.2, ArtifactType = jar, IncludeDependencyScope = ], IncludeDependencyScope = [compile], MissingManifestStrategy = ERROR, IncludeSource = true
[INFO] 
[INFO] --- clean:3.3.2:clean (default-clean) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- tycho-packaging:4.0.7-SNAPSHOT:build-qualifier (default-build-qualifier) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] The project's OSGi version is 3.126.0.v20240313-1127
[INFO] 
[INFO] --- tycho-packaging:4.0.7-SNAPSHOT:validate-id (default-validate-id) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- tycho-packaging:4.0.7-SNAPSHOT:validate-version (default-validate-version) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- resources:3.3.1:copy-resources (saveproperties) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] skip non existing resourceDirectory /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/saveproperties
[INFO] 
[INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- target-platform-configuration:4.0.7-SNAPSHOT:target-platform (default-target-platform) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- tycho-compiler:4.0.7-SNAPSHOT:validate-classpath (default-validate-classpath) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] Resolving class path of [bundle] Standard Widget Toolkit for GTK
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] skip non existing resourceDirectory /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/src/main/resources
[INFO] 
[INFO] --- resources:3.3.1:resources (filter-resources) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] skip non existing resourceDirectory /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/src/main/resources
[INFO] 
[INFO] --- antrun:3.1.0:run (build-native-binaries) @ org.eclipse.swt.gtk.linux.x86_64 ---
...
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] 
[INFO] --- tycho-compiler:4.0.7-SNAPSHOT:compile (default-compile) @ org.eclipse.swt.gtk.linux.x86_64 ---
[WARNING] useJDK=BREE configured, but no BREE is set in bundle. Fail back to currently running execution environment (JavaSE-17).
[INFO] Compiling 452 source files to /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/target/classes using Eclipse Compiler for Java(TM) 3.38.0.v20240314-1517
...
17 problems (17 warnings)
[INFO] 
[INFO] --- tycho-bnd:4.0.7-SNAPSHOT:process (default-process) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- tycho-ds:4.0.7-SNAPSHOT:declarative-services (default-declarative-services) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- tycho-apitools:4.0.7-SNAPSHOT:generate (generate) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] skip non existing resourceDirectory /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/src/test/resources
[INFO] 
[INFO] --- tycho-compiler:4.0.7-SNAPSHOT:testCompile (default-testCompile) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- tycho-packaging:4.0.7-SNAPSHOT:update-consumer-pom (default-update-consumer-pom) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- tycho-source:4.0.7-SNAPSHOT:plugin-source (plugin-source) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] Building jar: /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/target/org.eclipse.swt.gtk.linux.x86_64-3.126.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] --- tycho-packaging:4.0.7-SNAPSHOT:package-plugin (default-package-plugin) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] Building jar: /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/target/org.eclipse.swt.gtk.linux.x86_64-3.126.0-SNAPSHOT.jar
[INFO] 
[INFO] --- tycho-p2:4.0.7-SNAPSHOT:p2-metadata-default (default-p2-metadata-default) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] No baseline version org.eclipse.swt:org.eclipse.swt.gtk.linux.x86_64:eclipse-plugin:3.126.0-SNAPSHOT
[INFO] 
[INFO] --- antrun:3.1.0:run (package-swt-download-zip) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] Executing tasks
[INFO]     [mkdir] Created dir: /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/target/swtdownload-temp/swtdownload
[INFO]      [copy] Copying 41 files to /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/target/swtdownload-temp/@dot.src
[INFO]      [copy] Copying 1 file to /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/target/swtdownload-temp/swtdownload
[INFO]       [jar] Updating jar: /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/target/swtdownload-temp/swtdownload/swt.jar
[INFO]       [zip] Building zip: /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/target/swtdownload-temp/swtdownload/src.zip
[INFO]       [zip] library/build.sh already added, skipping
[INFO]       [zip] Building zip: /data/4x_platform/eclipse.platform.releng.aggregator/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.linux.x86_64/target/swt-I20240315-1215-gtk-linux-x86_64.zip
[INFO] Executed tasks
[INFO] 
[INFO] --- tycho-p2-extras:4.0.7-SNAPSHOT:compare-version-with-baselines (compare-attached-artifacts-with-release) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] Execution was skipped
[INFO] 
[INFO] --------< org.eclipse.swt:org.eclipse.swt.cocoa.macosx.aarch64 >--------

Here the end of the maven log:

[INFO] --- tycho-p2-director:4.0.7-SNAPSHOT:materialize-products (materialize-products) @ org.eclipse.equinox.p2.tests ---
[INFO] {osgi.os=linux, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true, osgi.ws=gtk, org.eclipse.jdt.buildtime=true}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.eclipse.equinox.p2.tests 1.9.300.qualifier
[ERROR]   Missing requirement for filter properties ~= $0: org.eclipse.swt 3.126.0.v20240313-1227 requires 'org.eclipse.equinox.p2.iu; org.eclipse.swt.gtk.linux.x86_64 [3.126.0.v20240313-1227,3.126.0.v20240313-1227], filter=(&(osgi.arch=x86_64)(osgi.os=linux)(osgi.ws=gtk)(!(org.eclipse.swt.buildtime=true)))' but it could not be found
[ERROR]   Cannot satisfy dependency: org.eclipse.equinox.p2.installer 1.4.200.v20240201-0843 depends on: osgi.bundle; org.eclipse.swt 0.0.0
[ERROR]   Cannot satisfy dependency: org.eclipse.equinox.p2.tests 1.9.300.qualifier depends on: osgi.bundle; org.eclipse.equinox.p2.installer [1.0.0,2.0.0)
[ERROR] 
[ERROR] See https://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] eclipse-platform-parent 4.32.0-SNAPSHOT ............ SUCCESS [  0.189 s]
[INFO] eclipse-sdk-prereqs 4.32.0-SNAPSHOT ................ SUCCESS [  0.016 s]
[INFO] eclipse jdt 4.32.0-SNAPSHOT ........................ SUCCESS [  0.008 s]
[INFO] parent 4.32.0-SNAPSHOT ............................. SUCCESS [  0.029 s]
[INFO] org.eclipse.osgi 3.19.100-SNAPSHOT ................. SUCCESS [01:02 min]
[INFO] [bundle] OSGi service http APIs 1.2.2-SNAPSHOT ..... SUCCESS [  0.715 s]
[INFO] [bundle] OSGi Release 4.2.0 Services 3.12.0-SNAPSHOT SUCCESS [  1.241 s]
[INFO] [bundle] Http Services Servlet 1.8.100-SNAPSHOT .... SUCCESS [  1.894 s]
[INFO] [bundle] Jetty Http Service 3.9.100-SNAPSHOT ....... SUCCESS [  1.787 s]
[INFO] [bundle] Supplemental Equinox Functionality 1.10.800-SNAPSHOT SUCCESS [  1.329 s]
[INFO] [bundle] Common Eclipse Runtime 3.19.0-SNAPSHOT .... SUCCESS [  1.669 s]
[INFO] eclipse.platform 4.32.0-SNAPSHOT ................... SUCCESS [  0.005 s]
[INFO] eclipse.platform.runtime 4.32.0-SNAPSHOT ........... SUCCESS [  0.003 s]
[INFO] [aggregator] bundles 4.32.0-SNAPSHOT ............... SUCCESS [  0.004 s]
[INFO] [bundle] Eclipse Jobs Mechanism 3.15.200-SNAPSHOT .. SUCCESS [  0.895 s]
[INFO] [bundle] Extension Registry Support 3.12.100-SNAPSHOT SUCCESS [  1.293 s]
[INFO] [bundle] Eclipse Preferences Mechanism 3.11.0-SNAPSHOT SUCCESS [  0.957 s]
[INFO] [bundle] Eclipse Content Mechanism 3.9.300-SNAPSHOT  SUCCESS [  0.824 s]
[INFO] [bundle] Equinox Application Container 1.7.0-SNAPSHOT SUCCESS [  0.795 s]
[INFO] [bundle] Core Runtime 3.31.0-SNAPSHOT .............. SUCCESS [  0.698 s]
[INFO] org.eclipse.equinox.security 1.4.200-SNAPSHOT ...... SUCCESS [  0.930 s]
[INFO] eclipse.platform.team 4.32.0-SNAPSHOT .............. SUCCESS [  0.004 s]
[INFO] [aggregator] bundles 4.32.0-SNAPSHOT ............... SUCCESS [  0.003 s]
[INFO] [bundle] Internet Connection Management 1.5.300-SNAPSHOT SUCCESS [  0.594 s]
[INFO] eclipse.platform.debug 4.32.0-SNAPSHOT ............. SUCCESS [  0.005 s]
[INFO] [bundle] Core Variables 3.6.300-SNAPSHOT ........... SUCCESS [  0.498 s]
[INFO] [bundle] Ant Build Tool Core 3.7.300-SNAPSHOT ...... SUCCESS [  1.164 s]
[INFO] [bundle] Expression Language 3.9.300-SNAPSHOT ...... SUCCESS [  0.691 s]
[INFO] eclipse.platform.ua 4.32.0-SNAPSHOT ................ SUCCESS [  0.003 s]
[INFO] org.eclipse.help 3.10.300-SNAPSHOT ................. SUCCESS [  1.453 s]
[INFO] org.eclipse.help.base 4.4.400-SNAPSHOT ............. SUCCESS [  4.289 s]
[INFO] [bundle] Eclipse Dependency Injection Annotations 1.8.300-SNAPSHOT SUCCESS [  0.538 s]
[INFO] [bundle] Eclipse Dependency Injection 1.9.300-SNAPSHOT SUCCESS [  0.913 s]
[INFO] [bundle] Bidirectional Text Support 1.5.0-SNAPSHOT . SUCCESS [  0.644 s]
[INFO] eclipse.platform.ui 4.32.0-SNAPSHOT ................ SUCCESS [  0.003 s]
[INFO] [aggregator] bundles 4.32.0-SNAPSHOT ............... SUCCESS [  0.003 s]
[INFO] [bundle] Commands 3.12.0-SNAPSHOT .................. SUCCESS [  1.143 s]
[INFO] eclipse.platform.swt 4.32.0-SNAPSHOT ............... SUCCESS [  0.004 s]
[INFO] org.eclipse.swt 3.126.0-SNAPSHOT ................... SUCCESS [  5.279 s]
[INFO] eclipse.platform.swt.binaries 4.32.0-SNAPSHOT ...... SUCCESS [  0.003 s]
[INFO] [bundle] Standard Widget Toolkit for GTK 3.126.0-SNAPSHOT SUCCESS [ 14.442 s]
[INFO] [bundle] Standard Widget Toolkit for Mac OS X (Cocoa) AARCH64 3.126.0-SNAPSHOT SUCCESS [ 11.059 s]
[INFO] [bundle] Standard Widget Toolkit for GTK 3.126.0-SNAPSHOT SUCCESS [ 10.994 s]
[INFO] [bundle] Standard Widget Toolkit for GTK 3.126.0-SNAPSHOT SUCCESS [  9.772 s]
[INFO] [bundle] Standard Widget Toolkit for Windows 3.126.0-SNAPSHOT SUCCESS [ 10.951 s]
[INFO] [bundle] Standard Widget Toolkit for Mac OS X (Cocoa) 3.126.0-SNAPSHOT SUCCESS [  9.348 s]

...

[INFO] org.eclipse.equinox.p2.tests 1.9.300-SNAPSHOT ...... FAILURE [ 15.229 s]
[INFO] [test-bundle] Equinox Provisioning Discovery Tests 1.4.400-SNAPSHOT SKIPPED
[INFO] [test-bundle] Equinox Provisioning Tests (Incubation) 1.4.300-SNAPSHOT SKIPPED
[INFO] [bundle] p2 Admin UI 1.3.300-SNAPSHOT .............. SKIPPED
[INFO] [bundle] Provisioning Admin UI RCP (Incubation) 1.4.100-SNAPSHOT SKIPPED
[INFO] [feature] p2 Server Feature 1.12.1200-SNAPSHOT ..... SKIPPED
[INFO] [feature] Equinox p2, SDK 3.11.2300-SNAPSHOT ....... SKIPPED
[INFO] org.eclipse.equinox.p2.examples 4.32.0-SNAPSHOT .... SKIPPED
[INFO] [bundle] RCP Mail (Cloud Update Example) 2.3.100-SNAPSHOT SKIPPED
[INFO] [bundle] Prestartupdate 1.3.100-SNAPSHOT ........... SKIPPED
[INFO] [bundle] Sdkbundlevisibility 1.3.100-SNAPSHOT ...... SKIPPED
[INFO] [bundle] Sdknoautoupdates 1.3.100-SNAPSHOT ......... SKIPPED
[INFO] [bundle] RCP Mail (SDK UI) 1.3.100-SNAPSHOT ........ SKIPPED
[INFO] org.eclipse.ant.optional.junit 3.3.400-SNAPSHOT .... SKIPPED
[INFO] org.eclipse.releng.tests 3.6.400-SNAPSHOT .......... SKIPPED
[INFO] org.eclipse.sdk.examples 4.32.0-SNAPSHOT ........... SKIPPED
[INFO] org.eclipse.sdk.tests 4.32.0-SNAPSHOT .............. SKIPPED
[INFO] org.eclipse.test 3.6.0-SNAPSHOT .................... SKIPPED
[INFO] org.eclipse.test.performance.win32 3.1.600-SNAPSHOT  SKIPPED
[INFO] org.eclipse.sdk.feature 4.32.0-SNAPSHOT ............ SKIPPED
[INFO] org.eclipse.sdk.examples.feature 4.32.0-SNAPSHOT ... SKIPPED
[INFO] org.eclipse.test.feature 3.8.900-SNAPSHOT .......... SKIPPED
[INFO] org.eclipse.sdk.tests.feature 4.32.0-SNAPSHOT ...... SKIPPED
[INFO] eclipse.platform.releng.tychoeclipsebuilder 4.32.0-SNAPSHOT SKIPPED
[INFO] [feature] Eclipse Product Configuration 1.1.2300-SNAPSHOT SKIPPED
[INFO] org.eclipse.rt.osgistarterkit.product 4.32.0-SNAPSHOT SKIPPED
[INFO] equinox-sdk 4.32.0-SNAPSHOT ........................ SKIPPED
[INFO] eclipse-junit-tests 4.32.0-SNAPSHOT ................ SKIPPED
[INFO] eclipse.platform.repository 4.32.0-SNAPSHOT ........ SKIPPED
[INFO] platform-aggregator 4.32.0-SNAPSHOT ................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21:49 min
[INFO] Finished at: 2024-03-15T13:37:31+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:4.0.7-SNAPSHOT:materialize-products (materialize-products) on project org.eclipse.equinox.p2.tests: Cannot resolve dependencies of project org.eclipse.platform:org.eclipse.equinox.p2.tests:eclipse-test-plugin:1.9.300-SNAPSHOT
[ERROR]  with context {osgi.os=linux, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true, osgi.ws=gtk, org.eclipse.jdt.buildtime=true}
[ERROR]   Software being installed: org.eclipse.equinox.p2.tests 1.9.300.qualifier
[ERROR]   Missing requirement for filter properties ~= $0: org.eclipse.swt 3.126.0.v20240313-1227 requires 'org.eclipse.equinox.p2.iu; org.eclipse.swt.gtk.linux.x86_64 [3.126.0.v20240313-1227,3.126.0.v20240313-1227], filter=(&(osgi.arch=x86_64)(osgi.os=linux)(osgi.ws=gtk)(!(org.eclipse.swt.buildtime=true)))' but it could not be found
[ERROR]   Cannot satisfy dependency: org.eclipse.equinox.p2.installer 1.4.200.v20240201-0843 depends on: osgi.bundle; org.eclipse.swt 0.0.0
[ERROR]   Cannot satisfy dependency: org.eclipse.equinox.p2.tests 1.9.300.qualifier depends on: osgi.bundle; org.eclipse.equinox.p2.installer [1.0.0,2.0.0): See log for details
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-director-plugin:4.0.7-SNAPSHOT:materialize-products (materialize-products) on project org.eclipse.equinox.p2.tests: Cannot resolve dependencies of project org.eclipse.platform:org.eclipse.equinox.p2.tests:eclipse-test-plugin:1.9.300-SNAPSHOT
 with context {osgi.os=linux, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true, osgi.ws=gtk, org.eclipse.jdt.buildtime=true}
  Software being installed: org.eclipse.equinox.p2.tests 1.9.300.qualifier
  Missing requirement for filter properties ~= $0: org.eclipse.swt 3.126.0.v20240313-1227 requires 'org.eclipse.equinox.p2.iu; org.eclipse.swt.gtk.linux.x86_64 [3.126.0.v20240313-1227,3.126.0.v20240313-1227], filter=(&(osgi.arch=x86_64)(osgi.os=linux)(osgi.ws=gtk)(!(org.eclipse.swt.buildtime=true)))' but it could not be found
  Cannot satisfy dependency: org.eclipse.equinox.p2.installer 1.4.200.v20240201-0843 depends on: osgi.bundle; org.eclipse.swt 0.0.0
  Cannot satisfy dependency: org.eclipse.equinox.p2.tests 1.9.300.qualifier depends on: osgi.bundle; org.eclipse.equinox.p2.installer [1.0.0,2.0.0)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: org.apache.maven.plugin.MojoFailureException: Cannot resolve dependencies of project org.eclipse.platform:org.eclipse.equinox.p2.tests:eclipse-test-plugin:1.9.300-SNAPSHOT
 with context {osgi.os=linux, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true, osgi.ws=gtk, org.eclipse.jdt.buildtime=true}
  Software being installed: org.eclipse.equinox.p2.tests 1.9.300.qualifier
  Missing requirement for filter properties ~= $0: org.eclipse.swt 3.126.0.v20240313-1227 requires 'org.eclipse.equinox.p2.iu; org.eclipse.swt.gtk.linux.x86_64 [3.126.0.v20240313-1227,3.126.0.v20240313-1227], filter=(&(osgi.arch=x86_64)(osgi.os=linux)(osgi.ws=gtk)(!(org.eclipse.swt.buildtime=true)))' but it could not be found
  Cannot satisfy dependency: org.eclipse.equinox.p2.installer 1.4.200.v20240201-0843 depends on: osgi.bundle; org.eclipse.swt 0.0.0
  Cannot satisfy dependency: org.eclipse.equinox.p2.tests 1.9.300.qualifier depends on: osgi.bundle; org.eclipse.equinox.p2.installer [1.0.0,2.0.0)
    at org.eclipse.tycho.p2tools.RepositoryReferenceTool.addTargetPlatformRepository (RepositoryReferenceTool.java:165)
    at org.eclipse.tycho.p2tools.RepositoryReferenceTool.getVisibleRepositories (RepositoryReferenceTool.java:108)
    at org.eclipse.tycho.plugins.p2.director.MaterializeProductsMojo.getTargetPlatformRepositories (MaterializeProductsMojo.java:252)
    at org.eclipse.tycho.plugins.p2.director.MaterializeProductsMojo.getSourceRepositories (MaterializeProductsMojo.java:235)
    at org.eclipse.tycho.plugins.p2.director.MaterializeProductsMojo.execute (MaterializeProductsMojo.java:139)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
Caused by: org.eclipse.tycho.p2.resolver.ResolverException: See log for details
    at org.eclipse.tycho.p2resolver.ProjectorResolutionStrategy.resolve (ProjectorResolutionStrategy.java:119)
    at org.eclipse.tycho.p2resolver.AbstractResolutionStrategy.resolve (AbstractResolutionStrategy.java:55)
    at org.eclipse.tycho.p2resolver.P2ResolverImpl.resolveDependencies (P2ResolverImpl.java:231)
    at org.eclipse.tycho.p2resolver.P2ResolverImpl.resolveTargetDependencies (P2ResolverImpl.java:124)
    at org.eclipse.tycho.p2resolver.P2DependencyResolver.doResolveDependencies (P2DependencyResolver.java:378)
    at org.eclipse.tycho.p2resolver.P2DependencyResolver.resolveDependencies (P2DependencyResolver.java:328)
    at org.eclipse.tycho.p2tools.RepositoryReferenceTool.addTargetPlatformRepository (RepositoryReferenceTool.java:133)
    at org.eclipse.tycho.p2tools.RepositoryReferenceTool.getVisibleRepositories (RepositoryReferenceTool.java:108)
    at org.eclipse.tycho.plugins.p2.director.MaterializeProductsMojo.getTargetPlatformRepositories (MaterializeProductsMojo.java:252)
    at org.eclipse.tycho.plugins.p2.director.MaterializeProductsMojo.getSourceRepositories (MaterializeProductsMojo.java:235)
    at org.eclipse.tycho.plugins.p2.director.MaterializeProductsMojo.execute (MaterializeProductsMojo.java:139)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:126)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:328)
    at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174)
    at org.apache.maven.lifecycle.internal.MojoExecutor.access$000 (MojoExecutor.java:75)
    at org.apache.maven.lifecycle.internal.MojoExecutor$1.run (MojoExecutor.java:162)
    at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute (DefaultMojosExecutionStrategy.java:39)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:159)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:105)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:73)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:53)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:118)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:261)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:173)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:101)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:906)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:283)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:206)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:568)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:283)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:226)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
[ERROR] 
[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 <args> -rf :org.eclipse.equinox.p2.tests
@iloveeclipse iloveeclipse added the bug Something isn't working label Mar 15, 2024
@iloveeclipse
Copy link
Member Author

@laeubi , @HannesWell : any idea why local SDK build would fail now with this error?

I always run SDK build on Friday locally that is used for internal product tests to find regressions on master.
It used to work since years in (mostly) same configuration (sometimes maven or Java version need an update, but the rest is unchanged / automated).

@sravanlakkimsetti
Copy link
Member

sravanlakkimsetti commented Mar 15, 2024

@iloveeclipse Based on my past experience I can say this is a comparator problem. Comparator has replaced newly built org.eclipse.swt with one from 4.32-I-builds repository.

Here are my observations
Fully qualified version for org.eclipse.swt.gtk.linux.x86_64 is 3.126.0.v20240313-1127. But org.eclipse.swt requires version 3.126.0.v20240313-1227.

I think the root cause in the calculation of git timestamp. You are getting 20240313-1127 instead of 20240313-1227. Based on the 1 hour in time stamp difference I am guessing this may be caused by DST change at the start of this week.

As far as I remember the qualifier used to be calculated based on UTC timestamp. I may be worth investigating why the DST is being taken into account now.

The qualifier calculation is done in tycho plugin tycho-packaging:4.0.7-SNAPSHOT:build-qualifier (default-build-qualifier)

@sravanlakkimsetti
Copy link
Member

More information

The commit used for calculating qualifier is eclipse-platform/eclipse.platform.swt@9f206d8.
UTC timestamp for this is 20240314-1227
The question here is why the qualifier is calculated as 20240314-1127

@iloveeclipse
Copy link
Member Author

@sravanlakkimsetti : many thanks! I haven't noticed 1 hour version difference at all!

I think the root cause in the calculation of git timestamp. You are getting 20240313-1127 instead of 20240313-1227. Based on the 1 hour in time stamp difference I am guessing this may be caused by DST change at the start of this week.

@HannesWell, @laeubi : could you please check whether tycho or SWT should be fixed here?
It sounds like SWT build or tycho (or both if it is always tycho) use unsafe ways to compute manifest version based on git timestamp, based not on UTC time as mentioned by Sravan:

As far as I remember the qualifier used to be calculated based on UTC timestamp.
I may be worth investigating why the DST is being taken into account now.

See here, I was running this build in Germany where DST change not happened yet:

[INFO] --- clean:3.3.2:clean (default-clean) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] 
[INFO] --- tycho-packaging:4.0.7-SNAPSHOT:build-qualifier (default-build-qualifier) @ org.eclipse.swt.gtk.linux.x86_64 ---
[INFO] The project's OSGi version is 3.126.0.v20240313-1127
[INFO] 

@laeubi
Copy link
Contributor

laeubi commented Mar 18, 2024

As far as I know JGit is used here where the commit time is used I can't see we have any influence on the timezone there and it should be GMT based, at least I don't see how Tycho can influence it:

https://github.com/eclipse-tycho/tycho/blob/d6366adf73b9028fb192a550e4bef2950700791a/tycho-buildtimestamp-jgit/src/main/java/org/eclipse/tycho/extras/buildtimestamp/jgit/JGitBuildTimestampProvider.java#L205

then it uses a datetimeformat:
https://tycho.eclipseprojects.io/doc/latest/tycho-packaging-plugin/build-qualifier-mojo.html#format

and internally we force that to use UTC as well:
https://github.com/eclipse-tycho/tycho/blob/d6366adf73b9028fb192a550e4bef2950700791a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java#L147

@iloveeclipse
Copy link
Member Author

OK, so that below is what tycho does?

Date date = new Date(commit.getCommitTime() * 1000L);
String formatString = ???
SimpleDateFormat format = new SimpleDateFormat(formatString);
format.setTimeZone(TimeZone.getTimeZone("UTC"));

I've quickly checked org.eclipse.jgit.revwalk.RevCommit.commitTime but it seem not to be changed recently and seem not to handle with Dates in any way, just raw git data.
With that, somewhere in the chain above JGit the date was changed.
Where are Date and Format above combined?
Who prints wrong version The project's OSGi version is 3.126.0.v20240313-1127 ?
@laeubi : Can you track back from where it is coming?

@laeubi
Copy link
Contributor

laeubi commented Mar 18, 2024

The message is printed when the mojo is executed:
https://github.com/eclipse-tycho/tycho/blob/d6366adf73b9028fb192a550e4bef2950700791a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/BuildQualifierMojo.java#L157

If you have a failing build you can run it with mvnDebug (instead of mvn), then checkout the Tycho 4.x branch and import that single project (just ignore any compile errors you probably see), then put a breakpoint on that line and connect the debugger to the maven process you should then see the raw values before passed to any formatting or alike, maybe you need to configure the debug launch to include your project in the source lookup...

@iloveeclipse
Copy link
Member Author

@laeubi
Copy link
Contributor

laeubi commented Mar 18, 2024

I think its worth a try.

@iloveeclipse
Copy link
Member Author

I think its worth a try.

Could you try to do so? I simply don't have enough time / experience to build & debug Tycho & use SDK with that debug build.

@laeubi
Copy link
Contributor

laeubi commented Mar 18, 2024

Yes I'll take a look later on, just in case here is the simple way to build test:

  1. Build Tycho from root of repository: mvn clean install -T1C -DskipTests
  2. run the build with -Dtycho.version=4.0.7-SNAPSHOT (or -Dtycho.version=5.0.0-SNAPSHOT)

@iloveeclipse
Copy link
Member Author

  1. Build Tycho from root of repository: mvn clean install -T1C -DskipTests
  2. run the build with -Dtycho.version=4.0.7-SNAPSHOT (or -Dtycho.version=5.0.0-SNAPSHOT)

Seem to work.
The patch against tycho master is:

From 476dae62be001a1c311fad4b810959b3c8ec5134 Mon Sep 17 00:00:00 2001
From: Andrey Loskutov <[email protected]>
Date: Mon, 18 Mar 2024 10:57:56 +0100
Subject: [PATCH] Set UTC timezone for format to avoid wrong version used

See https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/issues/1911
---
 .../tycho/buildversion/FragmentHostBuildTimestampProvider.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/FragmentHostBuildTimestampProvider.java b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/FragmentHostBuildTimestampProvider.java
index e83a11f10..bcb284080 100644
--- a/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/FragmentHostBuildTimestampProvider.java
+++ b/tycho-packaging-plugin/src/main/java/org/eclipse/tycho/buildversion/FragmentHostBuildTimestampProvider.java
@@ -15,6 +15,7 @@ package org.eclipse.tycho.buildversion;
 import java.text.SimpleDateFormat;
 import java.util.Date;
 import java.util.Optional;
+import java.util.TimeZone;
 
 import org.apache.maven.execution.MavenSession;
 import org.apache.maven.plugin.MojoExecution;
@@ -77,6 +78,7 @@ public class FragmentHostBuildTimestampProvider implements BuildTimestampProvide
 										.getString(BuildQualifierMojo.PARAMETER_FORMAT);
 								SimpleDateFormat format = formatString.map(SimpleDateFormat::new)
 										.orElseGet(() -> new SimpleDateFormat(BuildQualifierMojo.DEFAULT_DATE_FORMAT));
+								format.setTimeZone(TimeZone.getTimeZone("UTC"));
 								Date date = timestampFinder.findByDescriptor(descriptor, format);
 								if (date != null) {
 									return date;
-- 
2.36.5

@iloveeclipse
Copy link
Member Author

@laeubi : could you please apply patch to tycho & deploy 4.0.7 snapshot, so SDK build could use it?

@laeubi
Copy link
Contributor

laeubi commented Mar 18, 2024

It is already on the train:

@iloveeclipse
Copy link
Member Author

iloveeclipse commented Mar 18, 2024

Perfect, thanks.
I will keep this one open till my next "regular" build is OK without patched tycho.

@akurtakov
Copy link
Member

What is the status here?

@iloveeclipse
Copy link
Member Author

Just built one without patching anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants