Discussion:
[tycho-dev] Builds failing possibly due to Tycho compiler
Jayaprakash Arthanareeswaran
2017-11-29 14:04:52 UTC
Permalink
_______________________________________________
tycho-dev mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-dev
SCHREIBER.Martin
2017-11-30 06:38:26 UTC
Permalink
Hi Jay,

is there an easy way to reproduce the issue locally? I cannot see the root cause in the build log, just the casting issue without any information where the problem exactly is

I tried to use Eclipse Installer to install the JDT development environment to get the latest JDT sources and build JDT locally, but that failed.

-martin

Von: tycho-dev-***@eclipse.org [mailto:tycho-dev-***@eclipse.org] Im Auftrag von Jayaprakash Arthanareeswaran
Gesendet: Mittwoch, 29. November 2017 15:05
An: tycho-***@eclipse.org; ***@sap.com
Betreff: [tycho-dev] Builds failing possibly due to Tycho compiler

Hi all,

Today when we upgraded the compiler, we ran into what we suspect to be a tycho issue, possibly same as bug 522279.
I have just reopened that bug. Can someone please take a look?

Bug 526545 has some details on the failure. Console here:

https://hudson.eclipse.org/releng/job/I-build-Photon/254/console

Regards,
Jay
Jayaprakash Arthanareeswaran
2017-11-30 06:44:14 UTC
Permalink
_______________________________________________
tycho-dev mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-dev
SCHREIBER.Martin
2017-11-30 15:21:32 UTC
Permalink
I thought building it locally is just cloning the repository and run “mvn clean verify” in the root directory, but it seems to be more than that.

Not sure if all of the steps need to be done, but I did:

Clones the releng aggregator and it’s submodules:
git clone https://git.eclipse.org/r/platform/eclipse.platform.releng.aggregator
git submodule update --init –recursive

Build the prereqgs:
cd eclipse.platform.releng.prereqs.sdk
mvn clean install -f eclipse.platform.releng.prereqs.sdk/pom.xml

Build jdt.core
mvn clean verify -f eclipse.jdt.core/pom.xml

It had taken very long (2h) but the build of eclipse.jdt.core was successful.

-martin


Von: tycho-dev-***@eclipse.org [mailto:tycho-dev-***@eclipse.org] Im Auftrag von Jayaprakash Arthanareeswaran
Gesendet: Donnerstag, 30. November 2017 07:44
An: tycho-***@eclipse.org
Cc: tycho-***@eclipse.org
Betreff: Re: [tycho-dev] Builds failing possibly due to Tycho compiler

Unfortunately, no. I don't even have the tycho set up locally. If someone can tell me how to build my local JDT repo with Tycho, I can try that out.

Or if you can tell me what issue you are facing in getting the JDT source code, perhaps I can help.


Regards,
Jay

----- Original message -----
From: "SCHREIBER.Martin" <***@bachmann.info<mailto:***@bachmann.info>>
Sent by: tycho-dev-***@eclipse.org<mailto:tycho-dev-***@eclipse.org>
To: Tycho developers list <tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>>
Cc:
Subject: Re: [tycho-dev] Builds failing possibly due to Tycho compiler
Date: Thu, Nov 30, 2017 12:08 PM


Hi Jay,



is there an easy way to reproduce the issue locally? I cannot see the root cause in the build log, just the casting issue without any information where the problem exactly is


I tried to use Eclipse Installer to install the JDT development environment to get the latest JDT sources and build JDT locally, but that failed.



-martin



Von: tycho-dev-***@eclipse.org<mailto:tycho-dev-***@eclipse.org> [mailto:tycho-dev-***@eclipse.org] Im Auftrag von Jayaprakash Arthanareeswaran
Gesendet: Mittwoch, 29. November 2017 15:05
An: tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>; ***@sap.com<mailto:***@sap.com>
Betreff: [tycho-dev] Builds failing possibly due to Tycho compiler



Hi all,



Today when we upgraded the compiler, we ran into what we suspect to be a tycho issue, possibly same as bug 522279.

I have just reopened that bug. Can someone please take a look?



Bug 526545 has some details on the failure. Console here:



https://hudson.eclipse.org/releng/job/I-build-Photon/254/console<https://urldefense.proofpoint.com/v2/url?u=https-3A__hudson.eclipse.org_releng_job_I-2Dbuild-2DPhoton_254_console&d=DwMGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=LuMqcl3PU0i2olgTvkVvFthzqyc_3wGfGooplpAvFsc&m=_x8tOrAIFdLiS25alg7sKgw6Iv27XN54JJll26fkooM&s=VImOyWN6UjAdft7MUKcliNgJeD4wD5goXiT9YwpFu5Y&e=>



