[JBoss JIRA] (JBIDE-23486) Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23486?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-23486:
------------------------------------------
[~jeffmaury] Can you please fix this test since you're the author of the patch. I am very unsure on how to fix this. My guess is that the assertion is wrong, but I'm not sure at all (spent quite some time without getting to a conclusive result).
> Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-23486
> URL: https://issues.jboss.org/browse/JBIDE-23486
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM3
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Critical
> Fix For: 4.4.2.Final
>
>
> Our tests are failing
> {code}
> testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(org.jboss.tools.openshift.test.ui.job.DeployImageJobTest) Time elapsed: 0.016 sec <<< FAILURE!
> java.lang.AssertionError: expected:<repo/mynamespace/myimagename:latest> but was:<:latest>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.jboss.tools.openshift.test.ui.job.DeployImageJobTest.testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(DeployImageJobTest.java:219)
> {code}
> the failing assertion is the following:
> {code}
> assertEquals(new DockerImageURI("repo/mynamespace/myimagename:latest"), is.getDockerImageRepository());
> {code}
> Starting with [#1677|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_master/1677/] our jenkins is thus failing.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months
[JBoss JIRA] (JBIDE-23486) Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23486?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-23486:
-------------------------------------
Description:
Our tests are failing
{code}
testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(org.jboss.tools.openshift.test.ui.job.DeployImageJobTest) Time elapsed: 0.016 sec <<< FAILURE!
java.lang.AssertionError: expected:<repo/mynamespace/myimagename:latest> but was:<:latest>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.jboss.tools.openshift.test.ui.job.DeployImageJobTest.testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(DeployImageJobTest.java:219)
{code}
the failing assertion is the following:
{code}
assertEquals(new DockerImageURI("repo/mynamespace/myimagename:latest"), is.getDockerImageRepository());
{code}
Starting with [#1677|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_master/1677/] our jenkins is thus failing.
was:
Our tests are failing
{code}
testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(org.jboss.tools.openshift.test.ui.job.DeployImageJobTest) Time elapsed: 0.016 sec <<< FAILURE!
java.lang.AssertionError: expected:<repo/mynamespace/myimagename:latest> but was:<:latest>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.jboss.tools.openshift.test.ui.job.DeployImageJobTest.testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(DeployImageJobTest.java:219)
{code}
Starting with [#1677|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_master/1677/] our jenkins is thus failing.
> Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-23486
> URL: https://issues.jboss.org/browse/JBIDE-23486
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM3
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Critical
> Fix For: 4.4.2.Final
>
>
> Our tests are failing
> {code}
> testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(org.jboss.tools.openshift.test.ui.job.DeployImageJobTest) Time elapsed: 0.016 sec <<< FAILURE!
> java.lang.AssertionError: expected:<repo/mynamespace/myimagename:latest> but was:<:latest>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.jboss.tools.openshift.test.ui.job.DeployImageJobTest.testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(DeployImageJobTest.java:219)
> {code}
> the failing assertion is the following:
> {code}
> assertEquals(new DockerImageURI("repo/mynamespace/myimagename:latest"), is.getDockerImageRepository());
> {code}
> Starting with [#1677|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_master/1677/] our jenkins is thus failing.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months
[JBoss JIRA] (JBIDE-23486) Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23486?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-23486:
-------------------------------------
Description:
Our tests are failing
{code}
testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(org.jboss.tools.openshift.test.ui.job.DeployImageJobTest) Time elapsed: 0.016 sec <<< FAILURE!
java.lang.AssertionError: expected:<repo/mynamespace/myimagename:latest> but was:<:latest>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.jboss.tools.openshift.test.ui.job.DeployImageJobTest.testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(DeployImageJobTest.java:219)
{code}
the failing assertion is the following:
{code}
assertEquals(new DockerImageURI("repo/mynamespace/myimagename:latest"), is.getDockerImageRepository());
{code}
Starting with [#1677|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_master/1677/] our jenkins is thus failing.
was:
Our tests are failing
{code}
testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(org.jboss.tools.openshift.test.ui.job.DeployImageJobTest) Time elapsed: 0.016 sec <<< FAILURE!
java.lang.AssertionError: expected:<repo/mynamespace/myimagename:latest> but was:<:latest>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.jboss.tools.openshift.test.ui.job.DeployImageJobTest.testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(DeployImageJobTest.java:219)
{code}
the failing assertion is the following:
{code}
assertEquals(new DockerImageURI("repo/mynamespace/myimagename:latest"), is.getDockerImageRepository());
{code}
Starting with [#1677|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_master/1677/] our jenkins is thus failing.
> Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-23486
> URL: https://issues.jboss.org/browse/JBIDE-23486
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM3
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Critical
> Fix For: 4.4.2.Final
>
>
> Our tests are failing
> {code}
> testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(org.jboss.tools.openshift.test.ui.job.DeployImageJobTest) Time elapsed: 0.016 sec <<< FAILURE!
> java.lang.AssertionError: expected:<repo/mynamespace/myimagename:latest> but was:<:latest>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.jboss.tools.openshift.test.ui.job.DeployImageJobTest.testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(DeployImageJobTest.java:219)
> {code}
> the failing assertion is the following:
> {code}
> assertEquals(new DockerImageURI("repo/mynamespace/myimagename:latest"), is.getDockerImageRepository());
> {code}
> Starting with [#1677|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_master/1677/] our jenkins is thus failing.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months
[JBoss JIRA] (JBIDE-23487) Publishing fails when server adapter is created out of eap app running on openshift (in cdk)
by Martin Malina (JIRA)
Martin Malina created JBIDE-23487:
-------------------------------------
Summary: Publishing fails when server adapter is created out of eap app running on openshift (in cdk)
Key: JBIDE-23487
URL: https://issues.jboss.org/browse/JBIDE-23487
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.2.Final
Reporter: Martin Malina
While testing Rob's jolokia stuff from JBIDE-23429 I did this:
1. Start CDK (2.3.cr1)
2. Create eap64-basic-s2i app
3. Wait till the app is built and the pod is running
4. Right-click the eap-app in OpenShift explorer and create a server adapter
5. Now the server adapter is publishing and this will fail:
{code}
Could not sync /Users/rasp/jbossqa/JBDS/10.0.0/workspace-neon-1a/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample-project@eap-app/deploy to all pods running the service eap-app
Syncing com.openshift.restclient.capability.resources.IRSyncable$LocalPeer@41249d31 to com.openshift.restclient.capability.resources.IRSyncable$PodPeer@27c8ba3a failed: Unable to connect to the server: net/http: TLS handshake timeout
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.2]
error: exit status 12
{code}
This is on macOS Sierra with JBoss Tools from master with Rob's patches, but he says his patches have nothing to do with publishing. I may try out a normal build of devstudio or JBT later.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months
[JBoss JIRA] (JBDS-4176) Useless-provides detected by RPMlint
by Lukáš Valach (JIRA)
Lukáš Valach created JBDS-4176:
----------------------------------
Summary: Useless-provides detected by RPMlint
Key: JBDS-4176
URL: https://issues.jboss.org/browse/JBDS-4176
Project: Red Hat JBoss Developer Studio (devstudio)
Issue Type: Bug
Components: rpm
Affects Versions: 10.2.0.AM3
Environment: RHEL7
Reporter: Lukáš Valach
Fix For: 10.2.0.GA
The rpmlint detects some problems in rpm package:
{code}
rpmlint -f ./rpmlint.conf ./rh-eclipse46-devstudio-10.2-0.20161111.1151.el7.x86_64.rpm
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(com.google.guava)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(com.google.inject)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(javax.wsdl)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.apache.commons.collections)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.apache.commons.io)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.apache.commons.lang3)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.apache.commons.logging)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.eclipse.aether.api)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.eclipse.aether.connector.basic)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.eclipse.aether.impl)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.eclipse.aether.spi)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.eclipse.aether.util)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(com.fasterxml.classmate)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.jboss.logging.jboss-logging)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.yaml.snakeyaml)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(slf4j.api)
rh-eclipse46-devstudio.x86_64: E: useless-provides rh-eclipse46-osgi(org.objectweb.asm)
1 packages and 0 specfiles checked; 17 errors, 0 warnings.
{code}
There are only important problems in the list above, another errors/warnings were suppressed according to discussion with [~vkadlcik].
There is configuration of rpmlint filter:
{code}
addFilter("W: ") # Warnings can be suppressed
addFilter("E: dir-or-file-in-opt") # False positive
addFilter("E: devel-dependency") # False positive
addFilter("E: explicit-lib-dependency") # May be improved but is not important for now
addFilter("E: non-executable-script") # 99% of these errors are false positive comming from upstream, there is a very small chance to get relevant error
addFilter("E: wrong-script-interpreter") # The same as above
addFilter("E: zero-length") # The same as above
{code}
[~vkadlcik] please correct me if I'm wrong.
RPMlint test has been automated, you can find it in [jenkins|https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view...]
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months
[JBoss JIRA] (JBIDE-22816) Create application from image (or builder) may lead to update being detected
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22816?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-22816:
------------------------------------------
[~jeffmaury] can you please produce precise steps that I can reproduce?
> Create application from image (or builder) may lead to update being detected
> ----------------------------------------------------------------------------
>
> Key: JBIDE-22816
> URL: https://issues.jboss.org/browse/JBIDE-22816
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.1.AM2
> Reporter: Jeff MAURY
> Assignee: Andre Dietisheim
> Labels: application_wizard, openshift_v3
> Fix For: 4.4.2.Final
>
>
> When creating a new application from image or builder, an update may be detected and no resources being created. The pb is that the model is set to the Openshift project and asynchronously updated the get the list of projects that will set the Openshift project to the first thus misleading the rest of the processing
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months
[JBoss JIRA] (JBIDE-23486) Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23486?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-23486:
------------------------------------------
The fix for JBIDE-22915 is causing this test failure.
> Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-23486
> URL: https://issues.jboss.org/browse/JBIDE-23486
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.2.AM3
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Priority: Critical
> Fix For: 4.4.2.Final
>
>
> Our tests are failing
> {code}
> testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(org.jboss.tools.openshift.test.ui.job.DeployImageJobTest) Time elapsed: 0.016 sec <<< FAILURE!
> java.lang.AssertionError: expected:<repo/mynamespace/myimagename:latest> but was:<:latest>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:834)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.jboss.tools.openshift.test.ui.job.DeployImageJobTest.testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(DeployImageJobTest.java:219)
> {code}
> Starting with [#1677|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_master/1677/] our jenkins is thus failing.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months
[JBoss JIRA] (JBIDE-23486) Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
by Andre Dietisheim (JIRA)
Andre Dietisheim created JBIDE-23486:
----------------------------------------
Summary: Build: DeployImageJobtest#testStubImageStreamWhereOneDoesNotExistAndImageIsPublic is failing
Key: JBIDE-23486
URL: https://issues.jboss.org/browse/JBIDE-23486
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.2.AM3
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Priority: Critical
Fix For: 4.4.2.Final
Our tests are failing
{code}
testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(org.jboss.tools.openshift.test.ui.job.DeployImageJobTest) Time elapsed: 0.016 sec <<< FAILURE!
java.lang.AssertionError: expected:<repo/mynamespace/myimagename:latest> but was:<:latest>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.jboss.tools.openshift.test.ui.job.DeployImageJobTest.testStubImageStreamWhereOneDoesNotExistAndImageIsPublic(DeployImageJobTest.java:219)
{code}
Starting with [#1677|http://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/jbosstools-openshift_master/1677/] our jenkins is thus failing.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months
[JBoss JIRA] (JBDS-4175) RPM version: NPE after install from Red Hat Central
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4175?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-4175:
----------------------------------
If the error is "Another singleton bundle selected" it just means that two versions of the same bundle exist in the installation, and only one singleton can be activated.
Chances are good this is just a warning, not an error, and can be simply ignored.
> RPM version: NPE after install from Red Hat Central
> ---------------------------------------------------
>
> Key: JBDS-4175
> URL: https://issues.jboss.org/browse/JBDS-4175
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: rpm
> Environment: RHEL 7.2 with RHSCL repositories available:
> * RHSCL 2.3 RC (http://download-node-02.eng.bos.redhat.com/rel-eng/RHSCL-2.3-RHEL-7-RC-1....)
> * update for RHBZ#1392095 (http://nest.test.redhat.com/mnt/qa/scratch/vkadlcik/eclipse/repos/rhscl23...)
> Reporter: Václav Kadlčík
> Attachments: sw_to_install.txt, workspace.log
>
>
> I installed rh-eclipse46-devstudio-10.2-0.20161111.0219.el7.x86_64.rpm and followed Nick's scenario [1]. In Red Hat Central, I clicked "Select All" (it found 36 items), then "Install/Update", did all the confirmations, including a restart. After the restart, Eclipse died on java.lang.NullPointerException. I'm attaching the workspace log (aside from the NPE, it's full of "Could not resolve module").
> I reproduced the problem several times on two different machines. The update for RHBZ#1392095 (rh-eclipse46-eclipse-4.6.1-2.4.el7) isn't necessary, it just makes the reproduction much faster.
> Not sure how related it is, but rh-eclipse46 disallows updating packages installed from RPM [2]. But in the list of software to be installed/updated, I saw, among others, EGit and Mylyn, which are definitely included in rh-eclipse46-base. In any case, I'm attaching the list, too.
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1392095#c6
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=1173024
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 5 months