Bug 1404079 - [userinterface_public_761]Should show the reason on Builds and BC page for build in New status
Summary: [userinterface_public_761]Should show the reason on Builds and BC page for bu...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jessica Forrester
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 02:18 UTC by Yadan Pei
Modified: 2017-05-30 12:50 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-30 12:50:58 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yadan Pei 2016-12-13 02:18:19 UTC
Description of problem:
Build status reason should be shown on Builds and BC page when build is in New status

Version-Release number of selected component (if applicable):
openshift v1.5.0-alpha.0+2701506-347
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0

How reproducible:
Always

Steps to Reproduce:
1.Create Build which will push image to private registry without a secret
$ wget https://raw.githubusercontent.com/openshift-qe/v3-testfiles/master/build/ruby22rhel7-template-sti.json
$ vi ruby22rhel7-template-sti.json       

   "output": {
          "to": {
            "kind": "ImageStreamTag",
            "name": "abc:abc"
          }
        },
$ oc new-app -f ruby22rhel7-template-sti.json   
2.Check build status via CLI
$ oc get builds
NAME                    TYPE      FROM      STATUS                         STARTED   DURATION
ruby22-sample-build-1   Source    Git       New (InvalidOutputReference) 
3.Check build status message on Builds page when Build is in New status
4.Check build status message on BC page when Build is in New status
5.Check build status message on Build page when Build is in New status
6.Check build status message Monitoring page when Build is in New status

Actual results:
3.No status reason shown on Builds page(Builds->Builds)
4.No status reason shown on BC page(Builds->Builds->ruby22-sample-build)
5.On Build page(Builds->Builds->ruby22-sample-build->ruby22-sample-build-1), status message is shown:
The referenced output image stream yapei-wrongoutputimage/abc does not exist
6.On Monitoring page, status reason is shown:
Invalid output reference

Expected results:
3-4.Should show Build status reason "Invalid output reference" on Builds and BC page

Additional info:

Comment 1 openshift-github-bot 2016-12-13 15:21:51 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/853a144de9decd3f584135abcdba94da1cb90927
Bug 1404079 - Show build reason consistently when the build is in any phase except Cancelled

Comment 2 Yadan Pei 2016-12-14 00:37:21 UTC
Checked against v1.5.0-alpha.0+595b6bd-376 with steps in "Steps to Reproduce"

Now the reason/message info could be shown correctly on these pages when build is New status
Builds page(Builds->Builds)
BC page(Builds->Builds->ruby22-sample-build)
Build page(Builds->Builds->ruby22-sample-build->ruby22-sample-build-1)
Monitoring page

Move to VERIFIED


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