(CommandList
  children: [
    (C {(set)} {(-o)} {(errexit)})
    (C {(set)} {(-o)} {(nounset)})
    (C {(set)} {(-o)} {(pipefail)})
    (C {(export)} {(Lit_VarLike "LANG=") (C)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:KUBE_ROOT)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: 
                  (CommandList
                    children: [(C {(dirname)} {(DQ (${ VSub_Name BASH_SOURCE))})]
                  )
                left_token: <Left_CommandSub "$(">
                spids: [77 85]
              ) (/../..)
            }
          spids: [76]
        )
      ]
      spids: [76]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:ETCD_HOST)
          op: Equal
          rhs: 
            {
              (BracedVarSub
                token: <VSub_Name ETCD_HOST>
                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(127.0.0.1)})
                spids: [99 103]
              )
            }
          spids: [98]
        )
      ]
      spids: [98]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:ETCD_PORT)
          op: Equal
          rhs: 
            {
              (BracedVarSub
                token: <VSub_Name ETCD_PORT>
                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(2379)})
                spids: [106 110]
              )
            }
          spids: [105]
        )
      ]
      spids: [105]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:API_PORT)
          op: Equal
          rhs: 
            {
              (BracedVarSub
                token: <VSub_Name API_PORT>
                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(8080)})
                spids: [113 117]
              )
            }
          spids: [112]
        )
      ]
      spids: [112]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:SECURE_API_PORT)
          op: Equal
          rhs: 
            {
              (BracedVarSub
                token: <VSub_Name SECURE_API_PORT>
                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(6443)})
                spids: [120 124]
              )
            }
          spids: [119]
        )
      ]
      spids: [119]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:API_HOST)
          op: Equal
          rhs: 
            {
              (BracedVarSub
                token: <VSub_Name API_HOST>
                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(127.0.0.1)})
                spids: [127 131]
              )
            }
          spids: [126]
        )
      ]
      spids: [126]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:KUBELET_HEALTHZ_PORT)
          op: Equal
          rhs: 
            {
              (BracedVarSub
                token: <VSub_Name KUBELET_HEALTHZ_PORT>
                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(10248)})
                spids: [134 138]
              )
            }
          spids: [133]
        )
      ]
      spids: [133]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:CTLRMGR_PORT)
          op: Equal
          rhs: 
            {
              (BracedVarSub
                token: <VSub_Name CTLRMGR_PORT>
                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(10252)})
                spids: [141 145]
              )
            }
          spids: [140]
        )
      ]
      spids: [140]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:PROXY_HOST) op:Equal rhs:{(127.0.0.1)} spids:[147])]
      spids: [147]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:IMAGE_NGINX)
          op: Equal
          rhs: {(DQ ("gcr.io/google-containers/nginx:1.7.9"))}
          spids: [154]
        )
      ]
      spids: [154]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:IMAGE_DEPLOYMENT_R1)
          op: Equal
          rhs: {(DQ ("gcr.io/google-containers/nginx:test-cmd"))}
          spids: [159]
        )
      ]
      spids: [159]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:IMAGE_DEPLOYMENT_R2)
          op: Equal
          rhs: {(DQ ($ VSub_Name "$IMAGE_NGINX"))}
          spids: [167]
        )
      ]
      spids: [167]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:IMAGE_PERL)
          op: Equal
          rhs: {(DQ (gcr.io/google-containers/perl))}
          spids: [175]
        )
      ]
      spids: [175]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:IMAGE_PAUSE_V2)
          op: Equal
          rhs: {(DQ ("gcr.io/google-containers/pause:2.0"))}
          spids: [180]
        )
      ]
      spids: [180]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:IMAGE_DAEMONSET_R2)
          op: Equal
          rhs: {(DQ ("gcr.io/google-containers/pause:latest"))}
          spids: [185]
        )
      ]
      spids: [185]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:IMAGE_DAEMONSET_R2_2)
          op: Equal
          rhs: {(DQ ("gcr.io/google-containers/nginx:test-cmd"))}
          spids: [190]
        )
      ]
      spids: [190]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:IMAGE_STATEFULSET_R1)
          op: Equal
          rhs: {(DQ ("gcr.io/google_containers/nginx-slim:0.7"))}
          spids: [198]
        )
      ]
      spids: [198]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:IMAGE_STATEFULSET_R2)
          op: Equal
          rhs: {(DQ ("gcr.io/google_containers/nginx-slim:0.8"))}
          spids: [203]
        )
      ]
      spids: [203]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:PATH)
          op: Equal
          rhs: {(DQ (${ VSub_Name KUBE_OUTPUT_HOSTBIN)) (Lit_Other ":") ($ VSub_Name "$PATH")}
          spids: [212]
        )
      ]
      spids: [212]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:clusterroles)
          op: Equal
          rhs: {(DQ (clusterroles))}
          spids: [225]
        )
      ]
      spids: [225]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:configmaps)
          op: Equal
          rhs: {(DQ (configmaps))}
          spids: [230]
        )
      ]
      spids: [230]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:csr) op:Equal rhs:{(DQ (csr))} spids:[235])]
      spids: [235]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:deployments)
          op: Equal
          rhs: {(DQ (deployments))}
          spids: [240]
        )
      ]
      spids: [240]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:horizontalpodautoscalers)
          op: Equal
          rhs: {(DQ (horizontalpodautoscalers))}
          spids: [245]
        )
      ]
      spids: [245]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:metrics) op:Equal rhs:{(DQ (metrics))} spids:[250])]
      spids: [250]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:namespaces)
          op: Equal
          rhs: {(DQ (namespaces))}
          spids: [255]
        )
      ]
      spids: [255]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:nodes) op:Equal rhs:{(DQ (nodes))} spids:[260])]
      spids: [260]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:persistentvolumeclaims)
          op: Equal
          rhs: {(DQ (persistentvolumeclaims))}
          spids: [265]
        )
      ]
      spids: [265]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:persistentvolumes)
          op: Equal
          rhs: {(DQ (persistentvolumes))}
          spids: [270]
        )
      ]
      spids: [270]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:pods) op:Equal rhs:{(DQ (pods))} spids:[275])]
      spids: [275]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:podtemplates)
          op: Equal
          rhs: {(DQ (podtemplates))}
          spids: [280]
        )
      ]
      spids: [280]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:replicasets)
          op: Equal
          rhs: {(DQ (replicasets))}
          spids: [285]
        )
      ]
      spids: [285]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:replicationcontrollers)
          op: Equal
          rhs: {(DQ (replicationcontrollers))}
          spids: [290]
        )
      ]
      spids: [290]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:roles) op:Equal rhs:{(DQ (roles))} spids:[295])]
      spids: [295]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:secrets) op:Equal rhs:{(DQ (secrets))} spids:[300])]
      spids: [300]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:serviceaccounts)
          op: Equal
          rhs: {(DQ (serviceaccounts))}
          spids: [305]
        )
      ]
      spids: [305]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:services) op:Equal rhs:{(DQ (services))} spids:[310])]
      spids: [310]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:statefulsets)
          op: Equal
          rhs: {(DQ (statefulsets))}
          spids: [315]
        )
      ]
      spids: [315]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:static) op:Equal rhs:{(DQ (static))} spids:[320])]
      spids: [320]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:storageclass)
          op: Equal
          rhs: {(DQ (storageclass))}
          spids: [325]
        )
      ]
      spids: [325]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:subjectaccessreviews)
          op: Equal
          rhs: {(DQ (subjectaccessreviews))}
          spids: [330]
        )
      ]
      spids: [330]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:selfsubjectaccessreviews)
          op: Equal
          rhs: {(DQ (selfsubjectaccessreviews))}
          spids: [335]
        )
      ]
      spids: [335]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:customresourcedefinitions)
          op: Equal
          rhs: {(DQ (customresourcedefinitions))}
          spids: [340]
        )
      ]
      spids: [340]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:daemonsets)
          op: Equal
          rhs: {(DQ (daemonsets))}
          spids: [345]
        )
      ]
      spids: [345]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:controllerrevisions)
          op: Equal
          rhs: {(DQ (controllerrevisions))}
          spids: [350]
        )
      ]
      spids: [350]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:sh2ju)
          op: Equal
          rhs: {(DQ (${ VSub_Name KUBE_ROOT) (/third_party/forked/shell2junit/sh2ju.sh))}
          spids: [360]
        )
      ]
      spids: [360]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (DBracket expr:(BoolUnary op_id:BoolUnary_f child:{(DQ (${ VSub_Name sh2ju))}))
              terminator: <Op_Semi ";">
            )
          ]
          action: [(C {(source)} {(DQ (${ VSub_Name sh2ju))})]
          spids: [-1 383]
        )
      ]
      else_action: [
        (C {(echo)} {(DQ ("failed to find third_party/forked/shell2junit/sh2ju.sh"))})
        (C {(exit)} {(1)})
      ]
      spids: [394 408]
    )
    (FuncDef
      name: record_command
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (LhsName name:name)
                  op: Equal
                  rhs: {(DQ ($ VSub_Number "$1"))}
                  spids: [460]
                )
              ]
              spids: [458]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output)
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name KUBE_JUNIT_REPORT_DIR>
                          suffix_op: 
                            (StringUnary
                              op_id: VTest_ColonHyphen
                              arg_word: {(Lit_Slash /) (tmp) (Lit_Slash /) (junit-results)}
                            )
                          spids: [470 477]
                        )
                      )
                    }
                  spids: [468]
                )
              ]
              spids: [466]
            )
            (C {(echo)} {(DQ ("Recording: ") (${ VSub_Name name))})
            (C {(echo)} {(DQ ("Running command: ") ($ VSub_At "$@"))})
            (C {(juLog)} {(-output) (Lit_Other "=") (DQ (${ VSub_Name output))} 
              {(-class) (Lit_Other "=") (DQ (test-cmd))} {(-name) (Lit_Other "=") (DQ (${ VSub_Name name))} {(DQ ($ VSub_At "$@"))}
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: (BoolBinary op_id:BoolBinary_ne left:{($ VSub_QMark "$?")} right:{(0)})
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(echo)} {(DQ ("Error when running ") (${ VSub_Name name))})
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:foundError)
                          op: Equal
                          rhs: {(DQ (True))}
                          spids: [554]
                        )
                      ]
                      spids: [554]
                    )
                  ]
                  spids: [-1 541]
                )
              ]
              spids: [-1 560]
            )
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
          ]
          spids: [438]
        )
      spids: [432 437]
    )
    (FuncDef
      name: stop-proxy
      body: 
        (BraceGroup
          children: [
            (AndOr
              children: [
                (DBracket
                  expr: 
                    (BoolUnary
                      op_id: BoolUnary_n
                      child: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name PROXY_PORT>
                              suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )})
                              spids: [597 600]
                            )
                          )
                        }
                    )
                )
                (C 
                  {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} {(DQ ("Stopping proxy on port ") (${ VSub_Name PROXY_PORT))}
                )
              ]
              op_id: Op_DAmp
            )
            (AndOr
              children: [
                (DBracket
                  expr: 
                    (BoolUnary
                      op_id: BoolUnary_n
                      child: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name PROXY_PID>
                              suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )})
                              spids: [628 631]
                            )
                          )
                        }
                    )
                )
                (SimpleCommand
                  words: [{(kill)} {(DQ (${ VSub_Name PROXY_PID))}]
                  redirects: [
                    (Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[646])
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(/dev/null)}
                      spids: [649]
                    )
                  ]
                )
              ]
              op_id: Op_DAmp
            )
            (AndOr
              children: [
                (DBracket
                  expr: 
                    (BoolUnary
                      op_id: BoolUnary_n
                      child: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name PROXY_PORT_FILE>
                              suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )})
                              spids: [658 661]
                            )
                          )
                        }
                    )
                )
                (C {(rm)} {(-f)} {(${ VSub_Name PROXY_PORT_FILE)})
              ]
              op_id: Op_DAmp
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:PROXY_PID) op:Equal rhs:{(SQ )} spids:[677])]
              spids: [677]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:PROXY_PORT) op:Equal rhs:{(SQ )} spids:[680])]
              spids: [680]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:PROXY_PORT_FILE)
                  op: Equal
                  rhs: {(SQ )}
                  spids: [683]
                )
              ]
              spids: [683]
            )
          ]
          spids: [589]
        )
      spids: [583 588]
    )
    (FuncDef
      name: start-proxy
      body: 
        (BraceGroup
          children: [
            (C {(stop-proxy)})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:PROXY_PORT_FILE)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(mktemp)} {(proxy-port.out.XXXXX)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [705 709]
                      )
                    }
                  spids: [704]
                )
              ]
              spids: [704]
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {
                (DQ ("Starting kubectl proxy on random port; output file in ") 
                  (${ VSub_Name PROXY_PORT_FILE) ("; args: ") 
                  (BracedVarSub
                    token: <VSub_Number 1>
                    suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )})
                    spids: [726 729]
                  )
                )
              }
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other "[")} {($ VSub_Pound "$#")} {(-eq)} {(0)} {(Lit_Other "]")})
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (Sentence
                      child: 
                        (SimpleCommand
                          words: [
                            {(kubectl)}
                            {(proxy)}
                            {(--port) (Lit_Other "=") (0)}
                            {(--www) (Lit_Other "=") (.)}
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 1
                              arg_word: {(${ VSub_Name PROXY_PORT_FILE)}
                              spids: [763]
                            )
                            (Redir
                              op_id: Redir_GreatAnd
                              fd: 2
                              arg_word: {(1)}
                              spids: [768]
                            )
                          ]
                        )
                      terminator: <Op_Amp "&">
                    )
                  ]
                  spids: [-1 748]
                )
              ]
              else_action: [
                (Sentence
                  child: 
                    (SimpleCommand
                      words: [
                        {(kubectl)}
                        {(proxy)}
                        {(--port) (Lit_Other "=") (0)}
                        {(--www) (Lit_Other "=") (.)}
                        {(--api-prefix) (Lit_Other "=") (DQ ($ VSub_Number "$1"))}
                      ]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: 1
                          arg_word: {(${ VSub_Name PROXY_PORT_FILE)}
                          spids: [795]
                        )
                        (Redir
                          op_id: Redir_GreatAnd
                          fd: 2
                          arg_word: {(1)}
                          spids: [800]
                        )
                      ]
                    )
                  terminator: <Op_Amp "&">
                )
              ]
              spids: [774 806]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:PROXY_PID)
                  op: Equal
                  rhs: {($ VSub_Bang "$!")}
                  spids: [809]
                )
              ]
              spids: [809]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:PROXY_PORT) op:Equal rhs:{(SQ )} spids:[813])]
              spids: [813]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:attempts) op:Equal rhs:{(0)} spids:[819])]
              spids: [817]
            )
            (While
              cond: [
                (Sentence
                  child: (DBracket expr:(BoolUnary op_id:BoolUnary_z child:{(${ VSub_Name PROXY_PORT)}))
                  terminator: <Op_Semi ";">
                )
              ]
              body: 
                (DoGroup
                  children: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DParen
                                  child: 
                                    (ArithBinary
                                      op_id: Arith_Great
                                      left: (ArithWord w:{(${ VSub_Name attempts)})
                                      right: (ArithWord w:{(Lit_Digits 9)})
                                    )
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C {(kill)} {(DQ (${ VSub_Name PROXY_PID))})
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") 
                                (Lit_Other ":") (error_exit)
                              } 
                              {
                                (DQ ("Couldn't start proxy. Failed to read port after ") 
                                  (${ VSub_Name attempts) (" tries. Got: ") 
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [(C {(cat)} {(${ VSub_Name PROXY_PORT_FILE)})]
                                      )
                                    left_token: <Left_CommandSub "$(">
                                    spids: [881 887]
                                  )
                                )
                              }
                            )
                          ]
                          spids: [-1 855]
                        )
                      ]
                      spids: [-1 891]
                    )
                    (C {(sleep)} {(.5)})
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") 
                        (status)
                      } {(DQ ("Attempt ") (${ VSub_Name attempts) (" to read ") (${ VSub_Name PROXY_PORT_FILE) (...))}
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:PROXY_PORT)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (SimpleCommand
                                        words: [
                                          {(sed)}
                                          {
                                            (SQ 
                                              <
"s/.*Starting to serve on 127.0.0.1:\\([0-9]*\\)$/\\1/"
                                              >
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_Less
                                            fd: -1
                                            arg_word: {(${ VSub_Name PROXY_PORT_FILE)}
                                            spids: [927]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [921 932]
                              )
                            }
                          spids: [920]
                        )
                      ]
                      spids: [920]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:attempts)
                          op: Equal
                          rhs: 
                            {
                              (ArithSubPart
                                anode: 
                                  (ArithBinary
                                    op_id: Arith_Plus
                                    left: (ArithVarRef name:attempts)
                                    right: (ArithWord w:{(Lit_Digits 1)})
                                  )
                                spids: [936 941]
                              )
                            }
                          spids: [935]
                        )
                      ]
                      spids: [935]
                    )
                  ]
                  spids: [836 944]
                )
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("kubectl proxy running on port ") (${ VSub_Name PROXY_PORT))}
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other "[")} {($ VSub_Pound "$#")} {(-eq)} {(0)} {(Lit_Other "]")})
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (util) (Lit_Other ":") (Lit_Other ":") 
                        (wait_for_url)
                      } {(DQ ("http://127.0.0.1:") (${ VSub_Name PROXY_PORT) (/healthz))} {(DQ ("kubectl proxy"))}
                    )
                  ]
                  spids: [-1 986]
                )
              ]
              else_action: [
                (C 
                  {(kube) (Lit_Other ":") (Lit_Other ":") (util) (Lit_Other ":") (Lit_Other ":") 
                    (wait_for_url)
                  } {(DQ ("http://127.0.0.1:") (${ VSub_Name PROXY_PORT) (/) ($ VSub_Number "$1") (/healthz))} 
                  {(DQ ("kubectl proxy --api-prefix=") ($ VSub_Number "$1"))}
                )
              ]
              spids: [1010 1037]
            )
          ]
          spids: [697]
        )
      spids: [691 696]
    )
    (FuncDef
      name: cleanup
      body: 
        (BraceGroup
          children: [
            (AndOr
              children: [
                (DBracket
                  expr: 
                    (BoolUnary
                      op_id: BoolUnary_n
                      child: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name APISERVER_PID>
                              suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )})
                              spids: [1056 1059]
                            )
                          )
                        }
                    )
                )
                (SimpleCommand
                  words: [{(kill)} {(DQ (${ VSub_Name APISERVER_PID))}]
                  redirects: [
                    (Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[1074])
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(/dev/null)}
                      spids: [1077]
                    )
                  ]
                )
              ]
              op_id: Op_DAmp
            )
            (AndOr
              children: [
                (DBracket
                  expr: 
                    (BoolUnary
                      op_id: BoolUnary_n
                      child: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name CTLRMGR_PID>
                              suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )})
                              spids: [1086 1089]
                            )
                          )
                        }
                    )
                )
                (SimpleCommand
                  words: [{(kill)} {(DQ (${ VSub_Name CTLRMGR_PID))}]
                  redirects: [
                    (Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[1104])
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(/dev/null)}
                      spids: [1107]
                    )
                  ]
                )
              ]
              op_id: Op_DAmp
            )
            (AndOr
              children: [
                (DBracket
                  expr: 
                    (BoolUnary
                      op_id: BoolUnary_n
                      child: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name KUBELET_PID>
                              suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )})
                              spids: [1116 1119]
                            )
                          )
                        }
                    )
                )
                (SimpleCommand
                  words: [{(kill)} {(DQ (${ VSub_Name KUBELET_PID))}]
                  redirects: [
                    (Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[1134])
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(/dev/null)}
                      spids: [1137]
                    )
                  ]
                )
              ]
              op_id: Op_DAmp
            )
            (C {(stop-proxy)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (etcd) (Lit_Other ":") (Lit_Other ":") (cleanup)}
            )
            (C {(rm)} {(-rf)} {(DQ (${ VSub_Name KUBE_TEMP))})
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (LhsName name:junit_dir)
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name KUBE_JUNIT_REPORT_DIR>
                          suffix_op: 
                            (StringUnary
                              op_id: VTest_ColonHyphen
                              arg_word: {(Lit_Slash /) (tmp) (Lit_Slash /) (junit-results)}
                            )
                          spids: [1170 1177]
                        )
                      )
                    }
                  spids: [1168]
                )
              ]
              spids: [1166]
            )
            (C {(echo)} {(DQ ("junit report dir:"))} {(${ VSub_Name junit_dir)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Clean up complete"))}
            )
          ]
          spids: [1048]
        )
      spids: [1042 1047]
    )
    (FuncDef
      name: check-curl-proxy-code
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:status) op:Equal spids:[1225])]
              spids: [1223]
            )
            (Assignment
              keyword: Assign_Local
              flags: ["'-r'"]
              pairs: [
                (assign_pair
                  lhs: (LhsName name:address)
                  op: Equal
                  rhs: {($ VSub_Number "$1")}
                  spids: [1232]
                )
              ]
              spids: [1228]
            )
            (Assignment
              keyword: Assign_Local
              flags: ["'-r'"]
              pairs: [
                (assign_pair
                  lhs: (LhsName name:desired)
                  op: Equal
                  rhs: {($ VSub_Number "$2")}
                  spids: [1240]
                )
              ]
              spids: [1236]
            )
            (Assignment
              keyword: Assign_Local
              flags: ["'-r'"]
              pairs: [
                (assign_pair
                  lhs: (LhsName name:full_address)
                  op: Equal
                  rhs: 
                    {
                      (DQ (${ VSub_Name PROXY_HOST) (":") (${ VSub_Name PROXY_PORT) 
                        (${ VSub_Name address)
                      )
                    }
                  spids: [1248]
                )
              ]
              spids: [1244]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:status)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(curl)} {(-w)} {(DQ ("%{http_code}"))} {(--silent)} {(--output)} 
                                {(/dev/null)} {(DQ (${ VSub_Name full_address))}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [1264 1284]
                      )
                    }
                  spids: [1263]
                )
              ]
              spids: [1263]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other "[")} {(DQ (${ VSub_Name status))} 
                          {(Lit_Other "=") (Lit_Other "=")} {(DQ (${ VSub_Name desired))} {(Lit_Other "]")}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                  spids: [-1 1309]
                )
              ]
              spids: [-1 1317]
            )
            (C {(echo)} 
              {
                (DQ ("For address ") (${ VSub_Name full_address) (", got ") (${ VSub_Name status) 
                  (" but wanted ") (${ VSub_Name desired)
                )
              }
            )
            (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
          ]
          spids: [1220]
        )
      spids: [1214 1219]
    )
    (FuncDef
      name: kubectl-with-retry
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:ERROR_FILE)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/kubectl-error))}
                  spids: [1357]
                )
              ]
              spids: [1357]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:preserve_err_file)
                  op: Equal
                  rhs: 
                    {
                      (BracedVarSub
                        token: <VSub_Name PRESERVE_ERR_FILE>
                        suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(false)})
                        spids: [1367 1371]
                      )
                    }
                  spids: [1366]
                )
              ]
              spids: [1366]
            )
            (ForEach
              iter_name: count
              iter_words: [{(Lit_LBrace "{") (0..3) (Lit_RBrace "}")}]
              do_arg_iter: False
              body: 
                (DoGroup
                  children: [
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [{(kubectl)} {(DQ ($ VSub_At "$@"))}]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 2
                              arg_word: {(${ VSub_Name ERROR_FILE)}
                              spids: [1394]
                            )
                          ]
                        )
                        (C {(true)})
                      ]
                      op_id: Op_DPipe
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(grep)} {(-q)} {(DQ ("the object has been modified"))} 
                                  {(DQ (${ VSub_Name ERROR_FILE))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") 
                                (Lit_Other ":") (status)
                              } 
                              {
                                (DQ ("retry ") ($ VSub_Number "$1") (", error: ") 
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [(C {(cat)} {(${ VSub_Name ERROR_FILE)})]
                                      )
                                    left_token: <Left_CommandSub "$(">
                                    spids: [1437 1443]
                                  )
                                )
                              }
                            )
                            (C {(rm)} {(DQ (${ VSub_Name ERROR_FILE))})
                            (C {(sleep)} 
                              {
                                (ArithSubPart
                                  anode: 
                                    (ArithBinary
                                      op_id: Arith_DStar
                                      left: (ArithWord w:{(Lit_Digits 2)})
                                      right: (ArithVarRef name:count)
                                    )
                                  spids: [1458 1463]
                                )
                              }
                            )
                          ]
                          spids: [-1 1422]
                        )
                      ]
                      else_action: [
                        (If
                          arms: [
                            (if_arm
                              cond: [
                                (Sentence
                                  child: 
                                    (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$preserve_err_file"))} 
                                      {(KW_Bang "!") (Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                    )
                                  terminator: <Op_Semi ";">
                                )
                              ]
                              action: [(C {(rm)} {(DQ (${ VSub_Name ERROR_FILE))})]
                              spids: [-1 1486]
                            )
                          ]
                          spids: [-1 1498]
                        )
                        (ControlFlow token:<ControlFlow_Break break>)
                      ]
                      spids: [1466 1504]
                    )
                  ]
                  spids: [1385 1507]
                )
              spids: [1379 1383]
            )
          ]
          spids: [1354]
        )
      spids: [1348 1353]
    )
    (FuncDef
      name: wait-for-pods-with-label
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:i) op:Equal spids:[1541])]
              spids: [1539]
            )
            (ForEach
              iter_name: i
              iter_words: [
                {
                  (CommandSubPart
                    command_list: (CommandList children:[(C {(seq)} {(1)} {(10)})])
                    left_token: <Left_CommandSub "$(">
                    spids: [1550 1556]
                  )
                }
              ]
              do_arg_iter: False
              body: 
                (DoGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:kubeout)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (C {(kubectl)} {(get)} {(po)} {(-l)} {($ VSub_Number "$1")} 
                                        {(--template)} {(SQ <"{{range.items}}{{.metadata.name}}{{end}}">)} {(--sort-by)} {(metadata.name)} 
                                        {
                                          (DQ 
                                            (BracedVarSub
                                              token: <VSub_Name kube_flags>
                                              bracket_op: (WholeArray op_id:Lit_At)
                                              spids: [1585 1590]
                                            )
                                          )
                                        }
                                      )
                                    ]
                                  )
                                left_token: <Left_Backtick "`">
                                spids: [1563 1592]
                              )
                            }
                          spids: [1562]
                        )
                      ]
                      spids: [1562]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DBracket
                                  expr: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobEqual
                                      left: {($ VSub_Name "$kubeout")}
                                      right: {($ VSub_Number "$2")}
                                    )
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(ControlFlow token:<ControlFlow_Return return>)]
                          spids: [-1 1608]
                        )
                      ]
                      spids: [-1 1614]
                    )
                    (C {(echo)} {(Waiting)} {(KW_For for)} {(pods) (Lit_Other ":")} 
                      {($ VSub_Number "$2") (Lit_Comma ",")} {(found)} {($ VSub_Name "$kubeout")}
                    )
                    (C {(sleep)} {($ VSub_Name "$i")})
                  ]
                  spids: [1559 1639]
                )
              spids: [1549 1557]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (error_exit)} {(DQ ("Timeout waiting for pods with label ") ($ VSub_Number "$1"))}
            )
          ]
          spids: [1536]
        )
      spids: [1530 1535]
    )
    (FuncDef
      name: setup
      body: 
        (BraceGroup
          children: [
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (util) (Lit_Other ":") (Lit_Other ":") (trap_add)} {(cleanup)} {(EXIT)} {(SIGINT)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (util) (Lit_Other ":") (Lit_Other ":") 
                (ensure-temp-dir)
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:HOME)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP))}
                  spids: [1696]
                )
              ]
              spids: [1696]
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (etcd) (Lit_Other ":") (Lit_Other ":") (start)})
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:SED) op:Equal rhs:{(sed)} spids:[1719])]
              spids: [1719]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: (C {(which)} {(gsed)})
                      terminator: <Op_Amp "&">
                    )
                    (Sentence
                      child: 
                        (SimpleCommand
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: -1
                              arg_word: {(/dev/null)}
                              spids: [1730]
                            )
                          ]
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [(assign_pair lhs:(LhsName name:SED) op:Equal rhs:{(gsed)} spids:[1737])]
                      spids: [1737]
                    )
                  ]
                  spids: [-1 1734]
                )
              ]
              spids: [-1 1741]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (Pipeline
                          children: [
                            (Subshell
                              child: 
                                (Pipeline
                                  children: [
                                    (SimpleCommand
                                      words: [{($ VSub_Name "$SED")} {(--version)}]
                                      redirects: [
                                        (Redir
                                          op_id: Redir_GreatAnd
                                          fd: 2
                                          arg_word: {(1)}
                                          spids: [1753]
                                        )
                                      ]
                                    )
                                    (C {(grep)} {(-q)} {(GNU)})
                                  ]
                                  negated: False
                                )
                              spids: [1748 1763]
                            )
                          ]
                          negated: True
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(echo)} 
                      {(DQ ("!!! GNU sed is required.  If on OS X, use 'brew install gnu-sed'."))}
                    )
                    (C {(exit)} {(1)})
                  ]
                  spids: [-1 1766]
                )
              ]
              spids: [-1 1781]
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Building kubectl"))}
            )
            (C {(make)} {(-C)} {(DQ (${ VSub_Name KUBE_ROOT))} {(Lit_VarLike "WHAT=") (DQ (cmd/kubectl))})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Running kubectl with no options"))}
            )
            (C {(DQ (${ VSub_Name KUBE_OUTPUT_HOSTBIN) (/kubectl))})
            (C {(kubectl)} {(config)} {(view)})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:CONTEXT)
                  op: Equal
                  rhs: {(DQ (test))}
                  spids: [1856]
                )
              ]
              spids: [1856]
            )
            (C {(kubectl)} {(config)} {(set-context)} {(DQ (${ VSub_Name CONTEXT))})
            (C {(kubectl)} {(config)} {(use-context)} {(DQ (${ VSub_Name CONTEXT))})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Setup complete"))}
            )
          ]
          spids: [1665]
        )
      spids: [1661 1664]
    )
    (FuncDef
      name: run_kubectl_version_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl version"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:TEMP)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP))}
                  spids: [1948]
                )
              ]
              spids: [1948]
            )
            (C {(kubectl)} {(get)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [1962 1967]
                  )
                )
              } {(--raw)} {(/version)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (object_to_file)
              } {(DQ (Client))} {(DQ )} {(DQ (${ VSub_Name TEMP) (/client_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (object_to_file)
              } {(DQ (Server))} {(DQ )} {(DQ (${ VSub_Name TEMP) (/server_version_test))}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl version: check client only output matches expected output"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (object_to_file)
              } {(DQ (Client))} {(DQ (--client))} {(DQ (${ VSub_Name TEMP) (/client_only_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (object_to_file)
              } {(DQ (Client))} {(DQ (--client))} {(DQ (${ VSub_Name TEMP) (/server_client_only_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (diff_assert)
              } {(DQ (${ VSub_Name TEMP) (/client_version_test))} {(DQ (eq))} 
              {(DQ (${ VSub_Name TEMP) (/client_only_version_test))} {(DQ ("the flag '--client' shows correct client info"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (diff_assert)
              } {(DQ (${ VSub_Name TEMP) (/server_version_test))} {(DQ (ne))} 
              {(DQ (${ VSub_Name TEMP) (/server_client_only_version_test))} {(DQ ("the flag '--client' correctly has no server version info"))}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl version: verify json output"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (json_client_server_object_to_file)
              } {(DQ )} {(DQ (clientVersion))} {(DQ (${ VSub_Name TEMP) (/client_json_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (json_client_server_object_to_file)
              } {(DQ )} {(DQ (serverVersion))} {(DQ (${ VSub_Name TEMP) (/server_json_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (diff_assert)
              } {(DQ (${ VSub_Name TEMP) (/client_version_test))} {(DQ (eq))} 
              {(DQ (${ VSub_Name TEMP) (/client_json_version_test))} {(DQ ("--output json has correct client info"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (diff_assert)
              } {(DQ (${ VSub_Name TEMP) (/server_version_test))} {(DQ (eq))} 
              {(DQ (${ VSub_Name TEMP) (/server_json_version_test))} {(DQ ("--output json has correct server info"))}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {
                (DQ 
                  (
"Testing kubectl version: verify json output using additional --client flag does not contain serverVersion"
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (json_client_server_object_to_file)
              } {(DQ (--client))} {(DQ (clientVersion))} {(DQ (${ VSub_Name TEMP) (/client_only_json_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (json_client_server_object_to_file)
              } {(DQ (--client))} {(DQ (serverVersion))} 
              {(DQ (${ VSub_Name TEMP) (/server_client_only_json_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (diff_assert)
              } {(DQ (${ VSub_Name TEMP) (/client_version_test))} {(DQ (eq))} 
              {(DQ (${ VSub_Name TEMP) (/client_only_json_version_test))} {(DQ ("--client --output json has correct client info"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (diff_assert)
              } {(DQ (${ VSub_Name TEMP) (/server_version_test))} {(DQ (ne))} 
              {(DQ (${ VSub_Name TEMP) (/server_client_only_json_version_test))} {(DQ ("--client --output json has no server info"))}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl version: compare json output using additional --short flag"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (json_client_server_object_to_file)
              } {(DQ (--short))} {(DQ (clientVersion))} {(DQ (${ VSub_Name TEMP) (/client_short_json_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (json_client_server_object_to_file)
              } {(DQ (--short))} {(DQ (serverVersion))} {(DQ (${ VSub_Name TEMP) (/server_short_json_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (diff_assert)
              } {(DQ (${ VSub_Name TEMP) (/client_version_test))} {(DQ (eq))} 
              {(DQ (${ VSub_Name TEMP) (/client_short_json_version_test))} {(DQ ("--short --output client json info is equal to non short result"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (diff_assert)
              } {(DQ (${ VSub_Name TEMP) (/server_version_test))} {(DQ (eq))} 
              {(DQ (${ VSub_Name TEMP) (/server_short_json_version_test))} {(DQ ("--short --output server json info is equal to non short result"))}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl version: compare json output with yaml output"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (json_object_to_file)
              } {(DQ )} {(DQ (${ VSub_Name TEMP) (/client_server_json_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (yaml_object_to_file)
              } {(DQ )} {(DQ (${ VSub_Name TEMP) (/client_server_yaml_version_test))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (version) 
                (Lit_Other ":") (Lit_Other ":") (diff_assert)
              } {(DQ (${ VSub_Name TEMP) (/client_server_json_version_test))} {(DQ (eq))} 
              {(DQ (${ VSub_Name TEMP) (/client_server_yaml_version_test))} {(DQ ("--output json/yaml has identical information"))}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [1917]
        )
      spids: [1913 1916]
    )
    (FuncDef
      name: run_pod_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:pods)"))}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [2768 2773]
                  )
                )
              } {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)}
            )
            (C {(kubectl)} {(get)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [2790 2795]
                  )
                )
              } {(pods)} {(-o)} {(json)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <pod/valid-pod>)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <pods/valid-pod>)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_jsonpath_assert)
              } {(pods)} {(DQ ("{.items[*]") ($ VSub_Name "$id_field") ("}"))} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_jsonpath_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{") ($ VSub_Name "$id_field") ("}"))} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_jsonpath_assert)
              } {(SQ <pod/valid-pod>)} {(DQ ("{") ($ VSub_Name "$id_field") ("}"))} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_jsonpath_assert)
              } {(SQ <pods/valid-pod>)} {(DQ ("{") ($ VSub_Name "$id_field") ("}"))} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_assert)
              } {(pods)} {(SQ <valid-pod>)} {(DQ ("Name:"))} {(DQ ("Image:"))} {(DQ ("Node:"))} {(DQ ("Labels:"))} 
              {(DQ ("Status:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(pods)} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(pods)} {(SQ <valid-pod>)} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(pods)} {(SQ <valid-pod>)} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(pods)} {(DQ ("Name:"))} {(DQ ("Image:"))} {(DQ ("Node:"))} {(DQ ("Labels:"))} {(DQ ("Status:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(pods)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(pods)} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(pods)} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <pods/valid-pod>)} {(DQ ("{{.metadata.namespace}} {{.metadata.name}}"))} 
              {(SQ <"<no value> valid-pod">)} {(DQ ("--export=true"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_pod)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(pod)} {(valid-pod)} {(-o)} {(yaml)} 
                                {(--output-version) (Lit_Other "=") (v1)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [3227 3232]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [3209 3234]
                      )
                    }
                  spids: [3208]
                )
              ]
              spids: [3208]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(pod)} {(valid-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [3280 3285]
                  )
                )
              } {(--grace-period) (Lit_Other "=") (0)} {(--force)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [3333 3338]
                  )
                )
              } {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(pod)} {(valid-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [3380 3385]
                  )
                )
              } {(--now)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [3429 3434]
                  )
                )
              } {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(pod)} {(valid-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [3476 3481]
                  )
                )
              } {(--grace-period) (Lit_Other "=") (0)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Pipeline
              children: [
                (C {(echo)} {(DQ (${ VSub_Name output_pod))})
                (C {($ VSub_Name "$SED")} {(SQ <"/namespace:/d">)})
                (C {(kubectl)} {(create)} {(-f)} {(-)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [3576 3581]
                      )
                    )
                  }
                )
              ]
              negated: False
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [3653 3658]
                  )
                )
              } {(--grace-period) (Lit_Other "=") (0)} {(--force)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [3737 3742]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("pods -l'name in (valid-pod)'"))} {(SQ <"{{range.items}}{{$id_field}}:{{end}}">)} 
              {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(-l) (SQ <"name in (valid-pod)">)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [3817 3822]
                  )
                )
              } {(--grace-period) (Lit_Other "=") (0)} {(--force)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("pods -l'name in (valid-pod)'"))} {(SQ <"{{range.items}}{{$id_field}}:{{end}}">)} {(SQ )}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [3901 3906]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(delete)} {(pods)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [3978 3983]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(delete)} {(--all)} {(pods)} {(-l) (SQ <"name in (valid-pod)">)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [4062 4067]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(--all)} {(pods)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [4139 4144]
                  )
                )
              } {(--grace-period) (Lit_Other "=") (0)} {(--force)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("pods -l'name in (valid-pod)'"))} {(SQ <"{{range.items}}{{$id_field}}:{{end}}">)} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <namespaces>)} 
              {
                (SQ 
                  <
"{{range.items}}{{ if eq $id_field \\\"test-kubectl-describe-pod\\\" }}found{{end}}{{end}}:"
                  >
                )
              } {(SQ <":">)}
            )
            (C {(kubectl)} {(create)} {(namespace)} {(test-kubectl-describe-pod)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <namespaces/test-kubectl-describe-pod>)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} 
              {(SQ <test-kubectl-describe-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secrets --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(secret)} {(generic)} {(test-secret)} 
              {(--from-literal) (Lit_Other "=") (key-1) (Lit_Other "=") (value1)} {(--type) (Lit_Other "=") (test-type)} {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/test-secret --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <test-secret>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/test-secret --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{") ($ VSub_Name "$secret_type") ("}}"))} {(SQ <test-type>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"configmaps --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(configmap)} {(test-configmap)} 
              {(--from-literal) (Lit_Other "=") (key-2) (Lit_Other "=") (value2)} {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"configmap/test-configmap --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <test-configmap>)}
            )
            (C {(kubectl)} {(create)} {(pdb)} {(test-pdb-1)} 
              {(--selector) (Lit_Other "=") (Lit_VarLike "app=") (rails)} {(--min-available) (Lit_Other "=") (2)} {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pdb/test-pdb-1 --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{") ($ VSub_Name "$pdb_min_available") ("}}"))} {(SQ <2>)}
            )
            (C {(kubectl)} {(create)} {(pdb)} {(test-pdb-2)} 
              {(--selector) (Lit_Other "=") (Lit_VarLike "app=") (rails)} {(--min-available) (Lit_Other "=") (50) (Lit_Other "%")} 
              {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pdb/test-pdb-2 --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{") ($ VSub_Name "$pdb_min_available") ("}}"))} {(SQ <"50%">)}
            )
            (C {(kubectl)} {(create)} {(pdb)} {(test-pdb-3)} 
              {(--selector) (Lit_Other "=") (Lit_VarLike "app=") (rails)} {(--max-unavailable) (Lit_Other "=") (2)} {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pdb/test-pdb-3 --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{") ($ VSub_Name "$pdb_max_unavailable") ("}}"))} {(SQ <2>)}
            )
            (C {(kubectl)} {(create)} {(pdb)} {(test-pdb-4)} 
              {(--selector) (Lit_Other "=") (Lit_VarLike "app=") (rails)} {(--max-unavailable) (Lit_Other "=") (50) (Lit_Other "%")} 
              {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pdb/test-pdb-4 --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{") ($ VSub_Name "$pdb_max_unavailable") ("}}"))} {(SQ <"50%">)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(create)} {(pdb)} {(test-pdb)} 
                  {(--selector) (Lit_Other "=") (Lit_VarLike "app=") (rails)} {(--min-available) (Lit_Other "=") (2)} {(--max-unavailable) (Lit_Other "=") (3)} 
                  {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods --namespace=test-kubectl-describe-pod">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/pod-with-api-env.yaml)} 
              {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_assert)
              } {(SQ <"pods --namespace=test-kubectl-describe-pod">)} {(SQ <env-test-pod>)} {(DQ (TEST_CMD_1))} 
              {(DQ ("<set to the key 'key-1' in secret 'test-secret'>"))} {(DQ (TEST_CMD_2))} {(DQ ("<set to the key 'key-2' of config map 'test-configmap'>"))} 
              {(DQ (TEST_CMD_3))} {(DQ ("env-test-pod (v1:metadata.name)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(SQ <"pods --namespace=test-kubectl-describe-pod">)} {(DQ (TEST_CMD_1))} 
              {(DQ ("<set to the key 'key-1' in secret 'test-secret'>"))} {(DQ (TEST_CMD_2))} {(DQ ("<set to the key 'key-2' of config map 'test-configmap'>"))} 
              {(DQ (TEST_CMD_3))} {(DQ ("env-test-pod (v1:metadata.name)"))}
            )
            (C {(kubectl)} {(delete)} {(pod)} {(env-test-pod)} 
              {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C {(kubectl)} {(delete)} {(secret)} {(test-secret)} 
              {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C {(kubectl)} {(delete)} {(configmap)} {(test-configmap)} 
              {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C {(kubectl)} {(delete)} {(pdb/test-pdb-1)} {(pdb/test-pdb-2)} {(pdb/test-pdb-3)} 
              {(pdb/test-pdb-4)} {(--namespace) (Lit_Other "=") (test-kubectl-describe-pod)}
            )
            (C {(kubectl)} {(delete)} {(namespace)} {(test-kubectl-describe-pod)})
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [4941 4946]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(examples/storage/redis/redis-master.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [4959 4964]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"redis-master:valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"redis-master:valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(valid-pod)} {(redis-master)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5038 5043]
                  )
                )
              } {(--grace-period) (Lit_Other "=") (0)} {(--force)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5125 5130]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{range") ($ VSub_Name "$labels_field") ("}}{{.}}:{{end}}"))} 
              {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(label)} {(pods)} {(valid-pod)} {(new-name) (Lit_Other "=") (new-valid-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5208 5213]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{range") ($ VSub_Name "$labels_field") ("}}{{.}}:{{end}}"))} 
              {(SQ <"valid-pod:new-valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{range") ($ VSub_Name "$labels_field") ("}}{{.}}:{{end}}"))} 
              {(SQ <"valid-pod:new-valid-pod:">)}
            )
            (C {(kubectl)} {(label)} {(pods)} {(valid-pod)} {(Lit_VarLike "emptylabel=") (DQ )} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5293 5298]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".emptylabel}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".emptyannotation}}"))} 
              {(SQ <"<no value>">)}
            )
            (C {(kubectl)} {(annotate)} {(pods)} {(valid-pod)} {(Lit_VarLike "emptyannotation=") (DQ )} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5381 5386]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".emptyannotation}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$annotations_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(label)} {(pods)} {(valid-pod)} {(record-change) (Lit_Other "=") (true)} 
              {(--record) (Lit_Other "=") (true)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5470 5475]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{range") ($ VSub_Name "$annotations_field") ("}}{{.}}:{{end}}"))} 
              {(DQ (".*--record=true.*"))}
            )
            (C {(kubectl)} {(label)} {(pods)} {(valid-pod)} {(no-record-change) (Lit_Other "=") (true)} 
              {(--record) (Lit_Other "=") (false)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5532 5537]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{range") ($ VSub_Name "$annotations_field") ("}}{{.}}:{{end}}"))} 
              {(DQ (".*--record=true.*"))}
            )
            (C {(kubectl)} {(label)} {(pods)} {(valid-pod)} {(new-record-change) (Lit_Other "=") (true)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5590 5595]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{range") ($ VSub_Name "$annotations_field") ("}}{{.}}:{{end}}"))} 
              {(DQ (".*new-record-change=true.*"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(-lnew-name) (Lit_Other "=") (new-valid-pod)} 
              {(--grace-period) (Lit_Other "=") (0)} {(--force)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5678 5683]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/pod-with-precision.json)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5753 5758]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"pod-with-precision:">)}
            )
            (C {(kubectl)} {(patch)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5801 5806]
                  )
                )
              } {(pod)} {(pod-with-precision)} 
              {(-p) (Lit_Other "=") 
                (SQ <"{\"metadata\":{\"annotations\":{\"patchkey\": \"patchvalue\"}}}">)
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod pod-with-precision">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".patchkey}}"))} 
              {(SQ <patchvalue>)}
            )
            (C {(kubectl)} {(label)} {(pods)} {(pod-with-precision)} 
              {(Lit_VarLike "labelkey=") (labelvalue)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5865 5870]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod pod-with-precision">)} {(DQ ("{{") (${ VSub_Name labels_field) (".labelkey}}"))} 
              {(SQ <labelvalue>)}
            )
            (C {(kubectl)} {(annotate)} {(pods)} {(pod-with-precision)} 
              {(Lit_VarLike "annotatekey=") (annotatevalue)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5919 5924]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod pod-with-precision">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotatekey}}"))} 
              {(SQ <annotatevalue>)}
            )
            (C {(kubectl)} {(delete)} {(pod)} {(pod-with-precision)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5970 5975]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [5993 5998]
                  )
                )
              }
            )
            (C {(kubectl)} {(annotate)} {(-f)} {(hack/testdata/pod.yaml)} 
              {(Lit_VarLike "annotatekey=") (annotatevalue)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6018 6023]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod test-pod">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotatekey}}"))} 
              {(SQ <annotatevalue>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(annotate)} {(--local)} {(-f)} {(hack/testdata/pod.yaml)} 
                                {(Lit_VarLike "annotatekey=") (localvalue)} {(-o)} {(yaml)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [6082 6087]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [6063 6089]
                      )
                    }
                  spids: [6062]
                )
              ]
              spids: [6062]
            )
            (C {(echo)} {($ VSub_Name "$output_message")})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod test-pod">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotatekey}}"))} 
              {(SQ <annotatevalue>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ (localvalue))}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6160 6165]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(service)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:TEMP)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(mktemp)} {(/tmp/tmp-editor-XXXXXXXX.sh)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [6223 6227]
                      )
                    }
                  spids: [6222]
                )
              ]
              spids: [6222]
            )
            (SimpleCommand
              words: [
                {(echo)}
                {(-e)}
                {
                  (DQ ("#!/bin/bash") (EscapedLiteralPart token:<Lit_EscapedChar "\\n">) 
                    ($ VSub_Name "$SED") (" -i ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (s/mock/modified/g) 
                    (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (1)
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_Great fd:-1 arg_word:{(${ VSub_Name TEMP)} spids:[6247])]
            )
            (C {(chmod)} {(Lit_Other "+") (x)} {(${ VSub_Name TEMP)})
            (SimpleCommand
              words: [
                {(kubectl)}
                {(create)}
                {(--edit)}
                {(-f)}
                {(hack/testdata/multi-resource-json.json)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [6284 6289]
                    )
                  )
                }
              ]
              more_env: [(env_pair name:EDITOR val:{(${ VSub_Name TEMP)} spids:[6268])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(service)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"modified:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"modified:">)}
            )
            (C {(kubectl)} {(delete)} {(service/modified)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6350 6355]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(rc/modified)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6366 6371]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(service)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(create)}
                {(--edit)}
                {(-f)}
                {(hack/testdata/multi-resource-list.json)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [6440 6445]
                    )
                  )
                }
              ]
              more_env: [(env_pair name:EDITOR val:{(${ VSub_Name TEMP)} spids:[6424])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(service)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"modified:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"modified:">)}
            )
            (C {(rm)} {(${ VSub_Name TEMP)})
            (C {(kubectl)} {(delete)} {(service/modified)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6513 6518]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(rc/modified)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6529 6534]
                  )
                )
              }
            )
            (C {(Lit_Other "[")} 
              {
                (DQ 
                  (CommandSubPart
                    command_list: 
                      (CommandList
                        children: [
                          (Pipeline
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(create)}
                                  {(--edit)}
                                  {(-f)}
                                  {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)}
                                  {(-o)}
                                  {(json)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [6564]
                                  )
                                ]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[6547])]
                              )
                              (C {(grep)} {(SQ <"Edit cancelled">)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub "$(">
                    spids: [6546 6574]
                  )
                )
              } {(Lit_Other "]")}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6622 6627]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(patch)} {(--local)} {(-f)} 
                  {(pkg/kubectl/validation/testdata/v1/validPod.yaml)} {(--patch) (Lit_Other "=") (SQ <"{\"spec\": {\"restartPolicy\":\"Never\"}}">)} {(-o)} 
                  {(Lit_VarLike "jsonpath=") (SQ <"{.spec.restartPolicy}">)}
                )
                (C {(grep)} {(-q)} {(DQ (Never))})
              ]
              negated: False
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(patch)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [6709 6714]
                                          )
                                        )
                                      }
                                      {(pod)}
                                      {(valid-pod)}
                                      {(-p) (Lit_Other "=") (SQ <"{\"spec\":{\"replicas\":7}}">)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [6727]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [6701 6729]
                      )
                    }
                  spids: [6700]
                )
              ]
              spids: [6700]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"not patched">)}
            )
            (C {(kubectl)} {(patch)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6765 6770]
                  )
                )
              } {(pod)} {(valid-pod)} {(--record)} 
              {(-p) (Lit_Other "=") 
                (SQ 
                  <
"{\"spec\":{\"containers\":[{\"name\": \"kubernetes-serve-hostname\", \"image\": \"nginx\"}]}}"
                  >
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} {(SQ <"nginx:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$annotations_field") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name change_cause_annotation))}
            )
            (C {(kubectl)} {(patch)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6847 6852]
                  )
                )
              } {(pod)} {(valid-pod)} {(--type) (Lit_Other "=") (DQ (json))} 
              {(-p) (Lit_Other "=") 
                (SQ 
                  <
"[{\"op\": \"replace\", \"path\": \"/spec/containers/0/image\", \"value\":\"nginx2\"}]"
                  >
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} {(SQ <"nginx2:">)}
            )
            (C {(kubectl)} {(patch)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6906 6911]
                  )
                )
              } {(pod)} {(valid-pod)} {(--type) (Lit_Other "=") (DQ (json))} 
              {(-p) (Lit_Other "=") 
                (SQ 
                  <
"[{\"op\": \"replace\", \"path\": \"/spec/containers/0/image\", \"value\":\"nginx\"}]"
                  >
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} {(SQ <"nginx:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:YAML_PATCH)
                  op: Equal
                  rhs: 
                    {
                      (SQ <"spec:"> <Lit_EscapedChar "\\n"> <"  containers:"> <Lit_EscapedChar "\\n"> 
                        <"  - name: kubernetes-serve-hostname"> <Lit_EscapedChar "\\n"> <"    image: changed-with-yaml"> <Lit_EscapedChar "\\n">
                      )
                    }
                  spids: [6960]
                )
              ]
              spids: [6960]
            )
            (C {(kubectl)} {(patch)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6978 6983]
                  )
                )
              } {(pod)} {(valid-pod)} {(-p) (Lit_Other "=") (DQ (${ VSub_Name YAML_PATCH))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} 
              {(SQ <"changed-with-yaml:">)}
            )
            (C {(kubectl)} {(patch)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [7037 7042]
                  )
                )
              } {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)} 
              {(-p) (Lit_Other "=") 
                (SQ 
                  <
"{\"spec\":{\"containers\":[{\"name\": \"kubernetes-serve-hostname\", \"image\": \"gcr.io/google_containers/pause-amd64:3.0\"}]}}"
                  >
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} 
              {(SQ <"gcr.io/google_containers/pause-amd64:3.0:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:ERROR_FILE)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/conflict-error))}
                  spids: [7086]
                )
              ]
              spids: [7086]
            )
            (ForEach
              iter_name: count
              iter_words: [{(Lit_LBrace "{") (0..3) (Lit_RBrace "}")}]
              do_arg_iter: False
              body: 
                (DoGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:resourceVersion)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (C {(kubectl)} {(get)} 
                                        {
                                          (DQ 
                                            (BracedVarSub
                                              token: <VSub_Name kube_flags>
                                              bracket_op: (WholeArray op_id:Lit_At)
                                              spids: [7128 7133]
                                            )
                                          )
                                        } {(pod)} {(valid-pod)} {(-o)} {(go-template) (Lit_Other "=") (SQ <"{{ .metadata.resourceVersion }}">)}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [7122 7147]
                              )
                            }
                          spids: [7121]
                        )
                      ]
                      spids: [7121]
                    )
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [
                            {(kubectl)}
                            {(patch)}
                            {
                              (DQ 
                                (BracedVarSub
                                  token: <VSub_Name kube_flags>
                                  bracket_op: (WholeArray op_id:Lit_At)
                                  spids: [7155 7160]
                                )
                              )
                            }
                            {(pod)}
                            {(valid-pod)}
                            {(-p) (Lit_Other "=") 
                              (SQ 
                                <
"{\"spec\":{\"containers\":[{\"name\": \"kubernetes-serve-hostname\", \"image\": \"nginx\"}]},\"metadata\":{\"resourceVersion\":\""
                                >
                              ) ($ VSub_Name "$resourceVersion") (SQ <"\"}}">)
                            }
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 2
                              arg_word: {(DQ (${ VSub_Name ERROR_FILE))}
                              spids: [7177]
                            )
                          ]
                        )
                        (C {(true)})
                      ]
                      op_id: Op_DPipe
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(grep)} {(-q)} {(DQ ("the object has been modified"))} 
                                  {(DQ (${ VSub_Name ERROR_FILE))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") 
                                (Lit_Other ":") (status)
                              } 
                              {
                                (DQ ("retry ") ($ VSub_Number "$1") (", error: ") 
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [(C {(cat)} {(${ VSub_Name ERROR_FILE)})]
                                      )
                                    left_token: <Left_CommandSub "$(">
                                    spids: [7222 7228]
                                  )
                                )
                              }
                            )
                            (C {(rm)} {(DQ (${ VSub_Name ERROR_FILE))})
                            (C {(sleep)} 
                              {
                                (ArithSubPart
                                  anode: 
                                    (ArithBinary
                                      op_id: Arith_DStar
                                      left: (ArithWord w:{(Lit_Digits 2)})
                                      right: (ArithVarRef name:count)
                                    )
                                  spids: [7243 7248]
                                )
                              }
                            )
                          ]
                          spids: [-1 7207]
                        )
                      ]
                      else_action: [
                        (C {(rm)} {(DQ (${ VSub_Name ERROR_FILE))})
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (get_object_assert)
                          } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} {(SQ <"nginx:">)}
                        )
                        (ControlFlow token:<ControlFlow_Break break>)
                      ]
                      spids: [7251 7287]
                    )
                  ]
                  spids: [7118 7290]
                )
              spids: [7112 7116]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:resourceVersion)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [7305 7310]
                                    )
                                  )
                                } {(pod)} {(valid-pod)} {(-o)} {(go-template) (Lit_Other "=") (SQ <"{{ .metadata.resourceVersion }}">)}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [7299 7324]
                      )
                    }
                  spids: [7298]
                )
              ]
              spids: [7298]
            )
            (DParen
              child: 
                (BinaryAssign
                  op_id: Arith_PlusEqual
                  left: (LhsName name:resourceVersion)
                  right: (ArithWord w:{(Lit_Digits 100)})
                )
            )
            (AndOr
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {(patch)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [7344 7349]
                        )
                      )
                    }
                    {(pod)}
                    {(valid-pod)}
                    {(-p) (Lit_Other "=") 
                      (SQ 
                        <
"{\"spec\":{\"containers\":[{\"name\": \"kubernetes-serve-hostname\", \"image\": \"nginx\"}]},\"metadata\":{\"resourceVersion\":\""
                        >
                      ) ($ VSub_Name "$resourceVersion") (SQ <"\"}}">)
                    }
                  ]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(DQ (${ VSub_Name ERROR_FILE))}
                      spids: [7366]
                    )
                  ]
                )
                (C {(true)})
              ]
              op_id: Op_DPipe
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(grep)} {(-q)} 
                          {(DQ ("please apply your changes to the latest version and try again"))} {(DQ (${ VSub_Name ERROR_FILE))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") 
                        (status)
                      } 
                      {
                        (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                          ("kubectl patch with resourceVersion ") ($ VSub_Name "$resourceVersion") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                          (" returns error as expected: ") 
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [(C {(cat)} {(${ VSub_Name ERROR_FILE)})]
                              )
                            left_token: <Left_CommandSub "$(">
                            spids: [7417 7423]
                          )
                        )
                      }
                    )
                  ]
                  spids: [-1 7400]
                )
              ]
              else_action: [
                (C 
                  {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
                  {
                    (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                      ("kubectl patch with resourceVersion ") ($ VSub_Name "$resourceVersion") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                      (" returns unexpected error or non-error: ") 
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(cat)} {(${ VSub_Name ERROR_FILE)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [7444 7450]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [7427 7459]
            )
            (C {(rm)} {(DQ (${ VSub_Name ERROR_FILE))})
            (Pipeline
              children: [
                (C {(kubectl)} {(get)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [7485 7490]
                      )
                    )
                  } {(pod)} {(valid-pod)} {(-o)} {(json)}
                )
                (SimpleCommand
                  words: [
                    {($ VSub_Name "$SED")}
                    {(SQ <"s/\"kubernetes-serve-hostname\"/\"replaced-k8s-serve-hostname\"/g">)}
                  ]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: -1
                      arg_word: {(/tmp/tmp-valid-pod.json)}
                      spids: [7509]
                    )
                  ]
                )
              ]
              negated: False
            )
            (C {(kubectl)} {(replace)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [7519 7524]
                  )
                )
              } {(--force)} {(-f)} {(/tmp/tmp-valid-pod.json)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{(index .spec.containers 0).name}}"))} 
              {(SQ <replaced-k8s-serve-hostname>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(replace)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [7573 7578]
                                          )
                                        )
                                      }
                                      {(--grace-period) (Lit_Other "=") (1)}
                                      {(-f)}
                                      {(/tmp/tmp-valid-pod.json)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [7589]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [7565 7591]
                      )
                    }
                  spids: [7564]
                )
              ]
              spids: [7564]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"\\-\\-grace-period must have \\-\\-force specified">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(replace)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [7627 7632]
                                          )
                                        )
                                      }
                                      {(--timeout) (Lit_Other "=") (1s)}
                                      {(-f)}
                                      {(/tmp/tmp-valid-pod.json)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [7643]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [7619 7645]
                      )
                    }
                  spids: [7618]
                )
              ]
              spids: [7618]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"\\-\\-timeout must have \\-\\-force specified">)}
            )
            (C {(rm)} {(/tmp/tmp-valid-pod.json)})
            (SimpleCommand
              words: [
                {(kubectl)}
                {(create)}
                {(-f)}
                {(-)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [7695 7700]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: -1
                  body: 
                    {
                      (DQ ("{\n") ("  ") (Right_DoubleQuote "\"") (kind) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (Node) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") (apiVersion) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (v1) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") 
                        (metadata) (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (name) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (node-v1-test) (Right_DoubleQuote "\"") ("\n") ("  }\n") ("}\n")
                      )
                    }
                  do_expansion: True
                  here_end: __EOF__
                  was_filled: True
                  spids: [7703]
                )
              ]
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(replace)}
                {(-f)}
                {(-)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [7752 7757]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: -1
                  body: 
                    {
                      (DQ ("{\n") ("  ") (Right_DoubleQuote "\"") (kind) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (Node) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") (apiVersion) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (v1) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") 
                        (metadata) (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (name) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (node-v1-test) (Right_DoubleQuote "\"") (",\n") ("    ") (Right_DoubleQuote "\"") (annotations) 
                        (Right_DoubleQuote "\"") (": {") (Right_DoubleQuote "\"") (a) (Right_DoubleQuote "\"") (":") (Right_DoubleQuote "\"") (b) 
                        (Right_DoubleQuote "\"") ("},\n") ("    ") (Right_DoubleQuote "\"") (resourceVersion) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (0) (Right_DoubleQuote "\"") ("\n") ("  }\n") ("}\n")
                      )
                    }
                  do_expansion: True
                  here_end: __EOF__
                  was_filled: True
                  spids: [7760]
                )
              ]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("node node-v1-test"))} {(DQ ("{{.metadata.annotations.a}}"))} {(SQ <b>)}
            )
            (C {(kubectl)} {(delete)} {(node)} {(node-v1-test)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [7857 7862]
                  )
                )
              }
            )
            (SimpleCommand
              words: [
                {(echo)}
                {(-e)}
                {
                  (DQ ("#!/bin/bash") (EscapedLiteralPart token:<Lit_EscapedChar "\\n">) 
                    ($ VSub_Name "$SED") (" -i ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (s/nginx/gcr.io) 
                    (EscapedLiteralPart token:<Lit_EscapedChar "\\/">) (google_containers) (EscapedLiteralPart token:<Lit_EscapedChar "\\/">) (serve_hostname/g) 
                    (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) (1)
                  )
                }
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(/tmp/tmp-editor.sh)}
                  spids: [7892]
                )
              ]
            )
            (C {(chmod)} {(Lit_Other "+") (x)} {(/tmp/tmp-editor.sh)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} {(SQ <"nginx:">)}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (SimpleCommand
                                      words: [
                                        {(kubectl)}
                                        {(edit)}
                                        {
                                          (DQ 
                                            (BracedVarSub
                                              token: <VSub_Name kube_flags>
                                              bracket_op: (WholeArray op_id:Lit_At)
                                              spids: [7942 7947]
                                            )
                                          )
                                        }
                                        {(pods/valid-pod)}
                                        {(--output-patch) (Lit_Other "=") (true)}
                                      ]
                                      more_env: [
                                        (env_pair
                                          name: EDITOR
                                          val: {(/tmp/tmp-editor.sh)}
                                          spids: [7934]
                                        )
                                      ]
                                    )
                                    (C {(grep)} {(Patch) (Lit_Other ":")})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [7933 7962]
                        )
                      )
                    }
                )
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} 
              {(SQ <"gcr.io/google_containers/serve_hostname:">)}
            )
            (C {(rm)} {(/tmp/tmp-editor.sh)})
            (C {(Lit_Other "[")} 
              {
                (DQ 
                  (CommandSubPart
                    command_list: 
                      (CommandList
                        children: [
                          (Pipeline
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(edit)} {(pod/valid-pod)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [8020]
                                  )
                                ]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[8011])]
                              )
                              (C {(grep)} {(SQ <"Edit cancelled">)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub "$(">
                    spids: [8010 8030]
                  )
                )
              } {(Lit_Other "]")}
            )
            (C {(Lit_Other "[")} 
              {
                (DQ 
                  (CommandSubPart
                    command_list: 
                      (CommandList
                        children: [
                          (Pipeline
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(edit)} {(pod/valid-pod)}]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[8040])]
                              )
                              (C {(grep)} {(SQ <"name: valid-pod">)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub "$(">
                    spids: [8039 8056]
                  )
                )
              } {(Lit_Other "]")}
            )
            (C {(Lit_Other "[")} 
              {
                (DQ 
                  (CommandSubPart
                    command_list: 
                      (CommandList
                        children: [
                          (Pipeline
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(edit)} {(--windows-line-endings)} {(pod/valid-pod)}]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[8066])]
                              )
                              (C {(file)} {(-)})
                              (C {(grep)} {(CRLF)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub "$(">
                    spids: [8065 8088]
                  )
                )
              } {(Lit_Other "]")}
            )
            (C {(Lit_Other "[")} {(KW_Bang "!")} 
              {
                (DQ 
                  (CommandSubPart
                    command_list: 
                      (CommandList
                        children: [
                          (Pipeline
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(edit)}
                                  {(--windows-line-endings) (Lit_Other "=") (false)}
                                  {(pod/valid-pod)}
                                ]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[8100])]
                              )
                              (C {(file)} {(-)})
                              (C {(grep)} {(CRLF)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub "$(">
                    spids: [8099 8124]
                  )
                )
              } {(Lit_Other "]")}
            )
            (C {(Lit_Other "[")} 
              {
                (DQ 
                  (CommandSubPart
                    command_list: 
                      (CommandList
                        children: [
                          (Pipeline
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(edit)} {(ns)}]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[8134])]
                              )
                              (C {(grep)} {(SQ <"kind: List">)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub "$(">
                    spids: [8133 8150]
                  )
                )
              } {(Lit_Other "]")}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <valid-pod>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(label)} {(--local)} {(--overwrite)} {(-f)} 
                                {(hack/testdata/pod.yaml)} {(Lit_VarLike "name=") (localonlyvalue)} {(-o)} {(yaml)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [8216 8221]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [8195 8223]
                      )
                    }
                  spids: [8194]
                )
              ]
              spids: [8194]
            )
            (C {(echo)} {($ VSub_Name "$output_message")})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ (localonlyvalue))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <valid-pod>)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(label)} {(pods)} {(valid-pod)} 
                  {(Lit_VarLike "name=") (valid-pod-super-sayan)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [8331 8336]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <valid-pod>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <valid-pod>)}
            )
            (C {(kubectl)} {(label)} {(--overwrite)} {(pods)} {(--all)} 
              {(Lit_VarLike "name=") (valid-pod-super-sayan)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [8421 8426]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pod valid-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} 
              {(SQ <valid-pod-super-sayan>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(-l) (SQ <"name in (valid-pod-super-sayan)">)} 
              {(--grace-period) (Lit_Other "=") (0)} {(--force)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [8511 8516]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/user-guide/multi-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [8589 8594]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"redis-master:valid-pod:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"redis-master:valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(test/fixtures/doc-yaml/user-guide/multi-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [8666 8671]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [8748 8753]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods test-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <test-pod-label>)}
            )
            (Pipeline
              children: [
                (DBracket
                  expr: 
                    (WordTest
                      w: 
                        {
                          (DQ 
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (Pipeline
                                      children: [
                                        (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [8809 8814]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub "$(">
                              spids: [8795 8822]
                            )
                          )
                        }
                    )
                )
              ]
              negated: True
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [8845 8850]
                      )
                    )
                  }
                )
                (SimpleCommand
                  words: [{($ VSub_Name "$SED")} {(SQ <s/test-pod-label/test-pod-replaced/g>)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: -1
                      arg_word: {(DQ (${ VSub_Name KUBE_TEMP)) (/test-pod-replace.yaml)}
                      spids: [8861]
                    )
                  ]
                )
              ]
              negated: False
            )
            (C {(kubectl)} {(replace)} {(-f)} {(DQ (${ VSub_Name KUBE_TEMP)) (/test-pod-replace.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [8889 8894]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods test-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <test-pod-replaced>)}
            )
            (Pipeline
              children: [
                (DBracket
                  expr: 
                    (WordTest
                      w: 
                        {
                          (DQ 
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (Pipeline
                                      children: [
                                        (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [8950 8955]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub "$(">
                              spids: [8936 8963]
                            )
                          )
                        }
                    )
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/pod-apply.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [8986 8991]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods test-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <test-pod-applied>)}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [9045 9050]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9031 9058]
                        )
                      )
                    }
                )
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [9077 9082]
                      )
                    )
                  }
                )
                (SimpleCommand
                  words: [{(grep)} {(kubectl.kubernetes.io/last-applied-configuration)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: -1
                      arg_word: {(DQ (${ VSub_Name KUBE_TEMP)) (/annotation-configuration)}
                      spids: [9091]
                    )
                  ]
                )
              ]
              negated: False
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [9118 9123]
                      )
                    )
                  }
                )
                (SimpleCommand
                  words: [{($ VSub_Name "$SED")} {(SQ <s/test-pod-applied/test-pod-replaced/g>)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: -1
                      arg_word: {(DQ (${ VSub_Name KUBE_TEMP)) (/test-pod-replace.yaml)}
                      spids: [9134]
                    )
                  ]
                )
              ]
              negated: False
            )
            (C {(kubectl)} {(replace)} {(-f)} {(DQ (${ VSub_Name KUBE_TEMP)) (/test-pod-replace.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [9162 9167]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods test-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <test-pod-replaced>)}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [9221 9226]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9207 9234]
                        )
                      )
                    }
                )
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [9253 9258]
                      )
                    )
                  }
                )
                (SimpleCommand
                  words: [{(grep)} {(kubectl.kubernetes.io/last-applied-configuration)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: -1
                      arg_word: {(DQ (${ VSub_Name KUBE_TEMP)) (/annotation-configuration-replaced)}
                      spids: [9267]
                    )
                  ]
                )
              ]
              negated: False
            )
            (Pipeline
              children: [
                (DBracket
                  expr: 
                    (WordTest
                      w: 
                        {
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(diff)}
                                      {(-q)}
                                      {(DQ (${ VSub_Name KUBE_TEMP)) (/annotation-configuration)}
                                      {(DQ (${ VSub_Name KUBE_TEMP)) 
                                        (/annotation-configuration-replaced)
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_Great
                                        fd: -1
                                        arg_word: {(/dev/null)}
                                        spids: [9300]
                                      )
                                    ]
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub "$(">
                            spids: [9281 9303]
                          )
                        }
                    )
                )
              ]
              negated: True
            )
            (C {(rm)} {(DQ (${ VSub_Name KUBE_TEMP)) (/test-pod-replace.yaml)} 
              {(DQ (${ VSub_Name KUBE_TEMP)) (/annotation-configuration)} {(DQ (${ VSub_Name KUBE_TEMP)) (/annotation-configuration-replaced)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(test-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [9345 9350]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [2696]
        )
      spids: [2692 2695]
    )
    (FuncDef
      name: run_kubectl_apply_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl apply"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [9455 9460]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods test-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} {(SQ <test-pod-label>)}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [9514 9519]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9500 9527]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(pods)} {(test-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [9546 9551]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployments)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(-f)} 
              {(hack/testdata/retainKeys/deployment/deployment-before.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [9598 9603]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployments)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}{{end}}"))} 
              {(SQ <test-deployment-retainkeys>)}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(deployments)} {(test-deployment-retainkeys)} 
                                      {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [9653 9658]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(RollingUpdate)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9639 9666]
                        )
                      )
                    }
                )
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(deployments)} {(test-deployment-retainkeys)} 
                                      {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [9689 9694]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(maxSurge)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9675 9702]
                        )
                      )
                    }
                )
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(deployments)} {(test-deployment-retainkeys)} 
                                      {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [9725 9730]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(maxUnavailable)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9711 9738]
                        )
                      )
                    }
                )
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(deployments)} {(test-deployment-retainkeys)} 
                                      {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [9761 9766]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(emptyDir)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9747 9774]
                        )
                      )
                    }
                )
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (C {(kubectl)} {(apply)} {(-f)} 
                                  {(hack/testdata/retainKeys/deployment/deployment-after.yaml)} 
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [9801 9806]
                                      )
                                    )
                                  }
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9791 9808]
                        )
                      )
                    }
                )
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(deployments)} {(test-deployment-retainkeys)} 
                                      {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [9835 9840]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(Recreate)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9821 9848]
                        )
                      )
                    }
                )
            )
            (Pipeline
              children: [
                (DBracket
                  expr: 
                    (WordTest
                      w: 
                        {
                          (DQ 
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (Pipeline
                                      children: [
                                        (C {(kubectl)} {(get)} {(deployments)} 
                                          {(test-deployment-retainkeys)} {(-o)} {(yaml)} 
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [9873 9878]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} {(RollingUpdate)})
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub "$(">
                              spids: [9859 9886]
                            )
                          )
                        }
                    )
                )
              ]
              negated: True
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(deployments)} {(test-deployment-retainkeys)} 
                                      {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [9909 9914]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(hostPath)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [9895 9922]
                        )
                      )
                    }
                )
            )
            (Pipeline
              children: [
                (DBracket
                  expr: 
                    (WordTest
                      w: 
                        {
                          (DQ 
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (Pipeline
                                      children: [
                                        (C {(kubectl)} {(get)} {(deployments)} 
                                          {(test-deployment-retainkeys)} {(-o)} {(yaml)} 
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [9947 9952]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} {(emptyDir)})
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub "$(">
                              spids: [9933 9960]
                            )
                          )
                        }
                    )
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(delete)} {(deployments)} {(test-deployment-retainkeys)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [9979 9984]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(-l)} {(unique-label) (Lit_Other "=") (bingbang)} {(-f)} 
              {(hack/testdata/filter)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [10037 10042]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods selector-test-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} 
              {(SQ <selector-test-pod>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods)}
                                      {(selector-test-pod-dont-apply)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [10095 10100]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10091]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [10080 10102]
                      )
                    }
                  spids: [10079]
                )
              ]
              spids: [10079]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"pods \"selector-test-pod-dont-apply\" not found">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(selector-test-pod)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(--prune)} {(-l)} {(prune-group) (Lit_Other "=") (true)} {(-f)} 
              {(hack/testdata/prune/a.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [10189 10194]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods a">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods)}
                                      {(b)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [10247 10252]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10243]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [10232 10254]
                      )
                    }
                  spids: [10231]
                )
              ]
              spids: [10231]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"pods \"b\" not found">)}
            )
            (C {(kubectl)} {(apply)} {(--prune)} {(-l)} {(prune-group) (Lit_Other "=") (true)} {(-f)} 
              {(hack/testdata/prune/b.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [10298 10303]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods b">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <b>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods)}
                                      {(a)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [10356 10361]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10352]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [10341 10363]
                      )
                    }
                  spids: [10340]
                )
              ]
              spids: [10340]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"pods \"a\" not found">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(b)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(-l)} {(prune-group) (Lit_Other "=") (true)} {(-f)} 
              {(hack/testdata/prune/a.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [10448 10453]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods a">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods)}
                                      {(b)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [10506 10511]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10502]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [10491 10513]
                      )
                    }
                  spids: [10490]
                )
              ]
              spids: [10490]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"pods \"b\" not found">)}
            )
            (C {(kubectl)} {(apply)} {(-l)} {(prune-group) (Lit_Other "=") (true)} {(-f)} 
              {(hack/testdata/prune/b.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [10555 10560]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods a">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods b">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <b>)}
            )
            (C {(kubectl)} {(delete)} {(pod/a)} {(pod/b)})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(apply)}
                                      {(--prune)}
                                      {(-f)}
                                      {(hack/testdata/prune)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [10659 10664]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10655]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [10642 10666]
                      )
                    }
                  spids: [10641]
                )
              ]
              spids: [10641]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(SQ <"all resources selected for prune without explicitly passing --all">)}
            )
            (C {(kubectl)} {(apply)} {(--all)} {(--prune)} {(-f)} {(hack/testdata/prune)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods a">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods b">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <b>)}
            )
            (C {(kubectl)} {(delete)} {(pod/a)} {(pod/b)})
            (SimpleCommand
              words: [
                {(kubectl)}
                {(apply)}
                {(--all)}
                {(--prune)}
                {(-f)}
                {(hack/testdata/prune-reap/a.yml)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [10787 10792]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[10783])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pvc a-pvc">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a-pvc>)}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(apply)}
                {(--all)}
                {(--prune)}
                {(-f)}
                {(hack/testdata/prune-reap/b.yml)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [10837 10842]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[10833])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pvc b-pvc">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <b-pvc>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(delete)}
                {(pvc)}
                {(b-pvc)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [10903 10908]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[10899])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(--prune)} {(-l)} {(prune-group) (Lit_Other "=") (true)} {(-f)} 
              {(hack/testdata/prune/a.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [10962 10967]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods a">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a>)}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(apply)}
                {(--prune)}
                {(-l)}
                {(prune-group) (Lit_Other "=") (true)}
                {(-f)}
                {(hack/testdata/prune/svc.yaml)}
                {(--prune-whitelist)}
                {(core/v1/Service)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [11028 11033]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[11024])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service prune-svc">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <prune-svc>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods a">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a>)}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(apply)}
                {(--prune)}
                {(-l)}
                {(prune-group) (Lit_Other "=") (true)}
                {(-f)}
                {(hack/testdata/prune/svc.yaml)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [11111 11116]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[11107])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service prune-svc">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <prune-svc>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(delete)}
                {(svc)}
                {(prune-svc)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [11181 11186]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[11177])]
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [9380]
        )
      spids: [9376 9379]
    )
    (FuncDef
      name: run_kubectl_create_filter_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl create filter"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-l)} {(unique-label) (Lit_Other "=") (bingbang)} {(-f)} 
              {(hack/testdata/filter)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [11297 11302]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods selector-test-pod">)} {(DQ ("{{") (${ VSub_Name labels_field) (".name}}"))} 
              {(SQ <selector-test-pod>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods)}
                                      {(selector-test-pod-dont-apply)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [11355 11360]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [11351]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [11340 11362]
                      )
                    }
                  spids: [11339]
                )
              ]
              spids: [11339]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"pods \"selector-test-pod-dont-apply\" not found">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(selector-test-pod)})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [11216]
        )
      spids: [11212 11215]
    )
    (FuncDef
      name: run_kubectl_apply_deployments_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl apply deployments"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployments)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(replicasets)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/null-propagation/deployment-l1.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [11535 11540]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <my-depl>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{.spec.template.metadata.labels.l1}}"))} {(SQ <l1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{.spec.selector.matchLabels.l1}}"))} {(SQ <l1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{.metadata.labels.l1}}"))} {(SQ <l1>)}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/null-propagation/deployment-l2.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [11654 11659]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{.spec.template.metadata.labels.l1}}"))} {(SQ <"<no value>">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{.spec.selector.matchLabels.l1}}"))} {(SQ <"<no value>">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{.metadata.labels.l1}}"))} {(SQ <"<no value>">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{.spec.template.metadata.labels.l2}}"))} {(SQ <l2>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{.spec.selector.matchLabels.l2}}"))} {(SQ <l2>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments my-depl">)} {(DQ ("{{.metadata.labels.l2}}"))} {(SQ <l2>)}
            )
            (C {(kubectl)} {(delete)} {(deployments) (Lit_Comma ",") (rs) (Lit_Comma ",") (pods)} 
              {(--all)} {(--cascade) (Lit_Other "=") (false)} {(--grace-period) (Lit_Other "=") (0)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(deployments)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(replicasets)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [11420]
        )
      spids: [11416 11419]
    )
    (FuncDef
      name: run_save_config_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl --save-config"))}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/pod.yaml)} {(--save-config)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [11994 11999]
                  )
                )
              }
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [12024 12029]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [12010 12037]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12056 12061]
                  )
                )
              }
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12105 12110]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (DBracket
                  expr: 
                    (WordTest
                      w: 
                        {
                          (DQ 
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (Pipeline
                                      children: [
                                        (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [12133 12138]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub "$(">
                              spids: [12119 12146]
                            )
                          )
                        }
                    )
                )
              ]
              negated: True
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:temp_editor)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/tmp-editor.sh))}
                  spids: [12156]
                )
              ]
              spids: [12156]
            )
            (SimpleCommand
              words: [
                {(echo)}
                {(-e)}
                {
                  (DQ ("#!/bin/bash") (EscapedLiteralPart token:<Lit_EscapedChar "\\n">) 
                    ($ VSub_Name "$SED") (" -i ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (s/test-pod-label/test-pod-label-edited/g) 
                    (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("@")
                  )
                }
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ (${ VSub_Name temp_editor))}
                  spids: [12182]
                )
              ]
            )
            (C {(chmod)} {(Lit_Other "+") (x)} {(DQ (${ VSub_Name temp_editor))})
            (SimpleCommand
              words: [
                {(kubectl)}
                {(edit)}
                {(pod)}
                {(test-pod)}
                {(--save-config)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [12219 12224]
                    )
                  )
                }
              ]
              more_env: [(env_pair name:EDITOR val:{(${ VSub_Name temp_editor)} spids:[12203])]
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [12249 12254]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [12235 12262]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12281 12286]
                  )
                )
              }
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12330 12335]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (DBracket
                  expr: 
                    (WordTest
                      w: 
                        {
                          (DQ 
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (Pipeline
                                      children: [
                                        (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [12358 12363]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub "$(">
                              spids: [12344 12371]
                            )
                          )
                        }
                    )
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(replace)} {(-f)} {(hack/testdata/pod.yaml)} {(--save-config)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12392 12397]
                  )
                )
              }
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(pods)} {(test-pod)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [12422 12427]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [12408 12435]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12454 12459]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(run)} {(nginx)} {(DQ ("--image=") ($ VSub_Name "$IMAGE_NGINX"))} 
              {(--save-config)} {(--generator) (Lit_Other "=") (run/v1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12513 12518]
                  )
                )
              }
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(rc)} {(nginx)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [12543 12548]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [12529 12556]
                        )
                      )
                    }
                )
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(svc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(expose)} {(rc)} {(nginx)} {(--save-config)} {(--port) (Lit_Other "=") (80)} 
              {(--target-port) (Lit_Other "=") (8000)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12613 12618]
                  )
                )
              }
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(svc)} {(nginx)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [12643 12648]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [12629 12656]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(rc) (Lit_Comma ",") (svc)} {(nginx)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12714 12719]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (DBracket
                  expr: 
                    (WordTest
                      w: 
                        {
                          (DQ 
                            (CommandSubPart
                              command_list: 
                                (CommandList
                                  children: [
                                    (Pipeline
                                      children: [
                                        (C {(kubectl)} {(get)} {(rc)} {(frontend)} {(-o)} {(yaml)} 
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [12742 12747]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub "$(">
                              spids: [12728 12755]
                            )
                          )
                        }
                    )
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(autoscale)} {(-f)} {(hack/testdata/frontend-controller.yaml)} 
              {(--save-config)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12776 12781]
                  )
                )
              } {(--max) (Lit_Other "=") (2)}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(hpa)} {(frontend)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [12810 12815]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [12796 12823]
                        )
                      )
                    }
                )
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(hpa)}
                                  {(-o) (Lit_Other "=") (Lit_VarLike "jsonpath=") 
                                    (SQ <"{.items[0].apiVersion}">)
                                  }
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [12852 12857]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [12848]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [12834 12859]
                      )
                    }
                  spids: [12833]
                )
              ]
              spids: [12833]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <autoscaling/v1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(hpa.autoscaling)}
                                  {(-o) (Lit_Other "=") (Lit_VarLike "jsonpath=") 
                                    (SQ <"{.items[0].apiVersion}">)
                                  }
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [12900 12905]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [12896]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [12882 12907]
                      )
                    }
                  spids: [12881]
                )
              ]
              spids: [12881]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <autoscaling/v1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(hpa.autoscal)}
                                  {(-o) (Lit_Other "=") (Lit_VarLike "jsonpath=") 
                                    (SQ <"{.items[0].apiVersion}">)
                                  }
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [12952 12957]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [12948]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [12934 12959]
                      )
                    }
                  spids: [12933]
                )
              ]
              spids: [12933]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <autoscaling/v1>)}
            )
            (C {(kubectl)} {(delete)} {(hpa)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12998 13003]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13016 13021]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [11913]
        )
      spids: [11909 11912]
    )
    (FuncDef
      name: run_kubectl_run_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl run"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(jobs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(run)} {(pi)} {(--generator) (Lit_Other "=") (job/v1)} 
              {(DQ ("--image=") ($ VSub_Name "$IMAGE_PERL"))} {(--restart) (Lit_Other "=") (OnFailure)} {(--)} {(perl)} {(-Mbignum) (Lit_Other "=") (bpi)} {(-wle)} 
              {(SQ <"print bpi(20)">)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13148 13153]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(jobs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"pi:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(pods)} {(DQ ("Name:"))} {(DQ ("Image:"))} {(DQ ("Node:"))} {(DQ ("Labels:"))} {(DQ ("Status:"))} 
              {(DQ ("Created By"))}
            )
            (C {(kubectl)} {(delete)} {(jobs)} {(pi)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13234 13239]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(run)} {(nginx-extensions)} {(DQ ("--image=") ($ VSub_Name "$IMAGE_NGINX"))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13308 13313]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment.extensions)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"nginx-extensions:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(deployment.extensions/nginx-extensions)} {(-o)} 
                                {(Lit_VarLike "jsonpath=") (SQ <"{.spec.revisionHistoryLimit}">)}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [13347 13360]
                      )
                    }
                  spids: [13346]
                )
              ]
              spids: [13346]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <2>)}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx-extensions)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13395 13400]
                  )
                )
              }
            )
            (C {(kubectl)} {(run)} {(nginx-apps)} {(DQ ("--image=") ($ VSub_Name "$IMAGE_NGINX"))} 
              {(--generator) (Lit_Other "=") (deployment/apps.v1beta1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13424 13429]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment.apps)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"nginx-apps:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(deployment/nginx-apps)} {(-o)} 
                                {(Lit_VarLike "jsonpath=") (SQ <"{.spec.revisionHistoryLimit}">)}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [13463 13476]
                      )
                    }
                  spids: [13462]
                )
              ]
              spids: [13462]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <2>)}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx-apps)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13511 13516]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(cronjobs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(run)} {(pi)} {(--schedule) (Lit_Other "=") (DQ ("*/5 * * * *"))} 
              {(--generator) (Lit_Other "=") (cronjob/v1beta1)} {(DQ ("--image=") ($ VSub_Name "$IMAGE_PERL"))} {(--restart) (Lit_Other "=") (OnFailure)} {(--)} {(perl)} 
              {(-Mbignum) (Lit_Other "=") (bpi)} {(-wle)} {(SQ <"print bpi(20)">)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13589 13594]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(cronjobs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"pi:">)}
            )
            (C {(kubectl)} {(delete)} {(cronjobs)} {(pi)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13636 13641]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [13048]
        )
      spids: [13044 13047]
    )
    (FuncDef
      name: run_kubectl_get_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl get"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods)}
                                      {(abc)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [13750 13755]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [13746]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [13735 13757]
                      )
                    }
                  spids: [13734]
                )
              ]
              spids: [13734]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"pods \"abc\" not found">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods)}
                                      {(abc)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [13832 13837]
                                          )
                                        )
                                      }
                                      {(-o)}
                                      {(name)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [13828]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [13817 13843]
                      )
                    }
                  spids: [13816]
                )
              ]
              spids: [13816]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"pods \"abc\" not found">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pods)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [13914 13919]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(json)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [13910]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [13903 13925]
                      )
                    }
                  spids: [13902]
                )
              ]
              spids: [13902]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pods)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [13967 13972]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(yaml)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [13963]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [13956 13978]
                      )
                    }
                  spids: [13955]
                )
              ]
              spids: [13955]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pods)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [14020 14025]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(name)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14016]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14009 14031]
                      )
                    }
                  spids: [14008]
                )
              ]
              spids: [14008]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pods)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [14073 14078]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(Lit_VarLike "jsonpath=") (SQ <"{.items}">)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14069]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14062 14087]
                      )
                    }
                  spids: [14061]
                )
              ]
              spids: [14061]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pods)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [14129 14134]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(go-template) (Lit_Other "=") (SQ <"{{.items}}">)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14125]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14118 14144]
                      )
                    }
                  spids: [14117]
                )
              ]
              spids: [14117]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pods)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [14186 14191]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(custom-columns) (Lit_Other "=") (NAME) (Lit_Other ":") 
                                    (.metadata.name)
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14182]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14175 14201]
                      )
                    }
                  spids: [14174]
                )
              ]
              spids: [14174]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pods)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [14272 14277]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14268]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14261 14279]
                      )
                    }
                  spids: [14260]
                )
              ]
              spids: [14260]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pods)}
                                  {(--ignore-not-found)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [14323 14328]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14319]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14310 14330]
                      )
                    }
                  spids: [14309]
                )
              ]
              spids: [14309]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pods)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [14372 14377]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(wide)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14368]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14361 14383]
                      )
                    }
                  spids: [14360]
                )
              ]
              spids: [14360]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods)}
                                      {(abc)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [14458 14463]
                                          )
                                        )
                                      }
                                      {(-o)}
                                      {(json)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [14454]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14443 14469]
                      )
                    }
                  spids: [14442]
                )
              ]
              spids: [14442]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"pods \"abc\" not found">)}
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_has_string)
                          } {(DQ (${ VSub_Name output_message))} {(SQ <List>)}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(echo)} {(SQ <"Unexpected List output">)})
                    (C {(echo)} 
                      {
                        (DQ (${ VSub_Name LINENO) (" ") 
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [(C {(basename)} {($ VSub_Number "$0")})]
                              )
                            left_token: <Left_CommandSub "$(">
                            spids: [14537 14541]
                          )
                        )
                      }
                    )
                    (C {(exit)} {(1)})
                  ]
                  spids: [-1 14520]
                )
              ]
              spids: [-1 14550]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(--v) (Lit_Other "=") (6)}
                                  {(--namespace)}
                                  {(default)}
                                  {(get)}
                                  {(all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [14578 14583]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14574]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14559 14585]
                      )
                    }
                  spids: [14558]
                )
              ]
              spids: [14558]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("/api/v1/namespaces/default/pods 200 OK"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("/api/v1/namespaces/default/replicationcontrollers 200 OK"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("/api/v1/namespaces/default/services 200 OK"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(DQ ("/apis/apps/v1beta1/namespaces/default/statefulsets 200 OK"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(DQ ("/apis/autoscaling/v1/namespaces/default/horizontalpodautoscalers 200"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("/apis/batch/v1/namespaces/default/jobs 200 OK"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(DQ ("/apis/extensions/v1beta1/namespaces/default/deployments 200 OK"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(DQ ("/apis/extensions/v1beta1/namespaces/default/replicasets 200 OK"))}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [14789 14794]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [14807 14812]
                  )
                )
              } {(pods)} {(-o)} {(json)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(get)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [14853 14858]
                  )
                )
              } {(pod)} {(valid-pod)} {(-o)} {(Lit_VarLike "jsonpath=") (SQ <"{.missing}">)}
            )
            (C {(kubectl)} {(get)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [14883 14888]
                  )
                )
              } {(pod)} {(valid-pod)} {(-o)} {(go-template) (Lit_Other "=") (SQ <"{{.missing}}">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(kubectl)} {(get)} {(pod)} {(valid-pod)} 
                                    {(--allow-missing-template-keys) (Lit_Other "=") (false)} {(-o)} {(Lit_VarLike "jsonpath=") (SQ <"{.missing}">)} 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          token: <VSub_Name kube_flags>
                                          bracket_op: (WholeArray op_id:Lit_At)
                                          spids: [14933 14938]
                                        )
                                      )
                                    }
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14910 14940]
                      )
                    }
                  spids: [14909]
                )
              ]
              spids: [14909]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"missing is not found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(kubectl)} {(get)} {(pod)} {(valid-pod)} 
                                    {(--allow-missing-template-keys) (Lit_Other "=") (false)} {(-o)} {(go-template) (Lit_Other "=") (SQ <"{{.missing}}">)} 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          token: <VSub_Name kube_flags>
                                          bracket_op: (WholeArray op_id:Lit_At)
                                          spids: [14992 14997]
                                        )
                                      )
                                    }
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [14968 14999]
                      )
                    }
                  spids: [14967]
                )
              ]
              spids: [14967]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"map has no entry for key \"missing\"">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(pods)} {(-w)} 
                                {(--request-timeout) (Lit_Other "=") (1)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [15041 15046]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [15027 15048]
                      )
                    }
                  spids: [15026]
                )
              ]
              spids: [15026]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <STATUS>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <valid-pod>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(pods/valid-pod)} {(-o)} {(name)} {(-w)} 
                                {(--request-timeout) (Lit_Other "=") (1)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [15114 15119]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [15096 15121]
                      )
                    }
                  spids: [15095]
                )
              ]
              spids: [15095]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <STATUS>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <pods/valid-pod>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(pods/valid-pod)} {(-o)} {(yaml)} {(-w)} 
                                {(--request-timeout) (Lit_Other "=") (1)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [15187 15192]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [15169 15194]
                      )
                    }
                  spids: [15168]
                )
              ]
              spids: [15168]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <STATUS>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"name: valid-pod">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods/invalid-pod)}
                                      {(-w)}
                                      {(--request-timeout) (Lit_Other "=") (1)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [15258 15263]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [15266]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [15242 15268]
                      )
                    }
                  spids: [15241]
                )
              ]
              spids: [15241]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"\"invalid-pod\" not found">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(valid-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [15304 15309]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/user-guide/multi-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [15355 15360]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(-f)} 
                                {(test/fixtures/doc-yaml/user-guide/multi-pod.yaml)} {(-o)} {(Lit_VarLike "jsonpath=") (DQ ("{..metadata.name}"))} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [15391 15396]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [15374 15398]
                      )
                    }
                  spids: [15373]
                )
              ]
              spids: [15373]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("redis-master valid-pod"))}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(redis-master)} {(valid-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [15436 15441]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [13668]
        )
      spids: [13664 13667]
    )
    (FuncDef
      name: run_kubectl_request_timeout_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl request timeout"))}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [15539 15544]
                  )
                )
              } {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)}
            )
            (C {(kubectl)} {(get)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [15561 15566]
                  )
                )
              } {(pods)} {(-o)} {(json)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(pod)} {(valid-pod)} 
                                {(--request-timeout) (Lit_Other "=") (1)}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [15603 15615]
                      )
                    }
                  spids: [15602]
                )
              ]
              spids: [15602]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <valid-pod>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pod)}
                                  {(valid-pod)}
                                  {(--request-timeout) (Lit_Other "=") (1)}
                                  {(--watch)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [15658]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [15643 15660]
                      )
                    }
                  spids: [15642]
                )
              ]
              spids: [15642]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"Timeout exceeded while reading body">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(pod)}
                                  {(valid-pod)}
                                  {(--request-timeout) (Lit_Other "=") (1)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [15701]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [15688 15703]
                      )
                    }
                  spids: [15687]
                )
              ]
              spids: [15687]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <valid-pod>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pod)}
                                      {(valid-pod)}
                                      {(--request-timeout) (Lit_Other "=") (DQ (1p))}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [15748]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [15731 15750]
                      )
                    }
                  spids: [15730]
                )
              ]
              spids: [15730]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"Invalid timeout value">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(valid-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [15786 15791]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [15468]
        )
      spids: [15464 15467]
    )
    (FuncDef
      name: run_crd_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl crd"))}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags_with_token>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [15855 15860]
                    )
                  )
                }
                {(create)}
                {(-f)}
                {(-)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: -1
                  body: 
                    {
                      (DQ ("{\n") ("  ") (Right_DoubleQuote "\"") (kind) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (CustomResourceDefinition) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") (apiVersion) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (apiextensions.k8s.io/v1beta1) (Right_DoubleQuote "\"") (",\n") ("  ") 
                        (Right_DoubleQuote "\"") (metadata) (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (name) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (foos.company.com) (Right_DoubleQuote "\"") ("\n") ("  },\n") ("  ") 
                        (Right_DoubleQuote "\"") (spec) (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (group) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (company.com) (Right_DoubleQuote "\"") (",\n") ("    ") 
                        (Right_DoubleQuote "\"") (version) (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (v1) (Right_DoubleQuote "\"") (",\n") 
                        ("    ") (Right_DoubleQuote "\"") (names) (Right_DoubleQuote "\"") (": {\n") ("      ") (Right_DoubleQuote "\"") 
                        (plural) (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (foos) (Right_DoubleQuote "\"") (",\n") ("      ") 
                        (Right_DoubleQuote "\"") (kind) (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (Foo) (Right_DoubleQuote "\"") ("\n") 
                        ("    }\n") ("  }\n") ("}\n")
                      )
                    }
                  do_expansion: True
                  here_end: __EOF__
                  was_filled: True
                  spids: [15869]
                )
              ]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(customresourcedefinitions)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"foos.company.com:">)}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags_with_token>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [15987 15992]
                    )
                  )
                }
                {(create)}
                {(-f)}
                {(-)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: -1
                  body: 
                    {
                      (DQ ("{\n") ("  ") (Right_DoubleQuote "\"") (kind) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (CustomResourceDefinition) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") (apiVersion) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (apiextensions.k8s.io/v1beta1) (Right_DoubleQuote "\"") (",\n") ("  ") 
                        (Right_DoubleQuote "\"") (metadata) (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (name) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (bars.company.com) (Right_DoubleQuote "\"") ("\n") ("  },\n") ("  ") 
                        (Right_DoubleQuote "\"") (spec) (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (group) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (company.com) (Right_DoubleQuote "\"") (",\n") ("    ") 
                        (Right_DoubleQuote "\"") (version) (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (v1) (Right_DoubleQuote "\"") (",\n") 
                        ("    ") (Right_DoubleQuote "\"") (names) (Right_DoubleQuote "\"") (": {\n") ("      ") (Right_DoubleQuote "\"") 
                        (plural) (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (bars) (Right_DoubleQuote "\"") (",\n") ("      ") 
                        (Right_DoubleQuote "\"") (kind) (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (Bar) (Right_DoubleQuote "\"") ("\n") 
                        ("    }\n") ("  }\n") ("}\n")
                      )
                    }
                  do_expansion: True
                  here_end: __EOF__
                  was_filled: True
                  spids: [16001]
                )
              ]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(customresourcedefinitions)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"bars.company.com:foos.company.com:">)}
            )
            (C {(run_non_native_resource_tests)})
            (C {(kubectl)} {(delete)} {(customresourcedefinitions/foos.company.com)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags_with_token>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16131 16136]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(customresourcedefinitions/bars.company.com)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags_with_token>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16147 16152]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [15818]
        )
      spids: [15814 15817]
    )
    (FuncDef
      name: "kube::util::non_native_resources"
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:times) op:Equal spids:[16190])]
              spids: [16188]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:wait) op:Equal spids:[16195])]
              spids: [16193]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:failed) op:Equal spids:[16200])]
              spids: [16198]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:times) op:Equal rhs:{(30)} spids:[16203])]
              spids: [16203]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:wait) op:Equal rhs:{(10)} spids:[16207])]
              spids: [16207]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:i) op:Equal spids:[16213])]
              spids: [16211]
            )
            (ForEach
              iter_name: i
              iter_words: [
                {
                  (CommandSubPart
                    command_list: (CommandList children:[(C {(seq)} {(1)} {($ VSub_Name "$times")})])
                    left_token: <Left_CommandSub "$(">
                    spids: [16222 16228]
                  )
                }
              ]
              do_arg_iter: False
              body: 
                (DoGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:failed)
                          op: Equal
                          rhs: {(DQ )}
                          spids: [16234]
                        )
                      ]
                      spids: [16234]
                    )
                    (AndOr
                      children: [
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [16242 16247]
                              )
                            )
                          } {(get)} {(--raw)} {(SQ </apis/company.com/v1>)}
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:failed)
                              op: Equal
                              rhs: {(true)}
                              spids: [16260]
                            )
                          ]
                          spids: [16260]
                        )
                      ]
                      op_id: Op_DPipe
                    )
                    (AndOr
                      children: [
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [16267 16272]
                              )
                            )
                          } {(get)} {(--raw)} {(SQ </apis/company.com/v1/foos>)}
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:failed)
                              op: Equal
                              rhs: {(true)}
                              spids: [16285]
                            )
                          ]
                          spids: [16285]
                        )
                      ]
                      op_id: Op_DPipe
                    )
                    (AndOr
                      children: [
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [16292 16297]
                              )
                            )
                          } {(get)} {(--raw)} {(SQ </apis/company.com/v1/bars>)}
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:failed)
                              op: Equal
                              rhs: {(true)}
                              spids: [16310]
                            )
                          ]
                          spids: [16310]
                        )
                      ]
                      op_id: Op_DPipe
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(-z)} {(DQ (${ VSub_Name failed))} 
                                  {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})]
                          spids: [-1 16330]
                        )
                      ]
                      spids: [-1 16338]
                    )
                    (C {(sleep)} {(${ VSub_Name wait)})
                  ]
                  spids: [16231 16348]
                )
              spids: [16221 16229]
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (error)} 
              {
                (DQ ("Timed out waiting for non-native-resources; tried ") (${ VSub_Name times) 
                  (" waiting ") (${ VSub_Name wait) ("s between each")
                )
              }
            )
            (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
          ]
          spids: [16185]
        )
      spids: [16175 16184]
    )
    (FuncDef
      name: run_non_native_resource_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl non-native resources"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (util) (Lit_Other ":") (Lit_Other ":") 
                (non_native_resources)
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16485 16490]
                  )
                )
              } {(create)} {(-f)} {(hack/testdata/CRD/foo.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16500 16505]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"test:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foo)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"test:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos.company.com)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"test:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos.v1.company.com)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"test:">)}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing CustomResource printing"))}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16624 16629]
                  )
                )
              } {(get)} {(foos)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16640 16645]
                  )
                )
              } {(get)} {(foos/test)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16656 16661]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(name)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16676 16681]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(name)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16696 16701]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(wide)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16716 16721]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(wide)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16736 16741]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(json)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16756 16761]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(json)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16776 16781]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(yaml)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16796 16801]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(yaml)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16816 16821]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(DQ ("jsonpath={.items[*].someField}"))} 
              {(--allow-missing-template-keys) (Lit_Other "=") (false)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16842 16847]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(DQ ("jsonpath={.someField}"))} 
              {(--allow-missing-template-keys) (Lit_Other "=") (false)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16868 16873]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(DQ ("go-template={{range .items}}{{.someField}}{{end}}"))} 
              {(--allow-missing-template-keys) (Lit_Other "=") (false)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16894 16899]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(DQ ("go-template={{.someField}}"))} 
              {(--allow-missing-template-keys) (Lit_Other "=") (false)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [16922 16927]
                                    )
                                  )
                                } {(get)} {(foos/test)} {(-o)} {(name)}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [16918 16937]
                      )
                    }
                  spids: [16917]
                )
              ]
              spids: [16917]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <foos/test>)}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing CustomResource patching"))}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16980 16985]
                  )
                )
              } {(patch)} {(foos/test)} {(-p)} {(SQ <"{\"patched\":\"value1\"}">)} {(--type) (Lit_Other "=") (merge)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(DQ ("{{.patched}}"))} {(SQ <value1>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17025 17030]
                  )
                )
              } {(patch)} {(foos/test)} {(-p)} {(SQ <"{\"patched\":\"value2\"}">)} {(--type) (Lit_Other "=") (merge)} 
              {(--record)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(DQ ("{{.patched}}"))} {(SQ <value2>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17072 17077]
                  )
                )
              } {(patch)} {(foos/test)} {(-p)} {(SQ <"{\"patched\":null}">)} {(--type) (Lit_Other "=") (merge)} 
              {(--record)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(DQ ("{{.patched}}"))} {(SQ <"<no value>">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:CRD_RESOURCE_FILE)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/crd-foos-test.json))}
                  spids: [17120]
                )
              ]
              spids: [17120]
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [17132 17137]
                    )
                  )
                }
                {(get)}
                {(foos/test)}
                {(-o)}
                {(json)}
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ (${ VSub_Name CRD_RESOURCE_FILE))}
                  spids: [17148]
                )
              ]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:CRD_PATCH_ERROR_FILE)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/crd-foos-test-error))}
                  spids: [17161]
                )
              ]
              spids: [17161]
            )
            (Pipeline
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [17175 17180]
                        )
                      )
                    }
                    {(patch)}
                    {(--local)}
                    {(-f)}
                    {(DQ (${ VSub_Name CRD_RESOURCE_FILE))}
                    {(-p)}
                    {(SQ <"{\"patched\":\"value3\"}">)}
                  ]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(DQ (${ VSub_Name CRD_PATCH_ERROR_FILE))}
                      spids: [17201]
                    )
                  ]
                )
              ]
              negated: True
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(grep)} {(-q)} {(DQ ("try --type merge"))} 
                          {(DQ (${ VSub_Name CRD_PATCH_ERROR_FILE))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") 
                        (status)
                      } 
                      {
                        (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                          ("kubectl patch --local") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                          (" returns error as expected for CustomResource: ") 
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [(C {(cat)} {(${ VSub_Name CRD_PATCH_ERROR_FILE)})]
                              )
                            left_token: <Left_CommandSub "$(">
                            spids: [17243 17249]
                          )
                        )
                      }
                    )
                  ]
                  spids: [-1 17227]
                )
              ]
              else_action: [
                (C 
                  {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
                  {
                    (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("kubectl patch --local") 
                      (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" returns unexpected error or non-error: ") 
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(cat)} {(${ VSub_Name CRD_PATCH_ERROR_FILE)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [17269 17275]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [17253 17284]
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17294 17299]
                  )
                )
              } {(patch)} {(--local)} {(-f)} {(DQ (${ VSub_Name CRD_RESOURCE_FILE))} {(-p)} 
              {(SQ <"{\"patched\":\"value3\"}">)} {(--type) (Lit_Other "=") (merge)} {(-o)} {(json)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17336 17341]
                  )
                )
              } {(patch)} {(--record)} {(-f)} {(DQ (${ VSub_Name CRD_RESOURCE_FILE))} {(-p)} 
              {(SQ <"{\"patched\":\"value3\"}">)} {(--type) (Lit_Other "=") (merge)} {(-o)} {(json)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(DQ ("{{.patched}}"))} {(SQ <value3>)}
            )
            (C {(rm)} {(DQ (${ VSub_Name CRD_RESOURCE_FILE))})
            (C {(rm)} {(DQ (${ VSub_Name CRD_PATCH_ERROR_FILE))})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing CustomResource labeling"))}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17429 17434]
                  )
                )
              } {(label)} {(foos)} {(--all)} {(Lit_VarLike "listlabel=") (true)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17450 17455]
                  )
                )
              } {(label)} {(foo/test)} {(Lit_VarLike "itemlabel=") (true)}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing CustomResource annotating"))}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17487 17492]
                  )
                )
              } {(annotate)} {(foos)} {(--all)} {(Lit_VarLike "listannotation=") (true)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17508 17513]
                  )
                )
              } {(annotate)} {(foo/test)} {(Lit_VarLike "itemannotation=") (true)}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing CustomResource describing"))}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17545 17550]
                  )
                )
              } {(describe)} {(foos)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17561 17566]
                  )
                )
              } {(describe)} {(foos/test)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [17577 17582]
                      )
                    )
                  } {(describe)} {(foos)}
                )
                (C {(grep)} {(Lit_VarLike "listlabel=") (true)})
              ]
              negated: False
            )
            (Pipeline
              children: [
                (C {(kubectl)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [17600 17605]
                      )
                    )
                  } {(describe)} {(foos)}
                )
                (C {(grep)} {(Lit_VarLike "itemlabel=") (true)})
              ]
              negated: False
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17628 17633]
                  )
                )
              } {(delete)} {(foos)} {(test)} {(--cascade) (Lit_Other "=") (true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17680 17685]
                  )
                )
              } {(create)} {(-f)} {(hack/testdata/CRD/bar.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17695 17700]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"test:">)}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing CustomResource watching"))}
            )
            (SimpleCommand
              words: [{(exec)}]
              redirects: [
                (Redir
                  op_id: Redir_Less
                  fd: 3
                  arg_word: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Sentence
                                child: 
                                  (C {(kubectl)} 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          token: <VSub_Name kube_flags>
                                          bracket_op: (WholeArray op_id:Lit_At)
                                          spids: [17764 17769]
                                        )
                                      )
                                    } {(get)} {(bars)} {(--request-timeout) (Lit_Other "=") (1m)} {(--watch-only)} {(-o)} {(name)}
                                  )
                                terminator: <Op_Amp "&">
                              )
                              (Sentence
                                child: (C {(echo)} {($ VSub_Bang "$!")})
                                terminator: <Op_Semi ";">
                              )
                              (C {(wait)})
                            ]
                          )
                        left_token: <Left_ProcSubIn "<(">
                        spids: [17760 17795]
                      )
                    }
                  spids: [17758]
                )
              ]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:watch_pid) op:Equal spids:[17800])]
              spids: [17798]
            )
            (SimpleCommand
              words: [{(read)} {(watch_pid)}]
              redirects: [(Redir op_id:Redir_LessAnd fd:-1 arg_word:{(3)} spids:[17805])]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:tries) op:Equal rhs:{(0)} spids:[17822])]
              spids: [17820]
            )
            (Sentence
              child: 
                (While
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other "[")} {(${ VSub_Name tries)} {(-lt)} {(10)} {(Lit_Other "]")})
                      terminator: <Op_Semi ";">
                    )
                  ]
                  body: 
                    (DoGroup
                      children: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:tries)
                              op: Equal
                              rhs: 
                                {
                                  (ArithSubPart
                                    anode: 
                                      (ArithBinary
                                        op_id: Arith_Plus
                                        left: (ArithVarRef name:tries)
                                        right: (ArithWord w:{(Lit_Digits 1)})
                                      )
                                    spids: [17845 17850]
                                  )
                                }
                              spids: [17844]
                            )
                          ]
                          spids: [17844]
                        )
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [17856 17861]
                              )
                            )
                          } {(patch)} {(bars/test)} {(-p)} 
                          {
                            (DQ ("{") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (patched) 
                              (EscapedLiteralPart
                                token: <Lit_EscapedChar "\\\"">
                              ) (":") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (${ VSub_Name tries) 
                              (EscapedLiteralPart
                                token: <Lit_EscapedChar "\\\"">
                              ) ("}")
                            )
                          } {(--type) (Lit_Other "=") (merge)}
                        )
                        (C {(sleep)} {(1)})
                      ]
                      spids: [17841 17894]
                    )
                )
              terminator: <Op_Amp "&">
            )
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (LhsName name:patch_pid)
                  op: Equal
                  rhs: {($ VSub_Bang "$!")}
                  spids: [17901]
                )
              ]
              spids: [17899]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:watch_output) op:Equal spids:[17912])]
              spids: [17910]
            )
            (SimpleCommand
              words: [{(read)} {(-t)} {(30)} {(watch_output)}]
              redirects: [(Redir op_id:Redir_LessAnd fd:-1 arg_word:{(3)} spids:[17917])]
            )
            (C {(kill)} {(-9)} {(${ VSub_Name watch_pid)})
            (C {(kill)} {(-9)} {(${ VSub_Name patch_pid)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name watch_output))} {(SQ <bars/test>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17976 17981]
                  )
                )
              } {(delete)} {(bars)} {(test)} {(--cascade) (Lit_Other "=") (false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(bars)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18028 18033]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/foo.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"test:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(SQ <"{{.someField}}">)} {(SQ <field1>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18101 18106]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/foo.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(SQ <"{{.someField}}">)} {(SQ <field1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(SQ <"{{.nestedField.someSubfield}}">)} {(SQ <subfield1>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18172 18177]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/foo-updated-subfield.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(SQ <"{{.nestedField.someSubfield}}">)} {(SQ <modifiedSubfield>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(SQ <"{{.nestedField.otherSubfield}}">)} {(SQ <subfield2>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18243 18248]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/foo-deleted-subfield.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(SQ <"{{.nestedField.otherSubfield}}">)} {(SQ <"<no value>">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(SQ <"{{.nestedField.newSubfield}}">)} {(SQ <"<no value>">)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18314 18319]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/foo-added-subfield.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test)} {(SQ <"{{.nestedField.newSubfield}}">)} {(SQ <subfield3>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18361 18366]
                  )
                )
              } {(delete)} {(-f)} {(hack/testdata/CRD/foo.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18409 18414]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/multi-crd-list.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"test-list:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"test-list:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test-list)} {(SQ <"{{.someField}}">)} {(SQ <field1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars/test-list)} {(SQ <"{{.someField}}">)} {(SQ <field1>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18522 18527]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/multi-crd-list.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test-list)} {(SQ <"{{.someField}}">)} {(SQ <field1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars/test-list)} {(SQ <"{{.someField}}">)} {(SQ <field1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test-list)} {(SQ <"{{.someField}}">)} {(SQ <field1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars/test-list)} {(SQ <"{{.someField}}">)} {(SQ <field1>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18631 18636]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/multi-crd-list-updated-field.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test-list)} {(SQ <"{{.someField}}">)} {(SQ <modifiedField>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars/test-list)} {(SQ <"{{.someField}}">)} {(SQ <modifiedField>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test-list)} {(SQ <"{{.otherField}}">)} {(SQ <field2>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars/test-list)} {(SQ <"{{.otherField}}">)} {(SQ <field2>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18740 18745]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/multi-crd-list-deleted-field.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test-list)} {(SQ <"{{.otherField}}">)} {(SQ <"<no value>">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars/test-list)} {(SQ <"{{.otherField}}">)} {(SQ <"<no value>">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test-list)} {(SQ <"{{.newField}}">)} {(SQ <"<no value>">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars/test-list)} {(SQ <"{{.newField}}">)} {(SQ <"<no value>">)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18849 18854]
                  )
                )
              } {(apply)} {(-f)} {(hack/testdata/CRD/multi-crd-list-added-field.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos/test-list)} {(SQ <"{{.newField}}">)} {(SQ <field3>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars/test-list)} {(SQ <"{{.newField}}">)} {(SQ <field3>)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [18915 18920]
                  )
                )
              } {(delete)} {(-f)} {(hack/testdata/CRD/multi-crd-list.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(--prune)} {(-l)} {(Lit_VarLike "pruneGroup=") (true)} {(-f)} 
              {(hack/testdata/CRD/foo.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [19045 19050]
                  )
                )
              } {(--prune-whitelist) (Lit_Other "=") (company.com/v1/Foo)} 
              {(--prune-whitelist) (Lit_Other "=") (company.com/v1/Bar)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"test:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(--prune)} {(-l)} {(Lit_VarLike "pruneGroup=") (true)} {(-f)} 
              {(hack/testdata/CRD/bar.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [19128 19133]
                  )
                )
              } {(--prune-whitelist) (Lit_Other "=") (company.com/v1/Foo)} 
              {(--prune-whitelist) (Lit_Other "=") (company.com/v1/Bar)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"test:">)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [19198 19203]
                  )
                )
              } {(delete)} {(-f)} {(hack/testdata/CRD/bar.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(foos)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [19266 19271]
                  )
                )
              } {(create)} {(namespace)} {(non-native-resources)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [19284 19289]
                  )
                )
              } {(create)} {(-f)} {(hack/testdata/CRD/bar.yaml)} {(--namespace) (Lit_Other "=") (non-native-resources)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(bars)} {(SQ <"{{len .items}}">)} {(SQ <1>)} {(--namespace) (Lit_Other "=") (non-native-resources)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [19329 19334]
                  )
                )
              } {(delete)} {(namespace)} {(non-native-resources)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(bars)} {(SQ <"{{len .items}}">)} {(SQ <0>)} {(--namespace) (Lit_Other "=") (non-native-resources)}
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:tries) op:Equal rhs:{(0)} spids:[19377])]
              spids: [19375]
            )
            (While
              cond: [
                (Sentence
                  child: 
                    (AndOr
                      children: [
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [19386 19391]
                              )
                            )
                          } {(get)} {(namespace)} {(non-native-resources)}
                        )
                        (C {(Lit_Other "[")} {(${ VSub_Name tries)} {(-lt)} {(10)} {(Lit_Other "]")})
                      ]
                      op_id: Op_DAmp
                    )
                  terminator: <Op_Semi ";">
                )
              ]
              body: 
                (DoGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:tries)
                          op: Equal
                          rhs: 
                            {
                              (ArithSubPart
                                anode: 
                                  (ArithBinary
                                    op_id: Arith_Plus
                                    left: (ArithVarRef name:tries)
                                    right: (ArithWord w:{(Lit_Digits 1)})
                                  )
                                spids: [19419 19424]
                              )
                            }
                          spids: [19418]
                        )
                      ]
                      spids: [19418]
                    )
                    (C {(sleep)} {(${ VSub_Name tries)})
                  ]
                  spids: [19415 19434]
                )
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [16384]
        )
      spids: [16380 16383]
    )
    (FuncDef
      name: run_recursive_resources_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing recursive resources"))}
            )
            (C {(create_and_use_new_namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(create)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [19544 19549]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [19540]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [19527 19551]
                      )
                    }
                  spids: [19526]
                )
              ]
              spids: [19526]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"error validating data: kind not set">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (SimpleCommand
              words: [
                {(echo)}
                {(-e)}
                {(SQ <"#!/bin/bash\\nsed -i \"s/image: busybox/image: prom\\/busybox/g\" $1">)}
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(/tmp/tmp-editor.sh)}
                  spids: [19640]
                )
              ]
            )
            (C {(chmod)} {(Lit_Other "+") (x)} {(/tmp/tmp-editor.sh)})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(edit)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [19674 19679]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [19670]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: EDITOR
                                        val: {(/tmp/tmp-editor.sh)}
                                        spids: [19657]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [19654 19681]
                      )
                    }
                  spids: [19653]
                )
              ]
              spids: [19653]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} 
              {(SQ <"busybox:busybox:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C {(rm)} {(/tmp/tmp-editor.sh)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(replace)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod-modify)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [19797 19802]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [19793]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [19780 19804]
                      )
                    }
                  spids: [19779]
                )
              ]
              spids: [19779]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") (${ VSub_Name labels_field) (".status}}:{{end}}"))} 
              {(SQ <"replaced:replaced:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"error validating data: kind not set">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(describe)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [19905 19910]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [19901]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [19888 19912]
                      )
                    }
                  spids: [19887]
                )
              ]
              spids: [19887]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("app=busybox0"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("app=busybox1"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(annotate)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod)}
                                      {(Lit_VarLike "annotatekey=") (SQ <annotatevalue>)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [20033 20038]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20029]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [20011 20040]
                      )
                    }
                  spids: [20010]
                )
              ]
              spids: [20010]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") (${ VSub_Name annotations_field) (".annotatekey}}:{{end}}"))} 
              {(SQ <"annotatevalue:annotatevalue:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(apply)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod-modify)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [20141 20146]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20137]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [20124 20148]
                      )
                    }
                  spids: [20123]
                )
              ]
              spids: [20123]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") (${ VSub_Name labels_field) (".status}}:{{end}}"))} 
              {(SQ <"replaced:replaced:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"error validating data: kind not set">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/deployment-revision1.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [20244 20249]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"nginx:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(convert)} {(--local)} {(-f)} 
                                {(hack/testdata/deployment-revision1.yaml)} {(--output-version) (Lit_Other "=") (apps/v1beta1)} {(-o)} 
                                {(go-template) (Lit_Other "=") (SQ <"{{ .apiVersion }}">)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [20327 20332]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [20303 20334]
                      )
                    }
                  spids: [20302]
                )
              ]
              spids: [20302]
            )
            (C {(echo)} {($ VSub_Name "$output_message")})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployment nginx">)} {(DQ ("{{ .apiVersion }}"))} {(SQ <extensions/v1beta1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ (apps/v1beta1))}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [20399 20404]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(convert)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [20460 20465]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20456]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [20443 20467]
                      )
                    }
                  spids: [20442]
                )
              ]
              spids: [20442]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [20566 20571]
                                          )
                                        )
                                      }
                                      {(-o)}
                                      {(go-template) (Lit_Other "=") 
                                        (DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") 
                                          ("}}:{{end}}")
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20562]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [20549 20583]
                      )
                    }
                  spids: [20548]
                )
              ]
              spids: [20548]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("busybox0:busybox1:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(label)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod)}
                                      {(Lit_VarLike "mylabel=") (SQ <myvalue>)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [20685 20690]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20681]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [20663 20692]
                      )
                    }
                  spids: [20662]
                )
              ]
              spids: [20662]
            )
            (C {(echo)} {($ VSub_Name "$output_message")})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") (${ VSub_Name labels_field) (".mylabel}}:{{end}}"))} 
              {(SQ <"myvalue:myvalue:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(patch)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod)}
                                      {(-p) (Lit_Other "=") 
                                        (SQ 
                                          <
"{\"spec\":{\"containers\":[{\"name\":\"busybox\",\"image\":\"prom/busybox\"}]}}"
                                          >
                                        )
                                      }
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [20804 20809]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20800]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [20781 20811]
                      )
                    }
                  spids: [20780]
                )
              ]
              spids: [20780]
            )
            (C {(echo)} {($ VSub_Name "$output_message")})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field") ("}}:{{end}}"))} 
              {(SQ <"prom/busybox:prom/busybox:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(delete)}
                                      {(-f)}
                                      {(hack/testdata/recursive/pod)}
                                      {(--recursive)}
                                      {(--grace-period) (Lit_Other "=") (0)}
                                      {(--force)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [20921 20926]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20917]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [20898 20928]
                      )
                    }
                  spids: [20897]
                )
              ]
              spids: [20897]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/recursive/rc)} {(--recursive)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [21020 21025]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc busybox0">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc busybox1">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(autoscale)}
                                      {(--min) (Lit_Other "=") (1)}
                                      {(--max) (Lit_Other "=") (2)}
                                      {(-f)}
                                      {(hack/testdata/recursive/rc)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [21164 21169]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21160]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [21139 21171]
                      )
                    }
                  spids: [21138]
                )
              ]
              spids: [21138]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"hpa busybox0">)} 
              {
                (DQ ("{{") ($ VSub_Name "$hpa_min_field") ("}} {{") ($ VSub_Name "$hpa_max_field") 
                  ("}} {{") ($ VSub_Name "$hpa_cpu_field") ("}}")
                )
              } {(SQ <"1 2 80">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"hpa busybox1">)} 
              {
                (DQ ("{{") ($ VSub_Name "$hpa_min_field") ("}} {{") ($ VSub_Name "$hpa_max_field") 
                  ("}} {{") ($ VSub_Name "$hpa_cpu_field") ("}}")
                )
              } {(SQ <"1 2 80">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C {(kubectl)} {(delete)} {(hpa)} {(busybox0)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [21264 21269]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(hpa)} {(busybox1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [21282 21287]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc busybox0">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc busybox1">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(expose)}
                                      {(-f)}
                                      {(hack/testdata/recursive/rc)}
                                      {(--recursive)}
                                      {(--port) (Lit_Other "=") (80)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [21397 21402]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21393]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [21376 21404]
                      )
                    }
                  spids: [21375]
                )
              ]
              spids: [21375]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service busybox0">)} 
              {(DQ ("{{") ($ VSub_Name "$port_name") ("}} {{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <"<no value> 80">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service busybox1">)} 
              {(DQ ("{{") ($ VSub_Name "$port_name") ("}} {{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <"<no value> 80">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc busybox0">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc busybox1">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(scale)}
                                      {(--current-replicas) (Lit_Other "=") (1)}
                                      {(--replicas) (Lit_Other "=") (2)}
                                      {(-f)}
                                      {(hack/testdata/recursive/rc)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [21590 21595]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21586]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [21565 21597]
                      )
                    }
                  spids: [21564]
                )
              ]
              spids: [21564]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc busybox0">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <2>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc busybox1">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <2>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(delete)}
                                      {(-f)}
                                      {(hack/testdata/recursive/rc)}
                                      {(--recursive)}
                                      {(--grace-period) (Lit_Other "=") (0)}
                                      {(--force)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [21727 21732]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21723]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [21704 21734]
                      )
                    }
                  spids: [21703]
                )
              ]
              spids: [21703]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/recursive/deployment)} {(--recursive)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [21830 21835]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"nginx0-deployment:nginx1-deployment:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_NGINX) (":") (${ VSub_Name IMAGE_NGINX) (":"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(rollout)}
                                      {(undo)}
                                      {(-f)}
                                      {(hack/testdata/recursive/deployment)}
                                      {(--recursive)}
                                      {(--to-revision) (Lit_Other "=") (1)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [21916 21921]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21912]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [21893 21923]
                      )
                    }
                  spids: [21892]
                )
              ]
              spids: [21892]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_NGINX) (":") (${ VSub_Name IMAGE_NGINX) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:PRESERVE_ERR_FILE)
                  op: Equal
                  rhs: {(true)}
                  spids: [21981]
                )
              ]
              spids: [21981]
            )
            (C {(kubectl-with-retry)} {(rollout)} {(pause)} {(-f)} {(hack/testdata/recursive/deployment)} 
              {(--recursive)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [21998 22003]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(cat)} {(${ VSub_Name ERROR_FILE)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [22008 22014]
                      )
                    }
                  spids: [22007]
                )
              ]
              spids: [22007]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{.spec.paused}}:{{end}}"))} {(DQ ("true:true:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C {(kubectl-with-retry)} {(rollout)} {(resume)} {(-f)} {(hack/testdata/recursive/deployment)} 
              {(--recursive)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [22076 22081]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(cat)} {(${ VSub_Name ERROR_FILE)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [22086 22092]
                      )
                    }
                  spids: [22085]
                )
              ]
              spids: [22085]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{.spec.paused}}:{{end}}"))} {(DQ ("<no value>:<no value>:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(rollout)}
                                      {(history)}
                                      {(-f)}
                                      {(hack/testdata/recursive/deployment)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [22161 22166]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [22157]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [22142 22168]
                      )
                    }
                  spids: [22141]
                )
              ]
              spids: [22141]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ (nginx0-deployment))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ (nginx1-deployment))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C {(unset)} {(PRESERVE_ERR_FILE)})
            (C {(rm)} {(DQ (${ VSub_Name ERROR_FILE))})
            (Pipeline
              children: [
                (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/recursive/deployment)} {(--recursive)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [22263 22268]
                      )
                    )
                  } {(--grace-period) (Lit_Other "=") (0)} {(--force)}
                )
              ]
              negated: True
            )
            (C {(sleep)} {(1)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/recursive/rc)} {(--recursive)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [22333 22338]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"busybox0:busybox1:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(rollout)}
                                      {(undo)}
                                      {(-f)}
                                      {(hack/testdata/recursive/rc)}
                                      {(--recursive)}
                                      {(--to-revision) (Lit_Other "=") (1)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [22395 22400]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [22391]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [22372 22402]
                      )
                    }
                  spids: [22371]
                )
              ]
              spids: [22371]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(SQ <"no rollbacker has been implemented for {\"\" \"ReplicationController\"}">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(rollout)}
                                      {(pause)}
                                      {(-f)}
                                      {(hack/testdata/recursive/rc)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [22471 22476]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [22467]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [22452 22478]
                      )
                    }
                  spids: [22451]
                )
              ]
              spids: [22451]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(SQ <"replicationcontrollers \"busybox0\" pausing is not supported">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(SQ <"replicationcontrollers \"busybox1\" pausing is not supported">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(rollout)}
                                      {(resume)}
                                      {(-f)}
                                      {(hack/testdata/recursive/rc)}
                                      {(--recursive)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [22566 22571]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [22562]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [22547 22573]
                      )
                    }
                  spids: [22546]
                )
              ]
              spids: [22546]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Object 'Kind' is missing"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(SQ <"replicationcontrollers \"busybox0\" resuming is not supported">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(SQ <"replicationcontrollers \"busybox0\" resuming is not supported">)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/recursive/rc)} {(--recursive)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [22654 22659]
                      )
                    )
                  } {(--grace-period) (Lit_Other "=") (0)} {(--force)}
                )
              ]
              negated: True
            )
            (C {(sleep)} {(1)})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [19460]
        )
      spids: [19456 19459]
    )
    (FuncDef
      name: run_namespace_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:namespaces)"))}
            )
            (C {(kubectl)} {(create)} {(namespace)} {(my-namespace)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <namespaces/my-namespace>)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <my-namespace>)}
            )
            (C {(kubectl)} {(delete)} {(namespace)} {(my-namespace)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <namespaces>)} {(SQ <"{{range.items}}{{ if eq $id_field \\\"other\\\" }}found{{end}}{{end}}:">)} 
                      {(SQ <":">)}
                    )
                    (C {(kubectl)} {(create)} {(namespace)} {(other)})
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <namespaces/other>)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <other>)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"pods --namespace=other">)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
                    )
                    (C {(kubectl)} {(create)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [22941 22946]
                          )
                        )
                      } {(--namespace) (Lit_Other "=") (other)} {(-f)} 
                      {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"pods --namespace=other">)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
                      {(SQ <"valid-pod:">)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"pods -n other">)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
                      {(SQ <"valid-pod:">)}
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:output_message)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (Pipeline
                                        children: [
                                          (SimpleCommand
                                            words: [
                                              {(kubectl)}
                                              {(get)}
                                              {
                                                (DQ 
                                                  (BracedVarSub
                                                    token: <VSub_Name kube_flags>
                                                    bracket_op: (WholeArray op_id:Lit_At)
                                                    spids: [23025 23030]
                                                  )
                                                )
                                              }
                                              {(pod)}
                                              {(valid-pod)}
                                              {(--all-namespaces)}
                                            ]
                                            redirects: [
                                              (Redir
                                                op_id: Redir_GreatAnd
                                                fd: 2
                                                arg_word: {(1)}
                                                spids: [23039]
                                              )
                                            ]
                                          )
                                        ]
                                        negated: True
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [23017 23041]
                              )
                            }
                          spids: [23016]
                        )
                      ]
                      spids: [23016]
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (if_has_string)
                      } {(DQ (${ VSub_Name output_message))} 
                      {(DQ ("a resource cannot be retrieved by name across all namespaces"))}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"pods --namespace=other">)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
                      {(SQ <"valid-pod:">)}
                    )
                    (C {(kubectl)} {(delete)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [23104 23109]
                          )
                        )
                      } {(pod)} {(--namespace) (Lit_Other "=") (other)} {(valid-pod)} {(--grace-period) (Lit_Other "=") (0)} 
                      {(--force)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"pods --namespace=other">)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
                    )
                    (C {(kubectl)} {(delete)} {(namespace)} {(other)})
                  ]
                  spids: [-1 22829]
                )
              ]
              spids: [-1 23166]
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [22697]
        )
      spids: [22693 22696]
    )
    (FuncDef
      name: run_secrets_test
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing secrets"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <namespaces>)} 
              {
                (SQ <"{{range.items}}{{ if eq $id_field \\\"test-secrets\\\" }}found{{end}}{{end}}:">)
              } {(SQ <":">)}
            )
            (C {(kubectl)} {(create)} {(namespace)} {(test-secrets)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <namespaces/test-secrets>)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <test-secrets>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secrets --namespace=test-secrets">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(secret)} {(generic)} {(test-secret)} 
              {(--from-literal) (Lit_Other "=") (Lit_VarLike "key1=") (value1)} {(--type) (Lit_Other "=") (test-type)} {(--namespace) (Lit_Other "=") (test-secrets)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/test-secret --namespace=test-secrets">)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} 
              {(SQ <test-secret>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/test-secret --namespace=test-secrets">)} {(DQ ("{{") ($ VSub_Name "$secret_type") ("}}"))} 
              {(SQ <test-type>)}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(secret/test-secret)} 
                                      {(--namespace) (Lit_Other "=") (test-secrets)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [23423 23428]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(SQ <"key1: dmFsdWUx">)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [23407 23438]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(secret)} {(test-secret)} 
              {(--namespace) (Lit_Other "=") (test-secrets)}
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name WAIT_FOR_DELETION>
                                      suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )})
                                      spids: [23471 23474]
                                    )
                                  )
                                }
                              right: {(DQ (true))}
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (wait_object_assert)
                      } {(SQ <"secrets --namespace=test-secrets">)} 
                      {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
                    )
                  ]
                  spids: [-1 23486]
                )
              ]
              spids: [-1 23511]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secrets --namespace=test-secrets">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(secret)} {(docker-registry)} {(test-secret)} 
              {(--docker-username) (Lit_Other "=") (test-user)} {(--docker-password) (Lit_Other "=") (test-password)} 
              {(--docker-email) (Lit_Other "=") (SQ <"test-user@test.com">)} {(--namespace) (Lit_Other "=") (test-secrets)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/test-secret --namespace=test-secrets">)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} 
              {(SQ <test-secret>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/test-secret --namespace=test-secrets">)} {(DQ ("{{") ($ VSub_Name "$secret_type") ("}}"))} 
              {(SQ <kubernetes.io/dockercfg>)}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(secret/test-secret)} 
                                      {(--namespace) (Lit_Other "=") (test-secrets)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [23642 23647]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(SQ <".dockercfg:">)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [23626 23657]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(secret)} {(test-secret)} 
              {(--namespace) (Lit_Other "=") (test-secrets)}
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name WAIT_FOR_DELETION>
                                      suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )})
                                      spids: [23690 23693]
                                    )
                                  )
                                }
                              right: {(DQ (true))}
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (wait_object_assert)
                      } {(SQ <"secrets --namespace=test-secrets">)} 
                      {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
                    )
                  ]
                  spids: [-1 23705]
                )
              ]
              spids: [-1 23730]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secrets --namespace=test-secrets">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(secret)} {(tls)} {(test-secret)} 
              {(--namespace) (Lit_Other "=") (test-secrets)} {(--key) (Lit_Other "=") (hack/testdata/tls.key)} {(--cert) (Lit_Other "=") (hack/testdata/tls.crt)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/test-secret --namespace=test-secrets">)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} 
              {(SQ <test-secret>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/test-secret --namespace=test-secrets">)} {(DQ ("{{") ($ VSub_Name "$secret_type") ("}}"))} 
              {(SQ <kubernetes.io/tls>)}
            )
            (C {(kubectl)} {(delete)} {(secret)} {(test-secret)} 
              {(--namespace) (Lit_Other "=") (test-secrets)}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(create)}
                {(--namespace) (Lit_Other "=") (test-secrets)}
                {(-f)}
                {(-)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [23867 23872]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: -1
                  body: 
                    {
                      (DQ ("{\n") ("  ") (Right_DoubleQuote "\"") (kind) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (Secret) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") (apiVersion) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (v1) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") 
                        (metadata) (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (name) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (secret-string-data) (Right_DoubleQuote "\"") ("\n") ("  },\n") ("  ") (Right_DoubleQuote "\"") (data) 
                        (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (k1) (Right_DoubleQuote "\"") (":") (Right_DoubleQuote "\"") 
                        ("djE=") (Right_DoubleQuote "\"") (",\n") ("    ") (Right_DoubleQuote "\"") (k2) (Right_DoubleQuote "\"") (":") 
                        (Right_DoubleQuote "\"") (Right_DoubleQuote "\"") ("\n") ("  },\n") ("  ") (Right_DoubleQuote "\"") (stringData) 
                        (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (k2) (Right_DoubleQuote "\"") (":") (Right_DoubleQuote "\"") 
                        (v2) (Right_DoubleQuote "\"") ("\n") ("  }\n") ("}\n")
                      )
                    }
                  do_expansion: True
                  here_end: __EOF__
                  was_filled: True
                  spids: [23875]
                )
              ]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/secret-string-data --namespace=test-secrets ">)} {(SQ <"{{.data}}">)} 
              {(SQ <".*k1:djE=.*">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/secret-string-data --namespace=test-secrets ">)} {(SQ <"{{.data}}">)} 
              {(SQ <".*k2:djI=.*">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secret/secret-string-data --namespace=test-secrets ">)} {(SQ <"{{.stringData}}">)} 
              {(SQ <"<no value>">)}
            )
            (C {(kubectl)} {(delete)} {(secret)} {(secret-string-data)} 
              {(--namespace) (Lit_Other "=") (test-secrets)}
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name WAIT_FOR_DELETION>
                                      suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )})
                                      spids: [24047 24050]
                                    )
                                  )
                                }
                              right: {(DQ (true))}
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (wait_object_assert)
                      } {(SQ <"secrets --namespace=test-secrets">)} 
                      {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
                    )
                  ]
                  spids: [-1 24062]
                )
              ]
              spids: [-1 24087]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"secrets --namespace=test-secrets">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(create)} {(secret)} {(generic)} {(test-secret)} 
                                      {(--namespace) (Lit_Other "=") (test-secrets)} {(--from-literal) (Lit_Other "=") (Lit_VarLike "key1=") (value1)} 
                                      {(--output) (Lit_Other "=") (go-template)} 
                                      {(--template) (Lit_Other "=") 
                                        (EscapedLiteralPart
                                          token: <Lit_EscapedChar "\\\"">
                                        ) (Lit_LBrace "{") (Lit_LBrace "{") (.metadata.name) (Lit_RBrace "}") (Lit_RBrace "}") (Lit_Other ":") 
                                        (EscapedLiteralPart
                                          token: <Lit_EscapedChar "\\\"">
                                        )
                                      }
                                    )
                                    (C {(grep)} {(SQ <"test-secret:">)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [24123 24165]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(secret)} {(test-secret)} 
              {(--namespace) (Lit_Other "=") (test-secrets)}
            )
            (C {(kubectl)} {(delete)} {(namespace)} {(test-secrets)})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [23192]
        )
      spids: [23188 23191]
    )
    (FuncDef
      name: run_configmap_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing configmaps"))}
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(test/fixtures/doc-yaml/user-guide/configmap/configmap.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(configmap)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}{{end}}"))} 
              {(SQ <test-configmap>)}
            )
            (C {(kubectl)} {(delete)} {(configmap)} {(test-configmap)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [24297 24302]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <namespaces>)} 
              {
                (SQ 
                  <
"{{range.items}}{{ if eq $id_field \\\"test-configmaps\\\" }}found{{end}}{{end}}:"
                  >
                )
              } {(SQ <":">)}
            )
            (C {(kubectl)} {(create)} {(namespace)} {(test-configmaps)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <namespaces/test-configmaps>)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} 
              {(SQ <test-configmaps>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"configmaps --namespace=test-configmaps">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(configmap)} {(test-configmap)} 
              {(--from-literal) (Lit_Other "=") (Lit_VarLike "key1=") (value1)} {(--namespace) (Lit_Other "=") (test-configmaps)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"configmap/test-configmap --namespace=test-configmaps">)} 
              {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <test-configmap>)}
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(configmap/test-configmap)} 
                                      {(--namespace) (Lit_Other "=") (test-configmaps)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [24475 24480]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(SQ <"key1: value1">)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [24459 24490]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(configmap)} {(test-configmap)} 
              {(--namespace) (Lit_Other "=") (test-configmaps)}
            )
            (C {(kubectl)} {(delete)} {(namespace)} {(test-configmaps)})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [24224]
        )
      spids: [24220 24223]
    )
    (FuncDef
      name: run_service_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kubectl)} {(config)} {(set-context)} {(DQ (${ VSub_Name CONTEXT))} 
              {(--namespace) (Lit_Other "=") (DQ )}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:services)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
            )
            (C {(kubectl)} {(create)} {(-f)} {(examples/guestbook/redis-master-service.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [24641 24646]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"kubernetes:redis-master:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_assert)
              } {(services)} {(SQ <redis-master>)} {(DQ ("Name:"))} {(DQ ("Labels:"))} {(DQ ("Selector:"))} {(DQ ("IP:"))} 
              {(DQ ("Port:"))} {(DQ ("Endpoints:"))} {(DQ ("Session Affinity:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(services)} {(SQ <redis-master>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(services)} {(SQ <redis-master>)} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(services)} {(SQ <redis-master>)} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(services)} {(DQ ("Name:"))} {(DQ ("Labels:"))} {(DQ ("Selector:"))} {(DQ ("IP:"))} {(DQ ("Port:"))} 
              {(DQ ("Endpoints:"))} {(DQ ("Session Affinity:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(services)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(services)} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(services)} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"services redis-master">)} 
              {(DQ ("{{range") ($ VSub_Name "$service_selector_field") ("}}{{.}}:{{end}}"))} {(DQ ("redis:master:backend:"))}
            )
            (C {(kubectl)} {(set)} {(selector)} {(-f)} {(examples/guestbook/redis-master-service.yaml)} 
              {(Lit_VarLike "role=") (padawan)} {(--local)} {(-o)} {(yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [24932 24937]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(set)} {(selector)} {(-f)} 
                  {(examples/guestbook/redis-master-service.yaml)} {(Lit_VarLike "role=") (padawan)} {(--dry-run)} {(-o)} {(yaml)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [24963 24968]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(set)} {(selector)} {(-f)} {(examples/guestbook/redis-master-service.yaml)} 
              {(Lit_VarLike "role=") (padawan)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"services redis-master">)} 
              {(DQ ("{{range") ($ VSub_Name "$service_selector_field") ("}}{{.}}:{{end}}"))} {(DQ ("padawan:"))}
            )
            (C {(kubectl)} {(set)} {(selector)} {(-f)} {(examples/guestbook/redis-master-service.yaml)} 
              {(Lit_VarLike "app=") (redis) (Lit_Comma ",") (Lit_VarLike "role=") (master) 
                (Lit_Comma ",") (Lit_VarLike "tier=") (backend)
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"services redis-master">)} 
              {(DQ ("{{range") ($ VSub_Name "$service_selector_field") ("}}{{.}}:{{end}}"))} {(DQ ("redis:master:backend:"))}
            )
            (C {(kubectl)} {(set)} {(selector)} {(services)} {(redis-master)} 
              {(Lit_VarLike "role=") (padawan)} {(--dry-run)} {(-o)} {(yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [25092 25097]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(set)} {(selector)} {(services)} {(redis-master)} 
                  {(Lit_VarLike "role=") (padawan)} {(--local)} {(-o)} {(yaml)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [25123 25128]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"services redis-master">)} 
              {(DQ ("{{range") ($ VSub_Name "$service_selector_field") ("}}{{.}}:{{end}}"))} {(DQ ("redis:master:backend:"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_service)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(service)} {(redis-master)} {(-o)} {(json)} 
                                {(--output-version) (Lit_Other "=") (v1)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [25179 25184]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [25161 25186]
                      )
                    }
                  spids: [25160]
                )
              ]
              spids: [25160]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"kubernetes:redis-master:">)}
            )
            (C {(kubectl)} {(delete)} {(service)} {(redis-master)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [25232 25237]
                  )
                )
              }
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name WAIT_FOR_DELETION>
                                      suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )})
                                      spids: [25246 25249]
                                    )
                                  )
                                }
                              right: {(DQ (true))}
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (wait_object_assert)
                      } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
                    )
                  ]
                  spids: [-1 25261]
                )
              ]
              spids: [-1 25285]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
            )
            (Pipeline
              children: [
                (C {(echo)} {(DQ (${ VSub_Name output_service))})
                (C {(kubectl)} {(create)} {(-f)} {(-)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [25366 25371]
                      )
                    )
                  }
                )
              ]
              negated: False
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"kubernetes:redis-master:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"kubernetes:redis-master:">)}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(create)}
                {(-f)}
                {(-)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [25443 25448]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: -1
                  body: 
                    {
                      (DQ ("{\n") ("  ") (Right_DoubleQuote "\"") (kind) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (Service) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") (apiVersion) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (v1) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") 
                        (metadata) (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (name) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (service-v1-test) (Right_DoubleQuote "\"") ("\n") ("  },\n") ("  ") (Right_DoubleQuote "\"") (spec) 
                        (Right_DoubleQuote "\"") (": {\n") ("    ") (Right_DoubleQuote "\"") (ports) (Right_DoubleQuote "\"") (": [\n") ("      {\n") 
                        ("        ") (Right_DoubleQuote "\"") (protocol) (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (TCP) 
                        (Right_DoubleQuote "\"") (",\n") ("        ") (Right_DoubleQuote "\"") (port) (Right_DoubleQuote "\"") (": 80,\n") ("        ") 
                        (Right_DoubleQuote "\"") (targetPort) (Right_DoubleQuote "\"") (": 80\n") ("      }\n") ("    ]\n") ("  }\n") ("}\n")
                      )
                    }
                  do_expansion: True
                  here_end: __EOF__
                  was_filled: True
                  spids: [25451]
                )
              ]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"kubernetes:redis-master:service-.*-test:">)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(get)} {(service)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [25561 25566]
                      )
                    )
                  } {(service-v1-test)} {(-o)} {(json)}
                )
                (C {(kubectl)} {(replace)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [25582 25587]
                      )
                    )
                  } {(-f)} {(-)}
                )
              ]
              negated: False
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"kubernetes:redis-master:service-.*-test:">)}
            )
            (C {(kubectl)} {(delete)} {(service)} {(redis-master)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [25638 25643]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(service)} {(DQ (service-v1-test))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [25658 25663]
                  )
                )
              }
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name WAIT_FOR_DELETION>
                                      suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )})
                                      spids: [25672 25675]
                                    )
                                  )
                                }
                              right: {(DQ (true))}
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (wait_object_assert)
                      } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
                    )
                  ]
                  spids: [-1 25687]
                )
              ]
              spids: [-1 25711]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
            )
            (C {(kubectl)} {(create)} {(-f)} {(examples/guestbook/redis-master-service.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [25782 25787]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(examples/guestbook/redis-slave-service.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [25800 25805]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"kubernetes:redis-master:redis-slave:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(services)}
                                  {(-o) (Lit_Other "=") (custom-columns) (Lit_Other "=") (NAME) 
                                    (Lit_Other ":") (.metadata.name) (Lit_Comma ",") (RSRC) (Lit_Other ":") (.metadata.resourceVersion)
                                  }
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [25867 25872]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [25863]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [25844 25874]
                      )
                    }
                  spids: [25843]
                )
              ]
              spids: [25843]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <redis-master>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"kubernetes:redis-master:redis-slave:">)}
            )
            (C {(kubectl)} {(delete)} {(services)} {(redis-master)} {(redis-slave)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [25945 25950]
                  )
                )
              }
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name WAIT_FOR_DELETION>
                                      suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )})
                                      spids: [25962 25965]
                                    )
                                  )
                                }
                              right: {(DQ (true))}
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (wait_object_assert)
                      } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
                    )
                  ]
                  spids: [-1 25977]
                )
              ]
              spids: [-1 26001]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
            )
            (C {(kubectl)} {(create)} {(service)} {(externalname)} {(beep-boop)} {(--external-name)} 
              {(bar.com)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"beep-boop:kubernetes:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"beep-boop:kubernetes:">)}
            )
            (C {(kubectl)} {(delete)} {(service)} {(beep-boop)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [26146 26151]
                  )
                )
              }
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolBinary
                              op_id: BoolBinary_GlobDEqual
                              left: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name WAIT_FOR_DELETION>
                                      suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )})
                                      spids: [26160 26163]
                                    )
                                  )
                                }
                              right: {(DQ (true))}
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (wait_object_assert)
                      } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
                    )
                  ]
                  spids: [-1 26175]
                )
              ]
              spids: [-1 26199]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"kubernetes:">)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [24545]
        )
      spids: [24541 24544]
    )
    (FuncDef
      name: run_rc_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:replicationcontrollers)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [26326 26331]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [26344 26349]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods -l \"name=frontend\"">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [26421 26426]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"frontend:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_assert)
              } {(rc)} {(SQ <frontend>)} {(DQ ("Name:"))} {(DQ ("Pod Template:"))} {(DQ ("Labels:"))} {(DQ ("Selector:"))} 
              {(DQ ("Replicas:"))} {(DQ ("Pods Status:"))} {(DQ ("Volumes:"))} {(DQ ("GET_HOSTS_FROM:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(rc)} {(SQ <frontend>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(rc)} {(SQ <frontend>)} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(rc)} {(SQ <frontend>)} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(rc)} {(DQ ("Name:"))} {(DQ ("Name:"))} {(DQ ("Pod Template:"))} {(DQ ("Labels:"))} {(DQ ("Selector:"))} 
              {(DQ ("Replicas:"))} {(DQ ("Pods Status:"))} {(DQ ("Volumes:"))} {(DQ ("GET_HOSTS_FROM:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(rc)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(rc)} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(rc)} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc frontend">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <3>)}
            )
            (C {(kubectl)} {(scale)} {(--current-replicas) (Lit_Other "=") (3)} 
              {(--replicas) (Lit_Other "=") (2)} {(replicationcontrollers)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [26720 26725]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc frontend">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <2>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc frontend">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <2>)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(scale)} {(--current-replicas) (Lit_Other "=") (3)} 
                  {(--replicas) (Lit_Other "=") (2)} {(replicationcontrollers)} {(frontend)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [26811 26816]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc frontend">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <2>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc frontend">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <2>)}
            )
            (C {(kubectl)} {(scale)} {(--replicas) (Lit_Other "=") (3)} {(replicationcontrollers)} 
              {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [26896 26901]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc frontend">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <3>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc frontend">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <3>)}
            )
            (C {(kubectl)} {(scale)} {(--replicas) (Lit_Other "=") (2)} {(-f)} 
              {(hack/testdata/frontend-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [26981 26986]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc frontend">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <2>)}
            )
            (C {(kubectl)} {(delete)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27030 27035]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(examples/guestbook/legacy/redis-master-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27053 27058]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(examples/guestbook/legacy/redis-slave-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27071 27076]
                  )
                )
              }
            )
            (C {(kubectl)} {(scale)} {(rc/redis-master)} {(rc/redis-slave)} 
              {(--replicas) (Lit_Other "=") (4)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27097 27102]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc redis-master">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <4>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc redis-slave">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <4>)}
            )
            (C {(kubectl)} {(delete)} {(rc)} 
              (BracedWordTree
                parts: [(redis-) (BracedAltPart words:[{(master)}{(slave)}])]
              ) 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27174 27179]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/user-guide/job.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27197 27202]
                  )
                )
              }
            )
            (C {(kubectl)} {(scale)} {(--replicas) (Lit_Other "=") (2)} {(job/pi)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"job pi">)} {(DQ ("{{") ($ VSub_Name "$job_parallelism_field") ("}}"))} {(SQ <2>)}
            )
            (C {(kubectl)} {(delete)} {(job/pi)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27259 27264]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/user-guide/deployment.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27282 27287]
                  )
                )
              }
            )
            (C {(kubectl)} {(scale)} {(--current-replicas) (Lit_Other "=") (3)} 
              {(--replicas) (Lit_Other "=") (1)} {(deployment/nginx-deployment)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployment nginx-deployment">)} {(DQ ("{{") ($ VSub_Name "$deployment_replicas") ("}}"))} 
              {(SQ <1>)}
            )
            (C {(kubectl)} {(delete)} {(deployment/nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27348 27353]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/user-guide/deployment.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27371 27376]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployment nginx-deployment">)} {(DQ ("{{") ($ VSub_Name "$deployment_replicas") ("}}"))} 
              {(SQ <3>)}
            )
            (C {(kubectl)} {(expose)} {(deployment/nginx-deployment)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service nginx-deployment">)} {(DQ ("{{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <80>)}
            )
            (C {(kubectl)} {(delete)} {(deployment/nginx-deployment)} {(service/nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27458 27463]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27481 27486]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rc frontend">)} {(DQ ("{{") ($ VSub_Name "$rc_replicas_field") ("}}"))} {(SQ <3>)}
            )
            (C {(kubectl)} {(expose)} {(rc)} {(frontend)} {(--port) (Lit_Other "=") (80)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27534 27539]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service frontend">)} 
              {(DQ ("{{") ($ VSub_Name "$port_name") ("}} {{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <"<no value> 80">)}
            )
            (C {(kubectl)} {(expose)} {(service)} {(frontend)} {(--port) (Lit_Other "=") (443)} 
              {(--name) (Lit_Other "=") (frontend-2)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27593 27598]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service frontend-2">)} 
              {(DQ ("{{") ($ VSub_Name "$port_name") ("}} {{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <"<no value> 443">)}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27644 27649]
                  )
                )
              }
            )
            (C {(kubectl)} {(expose)} {(pod)} {(valid-pod)} {(--port) (Lit_Other "=") (444)} 
              {(--name) (Lit_Other "=") (frontend-3)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27670 27675]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service frontend-3">)} 
              {(DQ ("{{") ($ VSub_Name "$port_name") ("}} {{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <"<no value> 444">)}
            )
            (C {(kubectl)} {(expose)} {(rc)} {(frontend)} {(--port) (Lit_Other "=") (80)} 
              {(--name) (Lit_Other "=") (frontend-4)} {(--generator) (Lit_Other "=") (service/v1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27733 27738]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service frontend-4">)} 
              {(DQ ("{{") ($ VSub_Name "$port_name") ("}} {{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <"default 80">)}
            )
            (C {(kubectl)} {(expose)} {(service)} {(frontend)} {(--name) (Lit_Other "=") (frontend-5)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27788 27793]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service frontend-5">)} {(DQ ("{{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <80>)}
            )
            (C {(kubectl)} {(delete)} {(pod)} {(valid-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27837 27842]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(service)} 
              (BracedWordTree
                parts: [(frontend) (BracedAltPart words:[{}{(-2)}{(-3)}{(-4)}{(-5)}])]
              ) 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27865 27870]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(expose)}
                                      {(nodes)}
                                      {(127.0.0.1)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [27903 27908]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [27899]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [27888 27910]
                      )
                    }
                  spids: [27887]
                )
              ]
              spids: [27887]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"cannot expose">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(expose)}
                                      {(-f)}
                                      {(hack/testdata/pod-with-large-name.yaml)}
                                      {(--name) (Lit_Other "=") 
                                        (
invalid-large-service-name-that-has-more-than-sixty-three-characters
                                        )
                                      }
                                      {(--port) (Lit_Other "=") (8081)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [27969 27974]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [27965]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [27946 27976]
                      )
                    }
                  spids: [27945]
                )
              ]
              spids: [27945]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"metadata.name: Invalid value">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(expose)}
                                  {(-f)}
                                  {(hack/testdata/pod-with-large-name.yaml)}
                                  {(--port) (Lit_Other "=") (8081)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [28024 28029]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [28020]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [28007 28031]
                      )
                    }
                  spids: [28006]
                )
              ]
              spids: [28006]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {
                (SQ 
                  <
"\\\"kubernetes-serve-hostname-testing-sixty-three-characters-in-len\\\" exposed"
                  >
                )
              }
            )
            (C {(kubectl)} {(delete)} {(svc)} 
              {(kubernetes-serve-hostname-testing-sixty-three-characters-in-len)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28070 28075]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(expose)}
                                  {(-f)}
                                  {(test/fixtures/doc-yaml/admin/high-availability/etcd.yaml)}
                                  {(--selector) (Lit_Other "=") (Lit_VarLike "test=") (etcd)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [28107 28112]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [28103]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [28089 28114]
                      )
                    }
                  spids: [28088]
                )
              ]
              spids: [28088]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"\\\"etcd-server\\\" exposed">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service etcd-server">)} 
              {(DQ ("{{") ($ VSub_Name "$port_name") ("}} {{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <"port-1 2380">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service etcd-server">)} 
              {
                (DQ ("{{") ($ VSub_Name "$second_port_name") ("}} {{") 
                  ($ VSub_Name "$second_port_field") ("}}")
                )
              } {(SQ <"port-2 2379">)}
            )
            (C {(kubectl)} {(delete)} {(svc)} {(etcd-server)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28207 28212]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"frontend:">)}
            )
            (C {(kubectl)} {(delete)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28259 28264]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28334 28339]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(examples/guestbook/legacy/redis-slave-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28352 28357]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"frontend:redis-slave:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"frontend:redis-slave:">)}
            )
            (C {(kubectl)} {(delete)} {(rc)} {(frontend)} {(redis-slave)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28431 28436]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28509 28514]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"frontend:">)}
            )
            (C {(kubectl)} {(autoscale)} {(-f)} {(hack/testdata/frontend-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28552 28557]
                  )
                )
              } {(--max) (Lit_Other "=") (2)} {(--cpu-percent) (Lit_Other "=") (70)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"hpa frontend">)} 
              {
                (DQ ("{{") ($ VSub_Name "$hpa_min_field") ("}} {{") ($ VSub_Name "$hpa_max_field") 
                  ("}} {{") ($ VSub_Name "$hpa_cpu_field") ("}}")
                )
              } {(SQ <"1 2 70">)}
            )
            (C {(kubectl)} {(delete)} {(hpa)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28605 28610]
                  )
                )
              }
            )
            (C {(kubectl)} {(autoscale)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28627 28632]
                  )
                )
              } {(--min) (Lit_Other "=") (2)} {(--max) (Lit_Other "=") (3)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"hpa frontend">)} 
              {
                (DQ ("{{") ($ VSub_Name "$hpa_min_field") ("}} {{") ($ VSub_Name "$hpa_max_field") 
                  ("}} {{") ($ VSub_Name "$hpa_cpu_field") ("}}")
                )
              } {(SQ <"2 3 80">)}
            )
            (C {(kubectl)} {(delete)} {(hpa)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28680 28685]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(autoscale)} {(rc)} {(frontend)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [28704 28709]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(delete)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28726 28731]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(set)} {(resources)} {(-f)} 
              {(hack/testdata/deployment-multicontainer-resources.yaml)} {(-c) (Lit_Other "=") (perl)} {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (300m)} 
              {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (300m)} {(--local)} {(-o)} {(yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28799 28804]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(set)} {(resources)} {(-f)} 
                  {(hack/testdata/deployment-multicontainer-resources.yaml)} {(-c) (Lit_Other "=") (perl)} {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (300m)} 
                  {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (300m)} {(--dry-run)} {(-o)} {(yaml)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [28841 28846]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/deployment-multicontainer-resources.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28863 28868]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"nginx-deployment-resources:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PERL) (":"))}
            )
            (C {(kubectl)} {(set)} {(resources)} {(deployment)} {(nginx-deployment-resources)} 
              {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (100m)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28961 28966]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 0).resources.limits.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("100m:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 1).resources.limits.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("100m:"))}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(set)} {(resources)} {(deployment)} {(nginx-deployment-resources)} 
                  {(-c) (Lit_Other "=") (redis)} {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (100m)}
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(set)} {(resources)} {(deployment)} {(nginx-deployment-resources)} 
              {(-c) (Lit_Other "=") (nginx)} {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (200m)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [29058 29063]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 0).resources.limits.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("200m:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 1).resources.limits.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("100m:"))}
            )
            (C {(kubectl)} {(set)} {(resources)} {(-f)} 
              {(hack/testdata/deployment-multicontainer-resources.yaml)} {(-c) (Lit_Other "=") (perl)} {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (300m)} 
              {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (300m)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [29134 29139]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 0).resources.limits.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("200m:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 1).resources.limits.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("300m:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 1).resources.requests.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("300m:"))}
            )
            (C {(kubectl)} {(set)} {(resources)} {(deployment)} {(nginx-deployment-resources)} 
              {(-c) (Lit_Other "=") (perl)} {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (400m)} 
              {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (400m)} {(--dry-run)} {(-o)} {(yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [29235 29240]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(set)} {(resources)} {(deployment)} {(nginx-deployment-resources)} 
                  {(-c) (Lit_Other "=") (perl)} {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (400m)} 
                  {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (400m)} {(--local)} {(-o)} {(yaml)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [29277 29282]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 0).resources.limits.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("200m:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 1).resources.limits.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("300m:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} 
              {
                (DQ 
                  (
"{{range.items}}{{(index .spec.template.spec.containers 1).resources.requests.cpu}}:{{end}}"
                  )
                )
              } {(DQ ("300m:"))}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx-deployment-resources)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [29356 29361]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [26250]
        )
      spids: [26246 26249]
    )
    (FuncDef
      name: run_deployment_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing deployments"))}
            )
            (C {(kubectl)} {(create)} {(deployment)} {(test-nginx-extensions)} 
              {(--image) (Lit_Other "=") (gcr.io/google-containers/nginx) (Lit_Other ":") (test-cmd)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy test-nginx-extensions">)} {(DQ ("{{") ($ VSub_Name "$container_name_field") ("}}"))} 
              {(SQ <nginx>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(deployment.extensions/test-nginx-extensions)} 
                                {(-o)} {(Lit_VarLike "jsonpath=") (SQ <"{.spec.revisionHistoryLimit}">)}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [29473 29486]
                      )
                    }
                  spids: [29472]
                )
              ]
              spids: [29472]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <2>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(deployment.extensions)}
                                  {(-o) (Lit_Other "=") (Lit_VarLike "jsonpath=") 
                                    (SQ <"{.items[0].apiVersion}">)
                                  }
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [29531 29536]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [29527]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [29513 29538]
                      )
                    }
                  spids: [29512]
                )
              ]
              spids: [29512]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <extensions/v1beta1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(deployment.apps)}
                                  {(-o) (Lit_Other "=") (Lit_VarLike "jsonpath=") 
                                    (SQ <"{.items[0].apiVersion}">)
                                  }
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [29579 29584]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [29575]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [29561 29586]
                      )
                    }
                  spids: [29560]
                )
              ]
              spids: [29560]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <apps/v1beta1>)}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(test-nginx-extensions)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [29621 29626]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(deployment)} {(test-nginx-apps)} 
              {(--image) (Lit_Other "=") (gcr.io/google-containers/nginx) (Lit_Other ":") (test-cmd)} {(--generator) (Lit_Other "=") (deployment-basic/apps.v1beta1)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy test-nginx-apps">)} {(DQ ("{{") ($ VSub_Name "$container_name_field") ("}}"))} 
              {(SQ <nginx>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(deployment/test-nginx-apps)} {(-o)} 
                                {(Lit_VarLike "jsonpath=") (SQ <"{.spec.revisionHistoryLimit}">)}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [29686 29699]
                      )
                    }
                  spids: [29685]
                )
              ]
              spids: [29685]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <2>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(deployment.extensions)}
                                  {(-o) (Lit_Other "=") (Lit_VarLike "jsonpath=") 
                                    (SQ <"{.items[0].apiVersion}">)
                                  }
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [29744 29749]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [29740]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [29726 29751]
                      )
                    }
                  spids: [29725]
                )
              ]
              spids: [29725]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <extensions/v1beta1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(deployment.apps)}
                                  {(-o) (Lit_Other "=") (Lit_VarLike "jsonpath=") 
                                    (SQ <"{.items[0].apiVersion}">)
                                  }
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [29792 29797]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [29788]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [29774 29799]
                      )
                    }
                  spids: [29773]
                )
              ]
              spids: [29773]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <apps/v1beta1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(rs)} {(DQ ("Name:"))} {(DQ ("Pod Template:"))} {(DQ ("Labels:"))} {(DQ ("Selector:"))} 
              {(DQ ("Controlled By"))} {(DQ ("Replicas:"))} {(DQ ("Pods Status:"))} {(DQ ("Volumes:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(pods)} {(DQ ("Name:"))} {(DQ ("Image:"))} {(DQ ("Node:"))} {(DQ ("Labels:"))} {(DQ ("Status:"))} 
              {(DQ ("Created By"))} {(DQ ("Controlled By"))}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(test-nginx-apps)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [29924 29929]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/deployment-with-UnixUserID.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [29975 29980]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"deployment-with-unixuserid:">)}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(deployment-with-unixuserid)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30022 30027]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/user-guide/deployment.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30077 30082]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$rs_replicas_field") ("}}{{end}}"))} {(SQ <3>)}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30124 30129]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(deployment)} {(nginx-deployment)} 
              {(--image) (Lit_Other "=") (gcr.io/google-containers/nginx) (Lit_Other ":") (test-cmd)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$rs_replicas_field") ("}}{{end}}"))} {(SQ <1>)}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30259 30264]
                  )
                )
              } {(--cascade) (Lit_Other "=") (false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$rs_replicas_field") ("}}{{end}}"))} {(SQ <1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(rs)} 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name kube_flags>
                                      bracket_op: (WholeArray op_id:Lit_At)
                                      spids: [30338 30343]
                                    )
                                  )
                                } {(-o)} {(template)} 
                                {(--template) (Lit_Other "=") (Lit_LBrace "{") (Lit_LBrace "{") 
                                  (range.items) (Lit_RBrace "}") (Lit_RBrace "}") (Lit_LBrace "{") (Lit_LBrace "{") ($ VSub_Name "$id_field") 
                                  (Lit_RBrace "}") (Lit_RBrace "}") (Lit_LBrace "{") (Lit_LBrace "{") (end) (Lit_RBrace "}") (Lit_RBrace "}")
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [30330 30367]
                      )
                    }
                  spids: [30329]
                )
              ]
              spids: [30329]
            )
            (C {(kubectl)} {(delete)} {(rs)} {(${ VSub_Name output_message)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30381 30386]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/doc-yaml/user-guide/deployment.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30432 30437]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"nginx-deployment:">)}
            )
            (C {(kubectl-with-retry)} {(autoscale)} {(deployment)} {(nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30475 30480]
                  )
                )
              } {(--min) (Lit_Other "=") (2)} {(--max) (Lit_Other "=") (3)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"hpa nginx-deployment">)} 
              {
                (DQ ("{{") ($ VSub_Name "$hpa_min_field") ("}} {{") ($ VSub_Name "$hpa_max_field") 
                  ("}} {{") ($ VSub_Name "$hpa_cpu_field") ("}}")
                )
              } {(SQ <"2 3 80">)}
            )
            (C {(kubectl)} {(delete)} {(hpa)} {(nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30536 30541]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(deployment.extensions)} {(nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30554 30559]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/deployment-revision1.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30609 30614]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"nginx:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(deployment)} {(nginx)} 
              {(--to-revision) (Lit_Other "=") (1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30682 30687]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/deployment-revision2.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30728 30733]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment.extensions)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R2) (":"))}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(rollout)} {(undo)} {(deployment)} {(nginx)} 
                  {(--dry-run) (Lit_Other "=") (true)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [30780 30785]
                      )
                    )
                  }
                )
                (C {(grep)} {(DQ (test-cmd))})
              ]
              negated: False
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment.extensions)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R2) (":"))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(deployment)} {(nginx)} 
              {(--to-revision) (Lit_Other "=") (1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30840 30845]
                  )
                )
              }
            )
            (C {(sleep)} {(1)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(deployment)} {(nginx)} 
              {(--to-revision) (Lit_Other "=") (1000000)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30897 30902]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(deployment)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30945 30950]
                  )
                )
              }
            )
            (C {(sleep)} {(1)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R2) (":"))}
            )
            (C {(kubectl-with-retry)} {(rollout)} {(pause)} {(deployment)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30998 31003]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(rollout)} {(undo)} {(deployment)} {(nginx)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [31024 31029]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C {(kubectl-with-retry)} {(rollout)} {(resume)} {(deployment)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31048 31053]
                  )
                )
              }
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(deployment)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31072 31077]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:newrs)
                  op: Equal
                  rhs: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(describe)} {(deployment)} {(nginx)})
                                    (C {(grep)} {(NewReplicaSet)})
                                    (C {(awk)} {(SQ <"{print $2}">)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [31087 31109]
                        )
                      )
                    }
                  spids: [31085]
                )
              ]
              spids: [31085]
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(get)} {(rs)} {(DQ (${ VSub_Name newrs))} {(-o)} {(yaml)})
                (C {(grep)} {(DQ ("deployment.kubernetes.io/revision-history: 1,3"))})
              ]
              negated: False
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(rollout)} {(status)} {(deployment/nginx)} 
                  {(--revision) (Lit_Other "=") (3)}
                )
              ]
              negated: True
            )
            (Pipeline
              children: [
                (C {(cat)} {(hack/testdata/deployment-revision1.yaml)})
                (C {($ VSub_Name "$SED")} {(DQ ("s/name: nginx") (Lit_Other "$") ("/name: nginx2/"))})
                (C {(kubectl)} {(create)} {(-f)} {(-)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [31182 31187]
                      )
                    )
                  }
                )
              ]
              negated: False
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx2)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31204 31209]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31226 31231]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/deployment-multicontainer.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31277 31282]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"nginx-deployment:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PERL) (":"))}
            )
            (C {(kubectl)} {(set)} {(image)} {(deployment)} {(nginx-deployment)} 
              {(Lit_VarLike "nginx=") (DQ (${ VSub_Name IMAGE_DEPLOYMENT_R2))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31377 31382]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PERL) (":"))}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(set)} {(image)} {(deployment)} {(nginx-deployment)} 
                  {(Lit_VarLike "redis=") (redis)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [31454 31459]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(set)} {(image)} {(deployments)} {(--all)} 
              {(Lit_VarLike "nginx=") (DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31485 31490]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PERL) (":"))}
            )
            (C {(kubectl)} {(set)} {(image)} {(-f)} {(hack/testdata/deployment-multicontainer.yaml)} 
              {(Lit_VarLike "nginx=") (DQ (${ VSub_Name IMAGE_DEPLOYMENT_R2))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31564 31569]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PERL) (":"))}
            )
            (C {(kubectl)} {(set)} {(image)} {(-f)} {(hack/testdata/deployment-multicontainer.yaml)} 
              {(Lit_VarLike "nginx=") (DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31643 31648]
                  )
                )
              } {(--local)} {(-o)} {(yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PERL) (":"))}
            )
            (C {(kubectl)} {(set)} {(image)} {(deployment)} {(nginx-deployment)} 
              {(DQ ("*")) (Lit_Other "=") (DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31731 31736]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C {(kubectl)} {(set)} {(image)} {(deployment)} {(nginx-deployment)} 
              {(DQ ("*")) (Lit_Other "=") (DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31813 31818]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DEPLOYMENT_R1) (":"))}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31883 31888]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/deployment-multicontainer.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31934 31939]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/configmap.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31952 31957]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/secret.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31970 31975]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"nginx-deployment:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(configmap)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"test-set-env-config:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(secret)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"test-set-env-secret:">)}
            )
            (C {(kubectl)} {(set)} {(env)} {(deployment)} {(nginx-deployment)} 
              {(Lit_VarLike "env=") (prod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32060 32065]
                  )
                )
              }
            )
            (C {(kubectl)} {(set)} {(env)} {(deployment)} {(nginx-deployment)} 
              {(Lit_VarLike "env=") (prod)} {(-c) (Lit_Other "=") (nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32091 32096]
                  )
                )
              }
            )
            (C {(kubectl)} {(set)} {(env)} {(deployment)} {(nginx-deployment)} 
              {(--from) (Lit_Other "=") (configmap/test-set-env-config)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32119 32124]
                  )
                )
              }
            )
            (C {(kubectl)} {(set)} {(env)} {(deployment)} {(nginx-deployment)} 
              {(--from) (Lit_Other "=") (secret/test-set-env-secret)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32147 32152]
                  )
                )
              }
            )
            (C {(kubectl)} {(set)} {(env)} {(deployment)} {(nginx-deployment)} {(env-)})
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32186 32191]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(configmap)} {(test-set-env-config)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32204 32209]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(secret)} {(test-set-env-secret)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32222 32227]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployment)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (AndOr
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {(create)}
                    {(--request-timeout) (Lit_Other "=") (1)}
                    {(-f)}
                    {(hack/testdata/deployment-with-initializer.yaml)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [32280 32285]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[32276])]
                )
                (C {(true)})
              ]
              op_id: Op_DPipe
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployment web">)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <web>)}
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(web)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32329 32334]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(deployment)}
                                      {(web)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [32358 32363]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [32354]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [32343 32365]
                      )
                    }
                  spids: [32342]
                )
              ]
              spids: [32342]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"\"web\" not found">)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [29388]
        )
      spids: [29384 29387]
    )
    (FuncDef
      name: run_rs_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:replicasets)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-replicaset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32486 32491]
                  )
                )
              }
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Deleting rs"))}
            )
            (C {(kubectl)} {(delete)} {(rs)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32517 32522]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods -l \"tier=frontend\"">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-replicaset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32594 32599]
                  )
                )
              }
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Deleting rs"))}
            )
            (C {(kubectl)} {(delete)} {(rs)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32625 32630]
                  )
                )
              } {(--cascade) (Lit_Other "=") (false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"pods -l \"tier=frontend\"">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$pod_container_name_field") ("}}:{{end}}"))} {(SQ <"php-redis:php-redis:php-redis:">)}
            )
            (C {(kubectl)} {(delete)} {(pods)} {(-l)} {(DQ ("tier=frontend"))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32706 32711]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-replicaset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32777 32782]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"frontend:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_assert)
              } {(rs)} {(SQ <frontend>)} {(DQ ("Name:"))} {(DQ ("Pod Template:"))} {(DQ ("Labels:"))} {(DQ ("Selector:"))} 
              {(DQ ("Replicas:"))} {(DQ ("Pods Status:"))} {(DQ ("Volumes:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(rs)} {(SQ <frontend>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(rs)} {(SQ <frontend>)} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(rs)} {(SQ <frontend>)} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(rs)} {(DQ ("Name:"))} {(DQ ("Pod Template:"))} {(DQ ("Labels:"))} {(DQ ("Selector:"))} 
              {(DQ ("Replicas:"))} {(DQ ("Pods Status:"))} {(DQ ("Volumes:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(rs)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(rs)} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(rs)} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(pods)} {(DQ ("Name:"))} {(DQ ("Image:"))} {(DQ ("Node:"))} {(DQ ("Labels:"))} {(DQ ("Status:"))} 
              {(DQ ("Created By"))} {(DQ ("Controlled By"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rs frontend">)} {(DQ ("{{") ($ VSub_Name "$rs_replicas_field") ("}}"))} {(SQ <3>)}
            )
            (C {(kubectl)} {(scale)} {(--current-replicas) (Lit_Other "=") (3)} 
              {(--replicas) (Lit_Other "=") (2)} {(replicasets)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33107 33112]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rs frontend">)} {(DQ ("{{") ($ VSub_Name "$rs_replicas_field") ("}}"))} {(SQ <2>)}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/scale-deploy-1.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33157 33162]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/scale-deploy-2.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33175 33180]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/scale-deploy-3.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33193 33198]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy scale-1">)} {(DQ ("{{.spec.replicas}}"))} {(SQ <1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy scale-2">)} {(DQ ("{{.spec.replicas}}"))} {(SQ <1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy scale-3">)} {(DQ ("{{.spec.replicas}}"))} {(SQ <1>)}
            )
            (C {(kubectl)} {(scale)} {(deploy)} {(--replicas) (Lit_Other "=") (2)} {(-l)} 
              {(Lit_VarLike "run=") (hello)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy scale-1">)} {(DQ ("{{.spec.replicas}}"))} {(SQ <2>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy scale-2">)} {(DQ ("{{.spec.replicas}}"))} {(SQ <2>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy scale-3">)} {(DQ ("{{.spec.replicas}}"))} {(SQ <1>)}
            )
            (C {(kubectl)} {(scale)} {(deploy)} {(--replicas) (Lit_Other "=") (3)} {(--all)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy scale-1">)} {(DQ ("{{.spec.replicas}}"))} {(SQ <3>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy scale-2">)} {(DQ ("{{.spec.replicas}}"))} {(SQ <3>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deploy scale-3">)} {(DQ ("{{.spec.replicas}}"))} {(SQ <3>)}
            )
            (C {(kubectl)} {(delete)} {(rs)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33441 33446]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(deploy)} {(scale-1)} {(scale-2)} {(scale-3)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33463 33468]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-replicaset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33486 33491]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rs frontend">)} {(DQ ("{{") ($ VSub_Name "$rs_replicas_field") ("}}"))} {(SQ <3>)}
            )
            (C {(kubectl)} {(expose)} {(rs)} {(frontend)} {(--port) (Lit_Other "=") (80)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33539 33544]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service frontend">)} 
              {(DQ ("{{") ($ VSub_Name "$port_name") ("}} {{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <"<no value> 80">)}
            )
            (C {(kubectl)} {(expose)} {(rs)} {(frontend)} {(--port) (Lit_Other "=") (80)} 
              {(--name) (Lit_Other "=") (frontend-2)} {(--generator) (Lit_Other "=") (service/v1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33602 33607]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"service frontend-2">)} 
              {(DQ ("{{") ($ VSub_Name "$port_name") ("}} {{") ($ VSub_Name "$port_field") ("}}"))} {(SQ <"default 80">)}
            )
            (C {(kubectl)} {(delete)} {(service)} 
              (BracedWordTree parts:[(frontend)(BracedAltPart words:[{}{(-2)}])]) 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33657 33662]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rs frontend">)} {(DQ ("{{") (${ VSub_Name generation_field) ("}}"))} {(SQ <1>)}
            )
            (C {(kubectl)} {(set)} {(image)} {(rs/frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33709 33714]
                  )
                )
              } {(Lit_Other "*") (Lit_Other "=") (gcr.io/google-containers/pause) (Lit_Other ":") (test-cmd)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rs frontend">)} {(DQ ("{{") (${ VSub_Name generation_field) ("}}"))} {(SQ <2>)}
            )
            (C {(kubectl)} {(set)} {(env)} {(rs/frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33758 33763]
                  )
                )
              } {(Lit_VarLike "foo=") (bar)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rs frontend">)} {(DQ ("{{") (${ VSub_Name generation_field) ("}}"))} {(SQ <3>)}
            )
            (C {(kubectl)} {(set)} {(resources)} {(rs/frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33804 33809]
                  )
                )
              } 
              {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (200m) (Lit_Comma ",") 
                (Lit_VarLike "memory=") (512Mi)
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rs frontend">)} {(DQ ("{{") (${ VSub_Name generation_field) ("}}"))} {(SQ <4>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"frontend:">)}
            )
            (C {(kubectl)} {(delete)} {(rs)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33889 33894]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-replicaset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33964 33969]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/redis-slave-replicaset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33982 33987]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"frontend:redis-slave:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"frontend:redis-slave:">)}
            )
            (C {(kubectl)} {(delete)} {(rs)} {(frontend)} {(redis-slave)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [34061 34066]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (AndOr
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {(create)}
                    {(--request-timeout) (Lit_Other "=") (1)}
                    {(-f)}
                    {(hack/testdata/replicaset-with-initializer.yaml)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [34146 34151]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[34142])]
                )
                (C {(true)})
              ]
              op_id: Op_DPipe
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"rs nginx">)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <nginx>)}
            )
            (C {(kubectl)} {(delete)} {(rs)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [34195 34200]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(rs)}
                                      {(nginx)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [34224 34229]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [34220]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [34209 34231]
                      )
                    }
                  spids: [34208]
                )
              ]
              spids: [34208]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"\"nginx\" not found">)}
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name horizontalpodautoscalers))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
                    )
                    (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-replicaset.yaml)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [34316 34321]
                          )
                        )
                      }
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(rs)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"frontend:">)}
                    )
                    (C {(kubectl)} {(autoscale)} {(-f)} {(hack/testdata/frontend-replicaset.yaml)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [34359 34364]
                          )
                        )
                      } {(--max) (Lit_Other "=") (2)} {(--cpu-percent) (Lit_Other "=") (70)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"hpa frontend">)} 
                      {
                        (DQ ("{{") ($ VSub_Name "$hpa_min_field") ("}} {{") 
                          ($ VSub_Name "$hpa_max_field") ("}} {{") ($ VSub_Name "$hpa_cpu_field") ("}}")
                        )
                      } {(SQ <"1 2 70">)}
                    )
                    (C {(kubectl)} {(delete)} {(hpa)} {(frontend)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [34412 34417]
                          )
                        )
                      }
                    )
                    (C {(kubectl)} {(autoscale)} {(rs)} {(frontend)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [34434 34439]
                          )
                        )
                      } {(--min) (Lit_Other "=") (2)} {(--max) (Lit_Other "=") (3)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"hpa frontend">)} 
                      {
                        (DQ ("{{") ($ VSub_Name "$hpa_min_field") ("}} {{") 
                          ($ VSub_Name "$hpa_max_field") ("}} {{") ($ VSub_Name "$hpa_cpu_field") ("}}")
                        )
                      } {(SQ <"2 3 80">)}
                    )
                    (C {(kubectl)} {(delete)} {(hpa)} {(frontend)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [34487 34492]
                          )
                        )
                      }
                    )
                    (Pipeline
                      children: [
                        (C {(kubectl)} {(autoscale)} {(rs)} {(frontend)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [34511 34516]
                              )
                            )
                          }
                        )
                      ]
                      negated: True
                    )
                    (C {(kubectl)} {(delete)} {(rs)} {(frontend)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [34533 34538]
                          )
                        )
                      }
                    )
                  ]
                  spids: [-1 34272]
                )
              ]
              spids: [-1 34542]
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [32410]
        )
      spids: [32406 32409]
    )
    (FuncDef
      name: run_daemonset_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:daemonsets)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonsets)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/rollingupdate-daemonset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [34644 34649]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"daemonsets bind">)} {(DQ ("{{") (${ VSub_Name template_generation_field) ("}}"))} {(SQ <1>)}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/rollingupdate-daemonset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [34691 34696]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"daemonsets bind">)} {(DQ ("{{") (${ VSub_Name template_generation_field) ("}}"))} {(SQ <1>)}
            )
            (C {(kubectl)} {(set)} {(image)} {(daemonsets/bind)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [34742 34747]
                  )
                )
              } {(Lit_Other "*") (Lit_Other "=") (gcr.io/google-containers/pause) (Lit_Other ":") (test-cmd)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"daemonsets bind">)} {(DQ ("{{") (${ VSub_Name template_generation_field) ("}}"))} {(SQ <2>)}
            )
            (C {(kubectl)} {(set)} {(env)} {(daemonsets/bind)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [34791 34796]
                  )
                )
              } {(Lit_VarLike "foo=") (bar)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"daemonsets bind">)} {(DQ ("{{") (${ VSub_Name template_generation_field) ("}}"))} {(SQ <3>)}
            )
            (C {(kubectl)} {(set)} {(resources)} {(daemonsets/bind)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [34837 34842]
                  )
                )
              } 
              {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (200m) (Lit_Comma ",") 
                (Lit_VarLike "memory=") (512Mi)
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"daemonsets bind">)} {(DQ ("{{") (${ VSub_Name template_generation_field) ("}}"))} {(SQ <4>)}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/rollingupdate-daemonset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [34893 34898]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [34568]
        )
      spids: [34564 34567]
    )
    (FuncDef
      name: run_daemonset_history_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:daemonsets, v1:controllerrevisions)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonsets)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/rollingupdate-daemonset.yaml)} {(--record)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35007 35012]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(controllerrevisions)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$annotations_field") ("}}:{{end}}"))} 
              {(DQ (".*rollingupdate-daemonset.yaml --record.*"))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(daemonset)} {(--to-revision) (Lit_Other "=") (1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35054 35059]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PAUSE_V2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (1))}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/rollingupdate-daemonset-rv2.yaml)} 
              {(--record)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35123 35128]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DAEMONSET_R2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DAEMONSET_R2_2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (2))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(controllerrevisions)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$annotations_field") ("}}:{{end}}"))} 
              {(DQ (".*rollingupdate-daemonset-rv2.yaml --record.*"))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(daemonset)} {(--dry-run) (Lit_Other "=") (true)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35239 35244]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DAEMONSET_R2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DAEMONSET_R2_2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (2))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(daemonset)} {(--to-revision) (Lit_Other "=") (1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35334 35339]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PAUSE_V2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (1))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(rollout)}
                                      {(undo)}
                                      {(daemonset)}
                                      {(--to-revision) (Lit_Other "=") (1000000)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [35409 35414]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [35417]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [35393 35419]
                      )
                    }
                  spids: [35392]
                )
              ]
              spids: [35392]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("unable to find specified revision"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PAUSE_V2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (1))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(daemonset)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35499 35504]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DAEMONSET_R2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_DAEMONSET_R2_2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(daemonset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (2))}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/rollingupdate-daemonset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35590 35595]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [34925]
        )
      spids: [34921 34924]
    )
    (FuncDef
      name: run_statefulset_history_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:statefulsets, v1:controllerrevisions)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/rollingupdate-statefulset.yaml)} {(--record)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35704 35709]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(controllerrevisions)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$annotations_field") ("}}:{{end}}"))} 
              {(DQ (".*rollingupdate-statefulset.yaml --record.*"))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(statefulset)} {(--to-revision) (Lit_Other "=") (1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35751 35756]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_STATEFULSET_R1) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (1))}
            )
            (C {(kubectl)} {(apply)} {(-f)} {(hack/testdata/rollingupdate-statefulset-rv2.yaml)} 
              {(--record)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35820 35825]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_STATEFULSET_R2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PAUSE_V2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (2))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(controllerrevisions)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$annotations_field") ("}}:{{end}}"))} 
              {(DQ (".*rollingupdate-statefulset-rv2.yaml --record.*"))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(statefulset)} {(--dry-run) (Lit_Other "=") (true)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [35936 35941]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_STATEFULSET_R2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PAUSE_V2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (2))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(statefulset)} {(--to-revision) (Lit_Other "=") (1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [36031 36036]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_STATEFULSET_R1) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (1))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(rollout)}
                                      {(undo)}
                                      {(statefulset)}
                                      {(--to-revision) (Lit_Other "=") (1000000)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [36106 36111]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [36114]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [36090 36116]
                      )
                    }
                  spids: [36089]
                )
              ]
              spids: [36089]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("unable to find specified revision"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_STATEFULSET_R1) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (1))}
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(statefulset)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [36196 36201]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field0") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_STATEFULSET_R2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$image_field1") ("}}:{{end}}"))} 
              {(DQ (${ VSub_Name IMAGE_PAUSE_V2) (":"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$container_len") ("}}{{end}}"))} {(DQ (2))}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/rollingupdate-statefulset-rv2.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [36287 36292]
                  )
                )
              }
            )
            (C {(wait-for-pods-with-label)} {(DQ ("app=nginx-statefulset"))} {(DQ )})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [35622]
        )
      spids: [35618 35621]
    )
    (FuncDef
      name: run_multi_resources_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:multiple resources)"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:FILES)
                  op: Equal
                  rhs: 
                    {
                      (DQ ("hack/testdata/multi-resource-yaml\n") 
                        ("  hack/testdata/multi-resource-list\n") ("  hack/testdata/multi-resource-json\n") ("  hack/testdata/multi-resource-rclist\n") 
                        ("  hack/testdata/multi-resource-svclist")
                      )
                    }
                  spids: [36368]
                )
              ]
              spids: [36368]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:YAML) op:Equal rhs:{(DQ (.yaml))} spids:[36378])]
              spids: [36378]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:JSON) op:Equal rhs:{(DQ (.json))} spids:[36384])]
              spids: [36384]
            )
            (ForEach
              iter_name: file
              iter_words: [{($ VSub_Name "$FILES")}]
              do_arg_iter: False
              body: 
                (DoGroup
                  children: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (C {(Lit_Other "[")} {(-f)} {($ VSub_Name "$file") ($ VSub_Name "$YAML")} 
                              {(Lit_Other "]")}
                            )
                          ]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:file)
                                  op: Equal
                                  rhs: {($ VSub_Name "$file") ($ VSub_Name "$YAML")}
                                  spids: [36417]
                                )
                              ]
                              spids: [36417]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:replace_file)
                                  op: Equal
                                  rhs: 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          token: <VSub_Name file>
                                          suffix_op: 
                                            (StringUnary
                                              op_id: VOp1_Percent
                                              arg_word: {(.yaml)}
                                            )
                                          spids: [36424 36428]
                                        ) (-modify.yaml)
                                      )
                                    }
                                  spids: [36422]
                                )
                              ]
                              spids: [36422]
                            )
                          ]
                          spids: [-1 36414]
                        )
                      ]
                      else_action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:file)
                              op: Equal
                              rhs: {($ VSub_Name "$file") ($ VSub_Name "$JSON")}
                              spids: [36436]
                            )
                          ]
                          spids: [36436]
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:replace_file)
                              op: Equal
                              rhs: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name file>
                                      suffix_op: (StringUnary op_id:VOp1_Percent arg_word:{(.json)})
                                      spids: [36443 36447]
                                    ) (-modify.json)
                                  )
                                }
                              spids: [36441]
                            )
                          ]
                          spids: [36441]
                        )
                      ]
                      spids: [36433 36452]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:has_svc)
                          op: Equal
                          rhs: {(true)}
                          spids: [36456]
                        )
                      ]
                      spids: [36456]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:has_rc)
                          op: Equal
                          rhs: {(true)}
                          spids: [36460]
                        )
                      ]
                      spids: [36460]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:two_rcs)
                          op: Equal
                          rhs: {(false)}
                          spids: [36464]
                        )
                      ]
                      spids: [36464]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:two_svcs)
                          op: Equal
                          rhs: {(false)}
                          spids: [36468]
                        )
                      ]
                      spids: [36468]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DBracket
                                  expr: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: {(DQ (${ VSub_Name file))}
                                      right: {(Lit_Other "*") (rclist) (Lit_Other "*")}
                                    )
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:has_svc)
                                  op: Equal
                                  rhs: {(false)}
                                  spids: [36494]
                                )
                              ]
                              spids: [36494]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:two_rcs)
                                  op: Equal
                                  rhs: {(true)}
                                  spids: [36498]
                                )
                              ]
                              spids: [36498]
                            )
                          ]
                          spids: [-1 36491]
                        )
                      ]
                      spids: [-1 36502]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DBracket
                                  expr: 
                                    (BoolBinary
                                      op_id: BoolBinary_GlobDEqual
                                      left: {(DQ (${ VSub_Name file))}
                                      right: {(Lit_Other "*") (svclist) (Lit_Other "*")}
                                    )
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:has_rc)
                                  op: Equal
                                  rhs: {(false)}
                                  spids: [36527]
                                )
                              ]
                              spids: [36527]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:two_svcs)
                                  op: Equal
                                  rhs: {(true)}
                                  spids: [36531]
                                )
                              ]
                              spids: [36531]
                            )
                          ]
                          spids: [-1 36524]
                        )
                      ]
                      spids: [-1 36535]
                    )
                    (C {(echo)} 
                      {
                        (DQ ("Testing with file ") (${ VSub_Name file) (" and replace with file ") 
                          (${ VSub_Name replace_file)
                        )
                      }
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
                    )
                    (C {(kubectl)} {(create)} {(-f)} {(DQ (${ VSub_Name file))} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [36626 36631]
                          )
                        )
                      }
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_svc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_svcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"mock:mock2:">)}
                                    )
                                  ]
                                  spids: [-1 36672]
                                )
                              ]
                              else_action: [
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (get_object_assert)
                                  } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"mock:">)}
                                )
                              ]
                              spids: [36696 36720]
                            )
                          ]
                          spids: [-1 36654]
                        )
                      ]
                      spids: [-1 36723]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_rc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_rcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"mock:mock2:">)}
                                    )
                                  ]
                                  spids: [-1 36763]
                                )
                              ]
                              else_action: [
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (get_object_assert)
                                  } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"mock:">)}
                                )
                              ]
                              spids: [36787 36811]
                            )
                          ]
                          spids: [-1 36745]
                        )
                      ]
                      spids: [-1 36814]
                    )
                    (C {(kubectl)} {(get)} {(-f)} {(DQ (${ VSub_Name file))} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [36834 36839]
                          )
                        )
                      }
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:WATCH_ERROR_FILE)
                          op: Equal
                          rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/kubectl-watch-error))}
                          spids: [36847]
                        )
                      ]
                      spids: [36847]
                    )
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [
                            {(kubectl)}
                            {(get)}
                            {(-f)}
                            {(DQ (${ VSub_Name file))}
                            {
                              (DQ 
                                (BracedVarSub
                                  token: <VSub_Name kube_flags>
                                  bracket_op: (WholeArray op_id:Lit_At)
                                  spids: [36869 36874]
                                )
                              )
                            }
                            {(DQ (--watch))}
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 2
                              arg_word: {(${ VSub_Name WATCH_ERROR_FILE)}
                              spids: [36881]
                            )
                          ]
                        )
                        (C {(true)})
                      ]
                      op_id: Op_DPipe
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (Pipeline
                                  children: [
                                    (C {(grep)} {(-q)} 
                                      {
                                        (DQ 
                                          (
"watch is only supported on individual resources and resource collections"
                                          )
                                        )
                                      } {(DQ (${ VSub_Name WATCH_ERROR_FILE))}
                                    )
                                  ]
                                  negated: True
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") 
                                (Lit_Other ":") (error_exit)
                              } 
                              {
                                (DQ 
                                  (
"kubectl watch multiple resource returns unexpected error or non-error: "
                                  ) 
                                  (CommandSubPart
                                    command_list: 
                                      (CommandList
                                        children: [(C {(cat)} {(${ VSub_Name WATCH_ERROR_FILE)})]
                                      )
                                    left_token: <Left_CommandSub "$(">
                                    spids: [36924 36930]
                                  )
                                )
                              } {(DQ (1))}
                            )
                          ]
                          spids: [-1 36911]
                        )
                      ]
                      spids: [-1 36938]
                    )
                    (C {(kubectl)} {(describe)} {(-f)} {(DQ (${ VSub_Name file))} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [36954 36959]
                          )
                        )
                      }
                    )
                    (C {(kubectl)} {(replace)} {(-f)} {($ VSub_Name "$replace_file")} {(--force)} 
                      {(--cascade)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [36980 36985]
                          )
                        )
                      }
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_svc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (get_object_assert)
                              } {(SQ <"services mock">)} {(DQ ("{{") (${ VSub_Name labels_field) (".status}}"))} {(SQ <replaced>)}
                            )
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_svcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(SQ <"services mock2">)} {(DQ ("{{") (${ VSub_Name labels_field) (".status}}"))} {(SQ <replaced>)}
                                    )
                                  ]
                                  spids: [-1 37051]
                                )
                              ]
                              spids: [-1 37079]
                            )
                          ]
                          spids: [-1 37008]
                        )
                      ]
                      spids: [-1 37082]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_rc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (get_object_assert)
                              } {(SQ <"rc mock">)} {(DQ ("{{") (${ VSub_Name labels_field) (".status}}"))} {(SQ <replaced>)}
                            )
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_rcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(SQ <"rc mock2">)} {(DQ ("{{") (${ VSub_Name labels_field) (".status}}"))} {(SQ <replaced>)}
                                    )
                                  ]
                                  spids: [-1 37143]
                                )
                              ]
                              spids: [-1 37171]
                            )
                          ]
                          spids: [-1 37100]
                        )
                      ]
                      spids: [-1 37174]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:temp_editor)
                          op: Equal
                          rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/tmp-editor.sh))}
                          spids: [37181]
                        )
                      ]
                      spids: [37181]
                    )
                    (SimpleCommand
                      words: [
                        {(echo)}
                        {(-e)}
                        {
                          (DQ ("#!/bin/bash") (EscapedLiteralPart token:<Lit_EscapedChar "\\n">) 
                            ($ VSub_Name "$SED") (" -i ") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (s/status) 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar "\\:">
                            ) (EscapedLiteralPart token:<Lit_EscapedChar "\\ ">) (replaced/status) 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar "\\:">
                            ) (EscapedLiteralPart token:<Lit_EscapedChar "\\ ">) (edited/g) 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar "\\\"">
                            ) (" ") (EscapedLiteralPart token:<Lit_EscapedChar "\\$">) ("@")
                          )
                        }
                      ]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: -1
                          arg_word: {(DQ (${ VSub_Name temp_editor))}
                          spids: [37213]
                        )
                      ]
                    )
                    (C {(chmod)} {(Lit_Other "+") (x)} {(DQ (${ VSub_Name temp_editor))})
                    (SimpleCommand
                      words: [
                        {(kubectl)}
                        {(edit)}
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name kube_flags>
                              bracket_op: (WholeArray op_id:Lit_At)
                              spids: [37246 37251]
                            )
                          )
                        }
                        {(-f)}
                        {(DQ (${ VSub_Name file))}
                      ]
                      more_env: [
                        (env_pair
                          name: EDITOR
                          val: {(DQ (${ VSub_Name temp_editor))}
                          spids: [37234]
                        )
                      ]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_svc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (get_object_assert)
                              } {(SQ <"services mock">)} {(DQ ("{{") (${ VSub_Name labels_field) (".status}}"))} {(SQ <edited>)}
                            )
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_svcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(SQ <"services mock2">)} {(DQ ("{{") (${ VSub_Name labels_field) (".status}}"))} {(SQ <edited>)}
                                    )
                                  ]
                                  spids: [-1 37325]
                                )
                              ]
                              spids: [-1 37353]
                            )
                          ]
                          spids: [-1 37282]
                        )
                      ]
                      spids: [-1 37356]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_rc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (get_object_assert)
                              } {(SQ <"rc mock">)} {(DQ ("{{") (${ VSub_Name labels_field) (".status}}"))} {(SQ <edited>)}
                            )
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_rcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(SQ <"rc mock2">)} {(DQ ("{{") (${ VSub_Name labels_field) (".status}}"))} {(SQ <edited>)}
                                    )
                                  ]
                                  spids: [-1 37417]
                                )
                              ]
                              spids: [-1 37445]
                            )
                          ]
                          spids: [-1 37374]
                        )
                      ]
                      spids: [-1 37448]
                    )
                    (C {(rm)} {(DQ (${ VSub_Name temp_editor))})
                    (C {(kubectl-with-retry)} {(label)} {(-f)} {($ VSub_Name "$file")} 
                      {(Lit_VarLike "labeled=") (true)} {(--overwrite)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [37494 37499]
                          )
                        )
                      }
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_svc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (get_object_assert)
                              } {(SQ <"services mock">)} {(DQ ("{{") (${ VSub_Name labels_field) (".labeled}}"))} {(SQ <true>)}
                            )
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_svcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(SQ <"services mock2">)} {(DQ ("{{") (${ VSub_Name labels_field) (".labeled}}"))} {(SQ <true>)}
                                    )
                                  ]
                                  spids: [-1 37565]
                                )
                              ]
                              spids: [-1 37593]
                            )
                          ]
                          spids: [-1 37522]
                        )
                      ]
                      spids: [-1 37596]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_rc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (get_object_assert)
                              } {(SQ <"rc mock">)} {(DQ ("{{") (${ VSub_Name labels_field) (".labeled}}"))} {(SQ <true>)}
                            )
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_rcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(SQ <"rc mock2">)} {(DQ ("{{") (${ VSub_Name labels_field) (".labeled}}"))} {(SQ <true>)}
                                    )
                                  ]
                                  spids: [-1 37657]
                                )
                              ]
                              spids: [-1 37685]
                            )
                          ]
                          spids: [-1 37614]
                        )
                      ]
                      spids: [-1 37688]
                    )
                    (C {(kubectl-with-retry)} {(annotate)} {(-f)} {($ VSub_Name "$file")} 
                      {(Lit_VarLike "annotated=") (true)} {(--overwrite)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [37725 37730]
                          )
                        )
                      }
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_svc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (get_object_assert)
                              } {(SQ <"services mock">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotated}}"))} {(SQ <true>)}
                            )
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_svcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(SQ <"services mock2">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotated}}"))} {(SQ <true>)}
                                    )
                                  ]
                                  spids: [-1 37796]
                                )
                              ]
                              spids: [-1 37824]
                            )
                          ]
                          spids: [-1 37753]
                        )
                      ]
                      spids: [-1 37827]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$has_rc"))} {(Lit_Other "=")} 
                                  {(true)} {(Lit_Other "]")}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (get_object_assert)
                              } {(SQ <"rc mock">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotated}}"))} {(SQ <true>)}
                            )
                            (If
                              arms: [
                                (if_arm
                                  cond: [
                                    (Sentence
                                      child: 
                                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$two_rcs"))} 
                                          {(Lit_Other "=")} {(true)} {(Lit_Other "]")}
                                        )
                                      terminator: <Op_Semi ";">
                                    )
                                  ]
                                  action: [
                                    (C 
                                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                        (Lit_Other ":") (get_object_assert)
                                      } {(SQ <"rc mock2">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotated}}"))} {(SQ <true>)}
                                    )
                                  ]
                                  spids: [-1 37888]
                                )
                              ]
                              spids: [-1 37916]
                            )
                          ]
                          spids: [-1 37845]
                        )
                      ]
                      spids: [-1 37919]
                    )
                    (C {(kubectl)} {(delete)} {(-f)} {(DQ (${ VSub_Name file))} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [37939 37944]
                          )
                        )
                      }
                    )
                  ]
                  spids: [36399 37948]
                )
              spids: [36395 36397]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(https) (Lit_Other ":") 
                (
//raw.githubusercontent.com/kubernetes/kubernetes/master/hack/testdata/multi-resource-yaml.yaml
                )
              } 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [38025 38030]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"mock:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"mock:">)}
            )
            (C {(kubectl)} {(delete)} {(-f)} 
              {(https) (Lit_Other ":") 
                (
//raw.githubusercontent.com/kubernetes/kubernetes/master/hack/testdata/multi-resource-yaml.yaml
                )
              } 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [38097 38102]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [36333]
        )
      spids: [36329 36332]
    )
    (FuncDef
      name: run_kubectl_config_set_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:config set)"))}
            )
            (C {(kubectl)} {(config)} {(set-cluster)} {(test-cluster)} 
              {(--server) (Lit_Other "=") (DQ ("https://does-not-work"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:cert_data)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (AndOr
                                children: [
                                  (C {(echo)} {(DQ ("#Comment"))})
                                  (C {(cat)} 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          token: <VSub_Name TMPDIR>
                                          suffix_op: 
                                            (StringUnary
                                              op_id: VTest_ColonHyphen
                                              arg_word: {(Lit_Slash /) (tmp)}
                                            )
                                          spids: [38242 38247]
                                        ) (/apiserver.crt)
                                      )
                                    }
                                  )
                                ]
                                op_id: Op_DAmp
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [38230 38250]
                      )
                    }
                  spids: [38229]
                )
              ]
              spids: [38229]
            )
            (C {(kubectl)} {(config)} {(set)} {(clusters.test-cluster.certificate-authority-data)} 
              {(DQ ($ VSub_Name "$cert_data"))} {(--set-raw-bytes)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:r_writen)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(config)} {(view)} {(--raw)} {(-o)} 
                                {(Lit_VarLike "jsonpath=") 
                                  (SQ 
                                    <
"{.clusters[?(@.name == \"test-cluster\")].cluster.certificate-authority-data}"
                                    >
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [38270 38285]
                      )
                    }
                  spids: [38269]
                )
              ]
              spids: [38269]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:encoded)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(echo)} {(-n)} {(DQ ($ VSub_Name "$cert_data"))})
                                  (C {(base64)})
                                ]
                                negated: False
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [38290 38302]
                      )
                    }
                  spids: [38289]
                )
              ]
              spids: [38289]
            )
            (C {(kubectl)} {(config)} {(set)} {(clusters.test-cluster.certificate-authority-data)} 
              {(DQ ($ VSub_Name "$encoded"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:e_writen)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(config)} {(view)} {(--raw)} {(-o)} 
                                {(Lit_VarLike "jsonpath=") 
                                  (SQ 
                                    <
"{.clusters[?(@.name == \"test-cluster\")].cluster.certificate-authority-data}"
                                    >
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [38319 38334]
                      )
                    }
                  spids: [38318]
                )
              ]
              spids: [38318]
            )
            (C {(test)} {(DQ ($ VSub_Name "$e_writen"))} {(Lit_Other "=") (Lit_Other "=")} 
              {(DQ ($ VSub_Name "$r_writen"))}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [38174]
        )
      spids: [38170 38173]
    )
    (FuncDef
      name: run_kubectl_local_proxy_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl local proxy"))}
            )
            (C {(start-proxy)})
            (C {(check-curl-proxy-code)} {(/ui)} {(307)})
            (C {(check-curl-proxy-code)} {(/api/ui)} {(404)})
            (C {(check-curl-proxy-code)} {(/api/v1/namespaces)} {(200)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name metrics))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(check-curl-proxy-code)} {(/metrics)} {(200)})]
                  spids: [-1 38453]
                )
              ]
              spids: [-1 38463]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name static))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(check-curl-proxy-code)} {(/static/)} {(200)})]
                  spids: [-1 38484]
                )
              ]
              spids: [-1 38494]
            )
            (C {(stop-proxy)})
            (C {(start-proxy)})
            (C {(check-curl-proxy-code)} {(/apis)} {(200)})
            (C {(check-curl-proxy-code)} {(/apis/extensions/)} {(200)})
            (C {(stop-proxy)})
            (C {(start-proxy)} {(/custom)})
            (C {(check-curl-proxy-code)} {(/custom/ui)} {(307)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name metrics))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(check-curl-proxy-code)} {(/custom/metrics)} {(200)})]
                  spids: [-1 38560]
                )
              ]
              spids: [-1 38570]
            )
            (C {(check-curl-proxy-code)} {(/custom/api/v1/namespaces)} {(200)})
            (C {(stop-proxy)})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [38375]
        )
      spids: [38371 38374]
    )
    (FuncDef
      name: run_RESTMapper_evaluation_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing RESTMapper"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:RESTMAPPER_ERROR_FILE)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/restmapper-error))}
                  spids: [38641]
                )
              ]
              spids: [38641]
            )
            (AndOr
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {(get)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [38668 38673]
                        )
                      )
                    }
                    {(unknownresourcetype)}
                  ]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(${ VSub_Name RESTMAPPER_ERROR_FILE)}
                      spids: [38678]
                    )
                  ]
                )
                (C {(true)})
              ]
              op_id: Op_DPipe
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(grep)} {(-q)} {(DQ ("the server doesn't have a resource type"))} 
                          {(DQ (${ VSub_Name RESTMAPPER_ERROR_FILE))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") 
                        (status)
                      } 
                      {
                        (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                          ("kubectl get unknownresourcetype") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" returns error as expected: ") 
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [(C {(cat)} {(${ VSub_Name RESTMAPPER_ERROR_FILE)})]
                              )
                            left_token: <Left_CommandSub "$(">
                            spids: [38721 38727]
                          )
                        )
                      }
                    )
                  ]
                  spids: [-1 38705]
                )
              ]
              else_action: [
                (C 
                  {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
                  {
                    (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                      ("kubectl get unknownresourcetype") (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" returns unexpected error or non-error: ") 
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(cat)} {(${ VSub_Name RESTMAPPER_ERROR_FILE)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [38747 38753]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [38731 38762]
            )
            (C {(rm)} {(DQ (${ VSub_Name RESTMAPPER_ERROR_FILE))})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [38606]
        )
      spids: [38602 38605]
    )
    (FuncDef
      name: run_clusterroles_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing clusterroles"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterroles/cluster-admin)} {(DQ ("{{.metadata.name}}"))} {(SQ <cluster-admin>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebindings/cluster-admin)} {(DQ ("{{.metadata.name}}"))} {(SQ <cluster-admin>)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [38888 38893]
                  )
                )
              } {(clusterrole)} {(pod-admin)} {(--verb) (Lit_Other "=") (Lit_Other "*")} 
              {(--resource) (Lit_Other "=") (pods)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/pod-admin)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} {(SQ <"\\*:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/pod-admin)} {(DQ ("{{range.rules}}{{range.resources}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"pods:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/pod-admin)} {(DQ ("{{range.rules}}{{range.apiGroups}}{{.}}:{{end}}{{end}}"))} {(SQ <":">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [38971 38976]
                  )
                )
              } {(clusterrole)} {(resource-reader)} {(--verb) (Lit_Other "=") (get) (Lit_Comma ",") (list)} 
              {(--resource) (Lit_Other "=") (pods) (Lit_Comma ",") (deployments.extensions)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/resource-reader)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"get:list:get:list:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/resource-reader)} {(DQ ("{{range.rules}}{{range.resources}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"pods:deployments:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/resource-reader)} {(DQ ("{{range.rules}}{{range.apiGroups}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <":extensions:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39058 39063]
                  )
                )
              } {(clusterrole)} {(resourcename-reader)} {(--verb) (Lit_Other "=") (get) (Lit_Comma ",") (list)} 
              {(--resource) (Lit_Other "=") (pods)} {(--resource-name) (Lit_Other "=") (foo)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/resourcename-reader)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"get:list:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/resourcename-reader)} {(DQ ("{{range.rules}}{{range.resources}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"pods:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/resourcename-reader)} {(DQ ("{{range.rules}}{{range.apiGroups}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <":">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/resourcename-reader)} 
              {(DQ ("{{range.rules}}{{range.resourceNames}}{{.}}:{{end}}{{end}}"))} {(SQ <"foo:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39166 39171]
                  )
                )
              } {(clusterrole)} {(url-reader)} {(--verb) (Lit_Other "=") (get)} 
              {(--non-resource-url) (Lit_Other "=") (/logs/) (Lit_Other "*")} {(--non-resource-url) (Lit_Other "=") (/healthz/) (Lit_Other "*")}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/url-reader)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} {(SQ <"get:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrole/url-reader)} {(DQ ("{{range.rules}}{{range.nonResourceURLs}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"/logs/\\*:/healthz/\\*:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39245 39250]
                  )
                )
              } {(clusterrolebinding)} {(super-admin)} {(--clusterrole) (Lit_Other "=") (admin)} 
              {(--user) (Lit_Other "=") (super-admin)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-admin)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"super-admin:">)}
            )
            (C {(kubectl)} {(set)} {(subject)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39292 39297]
                  )
                )
              } {(clusterrolebinding)} {(super-admin)} {(--user) (Lit_Other "=") (foo)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-admin)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} 
              {(SQ <"super-admin:foo:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39333 39338]
                  )
                )
              } {(clusterrolebinding)} {(multi-users)} {(--clusterrole) (Lit_Other "=") (admin)} 
              {(--user) (Lit_Other "=") (user-1)} {(--user) (Lit_Other "=") (user-2)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/multi-users)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} 
              {(SQ <"user-1:user-2:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39383 39388]
                  )
                )
              } {(clusterrolebinding)} {(super-group)} {(--clusterrole) (Lit_Other "=") (admin)} 
              {(--group) (Lit_Other "=") (the-group)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-group)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"the-group:">)}
            )
            (C {(kubectl)} {(set)} {(subject)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39430 39435]
                  )
                )
              } {(clusterrolebinding)} {(super-group)} {(--group) (Lit_Other "=") (foo)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-group)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} 
              {(SQ <"the-group:foo:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39471 39476]
                  )
                )
              } {(clusterrolebinding)} {(multi-groups)} {(--clusterrole) (Lit_Other "=") (admin)} 
              {(--group) (Lit_Other "=") (group-1)} {(--group) (Lit_Other "=") (group-2)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/multi-groups)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} 
              {(SQ <"group-1:group-2:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39521 39526]
                  )
                )
              } {(clusterrolebinding)} {(super-sa)} {(--clusterrole) (Lit_Other "=") (admin)} 
              {(--serviceaccount) (Lit_Other "=") (otherns) (Lit_Other ":") (sa-name)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-sa)} {(DQ ("{{range.subjects}}{{.namespace}}:{{end}}"))} {(SQ <"otherns:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-sa)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"sa-name:">)}
            )
            (C {(kubectl)} {(set)} {(subject)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39589 39594]
                  )
                )
              } {(clusterrolebinding)} {(super-sa)} 
              {(--serviceaccount) (Lit_Other "=") (otherfoo) (Lit_Other ":") (foo)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-sa)} {(DQ ("{{range.subjects}}{{.namespace}}:{{end}}"))} 
              {(SQ <"otherns:otherfoo:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-sa)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"sa-name:foo:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39661 39666]
                  )
                )
              } {(rolebinding)} {(admin)} {(--clusterrole) (Lit_Other "=") (admin)} 
              {(--user) (Lit_Other "=") (default-admin)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/admin)} {(DQ ("{{.roleRef.kind}}"))} {(SQ <ClusterRole>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/admin)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"default-admin:">)}
            )
            (C {(kubectl)} {(set)} {(subject)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39727 39732]
                  )
                )
              } {(rolebinding)} {(admin)} {(--user) (Lit_Other "=") (foo)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/admin)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"default-admin:foo:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39769 39774]
                  )
                )
              } {(rolebinding)} {(localrole)} {(--role) (Lit_Other "=") (localrole)} 
              {(--group) (Lit_Other "=") (the-group)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/localrole)} {(DQ ("{{.roleRef.kind}}"))} {(SQ <Role>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/localrole)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"the-group:">)}
            )
            (C {(kubectl)} {(set)} {(subject)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39835 39840]
                  )
                )
              } {(rolebinding)} {(localrole)} {(--group) (Lit_Other "=") (foo)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/localrole)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"the-group:foo:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39877 39882]
                  )
                )
              } {(rolebinding)} {(sarole)} {(--role) (Lit_Other "=") (localrole)} 
              {(--serviceaccount) (Lit_Other "=") (otherns) (Lit_Other ":") (sa-name)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/sarole)} {(DQ ("{{range.subjects}}{{.namespace}}:{{end}}"))} {(SQ <"otherns:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/sarole)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"sa-name:">)}
            )
            (C {(kubectl)} {(set)} {(subject)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [39945 39950]
                  )
                )
              } {(rolebinding)} {(sarole)} {(--serviceaccount) (Lit_Other "=") (otherfoo) (Lit_Other ":") (foo)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/sarole)} {(DQ ("{{range.subjects}}{{.namespace}}:{{end}}"))} {(SQ <"otherns:otherfoo:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(rolebinding/sarole)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"sa-name:foo:">)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [38801]
        )
      spids: [38797 38800]
    )
    (FuncDef
      name: run_role_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing role"))}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [40069 40074]
                  )
                )
              } {(role)} {(pod-admin)} {(--verb) (Lit_Other "=") (Lit_Other "*")} {(--resource) (Lit_Other "=") (pods)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/pod-admin)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} {(SQ <"\\*:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/pod-admin)} {(DQ ("{{range.rules}}{{range.resources}}{{.}}:{{end}}{{end}}"))} {(SQ <"pods:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/pod-admin)} {(DQ ("{{range.rules}}{{range.apiGroups}}{{.}}:{{end}}{{end}}"))} {(SQ <":">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(create)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [40156 40161]
                                          )
                                        )
                                      }
                                      {(role)}
                                      {(invalid-pod-admin)}
                                      {(--verb) (Lit_Other "=") (Lit_Other "*")}
                                      {(--resource) (Lit_Other "=") (invalid-resource)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [40176]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [40148 40178]
                      )
                    }
                  spids: [40147]
                )
              ]
              spids: [40147]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {
                (DQ ("the server doesn't have a resource type ") 
                  (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (invalid-resource) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">)
                )
              }
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [40212 40217]
                  )
                )
              } {(role)} {(group-reader)} {(--verb) (Lit_Other "=") (get) (Lit_Comma ",") (list)} 
              {(--resource) (Lit_Other "=") (deployments.extensions)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/group-reader)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} {(SQ <"get:list:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/group-reader)} {(DQ ("{{range.rules}}{{range.resources}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"deployments:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/group-reader)} {(DQ ("{{range.rules}}{{range.apiGroups}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"extensions:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(create)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [40301 40306]
                                          )
                                        )
                                      }
                                      {(role)}
                                      {(invalid-group)}
                                      {(--verb) (Lit_Other "=") (get) (Lit_Comma ",") (list)}
                                      {(--resource) (Lit_Other "=") (deployments.invalid-group)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [40323]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [40293 40325]
                      )
                    }
                  spids: [40292]
                )
              ]
              spids: [40292]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {
                (DQ ("the server doesn't have a resource type ") 
                  (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (deployments) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" in group ") 
                  (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (invalid-group) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">)
                )
              }
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [40363 40368]
                  )
                )
              } {(role)} {(subresource-reader)} {(--verb) (Lit_Other "=") (get) (Lit_Comma ",") (list)} 
              {(--resource) (Lit_Other "=") (pods/status)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/subresource-reader)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"get:list:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/subresource-reader)} {(DQ ("{{range.rules}}{{range.resources}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"pods/status:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/subresource-reader)} {(DQ ("{{range.rules}}{{range.apiGroups}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <":">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [40452 40457]
                  )
                )
              } {(role)} {(group-subresource-reader)} {(--verb) (Lit_Other "=") (get) (Lit_Comma ",") (list)} 
              {(--resource) (Lit_Other "=") (replicasets.extensions/scale)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/group-subresource-reader)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"get:list:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/group-subresource-reader)} {(DQ ("{{range.rules}}{{range.resources}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"replicasets/scale:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/group-subresource-reader)} {(DQ ("{{range.rules}}{{range.apiGroups}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"extensions:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(create)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [40541 40546]
                                          )
                                        )
                                      }
                                      {(role)}
                                      {(invalid-group)}
                                      {(--verb) (Lit_Other "=") (get) (Lit_Comma ",") (list)}
                                      {(--resource) (Lit_Other "=") (rs.invalid-group/scale)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [40563]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [40533 40565]
                      )
                    }
                  spids: [40532]
                )
              ]
              spids: [40532]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {
                (DQ ("the server doesn't have a resource type ") 
                  (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (rs) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" in group ") 
                  (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (invalid-group) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">)
                )
              }
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [40603 40608]
                  )
                )
              } {(role)} {(resourcename-reader)} {(--verb) (Lit_Other "=") (get) (Lit_Comma ",") (list)} 
              {(--resource) (Lit_Other "=") (pods)} {(--resource-name) (Lit_Other "=") (foo)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/resourcename-reader)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"get:list:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/resourcename-reader)} {(DQ ("{{range.rules}}{{range.resources}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"pods:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/resourcename-reader)} {(DQ ("{{range.rules}}{{range.apiGroups}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <":">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/resourcename-reader)} {(DQ ("{{range.rules}}{{range.resourceNames}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"foo:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [40715 40720]
                  )
                )
              } {(role)} {(resource-reader)} {(--verb) (Lit_Other "=") (get) (Lit_Comma ",") (list)} 
              {(--resource) (Lit_Other "=") (pods/status) (Lit_Comma ",") (deployments.extensions)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/resource-reader)} {(DQ ("{{range.rules}}{{range.verbs}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"get:list:get:list:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/resource-reader)} {(DQ ("{{range.rules}}{{range.resources}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <"pods/status:deployments:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(role/resource-reader)} {(DQ ("{{range.rules}}{{range.apiGroups}}{{.}}:{{end}}{{end}}"))} 
              {(SQ <":extensions:">)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [40025]
        )
      spids: [40021 40024]
    )
    (FuncDef
      name: run_assert_short_name_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing assert short name"))}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing propagation of short names for resources"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(kubectl)} {(get)} {(--raw) (Lit_Other "=") (/api/v1)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [40869 40877]
                      )
                    }
                  spids: [40868]
                )
              ]
              spids: [40868]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {
                (SQ 
                  <
"{\"name\":\"configmaps\",\"singularName\":\"\",\"namespaced\":true,\"kind\":\"ConfigMap\",\"verbs\":\\[\"create\",\"delete\",\"deletecollection\",\"get\",\"list\",\"patch\",\"update\",\"watch\"\\],\"shortNames\":\\[\"cm\"\\]}"
                  >
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [40820]
        )
      spids: [40816 40819]
    )
    (FuncDef
      name: run_assert_categories_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing propagation of categories for resources"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (C {(kubectl)} {(get)} {(--raw) (Lit_Other "=") (/api/v1)})
                                  (C {(grep)} {(-Po)} {(SQ <"\"name\":\"pods\".*?}">)})
                                ]
                                negated: False
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [40959 40977]
                      )
                    }
                  spids: [40958]
                )
              ]
              spids: [40958]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"\"categories\":\\[\"all\"\\]">)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [40927]
        )
      spids: [40923 40926]
    )
    (FuncDef
      name: run_kubectl_create_error_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl create with error"))}
            )
            (Pipeline children:[(C {(kubectl)} {(create)})] negated:True)
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:ERROR_FILE)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/validation-error))}
                  spids: [41073]
                )
              ]
              spids: [41073]
            )
            (AndOr
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {(create)}
                    {(-f)}
                    {(hack/testdata/invalid-rc-with-empty-args.yaml)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [41091 41096]
                        )
                      )
                    }
                  ]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(DQ (${ VSub_Name ERROR_FILE))}
                      spids: [41099]
                    )
                  ]
                )
                (C {(true)})
              ]
              op_id: Op_DPipe
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(grep)} {(-q)} 
                          {
                            (DQ ("unknown object type ") 
                              (EscapedLiteralPart
                                token: <Lit_EscapedChar "\\\"">
                              ) (nil) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" in ReplicationController")
                            )
                          } {(DQ (${ VSub_Name ERROR_FILE))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") 
                        (status)
                      } 
                      {
                        (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                          ("kubectl create with empty string list returns error as expected: ") 
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [(C {(cat)} {(${ VSub_Name ERROR_FILE)})]
                              )
                            left_token: <Left_CommandSub "$(">
                            spids: [41151 41157]
                          )
                        )
                      }
                    )
                  ]
                  spids: [-1 41137]
                )
              ]
              else_action: [
                (C 
                  {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
                  {
                    (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                      (
"kubectl create with empty string list returns unexpected error or non-error: "
                      ) 
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(cat)} {(${ VSub_Name ERROR_FILE)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41175 41181]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [41161 41190]
            )
            (C {(rm)} {(DQ (${ VSub_Name ERROR_FILE))})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [41022]
        )
      spids: [41018 41021]
    )
    (FuncDef
      name: run_cmd_with_img_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing cmd with image"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(run)} {(test1)} {(--image) (Lit_Other "=") (validname)})
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41265 41275]
                      )
                    }
                  spids: [41264]
                )
              ]
              spids: [41264]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"deployment \"test1\" created">)}
            )
            (C {(kubectl)} {(delete)} {(deployments)} {(test1)})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(run)}
                                      {(test2)}
                                      {(--image) (Lit_Other "=") (InvalidImageName)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41324]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41311 41326]
                      )
                    }
                  spids: [41310]
                )
              ]
              spids: [41310]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(SQ <"error: Invalid image name \"InvalidImageName\": invalid reference format">)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [41225]
        )
      spids: [41221 41224]
    )
    (FuncDef
      name: run_client_config_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing client config"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pod)}
                                      {(--context) (Lit_Other "=") (DQ )}
                                      {(--kubeconfig) (Lit_Other "=") (missing)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41433]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41415 41435]
                      )
                    }
                  spids: [41414]
                )
              ]
              spids: [41414]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("missing: no such file or directory"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pod)}
                                      {(--user) (Lit_Other "=") (DQ )}
                                      {(--kubeconfig) (Lit_Other "=") (missing)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41485]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41467 41487]
                      )
                    }
                  spids: [41466]
                )
              ]
              spids: [41466]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("missing: no such file or directory"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pod)}
                                      {(--cluster) (Lit_Other "=") (DQ )}
                                      {(--kubeconfig) (Lit_Other "=") (missing)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41536]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41518 41538]
                      )
                    }
                  spids: [41517]
                )
              ]
              spids: [41517]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("missing: no such file or directory"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pod)}
                                      {(--context) (Lit_Other "=") (DQ (missing-context))}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41589]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41574 41591]
                      )
                    }
                  spids: [41573]
                )
              ]
              spids: [41573]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"context \"missing-context\" does not exist">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pod)}
                                      {(--cluster) (Lit_Other "=") (DQ (missing-cluster))}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41642]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41627 41644]
                      )
                    }
                  spids: [41626]
                )
              ]
              spids: [41626]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"cluster \"missing-cluster\" does not exist">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pod)}
                                      {(--user) (Lit_Other "=") (DQ (missing-user))}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41695]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41680 41697]
                      )
                    }
                  spids: [41679]
                )
              ]
              spids: [41679]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"auth info \"missing-user\" does not exist">)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(config)} {(view)})
                (SimpleCommand
                  words: [{(sed)} {(-E)} {(DQ ("s/apiVersion: .*/apiVersion: v-1/g"))}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: -1
                      arg_word: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name TMPDIR>
                              suffix_op: 
                                (StringUnary
                                  op_id: VTest_ColonHyphen
                                  arg_word: {(Lit_Slash /) (tmp)}
                                )
                              spids: [41747 41752]
                            )
                          ) (/newconfig.yaml)
                        }
                      spids: [41744]
                    )
                  ]
                )
              ]
              negated: False
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(DQ (${ VSub_Name KUBE_OUTPUT_HOSTBIN) (/kubectl))}
                                      {(get)}
                                      {(pods)}
                                      {(--context) (Lit_Other "=") (DQ )}
                                      {(--user) (Lit_Other "=") (DQ )}
                                      {(--kubeconfig) (Lit_Other "=") 
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name TMPDIR>
                                            suffix_op: 
                                              (StringUnary
                                                op_id: VTest_ColonHyphen
                                                arg_word: {(Lit_Slash /) (tmp)}
                                              )
                                            spids: [41785 41790]
                                          )
                                        ) (/newconfig.yaml)
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41794]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41758 41796]
                      )
                    }
                  spids: [41757]
                )
              ]
              spids: [41757]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("Error loading config file"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pod)}
                                      {(--kubeconfig) (Lit_Other "=") (missing-config)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41833]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [41820 41835]
                      )
                    }
                  spids: [41819]
                )
              ]
              spids: [41819]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"no such file or directory">)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [41371]
        )
      spids: [41367 41370]
    )
    (FuncDef
      name: run_service_accounts_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing service accounts"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <namespaces>)} 
              {
                (SQ 
                  <
"{{range.items}}{{ if eq $id_field \\\"test-service-accounts\\\" }}found{{end}}{{end}}:"
                  >
                )
              } {(SQ <":">)}
            )
            (C {(kubectl)} {(create)} {(namespace)} {(test-service-accounts)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <namespaces/test-service-accounts>)} {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} 
              {(SQ <test-service-accounts>)}
            )
            (C {(kubectl)} {(create)} {(serviceaccount)} {(test-service-account)} 
              {(--namespace) (Lit_Other "=") (test-service-accounts)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"serviceaccount/test-service-account --namespace=test-service-accounts">)} 
              {(DQ ("{{") ($ VSub_Name "$id_field") ("}}"))} {(SQ <test-service-account>)}
            )
            (C {(kubectl)} {(delete)} {(serviceaccount)} {(test-service-account)} 
              {(--namespace) (Lit_Other "=") (test-service-accounts)}
            )
            (C {(kubectl)} {(delete)} {(namespace)} {(test-service-accounts)})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [41880]
        )
      spids: [41876 41879]
    )
    (FuncDef
      name: run_pod_templates_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing pod templates"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(podtemplates)} {(DQ ("{{range.items}}{{.metadata.name}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(test/fixtures/doc-yaml/user-guide/walkthrough/podtemplate.json)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42160 42165]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(podtemplates)} {(DQ ("{{range.items}}{{.metadata.name}}:{{end}}"))} {(SQ <"nginx:">)}
            )
            (C {(kubectl)} {(get)} {(podtemplates)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42204 42209]
                  )
                )
              }
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (Pipeline
                                  children: [
                                    (C {(kubectl)} {(get)} {(podtemplates)} {(-o)} {(yaml)} 
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [42228 42233]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(nginx)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [42216 42241]
                        )
                      )
                    }
                )
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(podtemplates)} {(DQ ("{{range.items}}{{.metadata.name}}:{{end}}"))} {(SQ <"nginx:">)}
            )
            (C {(kubectl)} {(delete)} {(podtemplate)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42288 42293]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(podtemplate)} {(DQ ("{{range.items}}{{.metadata.name}}:{{end}}"))} {(SQ )}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [42086]
        )
      spids: [42082 42085]
    )
    (FuncDef
      name: run_stateful_set_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:statefulsets)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(statefulset)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/rollingupdate-statefulset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42418 42423]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"statefulset nginx">)} {(DQ ("{{") ($ VSub_Name "$statefulset_replicas_field") ("}}"))} {(SQ <0>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(SQ <"statefulset nginx">)} {(DQ ("{{") ($ VSub_Name "$statefulset_observed_generation") ("}}"))} 
              {(SQ <1>)}
            )
            (C {(kubectl)} {(scale)} {(--current-replicas) (Lit_Other "=") (0)} 
              {(--replicas) (Lit_Other "=") (1)} {(statefulset)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42503 42508]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"statefulset nginx">)} {(DQ ("{{") ($ VSub_Name "$statefulset_replicas_field") ("}}"))} {(SQ <1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (wait_object_assert)
              } {(SQ <"statefulset nginx">)} {(DQ ("{{") ($ VSub_Name "$statefulset_observed_generation") ("}}"))} 
              {(SQ <2>)}
            )
            (C {(wait-for-pods-with-label)} {(DQ ("app=nginx-statefulset"))} {(DQ (nginx-0))})
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/rollingupdate-statefulset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42599 42604]
                  )
                )
              }
            )
            (C {(wait-for-pods-with-label)} {(DQ ("app=nginx-statefulset"))} {(DQ )})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [42342]
        )
      spids: [42338 42341]
    )
    (FuncDef
      name: run_lists_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:lists)"))}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/list.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42698 42703]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(service/list-service-test)} {(deployment/list-deployment-test)})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [42646]
        )
      spids: [42642 42645]
    )
    (FuncDef
      name: run_persistent_volumes_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing persistent volumes"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pv)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(test/fixtures/doc-yaml/user-guide/persistent-volumes/volumes/local-01.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42824 42829]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pv)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"pv0001:">)}
            )
            (C {(kubectl)} {(delete)} {(pv)} {(pv0001)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42863 42868]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(test/fixtures/doc-yaml/user-guide/persistent-volumes/volumes/local-02.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42881 42886]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pv)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"pv0002:">)}
            )
            (C {(kubectl)} {(delete)} {(pv)} {(pv0002)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42920 42925]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(test/fixtures/doc-yaml/user-guide/persistent-volumes/volumes/gce.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42938 42943]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pv)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"pv0003:">)}
            )
            (C {(kubectl)} {(delete)} {(pv)} {(pv0003)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [42977 42982]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pv)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [42748]
        )
      spids: [42744 42747]
    )
    (FuncDef
      name: run_persistent_volume_claims_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing persistent volumes claims"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pvc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(test/fixtures/doc-yaml/user-guide/persistent-volumes/claims/claim-01.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [43109 43114]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pvc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"myclaim-1:">)}
            )
            (C {(kubectl)} {(delete)} {(pvc)} {(myclaim-1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [43148 43153]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(test/fixtures/doc-yaml/user-guide/persistent-volumes/claims/claim-02.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [43167 43172]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pvc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"myclaim-2:">)}
            )
            (C {(kubectl)} {(delete)} {(pvc)} {(myclaim-2)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [43206 43211]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(test/fixtures/doc-yaml/user-guide/persistent-volumes/claims/claim-03.json)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [43225 43230]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pvc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"myclaim-3:">)}
            )
            (C {(kubectl)} {(delete)} {(pvc)} {(myclaim-3)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [43264 43269]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pvc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [43033]
        )
      spids: [43029 43032]
    )
    (FuncDef
      name: run_storage_class_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing storage class"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(storageclass)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(create)}
                {(-f)}
                {(-)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [43393 43398]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: -1
                  body: 
                    {
                      (DQ ("{\n") ("  ") (Right_DoubleQuote "\"") (kind) (Right_DoubleQuote "\"") (": ") 
                        (Right_DoubleQuote "\"") (StorageClass) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") (apiVersion) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (storage.k8s.io/v1) (Right_DoubleQuote "\"") (",\n") ("  ") 
                        (Right_DoubleQuote "\"") (metadata) (Right_DoubleQuote "\"") (": {\n") ("  ") (Right_DoubleQuote "\"") (name) 
                        (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") (storage-class-name) (Right_DoubleQuote "\"") ("\n") ("  },\n") ("  ") 
                        (Right_DoubleQuote "\"") (provisioner) (Right_DoubleQuote "\"") (": ") (Right_DoubleQuote "\"") 
                        (kubernetes.io/fake-provisioner-type) (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") (parameters) (Right_DoubleQuote "\"") 
                        (": {\n") ("  ") (Right_DoubleQuote "\"") (zone) (Right_DoubleQuote "\"") (":") (Right_DoubleQuote "\"") (us-east-1b) 
                        (Right_DoubleQuote "\"") (",\n") ("  ") (Right_DoubleQuote "\"") (type) (Right_DoubleQuote "\"") (":") (Right_DoubleQuote "\"") (ssd) 
                        (Right_DoubleQuote "\"") ("\n") ("  }\n") ("}\n")
                      )
                    }
                  do_expansion: True
                  here_end: __EOF__
                  was_filled: True
                  spids: [43401]
                )
              ]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(storageclass)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"storage-class-name:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(sc)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"storage-class-name:">)}
            )
            (C {(kubectl)} {(delete)} {(storageclass)} {(storage-class-name)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [43525 43530]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(storageclass)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [43320]
        )
      spids: [43316 43319]
    )
    (FuncDef
      name: run_nodes_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:nodes)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(nodes)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"127.0.0.1:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_assert)
              } {(nodes)} {(DQ (127.0.0.1))} {(DQ ("Name:"))} {(DQ ("Labels:"))} {(DQ ("CreationTimestamp:"))} 
              {(DQ ("Conditions:"))} {(DQ ("Addresses:"))} {(DQ ("Capacity:"))} {(DQ ("Pods:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(nodes)} {(DQ (127.0.0.1))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(nodes)} {(DQ (127.0.0.1))} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_object_events_assert)
              } {(nodes)} {(DQ (127.0.0.1))} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_assert)
              } {(nodes)} {(DQ ("Name:"))} {(DQ ("Labels:"))} {(DQ ("CreationTimestamp:"))} {(DQ ("Conditions:"))} 
              {(DQ ("Addresses:"))} {(DQ ("Capacity:"))} {(DQ ("Pods:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(nodes)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(nodes)} {(false)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (describe_resource_events_assert)
              } {(nodes)} {(true)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <"<no value>">)}
            )
            (C {(kubectl)} {(patch)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [43867 43872]
                  )
                )
              } {(nodes)} {(DQ (127.0.0.1))} {(-p) (Lit_Other "=") (SQ <"{\"spec\":{\"unschedulable\":true}}">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <true>)}
            )
            (C {(kubectl)} {(patch)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [43918 43923]
                  )
                )
              } {(nodes)} {(DQ (127.0.0.1))} {(-p) (Lit_Other "=") (SQ <"{\"spec\":{\"unschedulable\":null}}">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <"<no value>">)}
            )
            (C {(kubectl)} {(create)} {(-f)} 
              {(test/fixtures/pkg/kubectl/cmd/create/tokenreview-v1beta1.json)} {(--validate) (Lit_Other "=") (false)}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/pkg/kubectl/cmd/create/tokenreview-v1.json)} 
              {(--validate) (Lit_Other "=") (false)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [43582]
        )
      spids: [43578 43581]
    )
    (FuncDef
      name: run_authorization_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing authorization"))}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/pkg/kubectl/cmd/create/sar-v1.json)} 
              {(--validate) (Lit_Other "=") (false)}
            )
            (C {(kubectl)} {(create)} {(-f)} {(test/fixtures/pkg/kubectl/cmd/create/sar-v1beta1.json)} 
              {(--validate) (Lit_Other "=") (false)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:SAR_RESULT_FILE)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/sar-result.json))}
                  spids: [44089]
                )
              ]
              spids: [44089]
            )
            (SimpleCommand
              words: [
                {(curl)}
                {(-k)}
                {(-H)}
                {(DQ ("Content-Type:"))}
                {(http) (Lit_Other ":") (//localhost) (Lit_Other ":") 
                  (8080/apis/authorization.k8s.io/v1beta1/subjectaccessreviews)
                }
                {(-XPOST)}
                {(-d)}
                {(Lit_Other "@") (test/fixtures/pkg/kubectl/cmd/create/sar-v1beta1.json)}
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ (${ VSub_Name SAR_RESULT_FILE))}
                  spids: [44121]
                )
              ]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(grep)} {(-q)} {(SQ <"\"allowed\": true">)} 
                          {(DQ (${ VSub_Name SAR_RESULT_FILE))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") 
                        (status)
                      } 
                      {
                        (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                          (authorization.k8s.io/subjectaccessreviews) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" returns as expected: ") 
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [(C {(cat)} {(DQ (${ VSub_Name SAR_RESULT_FILE))})]
                              )
                            left_token: <Left_CommandSub "$(">
                            spids: [44163 44171]
                          )
                        )
                      }
                    )
                  ]
                  spids: [-1 44147]
                )
              ]
              else_action: [
                (C 
                  {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
                  {
                    (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                      (authorization.k8s.io/subjectaccessreviews) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" does not return as expected: ") 
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(cat)} {(DQ (${ VSub_Name SAR_RESULT_FILE))})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [44191 44199]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [44175 44208]
            )
            (C {(rm)} {(DQ (${ VSub_Name SAR_RESULT_FILE))})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:SAR_RESULT_FILE)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/sar-result.json))}
                  spids: [44221]
                )
              ]
              spids: [44221]
            )
            (SimpleCommand
              words: [
                {(curl)}
                {(-k)}
                {(-H)}
                {(DQ ("Content-Type:"))}
                {(http) (Lit_Other ":") (//localhost) (Lit_Other ":") 
                  (8080/apis/authorization.k8s.io/v1/subjectaccessreviews)
                }
                {(-XPOST)}
                {(-d)}
                {(Lit_Other "@") (test/fixtures/pkg/kubectl/cmd/create/sar-v1.json)}
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ (${ VSub_Name SAR_RESULT_FILE))}
                  spids: [44253]
                )
              ]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(grep)} {(-q)} {(SQ <"\"allowed\": true">)} 
                          {(DQ (${ VSub_Name SAR_RESULT_FILE))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") 
                        (status)
                      } 
                      {
                        (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                          (authorization.k8s.io/subjectaccessreviews) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" returns as expected: ") 
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [(C {(cat)} {(DQ (${ VSub_Name SAR_RESULT_FILE))})]
                              )
                            left_token: <Left_CommandSub "$(">
                            spids: [44295 44303]
                          )
                        )
                      }
                    )
                  ]
                  spids: [-1 44279]
                )
              ]
              else_action: [
                (C 
                  {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
                  {
                    (DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) 
                      (authorization.k8s.io/subjectaccessreviews) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (" does not return as expected: ") 
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(cat)} {(DQ (${ VSub_Name SAR_RESULT_FILE))})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [44323 44331]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [44307 44340]
            )
            (C {(rm)} {(DQ (${ VSub_Name SAR_RESULT_FILE))})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [44022]
        )
      spids: [44018 44021]
    )
    (FuncDef
      name: run_retrieve_multiple_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kubectl)} {(config)} {(set-context)} {(DQ (${ VSub_Name CONTEXT))} 
              {(--namespace) (Lit_Other "=") (DQ )}
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:multiget)"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"nodes/127.0.0.1 service/kubernetes">)} 
              {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"127.0.0.1:kubernetes:">)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [44375]
        )
      spids: [44371 44374]
    )
    (FuncDef
      name: run_resource_aliasing_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing resource aliasing"))}
            )
            (C {(kubectl)} {(create)} {(-f)} {(examples/storage/cassandra/cassandra-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [44517 44522]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(examples/storage/cassandra/cassandra-service.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [44535 44540]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:object)
                  op: Equal
                  rhs: {(DQ ("all -l'app=cassandra'"))}
                  spids: [44545]
                )
              ]
              spids: [44545]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:request)
                  op: Equal
                  rhs: {(DQ ("{{range.items}}{{range .metadata.labels}}{{.}}:{{end}}{{end}}"))}
                  spids: [44551]
                )
              ]
              spids: [44551]
            )
            (AndOr
              children: [
                (C 
                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                    (get_object_assert)
                  } {(DQ ($ VSub_Name "$object"))} {(DQ ($ VSub_Name "$request"))} 
                  {(SQ <"cassandra:cassandra:cassandra:cassandra:">)}
                )
                (AndOr
                  children: [
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(DQ ($ VSub_Name "$object"))} {(DQ ($ VSub_Name "$request"))} {(SQ <"cassandra:cassandra:cassandra:">)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(DQ ($ VSub_Name "$object"))} {(DQ ($ VSub_Name "$request"))} {(SQ <"cassandra:cassandra:">)}
                    )
                  ]
                  op_id: Op_DPipe
                )
              ]
              op_id: Op_DPipe
            )
            (C {(kubectl)} {(delete)} {(all)} {(-l)} {(Lit_VarLike "app=") (cassandra)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [44644 44649]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [44474]
        )
      spids: [44470 44473]
    )
    (FuncDef
      name: run_kubectl_explain_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl(v1:explain)"))}
            )
            (C {(kubectl)} {(explain)} {(pods)})
            (C {(kubectl)} {(explain)} {(po)})
            (C {(kubectl)} {(explain)} {(po.status.message)})
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [44676]
        )
      spids: [44672 44675]
    )
    (FuncDef
      name: run_swagger_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing swagger"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:file)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/schema-v1.json))}
                  spids: [44791]
                )
              ]
              spids: [44791]
            )
            (SimpleCommand
              words: [
                {(curl)}
                {(-s)}
                {(DQ ("http://127.0.0.1:") (${ VSub_Name API_PORT) (/swaggerapi/api/v1))}
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {(DQ (${ VSub_Name file))}
                  spids: [44812]
                )
              ]
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (C {(grep)} {(DQ ("list of returned"))} {(DQ (${ VSub_Name file))})
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [44824 44836]
                        )
                      )
                    }
                )
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (C {(grep)} {(DQ ("List of services"))} {(DQ (${ VSub_Name file))})
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [44845 44857]
                        )
                      )
                    }
                )
            )
            (DBracket
              expr: 
                (WordTest
                  w: 
                    {
                      (DQ 
                        (CommandSubPart
                          command_list: 
                            (CommandList
                              children: [
                                (C {(grep)} {(DQ ("Watch for changes to the described resources"))} 
                                  {(DQ (${ VSub_Name file))}
                                )
                              ]
                            )
                          left_token: <Left_CommandSub "$(">
                          spids: [44866 44878]
                        )
                      )
                    }
                )
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [44755]
        )
      spids: [44751 44754]
    )
    (FuncDef
      name: run_kubectl_sort_by_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl --sort-by"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(get)} {(pods)} {(--sort-by) (Lit_Other "=") (DQ ("{metadata.name}"))})
            (C {(kubectl)} {(get)} {(pods)} 
              {(--sort-by) (Lit_Other "=") (DQ ("{metadata.creationTimestamp}"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45039 45044]
                  )
                )
              } {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(pods)} 
                                {(--sort-by) (Lit_Other "=") (DQ ("{metadata.name}"))}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [45082 45094]
                      )
                    }
                  spids: [45081]
                )
              ]
              spids: [45081]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ (valid-pod))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45154 45159]
                  )
                )
              } {(pod)} {(valid-pod)} {(--grace-period) (Lit_Other "=") (0)} {(--force)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45239 45244]
                  )
                )
              } {(-f)} {(hack/testdata/sorted-pods/sorted-pod1.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"sorted-pod1:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45286 45291]
                  )
                )
              } {(-f)} {(hack/testdata/sorted-pods/sorted-pod2.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"sorted-pod1:sorted-pod2:">)}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45333 45338]
                  )
                )
              } {(-f)} {(hack/testdata/sorted-pods/sorted-pod3.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"sorted-pod1:sorted-pod2:sorted-pod3:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(pods)} 
                                {(--sort-by) (Lit_Other "=") (DQ ("{metadata.name}"))}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [45377 45389]
                      )
                    }
                  spids: [45376]
                )
              ]
              spids: [45376]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_sort_by_has_correct_order)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("sorted-pod1:sorted-pod2:sorted-pod3:"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (C {(kubectl)} {(get)} {(pods)} 
                                {(--sort-by) (Lit_Other "=") (DQ ("{metadata.labels.name}"))}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [45417 45429]
                      )
                    }
                  spids: [45416]
                )
              ]
              spids: [45416]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_sort_by_has_correct_order)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("sorted-pod3:sorted-pod2:sorted-pod1:"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <"sorted-pod1:sorted-pod2:sorted-pod3:">)}
            )
            (C {(kubectl)} {(delete)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45490 45495]
                  )
                )
              } {(pod)} {(--grace-period) (Lit_Other "=") (0)} {(--force)} {(--all)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [44907]
        )
      spids: [44903 44906]
    )
    (FuncDef
      name: run_kubectl_all_namespace_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl --all-namespace"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(namespaces)} 
              {
                (DQ ("{{range.items}}{{if eq ") ($ VSub_Name "$id_field") (" ") 
                  (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) (default) 
                  (EscapedLiteralPart token:<Lit_EscapedChar "\\\\">) (EscapedLiteralPart token:<Lit_EscapedChar "\\\"">) ("}}{{") ($ VSub_Name "$id_field") 
                  ("}}:{{end}}{{end}}")
                )
              } {(SQ <"default:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45659 45664]
                  )
                )
              } {(-f)} {(test/fixtures/doc-yaml/admin/limitrange/valid-pod.yaml)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(get)} {(pods)} {(--all-namespaces)} {(--namespace) (Lit_Other "=") (default)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"valid-pod:">)}
            )
            (C {(kubectl)} {(delete)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45758 45763]
                  )
                )
              } {(pod)} {(valid-pod)} {(--grace-period) (Lit_Other "=") (0)} {(--force)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [45556]
        )
      spids: [45552 45555]
    )
    (FuncDef
      name: run_certificates_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing certificates"))}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45869 45874]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <csr/foo>)} {(SQ <"{{range.status.conditions}}{{.type}}{{end}}">)} {(SQ )}
            )
            (C {(kubectl)} {(certificate)} {(approve)} {(foo)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45907 45912]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} {(csr)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45923 45928]
                  )
                )
              } {(-o)} {(json)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <csr/foo>)} {(SQ <"{{range.status.conditions}}{{.type}}{{end}}">)} {(SQ <Approved>)}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45966 45971]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(csr)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46005 46010]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <csr/foo>)} {(SQ <"{{range.status.conditions}}{{.type}}{{end}}">)} {(SQ )}
            )
            (C {(kubectl)} {(certificate)} {(approve)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46045 46050]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} {(csr)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46061 46066]
                  )
                )
              } {(-o)} {(json)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <csr/foo>)} {(SQ <"{{range.status.conditions}}{{.type}}{{end}}">)} {(SQ <Approved>)}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46104 46109]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(csr)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46147 46152]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <csr/foo>)} {(SQ <"{{range.status.conditions}}{{.type}}{{end}}">)} {(SQ )}
            )
            (C {(kubectl)} {(certificate)} {(deny)} {(foo)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46185 46190]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} {(csr)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46201 46206]
                  )
                )
              } {(-o)} {(json)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <csr/foo>)} {(SQ <"{{range.status.conditions}}{{.type}}{{end}}">)} {(SQ <Denied>)}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46244 46249]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(csr)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}{{end}}"))} {(SQ )}
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46283 46288]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <csr/foo>)} {(SQ <"{{range.status.conditions}}{{.type}}{{end}}">)} {(SQ )}
            )
            (C {(kubectl)} {(certificate)} {(deny)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46323 46328]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} {(csr)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46339 46344]
                  )
                )
              } {(-o)} {(json)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <csr/foo>)} {(SQ <"{{range.status.conditions}}{{.type}}{{end}}">)} {(SQ <Denied>)}
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/csr.yml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46382 46387]
                  )
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(csr)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}{{end}}"))} {(SQ )}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [45824]
        )
      spids: [45820 45823]
    )
    (FuncDef
      name: run_cluster_management_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing cluster-management commands"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(nodes)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"127.0.0.1:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <"<no value>">)}
            )
            (C {(kubectl)} {(cordon)} {(DQ (127.0.0.1))} {(--dry-run)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <"<no value>">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <"<no value>">)}
            )
            (C {(kubectl)} {(drain)} {(DQ (127.0.0.1))} {(--dry-run)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(nodes)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"127.0.0.1:">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <"<no value>">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <"<no value>">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:response)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(kubectl)} {(uncordon)} {(DQ (127.0.0.1))} {(--dry-run)})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [46667 46677]
                      )
                    }
                  spids: [46666]
                )
              ]
              spids: [46666]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name response))} {(SQ <"already uncordoned">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <"<no value>">)}
            )
            (C {(kubectl)} {(label)} {(node)} {(DQ (127.0.0.1))} {(DQ ("test=label"))})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(SQ <"{{.metadata.labels.test}}">)} {(SQ <label>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:response)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(drain)}
                                      {(DQ (127.0.0.1))}
                                      {(--selector)}
                                      {(Lit_VarLike "test=") (label)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [46786]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [46770 46788]
                      )
                    }
                  spids: [46769]
                )
              ]
              spids: [46769]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name response))} {(SQ <"cannot specify both a node name">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:response)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [{(kubectl)} {(cordon)}]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [46827]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [46820 46829]
                      )
                    }
                  spids: [46819]
                )
              ]
              spids: [46819]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name response))} {(SQ <"error\\: USAGE\\: cordon NODE">)}
            )
            (C {(kubectl)} {(uncordon)} {(DQ (127.0.0.1))})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:response)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [(C {(kubectl)} {(cordon)} {(--selector) (Lit_Other "=")})]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [46870 46877]
                      )
                    }
                  spids: [46869]
                )
              ]
              spids: [46869]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name response))} {(SQ <"node \"127.0.0.1\" cordoned">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(DQ ("nodes 127.0.0.1"))} {(DQ ("{{.spec.unschedulable}}"))} {(SQ <true>)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [46434]
        )
      spids: [46430 46433]
    )
    (FuncDef
      name: run_plugins_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing kubectl plugins"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(-h)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [46992]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [46985]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [46984 46994]
                      )
                    }
                  spids: [46983]
                )
              ]
              spids: [46983]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"plugin\\s\\+Runs a command-line plugin">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [{(kubectl)} {(plugin)}]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [47029]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47022 47031]
                      )
                    }
                  spids: [47021]
                )
              ]
              spids: [47021]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"no plugins installed">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [{(kubectl)} {(plugin)}]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [47069]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: KUBECTL_PLUGINS_PATH
                                        val: {(test/fixtures/pkg/kubectl/plugins)}
                                        spids: [47062]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47059 47071]
                      )
                    }
                  spids: [47058]
                )
              ]
              spids: [47058]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"echo\\s\\+Echoes for test-cmd">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"get\\s\\+The wonderful new plugin-based get!">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"error\\s\\+The tremendous plugin that always fails!">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"The hello plugin">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"Incomplete plugin">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"no plugins installed">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(plugin)} {(-h)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [47206]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ":") 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47195]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47194 47208]
                      )
                    }
                  spids: [47193]
                )
              ]
              spids: [47193]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"echo\\s\\+Echoes for test-cmd">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"get\\s\\+The wonderful new plugin-based get!">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"error\\s\\+The tremendous plugin that always fails!">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"hello\\s\\+The hello plugin">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"Incomplete plugin">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(get)} {(-h)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [47324]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ":") 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47313]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47312 47326]
                      )
                    }
                  spids: [47311]
                )
              ]
              spids: [47311]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"Display one or many resources">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ ($ VSub_Name "$output_message") ("{output_message}"))} 
              {(SQ <"The wonderful new plugin-based get">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(plugin)} {(hello)} {(-h)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [47386]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ":") 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47373]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47372 47388]
                      )
                    }
                  spids: [47371]
                )
              ]
              spids: [47371]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {
                (SQ 
                  <
"The hello plugin is a new plugin used by test-cmd to test multiple plugin locations."
                  >
                )
              }
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"Usage:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(plugin)} {(hello)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [47447]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ":") 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47436]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47435 47449]
                      )
                    }
                  spids: [47434]
                )
              ]
              spids: [47434]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"#hello#">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(plugin)} {(echo)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [47484]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ":") 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47473]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47472 47486]
                      )
                    }
                  spids: [47471]
                )
              ]
              spids: [47471]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"This plugin works!">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [{(kubectl)} {(plugin)} {(hello)}]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [47521]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: KUBECTL_PLUGINS_PATH
                                        val: {(test/fixtures/pkg/kubectl/plugins/)}
                                        spids: [47512]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47509 47523]
                      )
                    }
                  spids: [47508]
                )
              ]
              spids: [47508]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"unknown command">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [{(kubectl)} {(plugin)} {(error)}]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [47558]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: KUBECTL_PLUGINS_PATH
                                        val: {(test/fixtures/pkg/kubectl/plugins/)}
                                        spids: [47549]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47546 47560]
                      )
                    }
                  spids: [47545]
                )
              ]
              spids: [47545]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"error: exit status 1">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [{(kubectl)} {(plugin)} {(tree)}]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [47600]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: KUBECTL_PLUGINS_PATH
                                        val: {(test/fixtures/pkg/kubectl/plugins)}
                                        spids: [47591]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47588 47602]
                      )
                    }
                  spids: [47587]
                )
              ]
              spids: [47587]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"Plugin with a tree of commands">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"child1\\s\\+The first child of a tree">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"child2\\s\\+The second child of a tree">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"child3\\s\\+The third child of a tree">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(plugin)} {(tree)} {(child1)} {(--help)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [47696]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [47683]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47682 47698]
                      )
                    }
                  spids: [47681]
                )
              ]
              spids: [47681]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"The first child of a tree">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"The second child">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <child2>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(plugin)} {(tree)} {(child1)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [47771]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [47760]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47759 47773]
                      )
                    }
                  spids: [47758]
                )
              ]
              spids: [47758]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"child one">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <child1>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_not_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"The first child">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [{(kubectl)} {(plugin)} {(env)} {(-h)}]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [47851]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [47840]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47839 47853]
                      )
                    }
                  spids: [47838]
                )
              ]
              spids: [47838]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("This is a flag 1"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("This is a flag 2"))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(DQ ("This is a flag 3"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(plugin)}
                                  {(env)}
                                  {(--test1) (Lit_Other "=") (value1)}
                                  {(-t)}
                                  {(value2)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [47932]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [47915]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [47914 47934]
                      )
                    }
                  spids: [47913]
                )
              ]
              spids: [47913]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <KUBECTL_PLUGINS_CURRENT_NAMESPACE>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <KUBECTL_PLUGINS_CALLER>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"KUBECTL_PLUGINS_DESCRIPTOR_COMMAND=./env.sh">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} 
              {(SQ <"KUBECTL_PLUGINS_DESCRIPTOR_SHORT_DESC=The plugin envs plugin">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <KUBECTL_PLUGINS_GLOBAL_FLAG_KUBECONFIG>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"KUBECTL_PLUGINS_GLOBAL_FLAG_REQUEST_TIMEOUT=0">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"KUBECTL_PLUGINS_LOCAL_FLAG_TEST1=value1">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"KUBECTL_PLUGINS_LOCAL_FLAG_TEST2=value2">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"KUBECTL_PLUGINS_LOCAL_FLAG_TEST3=default">)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [46947]
        )
      spids: [46943 46946]
    )
    (FuncDef
      name: run_impersonation_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing impersonation"))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (Pipeline
                                children: [
                                  (SimpleCommand
                                    words: [
                                      {(kubectl)}
                                      {(get)}
                                      {(pods)}
                                      {
                                        (DQ 
                                          (BracedVarSub
                                            token: <VSub_Name kube_flags_with_token>
                                            bracket_op: (WholeArray op_id:Lit_At)
                                            spids: [48174 48179]
                                          )
                                        )
                                      }
                                      {(--as-group) (Lit_Other "=") (foo)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [48186]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [48164 48188]
                      )
                    }
                  spids: [48163]
                )
              ]
              spids: [48163]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"without impersonating a user">)}
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name csr))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/csr.yml)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags_with_token>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [48245 48250]
                          )
                        )
                      } {(--as) (Lit_Other "=") (user1)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <csr/foo>)} {(SQ <"{{.spec.username}}">)} {(SQ <user1>)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <csr/foo>)} {(SQ <"{{range .spec.groups}}{{.}}{{end}}">)} {(SQ <"system:authenticated">)}
                    )
                    (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/csr.yml)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags_with_token>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [48309 48314]
                          )
                        )
                      }
                    )
                    (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/csr.yml)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags_with_token>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [48332 48337]
                          )
                        )
                      } {(--as) (Lit_Other "=") (user1)} {(--as-group) (Lit_Other "=") (group2)} 
                      {(--as-group) (Lit_Other "=") (group1)} {(--as-group) (Lit_Other "=") (Lit_Comma ",") (Lit_Comma ",") (Lit_Comma ",") (chameleon)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <csr/foo>)} {(SQ <"{{len .spec.groups}}">)} {(SQ <3>)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <csr/foo>)} {(SQ <"{{range .spec.groups}}{{.}} {{end}}">)} {(SQ <"group2 group1 ,,,chameleon ">)}
                    )
                    (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/csr.yml)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags_with_token>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [48411 48416]
                          )
                        )
                      }
                    )
                  ]
                  spids: [-1 48229]
                )
              ]
              spids: [-1 48420]
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [48131]
        )
      spids: [48127 48130]
    )
    (FuncDef
      name: runTests
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:foundError)
                  op: Equal
                  rhs: {(DQ (False))}
                  spids: [48457]
                )
              ]
              spids: [48457]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other "[")} {(-z)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name SUPPORTED_RESOURCES>
                                suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )})
                                spids: [48471 48474]
                              )
                            )
                          } {(Lit_Other "]")}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(echo)} 
                      {
                        (DQ 
                          (
"Need to set SUPPORTED_RESOURCES env var. It is a list of resources that are supported and hence should be tested. Set it to (*) to test all resources"
                          )
                        )
                      }
                    )
                    (C {(exit)} {(1)})
                  ]
                  spids: [-1 48480]
                )
              ]
              spids: [-1 48495]
            )
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Checking kubectl version"))}
            )
            (C {(kubectl)} {(version)})
            (FuncDef
              name: create_and_use_new_namespace
              body: 
                (BraceGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:namespace_number)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (C {(date)} 
                                        {(Lit_Other "+") (Lit_Other "%") (s) (Lit_Other "%") (N)}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [48533 48541]
                              )
                            }
                          spids: [48532]
                        )
                      ]
                      spids: [48532]
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") 
                        (status)
                      } {(DQ ("Creating namespace namespace") (${ VSub_Name namespace_number))}
                    )
                    (C {(kubectl)} {(create)} {(namespace)} 
                      {(DQ (namespace) (${ VSub_Name namespace_number))}
                    )
                    (C {(kubectl)} {(config)} {(set-context)} {(DQ (${ VSub_Name CONTEXT))} 
                      {(--namespace) (Lit_Other "=") (DQ (namespace) (${ VSub_Name namespace_number))}
                    )
                  ]
                  spids: [48529]
                )
              spids: [48525 48528]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:kube_flags)
                  op: Equal
                  rhs: 
                    {
                      (ArrayLiteralPart
                        words: [{(-s)} {(DQ ("http://127.0.0.1:") (${ VSub_Name API_PORT))}]
                      )
                    }
                  spids: [48600]
                )
              ]
              spids: [48600]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:kube_flags_with_token)
                  op: Equal
                  rhs: 
                    {
                      (ArrayLiteralPart
                        words: [
                          {(-s)}
                          {(DQ ("https://127.0.0.1:") (${ VSub_Name SECURE_API_PORT))}
                          {(--token) (Lit_Other "=") (admin-token)}
                          {(--insecure-skip-tls-verify) (Lit_Other "=") (true)}
                        ]
                      )
                    }
                  spids: [48622]
                )
              ]
              spids: [48622]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DBracket
                          expr: 
                            (BoolUnary
                              op_id: BoolUnary_z
                              child: 
                                {
                                  (DQ 
                                    (BracedVarSub
                                      token: <VSub_Name ALLOW_SKEW>
                                      suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ )})
                                      spids: [48655 48658]
                                    )
                                  )
                                }
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:kube_flags)
                          op: PlusEqual
                          rhs: {(ArrayLiteralPart words:[{(DQ (--match-server-version))}])}
                          spids: [48667]
                        )
                      ]
                      spids: [48667]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:kube_flags_with_token)
                          op: PlusEqual
                          rhs: {(ArrayLiteralPart words:[{(DQ (--match-server-version))}])}
                          spids: [48675]
                        )
                      ]
                      spids: [48675]
                    )
                  ]
                  spids: [-1 48664]
                )
              ]
              spids: [-1 48683]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name nodes))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(Lit_Other "[")} 
                      {
                        (DQ 
                          (CommandSubPart
                            command_list: 
                              (CommandList
                                children: [
                                  (C {(kubectl)} {(get)} {(nodes)} {(-o)} 
                                    {(go-template) (Lit_Other "=") (SQ <"{{ .apiVersion }}">)} 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          token: <VSub_Name kube_flags>
                                          bracket_op: (WholeArray op_id:Lit_At)
                                          spids: [48726 48731]
                                        )
                                      )
                                    }
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub "$(">
                            spids: [48710 48733]
                          )
                        )
                      } {(Lit_Other "=") (Lit_Other "=")} {(DQ (v1))} {(Lit_Other "]")}
                    )
                  ]
                  spids: [-1 48704]
                )
              ]
              spids: [-1 48746]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:id_field)
                  op: Equal
                  rhs: {(DQ (.metadata.name))}
                  spids: [48750]
                )
              ]
              spids: [48750]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:labels_field)
                  op: Equal
                  rhs: {(DQ (.metadata.labels))}
                  spids: [48756]
                )
              ]
              spids: [48756]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:annotations_field)
                  op: Equal
                  rhs: {(DQ (.metadata.annotations))}
                  spids: [48762]
                )
              ]
              spids: [48762]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:service_selector_field)
                  op: Equal
                  rhs: {(DQ (.spec.selector))}
                  spids: [48768]
                )
              ]
              spids: [48768]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:rc_replicas_field)
                  op: Equal
                  rhs: {(DQ (.spec.replicas))}
                  spids: [48774]
                )
              ]
              spids: [48774]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:rc_status_replicas_field)
                  op: Equal
                  rhs: {(DQ (.status.replicas))}
                  spids: [48780]
                )
              ]
              spids: [48780]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:rc_container_image_field)
                  op: Equal
                  rhs: {(DQ (.spec.template.spec.containers))}
                  spids: [48786]
                )
              ]
              spids: [48786]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:rs_replicas_field)
                  op: Equal
                  rhs: {(DQ (.spec.replicas))}
                  spids: [48792]
                )
              ]
              spids: [48792]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:port_field)
                  op: Equal
                  rhs: {(DQ ("(index .spec.ports 0).port"))}
                  spids: [48798]
                )
              ]
              spids: [48798]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:port_name)
                  op: Equal
                  rhs: {(DQ ("(index .spec.ports 0).name"))}
                  spids: [48804]
                )
              ]
              spids: [48804]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:second_port_field)
                  op: Equal
                  rhs: {(DQ ("(index .spec.ports 1).port"))}
                  spids: [48810]
                )
              ]
              spids: [48810]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:second_port_name)
                  op: Equal
                  rhs: {(DQ ("(index .spec.ports 1).name"))}
                  spids: [48816]
                )
              ]
              spids: [48816]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:image_field)
                  op: Equal
                  rhs: {(DQ ("(index .spec.containers 0).image"))}
                  spids: [48822]
                )
              ]
              spids: [48822]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:pod_container_name_field)
                  op: Equal
                  rhs: {(DQ ("(index .spec.containers 0).name"))}
                  spids: [48828]
                )
              ]
              spids: [48828]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:container_name_field)
                  op: Equal
                  rhs: {(DQ ("(index .spec.template.spec.containers 0).name"))}
                  spids: [48834]
                )
              ]
              spids: [48834]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:hpa_min_field)
                  op: Equal
                  rhs: {(DQ (.spec.minReplicas))}
                  spids: [48840]
                )
              ]
              spids: [48840]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:hpa_max_field)
                  op: Equal
                  rhs: {(DQ (.spec.maxReplicas))}
                  spids: [48846]
                )
              ]
              spids: [48846]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:hpa_cpu_field)
                  op: Equal
                  rhs: {(DQ (.spec.targetCPUUtilizationPercentage))}
                  spids: [48852]
                )
              ]
              spids: [48852]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:statefulset_replicas_field)
                  op: Equal
                  rhs: {(DQ (.spec.replicas))}
                  spids: [48858]
                )
              ]
              spids: [48858]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:statefulset_observed_generation)
                  op: Equal
                  rhs: {(DQ (.status.observedGeneration))}
                  spids: [48864]
                )
              ]
              spids: [48864]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:job_parallelism_field)
                  op: Equal
                  rhs: {(DQ (.spec.parallelism))}
                  spids: [48870]
                )
              ]
              spids: [48870]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:deployment_replicas)
                  op: Equal
                  rhs: {(DQ (.spec.replicas))}
                  spids: [48876]
                )
              ]
              spids: [48876]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:secret_data)
                  op: Equal
                  rhs: {(DQ (.data))}
                  spids: [48882]
                )
              ]
              spids: [48882]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:secret_type)
                  op: Equal
                  rhs: {(DQ (.type))}
                  spids: [48888]
                )
              ]
              spids: [48888]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:change_cause_annotation)
                  op: Equal
                  rhs: {(SQ <".*kubernetes.io/change-cause.*">)}
                  spids: [48894]
                )
              ]
              spids: [48894]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:pdb_min_available)
                  op: Equal
                  rhs: {(DQ (.spec.minAvailable))}
                  spids: [48900]
                )
              ]
              spids: [48900]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:pdb_max_unavailable)
                  op: Equal
                  rhs: {(DQ (.spec.maxUnavailable))}
                  spids: [48906]
                )
              ]
              spids: [48906]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:generation_field)
                  op: Equal
                  rhs: {(DQ (.metadata.generation))}
                  spids: [48912]
                )
              ]
              spids: [48912]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:template_generation_field)
                  op: Equal
                  rhs: {(DQ (.spec.templateGeneration))}
                  spids: [48918]
                )
              ]
              spids: [48918]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:container_len)
                  op: Equal
                  rhs: {(DQ ("(len .spec.template.spec.containers)"))}
                  spids: [48924]
                )
              ]
              spids: [48924]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:image_field0)
                  op: Equal
                  rhs: {(DQ ("(index .spec.template.spec.containers 0).image"))}
                  spids: [48930]
                )
              ]
              spids: [48930]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:image_field1)
                  op: Equal
                  rhs: {(DQ ("(index .spec.template.spec.containers 1).image"))}
                  spids: [48936]
                )
              ]
              spids: [48936]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name namespaces))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:output_message)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (C {(kubectl)} {(get)} 
                                        {
                                          (DQ 
                                            (BracedVarSub
                                              token: <VSub_Name kube_flags>
                                              bracket_op: (WholeArray op_id:Lit_At)
                                              spids: [48975 48980]
                                            )
                                          )
                                        } {(namespaces)}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [48969 48984]
                              )
                            }
                          spids: [48968]
                        )
                      ]
                      spids: [48968]
                    )
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (DBracket
                                  expr: 
                                    (LogicalNot
                                      child: 
                                        (WordTest
                                          w: 
                                            {
                                              (CommandSubPart
                                                command_list: 
                                                  (CommandList
                                                    children: [
                                                      (Pipeline
                                                        children: [
                                                          (C {(echo)} 
                                                            {(DQ (${ VSub_Name output_message))}
                                                          )
                                                          (C {(grep)} {(DQ (default))})
                                                        ]
                                                        negated: False
                                                      )
                                                    ]
                                                  )
                                                left_token: <Left_CommandSub "$(">
                                                spids: [48993 49009]
                                              )
                                            }
                                        )
                                    )
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [
                            (C {(kubectl)} {(create)} 
                              {
                                (DQ 
                                  (BracedVarSub
                                    token: <VSub_Name kube_flags>
                                    bracket_op: (WholeArray op_id:Lit_At)
                                    spids: [49026 49031]
                                  )
                                )
                              } {(ns)} {(default)}
                            )
                          ]
                          spids: [-1 49014]
                        )
                      ]
                      spids: [-1 49039]
                    )
                  ]
                  spids: [-1 48965]
                )
              ]
              spids: [-1 49042]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name services))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (AndOr
                      children: [
                        (C {(kubectl)} {(create)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [49080 49085]
                              )
                            )
                          } {(-f)} {(hack/testdata/kubernetes-service.yaml)}
                        )
                        (C {(true)})
                      ]
                      op_id: Op_DPipe
                    )
                    (C {(kubectl)} {(get)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [49106 49111]
                          )
                        )
                      } {(-f)} {(hack/testdata/kubernetes-service.yaml)}
                    )
                  ]
                  spids: [-1 49068]
                )
              ]
              spids: [-1 49119]
            )
            (C {(record_command)} {(run_kubectl_version_tests)})
            (C {(record_command)} {(run_kubectl_config_set_tests)})
            (C {(record_command)} {(run_kubectl_local_proxy_tests)})
            (C {(record_command)} {(run_RESTMapper_evaluation_tests)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name clusterroles))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_clusterroles_tests)})]
                  spids: [-1 49230]
                )
              ]
              spids: [-1 49238]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name roles))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_role_tests)})]
                  spids: [-1 49272]
                )
              ]
              spids: [-1 49280]
            )
            (C {(record_command)} {(run_assert_short_name_tests)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_assert_categories_tests)})]
                  spids: [-1 49338]
                )
              ]
              spids: [-1 49346]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_pod_tests)})]
                  spids: [-1 49381]
                )
              ]
              spids: [-1 49389]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_save_config_tests)})]
                  spids: [-1 49411]
                )
              ]
              spids: [-1 49419]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_kubectl_create_error_tests)})]
                  spids: [-1 49441]
                )
              ]
              spids: [-1 49449]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(record_command)} {(run_kubectl_apply_tests)})
                    (C {(record_command)} {(run_kubectl_run_tests)})
                    (C {(record_command)} {(run_kubectl_create_filter_tests)})
                  ]
                  spids: [-1 49471]
                )
              ]
              spids: [-1 49497]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name deployments))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_kubectl_apply_deployments_tests)})]
                  spids: [-1 49519]
                )
              ]
              spids: [-1 49527]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_kubectl_get_tests)})]
                  spids: [-1 49562]
                )
              ]
              spids: [-1 49578]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_kubectl_request_timeout_tests)})]
                  spids: [-1 49613]
                )
              ]
              spids: [-1 49629]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name customresourcedefinitions))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_crd_tests)})]
                  spids: [-1 49668]
                )
              ]
              spids: [-1 49676]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name deployments))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_cmd_with_img_tests)})]
                  spids: [-1 49711]
                )
              ]
              spids: [-1 49719]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_recursive_resources_tests)})]
                  spids: [-1 49755]
                )
              ]
              spids: [-1 49763]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name namespaces))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_namespace_tests)})]
                  spids: [-1 49798]
                )
              ]
              spids: [-1 49806]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name namespaces))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (if_supports_resource)
                                  } {(DQ (${ VSub_Name secrets))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(C {(record_command)} {(run_secrets_test)})]
                          spids: [-1 49862]
                        )
                      ]
                      spids: [-1 49870]
                    )
                  ]
                  spids: [-1 49841]
                )
              ]
              spids: [-1 49873]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name namespaces))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (if_supports_resource)
                                  } {(DQ (${ VSub_Name configmaps))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(C {(record_command)} {(run_configmap_tests)})]
                          spids: [-1 49929]
                        )
                      ]
                      spids: [-1 49937]
                    )
                  ]
                  spids: [-1 49908]
                )
              ]
              spids: [-1 49940]
            )
            (C {(record_command)} {(run_client_config_tests)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (AndOr
                          children: [
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (if_supports_resource)
                              } {(DQ (${ VSub_Name namespaces))}
                            )
                            (C 
                              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                (Lit_Other ":") (if_supports_resource)
                              } {(DQ (${ VSub_Name serviceaccounts))}
                            )
                          ]
                          op_id: Op_DAmp
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_service_accounts_tests)})]
                  spids: [-1 50010]
                )
              ]
              spids: [-1 50018]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name podtemplates))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_pod_templates_tests)})]
                  spids: [-1 50053]
                )
              ]
              spids: [-1 50061]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name services))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_service_tests)})]
                  spids: [-1 50096]
                )
              ]
              spids: [-1 50104]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name daemonsets))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(record_command)} {(run_daemonset_tests)})
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (if_supports_resource)
                                  } {(DQ (${ VSub_Name controllerrevisions))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(C {(record_command)} {(run_daemonset_history_tests)})]
                          spids: [-1 50164]
                        )
                      ]
                      spids: [-1 50172]
                    )
                  ]
                  spids: [-1 50139]
                )
              ]
              spids: [-1 50175]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name namespaces))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (if_supports_resource)
                                  } {(DQ (${ VSub_Name replicationcontrollers))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(C {(record_command)} {(run_rc_tests)})]
                          spids: [-1 50231]
                        )
                      ]
                      spids: [-1 50239]
                    )
                  ]
                  spids: [-1 50210]
                )
              ]
              spids: [-1 50242]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name deployments))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_deployment_tests)})]
                  spids: [-1 50277]
                )
              ]
              spids: [-1 50285]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name replicasets))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_rs_tests)})]
                  spids: [-1 50320]
                )
              ]
              spids: [-1 50328]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name statefulsets))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(record_command)} {(run_stateful_set_tests)})
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (if_supports_resource)
                                  } {(DQ (${ VSub_Name controllerrevisions))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(C {(record_command)} {(run_statefulset_history_tests)})]
                          spids: [-1 50388]
                        )
                      ]
                      spids: [-1 50396]
                    )
                  ]
                  spids: [-1 50363]
                )
              ]
              spids: [-1 50399]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name services))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (if_supports_resource)
                                  } {(DQ (${ VSub_Name deployments))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(C {(record_command)} {(run_lists_tests)})]
                          spids: [-1 50455]
                        )
                      ]
                      spids: [-1 50463]
                    )
                  ]
                  spids: [-1 50434]
                )
              ]
              spids: [-1 50466]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name services))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (if_supports_resource)
                                  } {(DQ (${ VSub_Name replicationcontrollers))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(C {(record_command)} {(run_multi_resources_tests)})]
                          spids: [-1 50522]
                        )
                      ]
                      spids: [-1 50530]
                    )
                  ]
                  spids: [-1 50501]
                )
              ]
              spids: [-1 50533]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name persistentvolumes))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_persistent_volumes_tests)})]
                  spids: [-1 50568]
                )
              ]
              spids: [-1 50576]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name persistentvolumeclaims))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_persistent_volume_claims_tests)})]
                  spids: [-1 50611]
                )
              ]
              spids: [-1 50619]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name storageclass))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_storage_class_tests)})]
                  spids: [-1 50654]
                )
              ]
              spids: [-1 50662]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name nodes))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_nodes_tests)})]
                  spids: [-1 50697]
                )
              ]
              spids: [-1 50705]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name subjectaccessreviews))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_authorization_tests)})]
                  spids: [-1 50741]
                )
              ]
              spids: [-1 50749]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name subjectaccessreviews))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:output_message)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (SimpleCommand
                                        words: [
                                          {(kubectl)}
                                          {(auth)}
                                          {(can-i)}
                                          {(SQ <"*">)}
                                          {(SQ <"*">)}
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [50802 50807]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [50798]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [50783 50809]
                              )
                            }
                          spids: [50782]
                        )
                      ]
                      spids: [50782]
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (if_has_string)
                      } {(DQ (${ VSub_Name output_message))} {(DQ (yes))}
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:output_message)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (SimpleCommand
                                        words: [
                                          {(kubectl)}
                                          {(auth)}
                                          {(can-i)}
                                          {(get)}
                                          {(pods)}
                                          {(--subresource) (Lit_Other "=") (log)}
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [50852 50857]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [50848]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [50833 50859]
                              )
                            }
                          spids: [50832]
                        )
                      ]
                      spids: [50832]
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (if_has_string)
                      } {(DQ (${ VSub_Name output_message))} {(DQ (yes))}
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:output_message)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (SimpleCommand
                                        words: [
                                          {(kubectl)}
                                          {(auth)}
                                          {(can-i)}
                                          {(get)}
                                          {(invalid_resource)}
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [50898 50903]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [50894]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [50883 50905]
                              )
                            }
                          spids: [50882]
                        )
                      ]
                      spids: [50882]
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (if_has_string)
                      } {(DQ (${ VSub_Name output_message))} {(DQ ("the server doesn't have a resource type"))}
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:output_message)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (SimpleCommand
                                        words: [
                                          {(kubectl)}
                                          {(auth)}
                                          {(can-i)}
                                          {(get)}
                                          {(/logs/)}
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [50944 50949]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [50940]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [50929 50951]
                              )
                            }
                          spids: [50928]
                        )
                      ]
                      spids: [50928]
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (if_has_string)
                      } {(DQ (${ VSub_Name output_message))} {(DQ (yes))}
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:output_message)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (Pipeline
                                        children: [
                                          (SimpleCommand
                                            words: [
                                              {(kubectl)}
                                              {(auth)}
                                              {(can-i)}
                                              {(get)}
                                              {(/logs/)}
                                              {(--subresource) (Lit_Other "=") (log)}
                                              {
                                                (DQ 
                                                  (BracedVarSub
                                                    token: <VSub_Name kube_flags>
                                                    bracket_op: (WholeArray op_id:Lit_At)
                                                    spids: [50996 51001]
                                                  )
                                                )
                                              }
                                            ]
                                            redirects: [
                                              (Redir
                                                op_id: Redir_GreatAnd
                                                fd: 2
                                                arg_word: {(1)}
                                                spids: [50992]
                                              )
                                            ]
                                          )
                                        ]
                                        negated: True
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [50975 51003]
                              )
                            }
                          spids: [50974]
                        )
                      ]
                      spids: [50974]
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (if_has_string)
                      } {(DQ (${ VSub_Name output_message))} {(DQ ("subresource can not be used with NonResourceURL"))}
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:output_message)
                          op: Equal
                          rhs: 
                            {
                              (CommandSubPart
                                command_list: 
                                  (CommandList
                                    children: [
                                      (SimpleCommand
                                        words: [
                                          {(kubectl)}
                                          {(auth)}
                                          {(can-i)}
                                          {(list)}
                                          {(jobs.batch/bar)}
                                          {(-n)}
                                          {(foo)}
                                          {(--quiet)}
                                          {
                                            (DQ 
                                              (BracedVarSub
                                                token: <VSub_Name kube_flags>
                                                bracket_op: (WholeArray op_id:Lit_At)
                                                spids: [51048 51053]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [51044]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub "$(">
                                spids: [51027 51055]
                              )
                            }
                          spids: [51026]
                        )
                      ]
                      spids: [51026]
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (if_empty_string)
                      } {(DQ (${ VSub_Name output_message))}
                    )
                  ]
                  spids: [-1 50779]
                )
              ]
              spids: [-1 51073]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name clusterroles))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(kubectl)} {(auth)} {(reconcile)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [51109 51114]
                          )
                        )
                      } {(-f)} {(test/fixtures/pkg/kubectl/cmd/auth/rbac-resource-plus.yaml)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"rolebindings -n some-other-random -l test-cmd=auth">)} 
                      {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"testing-RB:">)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"roles -n some-other-random -l test-cmd=auth">)} 
                      {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"testing-R:">)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"clusterrolebindings -l test-cmd=auth">)} 
                      {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"testing-CRB:">)}
                    )
                    (C 
                      {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                        (get_object_assert)
                      } {(SQ <"clusterroles -l test-cmd=auth">)} 
                      {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <"testing-CR:">)}
                    )
                    (C {(kubectl)} {(delete)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [51220 51225]
                          )
                        )
                      } 
                      {(rolebindings) (Lit_Comma ",") (role) (Lit_Comma ",") (clusterroles) 
                        (Lit_Comma ",") (clusterrolebindings)
                      } {(-n)} {(some-other-random)} {(-l)} {(test-cmd) (Lit_Other "=") (auth)}
                    )
                  ]
                  spids: [-1 51099]
                )
              ]
              spids: [-1 51247]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name nodes))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (if_supports_resource)
                                  } {(DQ (${ VSub_Name services))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(C {(record_command)} {(run_retrieve_multiple_tests)})]
                          spids: [-1 51303]
                        )
                      ]
                      spids: [-1 51311]
                    )
                  ]
                  spids: [-1 51282]
                )
              ]
              spids: [-1 51314]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name services))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (If
                      arms: [
                        (if_arm
                          cond: [
                            (Sentence
                              child: 
                                (C 
                                  {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") 
                                    (Lit_Other ":") (if_supports_resource)
                                  } {(DQ (${ VSub_Name replicationcontrollers))}
                                )
                              terminator: <Op_Semi ";">
                            )
                          ]
                          action: [(C {(record_command)} {(run_resource_aliasing_tests)})]
                          spids: [-1 51371]
                        )
                      ]
                      spids: [-1 51379]
                    )
                  ]
                  spids: [-1 51350]
                )
              ]
              spids: [-1 51382]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_kubectl_explain_tests)})]
                  spids: [-1 51417]
                )
              ]
              spids: [-1 51425]
            )
            (C {(record_command)} {(run_swagger_tests)})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_kubectl_sort_by_tests)})]
                  spids: [-1 51480]
                )
              ]
              spids: [-1 51488]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name pods))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_kubectl_all_namespace_tests)})]
                  spids: [-1 51523]
                )
              ]
              spids: [-1 51531]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name csr))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_certificates_tests)})]
                  spids: [-1 51566]
                )
              ]
              spids: [-1 51574]
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C 
                          {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                            (if_supports_resource)
                          } {(DQ (${ VSub_Name nodes))}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(record_command)} {(run_cluster_management_tests)})]
                  spids: [-1 51608]
                )
              ]
              spids: [-1 51616]
            )
            (C {(record_command)} {(run_plugins_tests)})
            (C {(record_command)} {(run_impersonation_tests)})
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") (clear_all)}
            )
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (C {(Lit_Other "[")} {(DQ ($ VSub_Name "$foundError"))} 
                          {(Lit_Other "=") (Lit_Other "=")} {(DQ (True))} {(Lit_Other "]")}
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [(C {(echo)} {(DQ ("TEST FAILED"))}) (C {(exit)} {(1)})]
                  spids: [-1 51685]
                )
              ]
              spids: [-1 51700]
            )
          ]
          spids: [48454]
        )
      spids: [48450 48453]
    )
    (FuncDef
      name: run_initializer_tests
      body: 
        (BraceGroup
          children: [
            (C {(set)} {(-o)} {(nounset)})
            (C {(set)} {(-o)} {(errexit)})
            (C {(create_and_use_new_namespace)})
            (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} 
              {(DQ ("Testing --include-uninitialized"))}
            )
            (AndOr
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {(create)}
                    {(--request-timeout) (Lit_Other "=") (1)}
                    {(-f)}
                    {(hack/testdata/initializer-deployments.yaml)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [51764 51769]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[51760])]
                )
                (C {(true)})
              ]
              op_id: Op_DPipe
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(deployments)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [51798 51803]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [51794]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [51787 51805]
                      )
                    }
                  spids: [51786]
                )
              ]
              spids: [51786]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(deployments)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [51851 51856]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [51847]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [51836 51858]
                      )
                    }
                  spids: [51835]
                )
              ]
              spids: [51835]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(deployments)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [51902 51907]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [51898]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [51889 51909]
                      )
                    }
                  spids: [51888]
                )
              ]
              spids: [51888]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <web>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(deployments)}
                                  {(web)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [51953 51958]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [51949]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [51940 51960]
                      )
                    }
                  spids: [51939]
                )
              ]
              spids: [51939]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <web>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(get)}
                                  {(deployments)}
                                  {(--show-all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52004 52009]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52000]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [51991 52011]
                      )
                    }
                  spids: [51990]
                )
              ]
              spids: [51990]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(describe)}
                                  {(deployments)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52058 52063]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52054]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52047 52065]
                      )
                    }
                  spids: [52046]
                )
              ]
              spids: [52046]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"run=web">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(describe)}
                                  {(deployments)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52109 52114]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52105]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52096 52116]
                      )
                    }
                  spids: [52095]
                )
              ]
              spids: [52095]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"run=web">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(describe)}
                                  {(deployments)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52162 52167]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52158]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52147 52169]
                      )
                    }
                  spids: [52146]
                )
              ]
              spids: [52146]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(describe)}
                                  {(deployments)}
                                  {(web)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52211 52216]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52207]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52196 52218]
                      )
                    }
                  spids: [52195]
                )
              ]
              spids: [52195]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"run=web">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(describe)}
                                  {(deployments)}
                                  {(web)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52266 52271]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52262]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52249 52273]
                      )
                    }
                  spids: [52248]
                )
              ]
              spids: [52248]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"run=web">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(label)}
                                  {(deployments)}
                                  {(Lit_VarLike "labelkey1=") (labelvalue1)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52325 52330]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52321]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52309 52332]
                      )
                    }
                  spids: [52308]
                )
              ]
              spids: [52308]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"deployment \"web\" labeled">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments web">)} {(DQ ("{{") (${ VSub_Name labels_field) (".labelkey1}}"))} 
              {(SQ <labelvalue1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(label)}
                                  {(deployments)}
                                  {(Lit_VarLike "labelkey2=") (labelvalue2)}
                                  {(--all)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52408 52413]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52404]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52388 52415]
                      )
                    }
                  spids: [52387]
                )
              ]
              spids: [52387]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(label)}
                                  {(deployments)}
                                  {(Lit_VarLike "labelkey3=") (labelvalue3)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52461 52466]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52457]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52442 52468]
                      )
                    }
                  spids: [52441]
                )
              ]
              spids: [52441]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(label)}
                                  {(deployments)}
                                  {(Lit_VarLike "labelkey4=") (labelvalue4)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52516 52521]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52512]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52495 52523]
                      )
                    }
                  spids: [52494]
                )
              ]
              spids: [52494]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"deployment \"web\" labeled">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments web">)} {(DQ ("{{") (${ VSub_Name labels_field) (".labelkey4}}"))} 
              {(SQ <labelvalue4>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(label)}
                                  {(deployments)}
                                  {(Lit_VarLike "labelkey5=") (labelvalue5)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52600 52605]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52596]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52579 52607]
                      )
                    }
                  spids: [52578]
                )
              ]
              spids: [52578]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(label)}
                                  {(deployments)}
                                  {(Lit_VarLike "labelkey6=") (labelvalue6)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--all)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52657 52662]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52653]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52634 52664]
                      )
                    }
                  spids: [52633]
                )
              ]
              spids: [52633]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"deployment \"web\" labeled">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments web">)} {(DQ ("{{") (${ VSub_Name labels_field) (".labelkey6}}"))} 
              {(SQ <labelvalue6>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(label)}
                                  {(deployments)}
                                  {(web)}
                                  {(Lit_VarLike "labelkey7=") (labelvalue7)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52736 52741]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52732]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52720 52743]
                      )
                    }
                  spids: [52719]
                )
              ]
              spids: [52719]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"deployment \"web\" labeled">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments web">)} {(DQ ("{{") (${ VSub_Name labels_field) (".labelkey7}}"))} 
              {(SQ <labelvalue7>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments web">)} {(DQ ("{{") (${ VSub_Name labels_field) ("}}"))} 
              {
                (SQ 
                  <
"map[labelkey1:labelvalue1 labelkey4:labelvalue4 labelkey6:labelvalue6 labelkey7:labelvalue7 run:web]"
                  >
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(annotate)}
                                  {(deployments)}
                                  {(Lit_VarLike "annotatekey1=") (annotatevalue1)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52849 52854]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52845]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52833 52856]
                      )
                    }
                  spids: [52832]
                )
              ]
              spids: [52832]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"deployment \"web\" annotated">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments web">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotatekey1}}"))} 
              {(SQ <annotatevalue1>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(annotate)}
                                  {(deployments)}
                                  {(Lit_VarLike "annotatekey2=") (annotatevalue2)}
                                  {(--all)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52932 52937]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52928]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52912 52939]
                      )
                    }
                  spids: [52911]
                )
              ]
              spids: [52911]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(annotate)}
                                  {(deployments)}
                                  {(Lit_VarLike "annotatekey3=") (annotatevalue3)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [52985 52990]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52981]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [52966 52992]
                      )
                    }
                  spids: [52965]
                )
              ]
              spids: [52965]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(annotate)}
                                  {(deployments)}
                                  {(Lit_VarLike "annotatekey4=") (annotatevalue4)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53040 53045]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53036]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53019 53047]
                      )
                    }
                  spids: [53018]
                )
              ]
              spids: [53018]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"deployment \"web\" annotated">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments web">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotatekey4}}"))} 
              {(SQ <annotatevalue4>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(annotate)}
                                  {(deployments)}
                                  {(Lit_VarLike "annotatekey5=") (annotatevalue5)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53124 53129]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53120]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53103 53131]
                      )
                    }
                  spids: [53102]
                )
              ]
              spids: [53102]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(annotate)}
                                  {(deployments)}
                                  {(Lit_VarLike "annotatekey6=") (annotatevalue6)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--all)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53181 53186]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53177]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53158 53188]
                      )
                    }
                  spids: [53157]
                )
              ]
              spids: [53157]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"deployment \"web\" annotated">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments web">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotatekey6}}"))} 
              {(SQ <annotatevalue6>)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(annotate)}
                                  {(deployments)}
                                  {(web)}
                                  {(Lit_VarLike "annotatekey7=") (annotatevalue7)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53260 53265]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53256]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53244 53267]
                      )
                    }
                  spids: [53243]
                )
              ]
              spids: [53243]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"deployment \"web\" annotated">)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(SQ <"deployments web">)} {(DQ ("{{") (${ VSub_Name annotations_field) (".annotatekey7}}"))} 
              {(SQ <annotatevalue7>)}
            )
            (C {(Lit_Other "[")} 
              {
                (DQ 
                  (CommandSubPart
                    command_list: 
                      (CommandList
                        children: [
                          (Pipeline
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(edit)}
                                  {(deployments)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53340 53345]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53336]
                                  )
                                ]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[53327])]
                              )
                              (C {(grep)} {(SQ <"edit cancelled, no objects found">)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub "$(">
                    spids: [53326 53355]
                  )
                )
              } {(Lit_Other "]")}
            )
            (C {(Lit_Other "[")} 
              {
                (DQ 
                  (CommandSubPart
                    command_list: 
                      (CommandList
                        children: [
                          (Pipeline
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(edit)}
                                  {(deployments)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53380 53385]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53376]
                                  )
                                ]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[53365])]
                              )
                              (C {(grep)} {(SQ <"Edit cancelled, no changes made.">)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub "$(">
                    spids: [53364 53395]
                  )
                )
              } {(Lit_Other "]")}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(image)}
                                  {(deployments)}
                                  {(Lit_Other "*") (Lit_Other "=") (nginx) (Lit_Other ":") (1.11)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53432 53437]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53428]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53411 53439]
                      )
                    }
                  spids: [53410]
                )
              ]
              spids: [53410]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"image updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(image)}
                                  {(deployments)}
                                  {(Lit_Other "*") (Lit_Other "=") (nginx) (Lit_Other ":") (1.11)}
                                  {(--all)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53495 53500]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53491]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53470 53502]
                      )
                    }
                  spids: [53469]
                )
              ]
              spids: [53469]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(image)}
                                  {(deployments)}
                                  {(Lit_Other "*") (Lit_Other "=") (nginx) (Lit_Other ":") (1.11)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53553 53558]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53549]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53529 53560]
                      )
                    }
                  spids: [53528]
                )
              ]
              spids: [53528]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(image)}
                                  {(deployments)}
                                  {(Lit_Other "*") (Lit_Other "=") (nginx) (Lit_Other ":") (1.12)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53613 53618]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53609]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53587 53620]
                      )
                    }
                  spids: [53586]
                )
              ]
              spids: [53586]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"image updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(image)}
                                  {(deployments)}
                                  {(Lit_Other "*") (Lit_Other "=") (nginx) (Lit_Other ":") (1.13)}
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--include-uninitialized)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53679 53684]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53675]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53651 53686]
                      )
                    }
                  spids: [53650]
                )
              ]
              spids: [53650]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"image updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(resources)}
                                  {(deployments)}
                                  {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (200m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (512Mi)
                                  }
                                  {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (100m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (256Mi)
                                  }
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53753 53758]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53749]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53722 53760]
                      )
                    }
                  spids: [53721]
                )
              ]
              spids: [53721]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"resource requirements updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(resources)}
                                  {(deployments)}
                                  {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (200m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (512Mi)
                                  }
                                  {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (100m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (256Mi)
                                  }
                                  {(--all)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53826 53831]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53822]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53791 53833]
                      )
                    }
                  spids: [53790]
                )
              ]
              spids: [53790]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(resources)}
                                  {(deployments)}
                                  {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (200m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (512Mi)
                                  }
                                  {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (100m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (256Mi)
                                  }
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53894 53899]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53890]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53860 53901]
                      )
                    }
                  spids: [53859]
                )
              ]
              spids: [53859]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(resources)}
                                  {(deployments)}
                                  {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (200m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (512Mi)
                                  }
                                  {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (200m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (256Mi)
                                  }
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [53964 53969]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53960]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [53928 53971]
                      )
                    }
                  spids: [53927]
                )
              ]
              spids: [53927]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"resource requirements updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(resources)}
                                  {(deployments)}
                                  {(--limits) (Lit_Other "=") (Lit_VarLike "cpu=") (200m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (512Mi)
                                  }
                                  {(--requests) (Lit_Other "=") (Lit_VarLike "cpu=") (100m) 
                                    (Lit_Comma ",") (Lit_VarLike "memory=") (512Mi)
                                  }
                                  {(-l)}
                                  {(Lit_VarLike "run=") (web)}
                                  {(--include-uninitialized)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54040 54045]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54036]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54002 54047]
                      )
                    }
                  spids: [54001]
                )
              ]
              spids: [54001]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"resource requirements updated">)}
            )
            (AndOr
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {(create)}
                    {(--request-timeout) (Lit_Other "=") (1)}
                    {(-f)}
                    {(hack/testdata/initializer-redis-master-service.yaml)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [54098 54103]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[54094])]
                )
                (C {(true)})
              ]
              op_id: Op_DPipe
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(selector)}
                                  {(services)}
                                  {(Lit_VarLike "role=") (padawan)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54134 54139]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54130]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54116 54141]
                      )
                    }
                  spids: [54115]
                )
              ]
              spids: [54115]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"selector updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(selector)}
                                  {(services)}
                                  {(Lit_VarLike "role=") (padawan)}
                                  {(--all)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54194 54199]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54190]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54172 54201]
                      )
                    }
                  spids: [54171]
                )
              ]
              spids: [54171]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (AndOr
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {(create)}
                    {(--request-timeout) (Lit_Other "=") (1)}
                    {(-f)}
                    {(hack/testdata/initializer-clusterrolebinding.yaml)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [54248 54253]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[54244])]
                )
                (C {(true)})
              ]
              op_id: Op_DPipe
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-admin)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"super-admin:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(subject)}
                                  {(clusterrolebinding)}
                                  {(--user) (Lit_Other "=") (foo)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54304 54309]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54300]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54285 54311]
                      )
                    }
                  spids: [54284]
                )
              ]
              spids: [54284]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"subjects updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(subject)}
                                  {(clusterrolebinding)}
                                  {(--user) (Lit_Other "=") (foo)}
                                  {(--all)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54365 54370]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54361]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54342 54372]
                      )
                    }
                  spids: [54341]
                )
              ]
              spids: [54341]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(subject)}
                                  {(clusterrolebinding)}
                                  {(--user) (Lit_Other "=") (foo)}
                                  {(-l)}
                                  {(Lit_VarLike "clusterrolebinding=") (super)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54421 54426]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54417]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54399 54428]
                      )
                    }
                  spids: [54398]
                )
              ]
              spids: [54398]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(subject)}
                                  {(clusterrolebinding)}
                                  {(--user) (Lit_Other "=") (foo)}
                                  {(-l)}
                                  {(Lit_VarLike "clusterrolebinding=") (super)}
                                  {(--include-uninitialized)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54479 54484]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54475]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54455 54486]
                      )
                    }
                  spids: [54454]
                )
              ]
              spids: [54454]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"subjects updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(subject)}
                                  {(clusterrolebinding)}
                                  {(--user) (Lit_Other "=") (foo)}
                                  {(-l)}
                                  {(Lit_VarLike "clusterrolebinding=") (super)}
                                  {(--include-uninitialized)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54543 54548]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54539]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54517 54550]
                      )
                    }
                  spids: [54516]
                )
              ]
              spids: [54516]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"subjects updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(serviceaccount)}
                                  {(deployment)}
                                  {(serviceaccount1)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54603 54608]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54599]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54586 54610]
                      )
                    }
                  spids: [54585]
                )
              ]
              spids: [54585]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"serviceaccount updated">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(set)}
                                  {(serviceaccount)}
                                  {(deployment)}
                                  {(serviceaccount1)}
                                  {(--all)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54662 54667]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54658]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54641 54669]
                      )
                    }
                  spids: [54640]
                )
              ]
              spids: [54640]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_empty_string)
              } {(DQ (${ VSub_Name output_message))}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-admin)} {(DQ ("{{range.subjects}}{{.name}}:{{end}}"))} {(SQ <"super-admin:">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(delete)}
                                  {(clusterrolebinding)}
                                  {(--all)}
                                  {(--include-uninitialized) (Lit_Other "=") (false)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54737 54742]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54733]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54720 54744]
                      )
                    }
                  spids: [54719]
                )
              ]
              spids: [54719]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <"No resources found">)}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:output_message)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: 
                          (CommandList
                            children: [
                              (SimpleCommand
                                words: [
                                  {(kubectl)}
                                  {(delete)}
                                  {(clusterrolebinding)}
                                  {(--all)}
                                  {
                                    (DQ 
                                      (BracedVarSub
                                        token: <VSub_Name kube_flags>
                                        bracket_op: (WholeArray op_id:Lit_At)
                                        spids: [54788 54793]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54784]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub "$(">
                        spids: [54775 54795]
                      )
                    }
                  spids: [54774]
                )
              ]
              spids: [54774]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (if_has_string)
              } {(DQ (${ VSub_Name output_message))} {(SQ <deleted>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(clusterrolebinding/super-admin)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ )}
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(apply)}
                {(--prune)}
                {(--request-timeout) (Lit_Other "=") (20)}
                {(--include-uninitialized) (Lit_Other "=") (false)}
                {(--all)}
                {(-f)}
                {(hack/testdata/prune/a.yaml)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [54895 54900]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[54903])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods/a)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployments)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <web>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services/redis-master)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <redis-master>)}
            )
            (C {(kubectl)} {(delete)} {(pod)} {(a)})
            (SimpleCommand
              words: [
                {(kubectl)}
                {(apply)}
                {(--prune)}
                {(--request-timeout) (Lit_Other "=") (20)}
                {(--all)}
                {(-f)}
                {(hack/testdata/prune/a.yaml)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [55014 55019]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[55022])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods/a)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployments/web)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <web>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services/redis-master)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <redis-master>)}
            )
            (C {(kubectl)} {(delete)} {(pod)} {(a)})
            (SimpleCommand
              words: [
                {(kubectl)}
                {(apply)}
                {(--prune)}
                {(--request-timeout) (Lit_Other "=") (20)}
                {(--include-uninitialized)}
                {(--all)}
                {(-f)}
                {(hack/testdata/prune/a.yaml)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [55135 55140]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[55143])]
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(pods/a)} {(DQ ("{{") (${ VSub_Name id_field) ("}}"))} {(SQ <a>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(deployments/web)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} {(SQ <web>)}
            )
            (C 
              {(kube) (Lit_Other ":") (Lit_Other ":") (test) (Lit_Other ":") (Lit_Other ":") 
                (get_object_assert)
              } {(services/redis-master)} {(DQ ("{{range.items}}{{") ($ VSub_Name "$id_field") ("}}:{{end}}"))} 
              {(SQ <redis-master>)}
            )
            (C {(kubectl)} {(delete)} {(pod)} {(a)})
            (C {(kubectl)} {(delete)} {(--request-timeout) (Lit_Other "=") (1)} {(deploy)} {(web)})
            (C {(kubectl)} {(delete)} {(--request-timeout) (Lit_Other "=") (1)} {(service)} 
              {(redis-master)}
            )
            (C {(set)} {(Lit_Other "+") (o)} {(nounset)})
            (C {(set)} {(Lit_Other "+") (o)} {(errexit)})
          ]
          spids: [51709]
        )
      spids: [51705 51708]
    )
  ]
)