Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1726745

Summary: Improve Samples Operator Test Reporting
Product: OpenShift Container Platform Reporter: Adam Kaplan <adam.kaplan>
Component: TemplatesAssignee: Adam Kaplan <adam.kaplan>
Status: CLOSED ERRATA QA Contact: XiuJuan Wang <xiuwang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: aos-bugs, jokerman, mmccomas, sponnaga, wsun, wzheng
Target Milestone: ---   
Target Release: 4.1.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: 4.1.6
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-23 18:12:12 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:
Embargoed:

Description Adam Kaplan 2019-07-03 15:51:02 UTC
Description of problem: Failed samples operator tests do not dump cluster configuration info.


Additional info: Fix in 4.2 - https://github.com/openshift/origin/pull/22902

Comment 1 Adam Kaplan 2019-07-03 15:52:00 UTC
PR: https://github.com/openshift/origin/pull/22905

Comment 3 XiuJuan Wang 2019-07-10 06:50:58 UTC
When do e2e test, could get the correct samples operator config info.

Compiled openshift-tests binary with latest origin release-4.1 branch, also running test in 4.1.0-0.nightly-2019-07-09-205457(v4.1.6-201907090427+1ada361-dirty) cluster.
Add python imagestream in skippedlist and deleted it.
Run the test "[Feature:Builds][pruning] prune builds based on settings in the buildconfig  should prune errored builds based on the failedBuildsHistoryLimit setting [Suite:openshift/conformance/parallel]"

============snip===============
Jul 10 14:29:52.526: INFO: Running 'oc get --config=/home/wxj/Downloads/kubeconfig --namespace=e2e-test-build-pruning-vv9rj configs.samples.operator.openshift.io cluster -o yaml --config /home/wxj/Downloads/kubeconfig'
Jul 10 14:29:57.329: INFO: 
  samples operator CR: 
apiVersion: samples.operator.openshift.io/v1
kind: Config
metadata:
  creationTimestamp: "2019-07-10T03:30:39Z"
  finalizers:
  - samples.operator.openshift.io/finalizer
===============snip========

Comment 5 errata-xmlrpc 2019-07-23 18:12:12 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, 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/RHBA-2019:1766