Bug 2052063 - Intermittent incorrect build to run correlation, leading to run status updates applied to wrong build, builds stuck in non-terminal phases
Summary: Intermittent incorrect build to run correlation, leading to run status update...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Jenkins
Version: 4.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.9.z
Assignee: Gabe Montero
QA Contact: Jitendar Singh
URL:
Whiteboard:
Depends On: 2041888
Blocks: 2055911
TreeView+ depends on / blocked
 
Reported: 2022-02-08 15:43 UTC by OpenShift BugZilla Robot
Modified: 2022-02-23 20:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-23 20:02:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift jenkins pull 1385 0 None Merged [release-4.9] Bug 2052063: bump openshift-sync to 1.0.53 2022-02-17 10:06:20 UTC
Red Hat Product Errata RHSA-2022:0561 0 None None None 2022-02-23 20:03:15 UTC

Comment 6 Jitendar Singh 2022-02-17 10:59:23 UTC
VERIFIED using https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1890495

=======================

 jitsingh@fedora  ~  oc new-app jenkins-ephemeral -p NAMESPACE=$(oc project -q) -p JENKINS_IMAGE_STREAM_TAG=jenkins-jitsingh:latest                              
--> Deploying template "openshift/jenkins-ephemeral" to project jenkins-test

     Jenkins (Ephemeral)
     ---------
     Jenkins service, without persistent storage.
     
     WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.

     A Jenkins service has been created in your project.  Log into Jenkins with your OpenShift account.  The tutorial at https://github.com/openshift/origin/blob/master/examples/jenkins/README.md contains more information about using this template.

     * With parameters:
        * Jenkins Service Name=jenkins
        * Jenkins JNLP Service Name=jenkins-jnlp
        * Enable OAuth in Jenkins=true
        * Memory Limit=1Gi
        * Jenkins ImageStream Namespace=jenkins-test
        * Disable memory intensive administrative monitors=false
        * Jenkins ImageStreamTag=jenkins-jitsingh:latest
        * Allows use of Jenkins Update Center repository with invalid SSL certificate=false

--> Creating resources ...
    route.route.openshift.io "jenkins" created
    configmap "jenkins-trusted-ca-bundle" created
    deploymentconfig.apps.openshift.io "jenkins" created
    serviceaccount "jenkins" created
    rolebinding.authorization.openshift.io "jenkins_edit" created
    service "jenkins-jnlp" created
    service "jenkins" created
--> Success
    Access your application via route 'jenkins-jenkins-test.apps.rhoms-4.9-021704.dev.openshiftappsvc.org' 
    Run 'oc status' to view your app.
 jitsingh@fedora  ~  oc get pods -w
NAME               READY   STATUS              RESTARTS   AGE
jenkins-1-26kx8    0/1     ContainerCreating   0          1s
jenkins-1-deploy   1/1     Running             0          6s
jenkins-1-26kx8    0/1     ContainerCreating   0          2s
jenkins-1-26kx8    0/1     Running             0          24s
jenkins-1-26kx8    1/1     Running             0          76s
^C%                                                                                                                                                                                            ✘ jitsingh@fedora  ~  oc rsh jenkins-1-26kx8 
sh-4.4$ cat /var/lib/jenkins/plugins/openshift-sync/META-INF/MANIFEST.MF |grep Implementation-Version
Implementation-Version: 1.0.53
sh-4.4$ exit
exit
 jitsingh@fedora  ~  cd go/src/github.com/openshift/jenkins/smoke/samples 
 jitsingh@fedora  ~/go/src/github.com/openshift/jenkins/smoke/samples   refactor-smoke-test  ls
java-builder-cm.yaml  maven_pipeline.yaml  nodejs-builder-cm.yaml  nodejs_pipeline.yaml
 jitsingh@fedora  ~/go/src/github.com/openshift/jenkins/smoke/samples   refactor-smoke-test  oc process -f maven_pipeline.yaml|oc create -f - 
imagestream.image.openshift.io/openshift-jee-sample created
imagestream.image.openshift.io/wildfly created
buildconfig.build.openshift.io/openshift-jee-sample created
buildconfig.build.openshift.io/openshift-jee-sample-docker created
deploymentconfig.apps.openshift.io/openshift-jee-sample created
service/openshift-jee-sample created
route.route.openshift.io/openshift-jee-sample created
 jitsingh@fedora  ~/go/src/github.com/openshift/jenkins/smoke/samples   refactor-smoke-test  oc get builds
No resources found in jenkins-test namespace.
 jitsingh@fedora  ~/go/src/github.com/openshift/jenkins/smoke/samples   refactor-smoke-test  oc get bc
NAME                          TYPE              FROM     LATEST
openshift-jee-sample          JenkinsPipeline            0
openshift-jee-sample-docker   Docker            Binary   0
 jitsingh@fedora  ~/go/src/github.com/openshift/jenkins/smoke/samples   refactor-smoke-test  oc start-build openshift-jee-sample
build.build.openshift.io/openshift-jee-sample-1 started
 jitsingh@fedora  ~/go/src/github.com/openshift/jenkins/smoke/samples   refactor-smoke-test  oc get builds -w
NAME                     TYPE              FROM   STATUS    STARTED   DURATION
openshift-jee-sample-1   JenkinsPipeline          Pending             
openshift-jee-sample-1   JenkinsPipeline          Running   3 seconds ago   
openshift-jee-sample-1   JenkinsPipeline          Running   12 seconds ago   
openshift-jee-sample-1   JenkinsPipeline          Running   42 seconds ago   
openshift-jee-sample-1   JenkinsPipeline          Running   51 seconds ago   
openshift-jee-sample-docker-1   Docker            Binary   New                        
openshift-jee-sample-docker-1   Docker            Binary   Pending                    
openshift-jee-sample-1          JenkinsPipeline            Running   About a minute ago   
openshift-jee-sample-docker-1   Docker            Binary   Running   12 seconds ago       
openshift-jee-sample-docker-1   Docker            Binary   Running   12 seconds ago       
openshift-jee-sample-1          JenkinsPipeline            Running   About a minute ago   
openshift-jee-sample-1          JenkinsPipeline            Running   About a minute ago   
openshift-jee-sample-1          JenkinsPipeline            Running   About a minute ago   
openshift-jee-sample-docker-1   Docker            Binary   Running   About a minute ago   
openshift-jee-sample-docker-1   Docker            Binary   Running   About a minute ago   
openshift-jee-sample-docker-1   Docker            Binary   Complete   About a minute ago   1m2s
openshift-jee-sample-1          JenkinsPipeline            Running    2 minutes ago        
openshift-jee-sample-1          JenkinsPipeline            Running    2 minutes ago        
openshift-jee-sample-1          JenkinsPipeline            Complete   3 minutes ago        
^C%                                                                                                                                                                                            ✘ jitsingh@fedora  ~/go/src/github.com/openshift/jenkins/smoke/samples   refactor-smoke-test  oc get routes
NAME                   HOST/PORT                                                                         PATH   SERVICES               PORT       TERMINATION     WILDCARD
jenkins                jenkins-jenkins-test.apps.rhoms-4.9-021704.dev.openshiftappsvc.org                       jenkins                <all>      edge/Redirect   None
openshift-jee-sample   openshift-jee-sample-jenkins-test.apps.rhoms-4.9-021704.dev.openshiftappsvc.org          openshift-jee-sample   8080-tcp                   None

Comment 8 errata-xmlrpc 2022-02-23 20:02:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.22 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:0561


Note You need to log in before you can comment on or make changes to this bug.