[JBoss JIRA] (JBIDE-21649) bzira can't handle CLOSED DUPLICATE bugs
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21649?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-21649.
---------------------------------
I assume this is working correctly now. [~nickboldt], please reopen if you see otherwise.
> bzira can't handle CLOSED DUPLICATE bugs
> ----------------------------------------
>
> Key: JBIDE-21649
> URL: https://issues.jboss.org/browse/JBIDE-21649
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: build
> Reporter: Nick Boldt
> Fix For: 4.4.0.Alpha1
>
>
> From latest bzira jenkins job:
> {code}
> [DEBUG] 487168 - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [WTP Source Editing, wst.json, [---]] {20160203T22:14:59} -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (18:05:39.346169)
> Query: https://issues.jboss.org/rest/api/2/search?jql=project+%3D+ERT+and+summar...
> [INFO] Creating jira for #487168 CLOSED - alina(a)mx1.ibm.com - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl
> [DEBUG] {'project': {'key': 'ERT'}, 'priority': {'name': 'Major'}, 'description': 'Created attachment 259553\nJSON content causing the error\n\nWhenever I type something in the JSON editor (content generated by openshift3/kubernetes, see attached foo.json file), the log fills with \n\n!ENTRY org.eclipse.wst.json.core 4 4 2016-02-03 15:46:35.835\n!MESSAGE org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n!STACK 0\njava.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.removeStructuredDocumentRegion(JSONModelParser.java:2500)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeStructuredDocumentRegion(JSONModelParser.java:552)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:354)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:602)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)\n\tat org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)\n\tat org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)\n\tat org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)\n\tat org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7305)\n\tat org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8156)\n\tat org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)\n\tat org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7095)\n\tat org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5968)\n\tat org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5995)\n\tat org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5682)\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)\n\tat org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)\n\tat org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5784)\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)\n\tat org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)\n\tat org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)', 'components': [{'name': 'WTP Source Editing'}], 'issuetype': {'name': 'Task'}, 'labels': ['bzira', 'wst.json'], 'fixVersions': [], 'summary': 'o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]'}
> [INFO] Created https://issues.jboss.org/browse/ERT-79
> Traceback (most recent call last):
> File "bzira.py", line 412, in <module>
> process(bug, createdbugs)
> File "bzira.py", line 349, in process
> raise ValueError("Do not know how to do transition for " + str(transid) + " with " + str(trans))
> UnboundLocalError: local variable 'trans' referenced before assignment
> Build step 'Execute shell' marked build as failure
> Checking console output
> [description-setter] Could not determine description.
> Sending e-mails to: manderse(a)redhat.com nboldt(a)redhat.com gercan(a)redhat.com
> Notifying upstream projects of job completion
> Finished: FAILURE
> {code} -- http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-jiralint-b...
> So I ran the same task again locally:
> {code}
> [DEBUG] 487168 - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [WTP Source Editing, wst.json, [---]] {20160203T22:14:59} -> https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (18:08:11.074153)
> Query: https://issues.jboss.org/rest/api/2/search?jql=project+%3D+ERT+and+summar...
> [INFO] Creating jira for #487168 CLOSED - alina(a)mx1.ibm.com - o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl
> [DEBUG] {'project': {'key': 'ERT'}, 'priority': {'name': 'Major'}, 'description': 'Created attachment 259553\nJSON content causing the error\n\nWhenever I type something in the JSON editor (content generated by openshift3/kubernetes, see attached foo.json file), the log fills with \n\n!ENTRY org.eclipse.wst.json.core 4 4 2016-02-03 15:46:35.835\n!MESSAGE org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n!STACK 0\njava.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONPairImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONObjectImpl\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.removeStructuredDocumentRegion(JSONModelParser.java:2500)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeStructuredDocumentRegion(JSONModelParser.java:552)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:354)\n\tat org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:602)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)\n\tat org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\n\tat org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)\n\tat org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)\n\tat org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1184)\n\tat org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1210)\n\tat org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:629)\n\tat org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)\n\tat org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7305)\n\tat org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8156)\n\tat org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2306)\n\tat org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7095)\n\tat org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5968)\n\tat org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5995)\n\tat org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5682)\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1528)\n\tat org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1524)\n\tat org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:496)\n\tat org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1060)\n\tat org.eclipse.swt.widgets.Display.windowProc(Display.java:5784)\n\tat org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)\n\tat org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)\n\tat org.eclipse.swt.widgets.Composite.keyDown(Composite.java:594)', 'components': [{'name': 'WTP Source Editing'}], 'issuetype': {'name': 'Task'}, 'labels': ['bzira', 'wst.json'], 'fixVersions': [], 'summary': 'o.e.w.j.c.i.d.JSONPairImpl cannot be cast to o.e.w.j.c.i.d.JSONObjectImpl [EBZ#487168]'}
> [INFO] Created https://issues.jboss.org/browse/ERT-80
> Traceback (most recent call last):
> File "bzira.py", line 412, in <module>
> process(bug, createdbugs)
> File "bzira.py", line 349, in process
> raise ValueError("Do not know how to do transition for " + str(transid) + " with " + str(trans))
> UnboundLocalError: local variable 'trans' referenced before assignment
> {code}
> And now we have two issues created:
> https://issues.jboss.org/browse/ERT-79 - EBZ#486606 links to https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168 (but then Fred manually changed it to point to 486606)
> https://issues.jboss.org/browse/ERT-80 - EBZ#487168 links to https://bugs.eclipse.org/bugs/show_bug.cgi?id=487168
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22444) Client: release and use a final artifact of openshift-restclient-java
by Andre Dietisheim (JIRA)
Andre Dietisheim created JBIDE-22444:
----------------------------------------
Summary: Client: release and use a final artifact of openshift-restclient-java
Key: JBIDE-22444
URL: https://issues.jboss.org/browse/JBIDE-22444
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 4.4.0.Alpha3
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 4.4.0.Alpha3
4.4.0.Alpha2 is using openshift-restclient-java 4.0.4-SNAPSHOT. We should release a final version of the client and use it in the next milestone.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-21363) create bugzilla importer for JIRA
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21363?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-21363:
---------------------------------------
Jenkins job is blue and it seems this is working. Closing.
> create bugzilla importer for JIRA
> ---------------------------------
>
> Key: JBIDE-21363
> URL: https://issues.jboss.org/browse/JBIDE-21363
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Affects Versions: 4.3.1.Beta1, 4.4.0.Alpha1
> Reporter: Nick Boldt
> Assignee: Max Rydahl Andersen
> Fix For: 4.4.0.Alpha1
>
>
> Looking to create some kind of jiralint-like scraper tool to facilitate JIRA-like scrum/dashboard tracking of upstream projects, not located in JBoss JIRA.
> This scraper would:
> * [REQ1] find all bugzillas associated with a particular query, such as https://bugs.eclipse.org/bugs/buglist.cgi?status_whiteboard=RHT (18 issues)
> * [REQ2] generate a JIRA for each one found (no dupes should be created)
> * [REQ3] scrape several fields: product, component, version, target milestone, comment #0, summary, bug #
> * [REQ4] need a mapping table for Eclipse-prod:proj:component:fixversion-or-target-milestone to Neon milestone so we can set default values for affectsversion/fixversion/targetrelease in created JIRAs.
> * [REQ5] need a mapping table for Eclipse-prod:proj:component to ERT:component, eg., WTP:JSDT -> javascript
> * [REQ6] created test issues here: https://issues.stage.jboss.org/browse/ERT
> * [REQ7] run as a Jenkins job every 3 hours
> Generated JIRA example:
> {code}
> title: (scraped from summary) Support for smart Import Mechanism [Eclipse BZ 464535]
> issue link: (scraped from BZ ID#) https://bugs.eclipse.org/464535
> description: (scraped from BZ comment #0)
> affectsversion: (scraped from BZ version 1.6.0)
> fixversion: (scraped from BZ target milestone ---)
> component: (scraped from product:component = m2e:ui)
> labels: RHT, ERT
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-21403) CDK server in Starting state and cannot be stopped with wrong path to vagrant
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21403?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-21403.
---------------------------------
Verified in JBDS 10.0.0 Alpha1 B5398
> CDK server in Starting state and cannot be stopped with wrong path to vagrant
> -----------------------------------------------------------------------------
>
> Key: JBIDE-21403
> URL: https://issues.jboss.org/browse/JBIDE-21403
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.3.1.Beta1
> Reporter: Martin Malina
> Assignee: Rob Stryker
> Fix For: 4.4.0.Alpha1
>
>
> When I first set up a CDK 2 Beta3 server adapter in Eclipse, it had the launch config set up with the wrong path to vagrant - /usr/bin/vagrant instead of /usr/local/bin/vagrant which is the default location on OS X - I didn't notice this and just tried to start the adapter.
> Obviously it failed, but I was left in a state where the server was Starting and I couldn't stop it unless I restarted the IDE.
> I think it should fail more gracefully.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ERT-216) Running image, which has shell form of CMD needs to be enclosed in quotes [EBZ#494555]
by Friendly Jira Robot (JIRA)
Friendly Jira Robot created ERT-216:
---------------------------------------
Summary: Running image, which has shell form of CMD needs to be enclosed in quotes [EBZ#494555]
Key: ERT-216
URL: https://issues.jboss.org/browse/ERT-216
Project: Eclipse Release Train
Issue Type: Task
Components: Linux Tools
Reporter: Friendly Jira Robot
Running image, which was build using dockerfile with CMD in shell form (for example greyltc/lamp) needs to be enclosed in quotes.
Steps to reproduce:
* Pull image which was build using dockerfile with CMD in shell form (for example greyltc/lamp from docker hub)
* In Docker Explorer right click that image -> Run
* Assert: command should be the same as running that image from command line
* FAIL: command is `/bin/sh -c start-servers; sleep infinity` instead of `/bin/sh -c 'start-servers; sleep infinity'`
Those missing quotes causes that container to stop right after it was started (which is not desired)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ERT-217) Image refreshing job should not endlessly poll a disabled connection [EBZ#494574]
by Friendly Jira Robot (JIRA)
Friendly Jira Robot created ERT-217:
---------------------------------------
Summary: Image refreshing job should not endlessly poll a disabled connection [EBZ#494574]
Key: ERT-217
URL: https://issues.jboss.org/browse/ERT-217
Project: Eclipse Release Train
Issue Type: Task
Components: Linux Tools
Reporter: Friendly Jira Robot
Fix For: Neon (4.6)
When a connection is disabled, the image refresh job enters a cycle because imagesLoaded never gets set to true, so it constantly tries to reload them. I haven't seen this cause some UI hangs on Linux and a compelte UI freeze on a MacOSX box.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22443) Add to TP build a check that produced TP can be installed in target Eclipse version
by Mickael Istria (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22443?page=com.atlassian.jira.plugi... ]
Mickael Istria commented on JBIDE-22443:
----------------------------------------
{quote}If we wold have a build to verify PR's for jbosstools-target-platforms{quote}
You mean https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevS... ?
{quote} wouldn't a simple compile only build based on your old proposal on having a jenkins job running on a git submodules repo of all components been an excellent way to check this ? {quote}
It would be a good check, however we couldn't automate it as part the plain Maven build, because our submodules are downstream of TP and given a TP, it's not obvious what combination of submodules/branches we want to test.
The purpose of this change is to have something standalone that doesn't require any dependency on downstream jbosstools modules. It could also be used by Integration-Stack to try their TP as well.
> Add to TP build a check that produced TP can be installed in target Eclipse version
> -----------------------------------------------------------------------------------
>
> Key: JBIDE-22443
> URL: https://issues.jboss.org/browse/JBIDE-22443
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build, target-platform
> Reporter: Mickael Istria
>
> Recently, a change in TP (jetty 9.3.6) was introduced and everything built fine with it; until the very end of the build process: during install-tests.
> This issue would *probably* have occured if trying to install all content of the TP into the target Eclipse IDE (using install-grinder or p2director or whatever installation). So it would be good to have inside the TP build (as a "verify" plugin in pom.xml) something that would try to find whether target Eclipse version and our TP are already compatible.
> Technical notes:
> * Trying to install all IUs from the release train site + our TP seems easier to implement
> * We do not need to actually install the artifacts, just making the p2 request and getting whether the request managed to find a working plan without remediation seems enough.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months