-
Notifications
You must be signed in to change notification settings - Fork 77
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
Mysterious comparator errors on org.eclipse.jdt.core.compiler.batch #1395
Comments
@laeubi : could you please check this? |
@iloveeclipse as far as I can see a released Tycho version is now used so you should not see any changes in Tycho Only thing I could think of would be that a changed compiler is used in the I-Build but the published repository is published by another step using "old" compiler but the full I-Build is kind of a mystery, is this visible also in the local build when one runs https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/ ? |
As far as I know the artifactcomparisons.zip & Co are only generated for eclipse.org I-builds / website publishing. |
If you specify |
To fail the build in case of errors |
As expected, we have comparator errors in https://download.eclipse.org/eclipse/downloads/drops4/I20230925-1800/ No zip file with diffs: https://download.eclipse.org/eclipse/downloads/drops4/I20230925-1800/buildlogs.php |
So how do I access the logfiles of the maven build? I tried https://download.eclipse.org/eclipse/downloads/drops4/I20230925-1800/ > "View the logs for the current build." but this seems to only cover test result logs. |
@iloveeclipse thanks, looking at the logs the problem is quite clear because the message is emitted at the phase where the compiler is build for the I-Build itself, I think at that stage we should simply disable the baseline replace check all together. |
Why did it work before? |
It seems now JDT produces a little bit different byte-code, so what happens is this:
|
How to reproduce:
|
Currently the baseline settings are hardcoded (and always override the platform parent configuration), this extract these into some properties that can be overridden from the commandline. This also adjust the Jenkinsfile to use this new way of selectively disable replace/compare of the baseline in case of building the compiler-compiler. See eclipse-platform/eclipse.platform.releng.aggregator#1395
@iloveeclipse this is a preliminary change required to fix the problem: |
one way to try workarounding the issue is:
Thinking more about it - it has to be done regardless of other fixes so all other builds use the new compiler not only the Ibuild. |
Here is the fix for ibuild when JDT changes are merged: |
Currently the baseline settings are hardcoded (and always override the platform parent configuration), this extract these into some properties that can be overridden from the commandline. This also adjust the Jenkinsfile to use this new way of selectively disable replace/compare of the baseline in case of building the compiler-compiler. See eclipse-platform/eclipse.platform.releng.aggregator#1395
@laeubi : thanks, I've merged both commits. Are we ready for new IBuild, or should we wait for regular one? |
There are also two Javadoc errors shown in releng tests that we could fix first. |
This should happen anyway after M1. Let us see if the two merged PRs fixed the issue. |
Yep: https://download.eclipse.org/eclipse/downloads/drops4/I20230926-0600/ |
Currently the baseline settings are hardcoded (and always override the platform parent configuration), this extract these into some properties that can be overridden from the commandline. This also adjust the Jenkinsfile to use this new way of selectively disable replace/compare of the baseline in case of building the compiler-compiler. See eclipse-platform/eclipse.platform.releng.aggregator#1395
Follow up on #1388
After "fixing" the original issue we've observed in https://download.eclipse.org/eclipse/downloads/drops4/I20230922-1800/buildlogs/comparatorlogs/buildtimeComparatorUnanticipated.log.txt, the next build was OK but one build after was reported as unstable for exact same reason:
https://download.eclipse.org/eclipse/downloads/drops4/I20230923-1800/buildlogs/comparatorlogs/buildtimeComparatorUnanticipated.log.txt
However there is no artifactcomparisons.zip generated / linked to https://download.eclipse.org/eclipse/downloads/drops4/I20230923-1800/buildlogs.php that would show bytecode diff.
I assume this is a tycho issue, may be related to the "special" way we build org.eclipse.jdt.core.compiler.batch bundle for #1203.
Note: very last SDK build was OK, but only because we had real changes on batch compiler.
So what we need is:
artifactcomparisons.zip
is generated fororg.eclipse.jdt.core.compiler.batch
ifbuildtimeComparatorUnanticipated.log.txt
The text was updated successfully, but these errors were encountered: