Hi,
The following is the list of features and their calculated qualifiers by Tycho
Feature | Qualifier | Plugin/Feature responsible for qualifier calculation | Commit timestamp (link to commit) | Gerrit merge timestamp |
org.eclipse.equinox.core.sdk | 3.23.0.v20210322-2306 | org.eclipse.equinox.security.linux | 2021-03-22 23:06:58 +0000 (link) | 2021-03-24 07:36 +0000 |
org.eclipse.equinox.sdk (includes org.eclipse.equinox.core.sdk) | 3.23.0.v20210323-0848 | org.eclipse.equinox.serverside.sdk | | |
org.eclipse.equinox.serverside.sdk | 3.23.0.v20210323-0848 | org.eclipse.equinox.server.core | | |
org.eclipse.equinox.server.core | 1.14.200.v20210323-0848 | org.eclipse.core.jobs | 2021-03-23 08:48:21 +0000 (link) | 2021-03-23 08:48:21 +0000 |
The problem here is chronologically org.eclipse.equinox.security.linux is committed first. But it was not merged to repository till 1 day after org.eclipse.core.jobs has been merged.
We did have a build after change for org.eclipse.core.jobs has been merged. This resulted in a org.eclipse.equinox.sdk_3.23.0.v20210323-0848.jar from yesterday’s build. Since the change for org.eclipse.equinox.security.linux has earlier commit time stamp, the calculated qualifier for org.eclipse.equinox.sdk Did not change. This resulted in comparator throwing away newly built feature and replacing with older feature jar(which did not have change for org.eclipse.equinox.security.linux) causing this specific error
Need some ideas on how to avoid this situation in future. This is quite common problem and causes frustration(took almost 3 hours for me to do this analysis) for release engineers.
Thanks
Sravan
From: Andrey Loskutov <loskutov@xxxxxx>
Sent: 24 March 2021 17:52
To: platform-releng-dev@xxxxxxxxxxx
Subject: [EXTERNAL] Re: [platform-releng-dev] 4.20 I-Build: I20210324-0320 - BUILD FAILED
Some equinox build failure, probably due changes for bug 572196?
equinox-sdk 4.20.0-SNAPSHOT ........................ FAILURE
13:15:20 [INFO] --- tycho-p2-repository-plugin:2.3.0-SNAPSHOT:assemble-repository (default-assemble-repository) @ equinox-sdk ---
13:15:20 [INFO] {osgi.os=linux, osgi.ws=gtk, org.eclipse.update.install.features=true, osgi.arch=x86_64}
13:15:20 [ERROR] Cannot resolve project dependencies:
13:15:20 [ERROR] Software being installed: org.eclipse.equinox.sdk.product 4.20.0.qualifier
13:15:20 [ERROR] Missing requirement: org.eclipse.equinox.sdk.feature.group 3.23.0.v20210323-0848 requires 'org.eclipse.equinox.p2.iu; org.eclipse.equinox.core.sdk.feature.group [3.23.0.v20210316-1341,3.23.0.v20210316-1341]' but it could not be found
13:15:20 [ERROR] Cannot satisfy dependency: org.eclipse.equinox.sdk.product 4.20.0.qualifier depends on: org.eclipse.equinox.p2.iu; org.eclipse.equinox.sdk.feature.group 0.0.0
_______________________________________________
platform-releng-dev mailing list
platform-releng-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-releng-dev