Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] build trouble
  • From: Jayaprakash Arthanareeswaran <jarthana@xxxxxxxxxx>
  • Date: Tue, 26 Apr 2022 11:01:19 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in.ibm.com; dmarc=pass action=none header.from=in.ibm.com; dkim=pass header.d=in.ibm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=k6P0BkR7erIK4FAxhIyTy0ry1CFqGeHOVG7ikPolLus=; b=M+XnQuMc367aNmyKs//hx2NIXrAF9aXsD1XJfaZn76F62pvgKY6LSt8jbnKWnCKJ3H+PwEZVMKdV8jQJxkKe2omQXYV+Q26ycJlcpAdTPj9hSFZj5mRd0gstL1gIp3IrCZuAiVZe35Sv/26prH+WkluTwQnYhUXQlVYmlSDW9QKbM0Kslz4HX82svQaiRlR5jGhrUc0MxkOMYCq4M91QQzfy8bfA7znAbKxQrs6iZhCiVIRm0T6VsCI/dxutGYndVSwt0mRuLD80ElvIANHvX+YzGwye4hle4CmgHOc4l2MzOn+iyUCpqOcOZozojE8g4u3qpI2LqEVCp+yiaVlIug==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y0+EqoPlTA3qp5i9+pIqhNMZ64DxeNH+aq2fGMvEyI/Gg2OYLuAjW+f6WqZbkyFW5YecNxBHr4+5xIv5/cC5Z0SG6rAxz3OMQhdf2QixPDDNo42/8bXD4krNWsWNNi9B2k3OvHZskbKdhmCktu9cBorjeRNPCjdx9w6Hs7A+Lm/c/FgbVUUeFPxjpQAN7+OzAhs0wtLEDTzJp5JLi2sW4mGw17Wy9NUjo1JPdypKFN4SpW+JnczBYIDOYahbaVHHZpbJekqtgBOIOFfRvIDeCGHI0NNwYcfZNWhrXp9sYmgG2/2y0ZXUCPsoqWGu+H9s1DxbbiSJ4IYYqUzQ99xECA==
  • Delivered-to: jdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jdt-dev/>
  • List-help: <mailto:jdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jdt-dev>, <mailto:jdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jdt-dev>, <mailto:jdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHYWVl7H5CGY61FB02okC0TgxtLHK0CBvqA
  • Thread-topic: [EXTERNAL] Re: [jdt-dev] build trouble

> Is it possible to create an aggregated, sorted list of all pr-builds??

Does this help?
https://ci.eclipse.org/jdt/job/eclipse.jdt.core-Github/view/change-requests/builds

Regards,
Jay

-----Original Message-----
From: jdt-dev <jdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Stephan Herrmann
Sent: 26 April 2022 16:06
To: jdt-dev@xxxxxxxxxxx
Subject: [EXTERNAL] Re: [jdt-dev] build trouble

The problems seem to run deeper than I thought.

(1) the immediate crash of "eclipse-run (build-.api_description)" no longer happens. I still wonder, how this could happen, and not knowing the cause leaves an uneasy feeling. Anyway, it's not longer the main concern.

(2) the timeout in builds persists for my pull request [1], and while I was puzzled, how my changes could possibly cause such a freeze, I finally found another, unrelated build that failed with the exact same freeze [2]. As that problem never occurs when running tests in the IDE, I started to spam the code with sysouts. My results so far can be found in [3], but so far I'm still clueless about the reason of these freezes. TL;DR: searching never returns from engine.searchAllTypeNames(), which looks quite severe to me.

(3) I tried to go the extra mile and debug this using a local maven build, but didn't get beyond this:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce
(no-tabs-in-compiler-messages) on project org.eclipse.jdt.core: Unable to parse configuration of mojo org.apache.maven.plugins:maven-enforcer-plugin:3.0.0:enforce for parameter
evaluateBeanshell: Cannot create instance of class
org.apache.maven.plugins.enforcer.EvaluateBeanshell: bsh/EvalError: 
bsh.EvalError -> [Help 1]

(3.1) Does anyone know of a magic incantation that allows running maven with only minimal steps to build and test, ignoring all those enforce-this, check-that, compare-whatnot tasks?

(4) When I first encountered the freezes, I started looking into other builds, if any of those are affected as well, but since we no longer have a combined list of gerrit builds, it is very hard to observe general health of our builds and detect since when exactly a certain general failure occurs. Is it possible to create an aggregated, sorted list of all pr-builds??


All these together make further JDT/Core development impossible for the time being. Are other JDT components affected as well?

Stephan



[1] https://github.com/eclipse-jdt/eclipse.jdt.core/pull/28
[2] https://github.com/eclipse-jdt/eclipse.jdt.core/pull/38
[3] https://github.com/eclipse-jdt/eclipse.jdt.core/pull/38#issuecomment-1108703551 

