-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
xtend compile errors during releasebuild #672
Comments
Maybe it's solved when using version 2.17.0 instead? Xtend was upgraded with #650. |
My assumption when seeing In any case, @pfink, if you could re-run the build on the latest master with Xtend 2.17, it probably cannot hurt to check the results of that! |
#650 was already part of the build linked. Anyhow, 2.14 is still used at some places: https://github.com/openhab/openhab-core/search?q=%222.14%22&unscoped_q=%222.14%22 But this does not explain why maven still uses the 2.14 plugin (and thats probably the cause of the issue)... |
The bndrun files are not relevant for the build and I didn't see any pom file referencing 2.14... |
I executed I also verified again that I merged changes before the last build started... Merging happend Sunday, 17th March around 20 CET, build executor started to run around 2 AM the next day. Last but not least, I can't reproduce it locally anymore. Started a build again to verify it still occurs: https://ci.openhab.org/view/Sandbox/job/sandbox-openhab2-release/1027/console |
The Xtend compilation problem still exists, but at least Xtend 2.17 is used. |
FTR, the issue can now be reproduced on the official build: https://ci.openhab.org/view/Sandbox/job/sandbox-openhab2-release/1030/console. @pfink It would be interesting to know, what are the differences between this build and https://ci.openhab.org/job/openHAB-Core/. Should the same issue be reproducible by locally setting the project version of openhab-core to 2.5.0 and building it with an empty local Maven repo? |
If I do a local build of that project it also executes some goals of the build-helper-maven-plugin which don't show up in the Jenkins build. This is what I see on a local build:
|
Apparently it should run as part of the model-specific-profile which is activated based on the presence of |
Sorry, it seems like I made a mistake at my last attempt to reproduce it locally. Now I could reproduce it when executing the exact same steps as Jenkins. I tested against all differences now and finally found the cause: The unleash plugin injects the artifact-spy-plugin during the release process. When I skip this plugins injection, the build runs fine again. Fortunately, I guess that we don't need this plugin as we currently don't use the full unleash release cycle. The spy plugin is meant to capture all released artifacts to be able to upload the artifacts at the very end of the process (after bump to the next development version, tagging, ..). The unleash does this to be able to fully rollback the release process in case something goes wrong e.g. with dev version bump or tagging. But currently, we cannot use this feature anyway as I have to interrupt the unleash release cycle to do some extra steps in between like updating properties. I started a fresh build now which skips the spy plugin injection and hope that the whole process will completely work also without the spy plugin: https://ci.openhab.org/view/Sandbox/job/sandbox-openhab2-release/1032/ |
Great, could you create a PR to remove the usage of this plugin then? The build looks much better now, it is currently failing due to another problem, see https://github.com/openhab/openhab2-addons/pull/5194#issuecomment-476111204. |
fixes openhab/openhab-core#672 Signed-off-by: Patrick Fink <mail@pfink.de>
Currently, I try to get our releasebuild running again (see here) and I'm stuck at the following error:
[ERROR] Failed to execute goal org.eclipse.xtend:xtend-maven-plugin:2.14.0:compile (default) on project org.openhab.core.model.persistence: Error compiling xtend sources in '/var/jenkins_home/workspace/sandbox-openhab2-release/openhab-core/bundles/org.openhab.core.model.persistence/src'. -> [Help 1]
There are several compile errors like
Full Log: https://ci.openhab.org/view/Sandbox/job/sandbox-openhab2-release/1022/console
Does somebody has an idea how this can be fixed? @kaikreuzer mentioned that its probably caused by #467.
@maggu2810 Maybe you could take a look?
Thanks in advance!
The text was updated successfully, but these errors were encountered: