Skip to content

github.com/openshift/origin/test/cmd/observe test/cmd/observe.sh:34: executing 'oc observe services --once --all-namespaces -a "bad{ .metadata.annotations.unset }key" --strict-templates' expecting failure and text 'annotations is not found' #17811

@gabemontero

Description

@gabemontero

https://openshift-gce-devel.appspot.com/build/origin-ci-test/pr-logs/pull/17717/test_pull_request_origin_cmd/7451/

=== BEGIN TEST CASE ===
test/cmd/observe.sh:34: executing 'oc observe services --once --all-namespaces -a "bad{ .metadata.annotations.unset }key" --strict-templates' expecting failure and text 'annotations is not found'
FAILURE after 0.322s: test/cmd/observe.sh:34: executing 'oc observe services --once --all-namespaces -a "bad{ .metadata.annotations.unset }key" --strict-templates' expecting failure and text 'annotations is not found': the output content test failed
Standard output from the command:
# 2017-12-14T15:13:01Z Sync started

Standard error from the command:
error: unable to write arguments: error executing template 'bad{ .metadata.annotations.unset }key': 'unset is not found'
----data----
map[kind:Service apiVersion:v1 metadata:map[annotations:map[service.alpha.kubernetes.io/tolerate-unready-endpoints:true] name:galera namespace:default selfLink:/api/v1/namespaces/default/services/galera uid:5ee8d7ac-e0df-11e7-8591-0242ac110002 resourceVersion:1446 creationTimestamp:2017-12-14T14:59:23Z labels:map[app:mysql]] spec:map[clusterIP:None type:ClusterIP sessionAffinity:None ports:[map[targetPort:3306 name:mysql protocol:TCP port:3306]] selector:map[app:mysql]] status:map[loadBalancer:map[]]]
=== END TEST CASE ===

Seems like a rebase kind of thing, but did not investigate in detail. Re-categorize if needed please.

Marking as test flake as well, but did not see if it happens consistently locally.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions