Bug 1389669

Summary: Jenkins Openshift ImageStreams Polling title meaningless
Product: OKD Reporter: shiyang.wang <shiywang>
Component: ImageAssignee: Cesar Wong <cewong>
Status: CLOSED CURRENTRELEASE QA Contact: Wang Haoran <haowang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.xCC: aos-bugs, cewong, mmccomas, shiywang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-09 21:49:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
jenkins-bug
none
jenkins-bug2 none

Description shiyang.wang 2016-10-28 07:53:41 UTC
Description of problem:

when testing jenkins images, login to the jenkins webconsole, create a jenkins pipeline job, after click into the button "Openshift ImageStreams Polling", the tittle is incorect.

Version-Release number of selected component (if applicable):

docker.io/openshift/jenkins-1-centos7
oc v3.4.0.16+cc70b72
kubernetes v1.4.0+776c994
openshift v3.4.0.16+cc70b72


How reproducible:
Always

Steps to Reproduce:
1. oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/jenkins-ephemeral-template.json
2. Go to jenkins job page click "new item" -->write item name: openshifttest-->select "Pipeline"--> Select pipelinejob "openshifttest" to Configure -> click "OpenShift ImageStreams Polling" button
3. check the "Openshift ImageStream Polling" tittle

Actual results:

tittle is "9999999999999"


Expected results:

meaningful  tittle


Additional info:

Comment 1 Cesar Wong 2016-10-28 13:39:00 UTC
@shiyang.wang I cannot reproduce this one, can you please include a screenshot? Thx.

Comment 2 shiyang.wang 2016-10-31 05:37:33 UTC
@Cesar Wong, sorry, I didn't catch the screenshot last week, will do that for now on.

when I try to reproduce today, the whole "OpenShift ImageStreams Polling" button just disappear, Is that just a debugging button? 

my oc version and image version:
openshift v3.4.0.17+b8a03bc
kubernetes v1.4.0+776c994

lastTriggeredImage: openshift/jenkins-1-centos7@sha256:5a1506206454e8f54df627a3a81e6a841f7cd47fee12d46732babc22dde77a92

docker.io/openshift/jenkins-1-centos7   latest              d9b426dea08d        10 hours ago        666.2 MB

Comment 3 Cesar Wong 2016-10-31 12:30:43 UTC
@shiyang.wang before the first polling iteration, the link should be named "Polling Log". Only after the first check happens, it should be renamed to "OpenShift ImageStreams Polling Log"

Comment 4 shiyang.wang 2016-11-01 03:01:53 UTC
Created attachment 1215971 [details]
jenkins-bug

Comment 5 shiyang.wang 2016-11-01 03:02:33 UTC
@Cesar Wong, screenshot,attached.

Another thing, when I testing with OCP3.4, I use this template: https://raw.githubusercontent.com/openshift/origin/4232ddf19329b042d25ebbe1520b31b47bc89fef/examples/jenkins/jenkins-ephemeral-template.json

because jenkins sign base openshift OAuth haven't merged to OCP, I have to get dc's password.

Comment 6 shiyang.wang 2016-11-01 03:15:37 UTC
But lastweek the template I use is https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/jenkins-ephemeral-template.json

So I don't think this issure related to template. about "OpenShift ImageStreams Polling Log" also attached.

Comment 7 shiyang.wang 2016-11-01 03:16:04 UTC
Created attachment 1215974 [details]
jenkins-bug2

Comment 8 Cesar Wong 2016-11-03 16:52:55 UTC
Thanks @shiyang.wang

I am still not able to reproduce this locally though (I tried changing my browser language to Chinese as well). So a few more questions:

1) Are you using Jenkins 1 or 2?

2) Can your reproduce if your browser language is set to English?

3) After the job runs for the first time, do you still see the wrong title ?

4) Can you still reproduce if instead of using openshiftImageStream as a DSL step, you use the "git" DSL step.

Comment 9 shiyang.wang 2016-11-07 08:25:31 UTC
@Cesar Wong, Weird, when I try to reproduce this bug today, no matter what language my browser set and the image sha256@hash number I used,I can not reproduce this bug anymore. my jenkins version is 1.651.3. Anyway, I will 
change the bug status to verified till it can be reproduce again. thanks!!