Regards,

Jay


_______________________________________________
tycho-dev mailing list
tycho-***@eclipse.org<mailto:tycho-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_tycho-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=LuMqcl3PU0i2olgTvkVvFthzqyc_3wGfGooplpAvFsc&m=_x8tOrAIFdLiS25alg7sKgw6Iv27XN54JJll26fkooM&s=beiHCvA_PPZtcd2NnL1udxruWl4pfIFE8-yTsE8JUQ4&e=
Jayaprakash Arthanareeswaran
2017-12-04 06:36:40 UTC
Permalink
_______________________________________________
tycho-dev mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-dev
Igor Fedorenko
2017-12-04 14:54:30 UTC
Permalink
Are able to reproduce the problem locally? Can you provide steps? I may
have time to look at this later this week but I was not able to reproduce
the problem locally.

--
Regards,
Igor



On December 4, 2017 01:37:00 "Jayaprakash Arthanareeswaran"
<***@in.ibm.com> wrote:

> _______________________________________________
> tycho-dev mailing list
> tycho-***@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-dev
Jayaprakash Arthanareeswaran
2017-12-06 12:51:41 UTC
Permalink
_______________________________________________
tycho-dev mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-dev
Igor Fedorenko
2017-11-30 12:31:29 UTC
Permalink
I may have time to look at this next few days.

--
Regards,
Igor


On Wed, Nov 29, 2017, at 09:04 AM, Jayaprakash Arthanareeswaran wrote:
> Hi all,
>
> Today when we upgraded the compiler, we ran into what we suspect to be
> a tycho issue, possibly same as bug 522279.> I have just reopened that bug. Can someone please take a look?
>
> Bug 526545 has some details on the failure. Console here:
>
> https://hudson.eclipse.org/releng/job/I-build-Photon/254/console
>
> Regards,
> Jay
>
> _________________________________________________
> tycho-dev mailing list
> tycho-***@eclipse.org
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit> https://dev.eclipse.org/mailman/listinfo/tycho-dev
Igor Fedorenko
2017-11-30 13:48:33 UTC
Permalink
@Jayaprakash what gerrit change triggers the problem?

FWIW, I can build jdt.core without problems using jdt and jdt.apt from
latest I-build, like this:
clean package -Pbuild-individual-bundles -Dcbi-jdt-version=3.14.0.v20171128-
1704 -Dcbi-jdt-apt-version=1.3.100.v20171128-1013 -e
--
Regards,
Igor