On 22.04.22 00:15, Stephan Herrmann wrote:
> These days I'm having tremendous problems with jenkins, for a change.
> 
> See
> https://ci.eclipse.org/jdt/job/eclipse.jdt.core-Github/view/change-req
> uests/job/PR-28/
> 
> 
> The first runs repeatably aborted just after suite ASTConverterTest2.
> At that point the test suite just dropped silent waiting for the 
> timeout (while locally in the IDE all these tests run fine).
> 
> Next I pushed some sysout for debugging that issue.  Since then the 
> job didn't even succeed to build any more, saying:
> 
> 20:51:46  [ERROR] Failed to execute goal 
> org.eclipse.tycho.extras:tycho-eclipserun-plugin:3.0.0-SNAPSHOT:eclips
> e-run
> (build-.api_description) on project org.eclipse.jdt.annotation: Error 
> while executing platform: Error while executing platform: return 
> code=13, see content of 
> /home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-28/org.eclips
> e.jdt.annotation/target/apigeneration-workspace/data/.metadata/.logfor
> more details. -> [Help 1]
> 20:51:46  [ERROR] Failed to execute goal 
> org.eclipse.tycho.extras:tycho-eclipserun-plugin:3.0.0-SNAPSHOT:eclips
> e-run
> (build-.api_description) on project org.eclipse.jdt.annotation: Error 
> while executing platform: Error while executing platform: return 
> code=13, see content of 
> /home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-28/org.eclips
> e.jdt.annotation_v1/target/apigeneration-workspace/data/.metadata/.log
> for
> more details. -> [Help 1]
> 20:51:46  [ERROR] Failed to execute goal 
> org.eclipse.tycho.extras:tycho-eclipserun-plugin:3.0.0-SNAPSHOT:eclips
> e-run
> (build-.api_description) on project org.eclipse.jdt.core: Error while 
> executing
> platform: Error while executing platform: return code=13, see content 
> of 
> /home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-28/org.eclips
> e.jdt.core/target/apigeneration-workspace/data/.metadata/.logfor
> more details. -> [Help 1]
> 
> Anybody else seeing this?
> Anybody else missing the jenkins workspace where we could inspect the logs???
> 
> Needless to say, that I didn't touch anything in 
> org.eclipse.jdt.annotation. So why is it's build crashing now?
> 
> To be fair there's a bit more information:
> 
> 20:51:22  [INFO] --- 
> tycho-eclipserun-plugin:3.0.0-SNAPSHOT:eclipse-run
> (build-.api_description) @ org.eclipse.jdt.annotation ---
> 
> 20:51:23  [INFO] Toolchain in tycho-eclipserun-plugin: 
> JDK[/opt/tools/java/openjdk/jdk-11/latest]
> 20:51:23  [INFO] Expected eclipse log file: 
> /home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-28/org.eclips
> e.jdt.annotation/target/apigeneration-workspace/data/.metadata/.log
> 
> 20:51:23  [INFO] Command line:
> 20:51:23      [/opt/tools/java/openjdk/jdk-11/latest/bin/java, -jar, 
> /home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-28/.m2/reposi
> tory/p2/osgi/bundle/org.eclipse.equinox.launcher/1.6.400.v20210924-064
> 1/org.eclipse.equinox.launcher-1.6.400.v20210924-0641.jar,
> -install,
> /home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-28/org.eclips
> e.jdt.annotation/target/apigeneration-workspace,
> -configuration,
> /home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-28/org.eclips
> e.jdt.annotation/target/apigeneration-workspace/configuration,
> -data,
> /home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-28/org.eclips
> e.jdt.annotation/target/apigeneration-workspace/data]
> 
> 
> 20:51:25  An error has occurred. See the log file
> 20:51:25
> /home/jenkins/agent/workspace/eclipse.jdt.core-Github_PR-28/org.eclipse.jdt.annotation/target/apigeneration-workspace/configuration/1650567083880.log. 
> 
> 
> Is "eclipse-run (build-.api_description)" trying to run API tools, or who is that??
> 
> So far an unknown tool has produced an unspecified error causing the 
> build to fail and wipe all traces of what happened. Not nice.
> 
> I may have to wait until the infra is more stable ...
> 
> Stephan
> 
> PS: Could jenkins give a little more information what a given build is about? 
> Just showing the unclickable text "Pull Request PR-28" looks like a 
> thing from before the invention of hypertext.
> Interestingly, "Changes" only shows new commits on master, not new 
> commits on the branch.
> _______________________________________________
> jdt-dev mailing list
> jdt-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jdt-dev

_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jdt-dev

Back to the top