On Thu, Nov 30, 2017, at 07:31 AM, Igor Fedorenko wrote:
> I may have time to look at this next few days.
>
> --
> Regards,
> Igor
>
>
> On Wed, Nov 29, 2017, at 09:04 AM, Jayaprakash Arthanareeswaran wrote:>> Hi all,
>>
>> Today when we upgraded the compiler, we ran into what we suspect to
>> be a tycho issue, possibly same as bug 522279.>> I have just reopened that bug. Can someone please take a look?
>>
>> Bug 526545 has some details on the failure. Console here:
>>
>> https://hudson.eclipse.org/releng/job/I-build-Photon/254/console
>>
>> Regards,
>> Jay
>>
>> _________________________________________________
>> tycho-dev mailing list
>> tycho-***@eclipse.org
>> To change your delivery options, retrieve your password, or
>> unsubscribe from this list, visit>> https://dev.eclipse.org/mailman/listinfo/tycho-dev
>
> _________________________________________________
> tycho-dev mailing list
> tycho-***@eclipse.org
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit> https://dev.eclipse.org/mailman/listinfo/tycho-dev
Jayaprakash Arthanareeswaran
2017-11-30 14:12:59 UTC
Permalink
_______________________________________________
tycho-dev mailing list
tycho-***@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-dev
Igor Fedorenko
2017-11-30 15:06:41 UTC
Permalink
It's hard to tell for sure what the problem was without access to the
actual code and configuration, but if I were to guess the failing build
had <cbi-jdt-version> property defined in eclipse.jdt.core/pom.xml but
not <cbi-jdt-apt-version> (this is how it's defined in git, at least).
If my guess is correct, then the build was using inconsistent versions
of jdt.core and jdt.compiler.apt, which explains the error you saw. In
other words, in order to use the latest jdt compiler you need to specify
both <cbi-jdt-version> and <cbi-jdt-apt-version> properties.
--
Regards,
Igor


On Thu, Nov 30, 2017, at 09:12 AM, Jayaprakash Arthanareeswaran wrote:
> Copying Sravan from releng.
>
> It wasn't gerrit build. I think Gerrit builds don't yet get the latest
> JDT compiler. Sravan staged the latest JDT compiler and tried that to
> build test I build on Hudson. The link I provided is the console from
> that build.>
> What you mentioned seems to be inline with what we were trying in
> general. Is it possible that the test build were we encountered this
> wasn't using the latest tycho version? But it is clearly something
> about the jdt.core's pom as several bundles preceding that were
> compiled successfully.>
> Regards,
> Jay
>
>> ----- Original message -----
>> From: Igor Fedorenko <***@ifedorenko.com>
>> Sent by: tycho-dev-***@eclipse.org
>> To: tycho-***@eclipse.org
>> Cc:
>> Subject: Re: [tycho-dev] Builds failing possibly due to Tycho
>> compiler>> Date: Thu, Nov 30, 2017 7:18 PM
>>
>> @Jayaprakash what gerrit change triggers the problem?
>>
>> FWIW, I can build jdt.core without problems using jdt and jdt.apt
>> from latest I-build, like this:>>
>> clean package -Pbuild-individual-bundles -Dcbi-jdt-version=3.14.0.v20171128-
>> 1704 -Dcbi-jdt-apt-version=1.3.100.v20171128-1013 -e>>
>> --
>> Regards,
>> Igor
>>
>>
>> On Thu, Nov 30, 2017, at 07:31 AM, Igor Fedorenko wrote:
>>> I may have time to look at this next few days.
>>>
>>> --
>>> Regards,
>>> Igor
>>>
>>>
>>> On Wed, Nov 29, 2017, at 09:04 AM, Jayaprakash Arthanareeswaran
>>> wrote:>>>> Hi all,
>>>>
>>>> Today when we upgraded the compiler, we ran into what we suspect to
>>>> be a tycho issue, possibly same as bug 522279.>>>> I have just reopened that bug. Can someone please take a look?
>>>>
>>>> Bug 526545 has some details on the failure. Console here:
>>>>
>>>> https://hudson.eclipse.org/releng/job/I-build-Photon/254/console[1]>>>>
>>>> Regards,
>>>> Jay
>>>>
>>>> _________________________________________________
>>>> tycho-dev mailing list
>>>> tycho-***@eclipse.org
>>>> To change your delivery options, retrieve your password, or
>>>> unsubscribe from this list, visit>>>> https://dev.eclipse.org/mailman/listinfo/tycho-dev[2]
>>>
>>> _________________________________________________
>>> tycho-dev mailing list
>>> tycho-***@eclipse.org
>>> To change your delivery options, retrieve your password, or
>>> unsubscribe from this list, visit>>> https://dev.eclipse.org/mailman/listinfo/tycho-dev[3]
>>
>> _______________________________________________
>> tycho-dev mailing list tycho-***@eclipse.org To change your delivery
>> options, retrieve your password, or unsubscribe from this list, visit
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_tycho-2Ddev&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=LuMqcl3PU0i2olgTvkVvFthzqyc_3wGfGooplpAvFsc&m=69dM5EpMFbD1a9JR4wfNFqPkjt4lJKGyeQoYNp7p-PY&s=LozJaU0SZfSjP79-C-MC1zzmFWoivFTmrL9GhiHgaeQ&e=>
>
> _________________________________________________
> tycho-dev mailing list
> tycho-***@eclipse.org
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit> https://dev.eclipse.org/mailman/listinfo/tycho-dev


Links:

1. https://urldefense.proofpoint.com/v2/url?u=https-3A__hudson.eclipse.org_releng_job_I-2Dbuild-2DPhoton_254_console&d=DwMCaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=LuMqcl3PU0i2olgTvkVvFthzqyc_3wGfGooplpAvFsc&m=69dM5EpMFbD1a9JR4wfNFqPkjt4lJKGyeQoYNp7p-PY&s=wG73ilKMpXhC9c0orOqHJJv1Nd8MV62-1Whh_m2C06A&e=
2. https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_tycho-2Ddev&d=DwMCaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=LuMqcl3PU0i2olgTvkVvFthzqyc_3wGfGooplpAvFsc&m=69dM5EpMFbD1a9JR4wfNFqPkjt4lJKGyeQoYNp7p-PY&s=LozJaU0SZfSjP79-C-MC1zzmFWoivFTmrL9GhiHgaeQ&e=
3. https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_tycho-2Ddev&d=DwMCaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=LuMqcl3PU0i2olgTvkVvFthzqyc_3wGfGooplpAvFsc&m=69dM5EpMFbD1a9JR4wfNFqPkjt4lJKGyeQoYNp7p-PY&s=LozJaU0SZfSjP79-C-MC1zzmFWoivFTmrL9GhiHgaeQ&e=
Loading...