(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: [16777215 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: [16777215 541]
                )
              ]
              spids: [16777215 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: [16777215 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: [16777215 855]
                        )
                      ]
                      spids: [16777215 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: 16777215
                                            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: [16777215 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: [16777215 1309]
                )
              ]
              spids: [16777215 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: [16777215 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: [16777215 1486]
                            )
                          ]
                          spids: [16777215 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: [16777215 1608]
                        )
                      ]
                      spids: [16777215 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: 16777215
                              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: [16777215 1734]
                )
              ]
              spids: [16777215 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: [16777215 1766]
                )
              ]
              spids: [16777215 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') (Lit_Other '\\') (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: 16777215
                  arg_word: {(${ VSub_Name TEMP)}
                  spids: [6248]
                )
              ]
            )
            (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: [6285 6290]
                    )
                  )
                }
              ]
              more_env: [(env_pair name:EDITOR val:{(${ VSub_Name TEMP)} spids:[6269])]
            )
            (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: [6351 6356]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(rc/modified)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6367 6372]
                  )
                )
              }
            )
            (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: [6441 6446]
                    )
                  )
                }
              ]
              more_env: [(env_pair name:EDITOR val:{(${ VSub_Name TEMP)} spids:[6425])]
            )
            (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: [6514 6519]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(rc/modified)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6530 6535]
                  )
                )
              }
            )
            (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: [6565]
                                  )
                                ]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[6548])]
                              )
                              (C {(grep)} {(SQ <'Edit cancelled'>)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [6547 6575]
                  )
                )
              } {(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: [6623 6628]
                  )
                )
              }
            )
            (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: [6710 6715]
                                          )
                                        )
                                      }
                                      {(pod)}
                                      {(valid-pod)}
                                      {(-p) (Lit_Other '=') (SQ <'{"spec":{"replicas":7}}'>)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [6728]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [6702 6730]
                      )
                    }
                  spids: [6701]
                )
              ]
              spids: [6701]
            )
            (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: [6766 6771]
                  )
                )
              } {(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: [6848 6853]
                  )
                )
              } {(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: [6907 6912]
                  )
                )
              } {(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: [6961]
                )
              ]
              spids: [6961]
            )
            (C {(kubectl)} {(patch)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [6979 6984]
                  )
                )
              } {(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: [7038 7043]
                  )
                )
              } {(-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: [7087]
                )
              ]
              spids: [7087]
            )
            (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: [7129 7134]
                                            )
                                          )
                                        } {(pod)} {(valid-pod)} {(-o)} {(go-template) (Lit_Other '=') (SQ <'{{ .metadata.resourceVersion }}'>)}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [7123 7148]
                              )
                            }
                          spids: [7122]
                        )
                      ]
                      spids: [7122]
                    )
                    (AndOr
                      children: [
                        (SimpleCommand
                          words: [
                            {(kubectl)}
                            {(patch)}
                            {
                              (DQ 
                                (BracedVarSub
                                  token: <VSub_Name kube_flags>
                                  bracket_op: (WholeArray op_id:Lit_At)
                                  spids: [7156 7161]
                                )
                              )
                            }
                            {(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: [7178]
                            )
                          ]
                        )
                        (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: [7223 7229]
                                  )
                                )
                              }
                            )
                            (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: [7244 7249]
                                )
                              }
                            )
                          ]
                          spids: [16777215 7208]
                        )
                      ]
                      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: [7252 7288]
                    )
                  ]
                  spids: [7119 7291]
                )
              spids: [7113 7117]
            )
            (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: [7306 7311]
                                    )
                                  )
                                } {(pod)} {(valid-pod)} {(-o)} {(go-template) (Lit_Other '=') (SQ <'{{ .metadata.resourceVersion }}'>)}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [7300 7325]
                      )
                    }
                  spids: [7299]
                )
              ]
              spids: [7299]
            )
            (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: [7345 7350]
                        )
                      )
                    }
                    {(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: [7367]
                    )
                  ]
                )
                (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: [7418 7424]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 7401]
                )
              ]
              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: [7445 7451]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [7428 7460]
            )
            (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: [7486 7491]
                      )
                    )
                  } {(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: 16777215
                      arg_word: {(/tmp/tmp-valid-pod.json)}
                      spids: [7510]
                    )
                  ]
                )
              ]
              negated: False
            )
            (C {(kubectl)} {(replace)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [7520 7525]
                  )
                )
              } {(--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: [7574 7579]
                                          )
                                        )
                                      }
                                      {(--grace-period) (Lit_Other '=') (1)}
                                      {(-f)}
                                      {(/tmp/tmp-valid-pod.json)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [7590]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [7566 7592]
                      )
                    }
                  spids: [7565]
                )
              ]
              spids: [7565]
            )
            (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: [7628 7633]
                                          )
                                        )
                                      }
                                      {(--timeout) (Lit_Other '=') (1s)}
                                      {(-f)}
                                      {(/tmp/tmp-valid-pod.json)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [7644]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [7620 7646]
                      )
                    }
                  spids: [7619]
                )
              ]
              spids: [7619]
            )
            (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: [7696 7701]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: 16777215
                  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: [7704]
                )
              ]
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {(replace)}
                {(-f)}
                {(-)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [7754 7759]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: 16777215
                  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: [7762]
                )
              ]
            )
            (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: [7860 7865]
                  )
                )
              }
            )
            (SimpleCommand
              words: [
                {(echo)}
                {(-e)}
                {
                  (DQ ('#!/bin/bash') (Lit_Other '\\') (n) ($ VSub_Name '$SED') (' -i ') 
                    (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (s/nginx/gcr.io) (Lit_Other '\\') (/google_containers) (Lit_Other '\\') (/serve_hostname/g) 
                    (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' ') (EscapedLiteralPart token:<Lit_EscapedChar '\\$'>) (1)
                  )
                }
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: 16777215
                  arg_word: {(/tmp/tmp-editor.sh)}
                  spids: [7896]
                )
              ]
            )
            (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: [7946 7951]
                                            )
                                          )
                                        }
                                        {(pods/valid-pod)}
                                        {(--output-patch) (Lit_Other '=') (true)}
                                      ]
                                      more_env: [
                                        (env_pair
                                          name: EDITOR
                                          val: {(/tmp/tmp-editor.sh)}
                                          spids: [7938]
                                        )
                                      ]
                                    )
                                    (C {(grep)} {(Patch) (Lit_Other ':')})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [7937 7966]
                        )
                      )
                    }
                )
            )
            (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: [8024]
                                  )
                                ]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[8015])]
                              )
                              (C {(grep)} {(SQ <'Edit cancelled'>)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [8014 8034]
                  )
                )
              } {(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:[8044])]
                              )
                              (C {(grep)} {(SQ <'name: valid-pod'>)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [8043 8060]
                  )
                )
              } {(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:[8070])]
                              )
                              (C {(file)} {(-)})
                              (C {(grep)} {(CRLF)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [8069 8092]
                  )
                )
              } {(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:[8104])]
                              )
                              (C {(file)} {(-)})
                              (C {(grep)} {(CRLF)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [8103 8128]
                  )
                )
              } {(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:[8138])]
                              )
                              (C {(grep)} {(SQ <'kind: List'>)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [8137 8154]
                  )
                )
              } {(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: [8220 8225]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [8199 8227]
                      )
                    }
                  spids: [8198]
                )
              ]
              spids: [8198]
            )
            (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: [8335 8340]
                      )
                    )
                  }
                )
              ]
              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: [8425 8430]
                  )
                )
              }
            )
            (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: [8515 8520]
                  )
                )
              }
            )
            (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: [8593 8598]
                  )
                )
              }
            )
            (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: [8670 8675]
                  )
                )
              }
            )
            (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: [8752 8757]
                  )
                )
              }
            )
            (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: [8813 8818]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [8799 8826]
                            )
                          )
                        }
                    )
                )
              ]
              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: [8849 8854]
                      )
                    )
                  }
                )
                (SimpleCommand
                  words: [{($ VSub_Name '$SED')} {(SQ <s/test-pod-label/test-pod-replaced/g>)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 16777215
                      arg_word: {(DQ (${ VSub_Name KUBE_TEMP)) (/test-pod-replace.yaml)}
                      spids: [8865]
                    )
                  ]
                )
              ]
              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: [8893 8898]
                  )
                )
              }
            )
            (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: [8954 8959]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [8940 8967]
                            )
                          )
                        }
                    )
                )
              ]
              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: [8990 8995]
                  )
                )
              }
            )
            (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: [9049 9054]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9035 9062]
                        )
                      )
                    }
                )
            )
            (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: [9081 9086]
                      )
                    )
                  }
                )
                (SimpleCommand
                  words: [{(grep)} {(kubectl.kubernetes.io/last-applied-configuration)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 16777215
                      arg_word: {(DQ (${ VSub_Name KUBE_TEMP)) (/annotation-configuration)}
                      spids: [9095]
                    )
                  ]
                )
              ]
              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: [9122 9127]
                      )
                    )
                  }
                )
                (SimpleCommand
                  words: [{($ VSub_Name '$SED')} {(SQ <s/test-pod-applied/test-pod-replaced/g>)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 16777215
                      arg_word: {(DQ (${ VSub_Name KUBE_TEMP)) (/test-pod-replace.yaml)}
                      spids: [9138]
                    )
                  ]
                )
              ]
              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: [9166 9171]
                  )
                )
              }
            )
            (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: [9225 9230]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9211 9238]
                        )
                      )
                    }
                )
            )
            (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: [9257 9262]
                      )
                    )
                  }
                )
                (SimpleCommand
                  words: [{(grep)} {(kubectl.kubernetes.io/last-applied-configuration)}]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 16777215
                      arg_word: {(DQ (${ VSub_Name KUBE_TEMP)) (/annotation-configuration-replaced)}
                      spids: [9271]
                    )
                  ]
                )
              ]
              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: 16777215
                                        arg_word: {(/dev/null)}
                                        spids: [9304]
                                      )
                                    ]
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [9285 9307]
                          )
                        }
                    )
                )
              ]
              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: [9349 9354]
                  )
                )
              }
            )
            (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: [9459 9464]
                  )
                )
              }
            )
            (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: [9518 9523]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9504 9531]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(pods)} {(test-pod)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [9550 9555]
                  )
                )
              }
            )
            (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: [9602 9607]
                  )
                )
              }
            )
            (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: [9657 9662]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(RollingUpdate)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9643 9670]
                        )
                      )
                    }
                )
            )
            (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: [9693 9698]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(maxSurge)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9679 9706]
                        )
                      )
                    }
                )
            )
            (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: [9729 9734]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(maxUnavailable)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9715 9742]
                        )
                      )
                    }
                )
            )
            (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: [9765 9770]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(emptyDir)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9751 9778]
                        )
                      )
                    }
                )
            )
            (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: [9805 9810]
                                      )
                                    )
                                  }
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9795 9812]
                        )
                      )
                    }
                )
            )
            (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: [9839 9844]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(Recreate)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9825 9852]
                        )
                      )
                    }
                )
            )
            (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: [9877 9882]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} {(RollingUpdate)})
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [9863 9890]
                            )
                          )
                        }
                    )
                )
              ]
              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: [9913 9918]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(hostPath)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [9899 9926]
                        )
                      )
                    }
                )
            )
            (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: [9951 9956]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} {(emptyDir)})
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [9937 9964]
                            )
                          )
                        }
                    )
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(delete)} {(deployments)} {(test-deployment-retainkeys)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [9983 9988]
                  )
                )
              }
            )
            (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: [10041 10046]
                  )
                )
              }
            )
            (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: [10099 10104]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10095]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [10084 10106]
                      )
                    }
                  spids: [10083]
                )
              ]
              spids: [10083]
            )
            (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: [10193 10198]
                  )
                )
              }
            )
            (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: [10251 10256]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10247]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [10236 10258]
                      )
                    }
                  spids: [10235]
                )
              ]
              spids: [10235]
            )
            (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: [10302 10307]
                  )
                )
              }
            )
            (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: [10360 10365]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10356]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [10345 10367]
                      )
                    }
                  spids: [10344]
                )
              ]
              spids: [10344]
            )
            (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: [10452 10457]
                  )
                )
              }
            )
            (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: [10510 10515]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10506]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [10495 10517]
                      )
                    }
                  spids: [10494]
                )
              ]
              spids: [10494]
            )
            (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: [10559 10564]
                  )
                )
              }
            )
            (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: [10663 10668]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [10659]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [10646 10670]
                      )
                    }
                  spids: [10645]
                )
              ]
              spids: [10645]
            )
            (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: [10791 10796]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[10787])]
            )
            (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: [10841 10846]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[10837])]
            )
            (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: [10907 10912]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[10903])]
            )
            (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: [10966 10971]
                  )
                )
              }
            )
            (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: [11032 11037]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[11028])]
            )
            (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: [11115 11120]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[11111])]
            )
            (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: [11185 11190]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[11181])]
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [9384]
        )
      spids: [9380 9383]
    )
    (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: [11301 11306]
                  )
                )
              }
            )
            (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: [11359 11364]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [11355]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [11344 11366]
                      )
                    }
                  spids: [11343]
                )
              ]
              spids: [11343]
            )
            (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: [11220]
        )
      spids: [11216 11219]
    )
    (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: [11539 11544]
                  )
                )
              }
            )
            (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: [11658 11663]
                  )
                )
              }
            )
            (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: [11424]
        )
      spids: [11420 11423]
    )
    (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: [11998 12003]
                  )
                )
              }
            )
            (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: [12028 12033]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [12014 12041]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12060 12065]
                  )
                )
              }
            )
            (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: [12109 12114]
                  )
                )
              }
            )
            (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: [12137 12142]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [12123 12150]
                            )
                          )
                        }
                    )
                )
              ]
              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: [12160]
                )
              ]
              spids: [12160]
            )
            (SimpleCommand
              words: [
                {(echo)}
                {(-e)}
                {
                  (DQ ('#!/bin/bash') (Lit_Other '\\') (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: 16777215
                  arg_word: {(DQ (${ VSub_Name temp_editor))}
                  spids: [12187]
                )
              ]
            )
            (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: [12224 12229]
                    )
                  )
                }
              ]
              more_env: [(env_pair name:EDITOR val:{(${ VSub_Name temp_editor)} spids:[12208])]
            )
            (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: [12254 12259]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [12240 12267]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12286 12291]
                  )
                )
              }
            )
            (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: [12335 12340]
                  )
                )
              }
            )
            (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: [12363 12368]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [12349 12376]
                            )
                          )
                        }
                    )
                )
              ]
              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: [12397 12402]
                  )
                )
              }
            )
            (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: [12427 12432]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [12413 12440]
                        )
                      )
                    }
                )
            )
            (C {(kubectl)} {(delete)} {(-f)} {(hack/testdata/pod.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [12459 12464]
                  )
                )
              }
            )
            (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: [12518 12523]
                  )
                )
              }
            )
            (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: [12548 12553]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [12534 12561]
                        )
                      )
                    }
                )
            )
            (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: [12618 12623]
                  )
                )
              }
            )
            (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: [12648 12653]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [12634 12661]
                        )
                      )
                    }
                )
            )
            (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: [12719 12724]
                  )
                )
              }
            )
            (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: [12747 12752]
                                              )
                                            )
                                          }
                                        )
                                        (C {(grep)} 
                                          {(kubectl.kubernetes.io/last-applied-configuration)}
                                        )
                                      ]
                                      negated: False
                                    )
                                  ]
                                )
                              left_token: <Left_CommandSub '$('>
                              spids: [12733 12760]
                            )
                          )
                        }
                    )
                )
              ]
              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: [12781 12786]
                  )
                )
              } {(--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: [12815 12820]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(kubectl.kubernetes.io/last-applied-configuration)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [12801 12828]
                        )
                      )
                    }
                )
            )
            (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: [12857 12862]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [12853]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [12839 12864]
                      )
                    }
                  spids: [12838]
                )
              ]
              spids: [12838]
            )
            (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: [12905 12910]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [12901]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [12887 12912]
                      )
                    }
                  spids: [12886]
                )
              ]
              spids: [12886]
            )
            (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: [12957 12962]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [12953]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [12939 12964]
                      )
                    }
                  spids: [12938]
                )
              ]
              spids: [12938]
            )
            (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: [13003 13008]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [13021 13026]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [11917]
        )
      spids: [11913 11916]
    )
    (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: [13153 13158]
                  )
                )
              }
            )
            (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: [13239 13244]
                  )
                )
              }
            )
            (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: [13313 13318]
                  )
                )
              }
            )
            (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: [13352 13365]
                      )
                    }
                  spids: [13351]
                )
              ]
              spids: [13351]
            )
            (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: [13400 13405]
                  )
                )
              }
            )
            (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: [13429 13434]
                  )
                )
              }
            )
            (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: [13468 13481]
                      )
                    }
                  spids: [13467]
                )
              ]
              spids: [13467]
            )
            (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: [13516 13521]
                  )
                )
              }
            )
            (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: [13594 13599]
                  )
                )
              }
            )
            (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: [13641 13646]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [13053]
        )
      spids: [13049 13052]
    )
    (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: [13755 13760]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [13751]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [13740 13762]
                      )
                    }
                  spids: [13739]
                )
              ]
              spids: [13739]
            )
            (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: [13837 13842]
                                          )
                                        )
                                      }
                                      {(-o)}
                                      {(name)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [13833]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [13822 13848]
                      )
                    }
                  spids: [13821]
                )
              ]
              spids: [13821]
            )
            (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: [13919 13924]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(json)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [13915]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [13908 13930]
                      )
                    }
                  spids: [13907]
                )
              ]
              spids: [13907]
            )
            (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: [13972 13977]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(yaml)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [13968]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [13961 13983]
                      )
                    }
                  spids: [13960]
                )
              ]
              spids: [13960]
            )
            (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: [14025 14030]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(name)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14021]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14014 14036]
                      )
                    }
                  spids: [14013]
                )
              ]
              spids: [14013]
            )
            (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: [14078 14083]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(Lit_VarLike 'jsonpath=') (SQ <'{.items}'>)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14074]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14067 14092]
                      )
                    }
                  spids: [14066]
                )
              ]
              spids: [14066]
            )
            (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: [14134 14139]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(go-template) (Lit_Other '=') (SQ <'{{.items}}'>)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14130]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14123 14149]
                      )
                    }
                  spids: [14122]
                )
              ]
              spids: [14122]
            )
            (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: [14191 14196]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(custom-columns) (Lit_Other '=') (NAME) (Lit_Other ':') 
                                    (.metadata.name)
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14187]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14180 14206]
                      )
                    }
                  spids: [14179]
                )
              ]
              spids: [14179]
            )
            (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: [14277 14282]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14273]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14266 14284]
                      )
                    }
                  spids: [14265]
                )
              ]
              spids: [14265]
            )
            (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: [14328 14333]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14324]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14315 14335]
                      )
                    }
                  spids: [14314]
                )
              ]
              spids: [14314]
            )
            (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: [14377 14382]
                                      )
                                    )
                                  }
                                  {(-o)}
                                  {(wide)}
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14373]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14366 14388]
                      )
                    }
                  spids: [14365]
                )
              ]
              spids: [14365]
            )
            (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: [14463 14468]
                                          )
                                        )
                                      }
                                      {(-o)}
                                      {(json)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [14459]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14448 14474]
                      )
                    }
                  spids: [14447]
                )
              ]
              spids: [14447]
            )
            (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: [14542 14546]
                          )
                        )
                      }
                    )
                    (C {(exit)} {(1)})
                  ]
                  spids: [16777215 14525]
                )
              ]
              spids: [16777215 14555]
            )
            (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: [14583 14588]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [14579]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14564 14590]
                      )
                    }
                  spids: [14563]
                )
              ]
              spids: [14563]
            )
            (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: [14794 14799]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [14812 14817]
                  )
                )
              } {(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: [14858 14863]
                  )
                )
              } {(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: [14888 14893]
                  )
                )
              } {(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: [14938 14943]
                                        )
                                      )
                                    }
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14915 14945]
                      )
                    }
                  spids: [14914]
                )
              ]
              spids: [14914]
            )
            (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: [14997 15002]
                                        )
                                      )
                                    }
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [14973 15004]
                      )
                    }
                  spids: [14972]
                )
              ]
              spids: [14972]
            )
            (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: [15046 15051]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [15032 15053]
                      )
                    }
                  spids: [15031]
                )
              ]
              spids: [15031]
            )
            (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: [15119 15124]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [15101 15126]
                      )
                    }
                  spids: [15100]
                )
              ]
              spids: [15100]
            )
            (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: [15192 15197]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [15174 15199]
                      )
                    }
                  spids: [15173]
                )
              ]
              spids: [15173]
            )
            (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: [15263 15268]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [15271]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [15247 15273]
                      )
                    }
                  spids: [15246]
                )
              ]
              spids: [15246]
            )
            (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: [15309 15314]
                  )
                )
              }
            )
            (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: [15360 15365]
                  )
                )
              }
            )
            (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: [15396 15401]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [15379 15403]
                      )
                    }
                  spids: [15378]
                )
              ]
              spids: [15378]
            )
            (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: [15441 15446]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [13673]
        )
      spids: [13669 13672]
    )
    (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: [15544 15549]
                  )
                )
              } {(-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: [15566 15571]
                  )
                )
              } {(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: [15608 15620]
                      )
                    }
                  spids: [15607]
                )
              ]
              spids: [15607]
            )
            (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: [15663]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [15648 15665]
                      )
                    }
                  spids: [15647]
                )
              ]
              spids: [15647]
            )
            (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: [15706]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [15693 15708]
                      )
                    }
                  spids: [15692]
                )
              ]
              spids: [15692]
            )
            (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: [15753]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [15736 15755]
                      )
                    }
                  spids: [15735]
                )
              ]
              spids: [15735]
            )
            (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: [15791 15796]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [15473]
        )
      spids: [15469 15472]
    )
    (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: [15860 15865]
                    )
                  )
                }
                {(create)}
                {(-f)}
                {(-)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: 16777215
                  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: [15874]
                )
              ]
            )
            (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: [15993 15998]
                    )
                  )
                }
                {(create)}
                {(-f)}
                {(-)}
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: 16777215
                  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: [16007]
                )
              ]
            )
            (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: [16138 16143]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(customresourcedefinitions/bars.company.com)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags_with_token>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16154 16159]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [15823]
        )
      spids: [15819 15822]
    )
    (FuncDef
      name: 'kube::util::non_native_resources'
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:times) op:Equal spids:[16197])]
              spids: [16195]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:wait) op:Equal spids:[16202])]
              spids: [16200]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:failed) op:Equal spids:[16207])]
              spids: [16205]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:times) op:Equal rhs:{(30)} spids:[16210])]
              spids: [16210]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:wait) op:Equal rhs:{(10)} spids:[16214])]
              spids: [16214]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:i) op:Equal spids:[16220])]
              spids: [16218]
            )
            (ForEach
              iter_name: i
              iter_words: [
                {
                  (CommandSubPart
                    command_list: (CommandList children:[(C {(seq)} {(1)} {($ VSub_Name '$times')})])
                    left_token: <Left_CommandSub '$('>
                    spids: [16229 16235]
                  )
                }
              ]
              do_arg_iter: False
              body: 
                (DoGroup
                  children: [
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:failed)
                          op: Equal
                          rhs: {(DQ )}
                          spids: [16241]
                        )
                      ]
                      spids: [16241]
                    )
                    (AndOr
                      children: [
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [16249 16254]
                              )
                            )
                          } {(get)} {(--raw)} {(SQ </apis/company.com/v1>)}
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:failed)
                              op: Equal
                              rhs: {(true)}
                              spids: [16267]
                            )
                          ]
                          spids: [16267]
                        )
                      ]
                      op_id: Op_DPipe
                    )
                    (AndOr
                      children: [
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [16274 16279]
                              )
                            )
                          } {(get)} {(--raw)} {(SQ </apis/company.com/v1/foos>)}
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:failed)
                              op: Equal
                              rhs: {(true)}
                              spids: [16292]
                            )
                          ]
                          spids: [16292]
                        )
                      ]
                      op_id: Op_DPipe
                    )
                    (AndOr
                      children: [
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [16299 16304]
                              )
                            )
                          } {(get)} {(--raw)} {(SQ </apis/company.com/v1/bars>)}
                        )
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:failed)
                              op: Equal
                              rhs: {(true)}
                              spids: [16317]
                            )
                          ]
                          spids: [16317]
                        )
                      ]
                      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: [16777215 16337]
                        )
                      ]
                      spids: [16777215 16345]
                    )
                    (C {(sleep)} {(${ VSub_Name wait)})
                  ]
                  spids: [16238 16355]
                )
              spids: [16228 16236]
            )
            (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: [16192]
        )
      spids: [16182 16191]
    )
    (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: [16492 16497]
                  )
                )
              } {(create)} {(-f)} {(hack/testdata/CRD/foo.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16507 16512]
                  )
                )
              }
            )
            (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: [16631 16636]
                  )
                )
              } {(get)} {(foos)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16647 16652]
                  )
                )
              } {(get)} {(foos/test)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16663 16668]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(name)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16683 16688]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(name)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16703 16708]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(wide)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16723 16728]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(wide)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16743 16748]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(json)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16763 16768]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(json)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16783 16788]
                  )
                )
              } {(get)} {(foos)} {(-o)} {(yaml)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16803 16808]
                  )
                )
              } {(get)} {(foos/test)} {(-o)} {(yaml)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [16823 16828]
                  )
                )
              } {(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: [16849 16854]
                  )
                )
              } {(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: [16875 16880]
                  )
                )
              } {(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: [16901 16906]
                  )
                )
              } {(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: [16929 16934]
                                    )
                                  )
                                } {(get)} {(foos/test)} {(-o)} {(name)}
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [16925 16944]
                      )
                    }
                  spids: [16924]
                )
              ]
              spids: [16924]
            )
            (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: [16987 16992]
                  )
                )
              } {(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: [17032 17037]
                  )
                )
              } {(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: [17079 17084]
                  )
                )
              } {(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: [17127]
                )
              ]
              spids: [17127]
            )
            (SimpleCommand
              words: [
                {(kubectl)}
                {
                  (DQ 
                    (BracedVarSub
                      token: <VSub_Name kube_flags>
                      bracket_op: (WholeArray op_id:Lit_At)
                      spids: [17139 17144]
                    )
                  )
                }
                {(get)}
                {(foos/test)}
                {(-o)}
                {(json)}
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: 16777215
                  arg_word: {(DQ (${ VSub_Name CRD_RESOURCE_FILE))}
                  spids: [17155]
                )
              ]
            )
            (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: [17168]
                )
              ]
              spids: [17168]
            )
            (Pipeline
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [17182 17187]
                        )
                      )
                    }
                    {(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: [17208]
                    )
                  ]
                )
              ]
              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: [17250 17256]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 17234]
                )
              ]
              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: [17276 17282]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [17260 17291]
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17301 17306]
                  )
                )
              } {(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: [17343 17348]
                  )
                )
              } {(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: [17436 17441]
                  )
                )
              } {(label)} {(foos)} {(--all)} {(Lit_VarLike 'listlabel=') (true)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17457 17462]
                  )
                )
              } {(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: [17494 17499]
                  )
                )
              } {(annotate)} {(foos)} {(--all)} {(Lit_VarLike 'listannotation=') (true)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17515 17520]
                  )
                )
              } {(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: [17552 17557]
                  )
                )
              } {(describe)} {(foos)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17568 17573]
                  )
                )
              } {(describe)} {(foos/test)}
            )
            (Pipeline
              children: [
                (C {(kubectl)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [17584 17589]
                      )
                    )
                  } {(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: [17607 17612]
                      )
                    )
                  } {(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: [17635 17640]
                  )
                )
              } {(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: [17687 17692]
                  )
                )
              } {(create)} {(-f)} {(hack/testdata/CRD/bar.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [17702 17707]
                  )
                )
              }
            )
            (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: [17771 17776]
                                        )
                                      )
                                    } {(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: [17767 17802]
                      )
                    }
                  spids: [17765]
                )
              ]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:watch_pid) op:Equal spids:[17807])]
              spids: [17805]
            )
            (SimpleCommand
              words: [{(read)} {(watch_pid)}]
              redirects: [(Redir op_id:Redir_LessAnd fd:16777215 arg_word:{(3)} spids:[17812])]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:tries) op:Equal rhs:{(0)} spids:[17829])]
              spids: [17827]
            )
            (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: [17852 17857]
                                  )
                                }
                              spids: [17851]
                            )
                          ]
                          spids: [17851]
                        )
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [17863 17868]
                              )
                            )
                          } {(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: [17848 17901]
                    )
                )
              terminator: <Op_Amp '&'>
            )
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (LhsName name:patch_pid)
                  op: Equal
                  rhs: {($ VSub_Bang '$!')}
                  spids: [17908]
                )
              ]
              spids: [17906]
            )
            (Assignment
              keyword: Assign_Local
              pairs: [(assign_pair lhs:(LhsName name:watch_output) op:Equal spids:[17919])]
              spids: [17917]
            )
            (SimpleCommand
              words: [{(read)} {(-t)} {(30)} {(watch_output)}]
              redirects: [(Redir op_id:Redir_LessAnd fd:16777215 arg_word:{(3)} spids:[17924])]
            )
            (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: [17983 17988]
                  )
                )
              } {(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: [18035 18040]
                  )
                )
              } {(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: [18108 18113]
                  )
                )
              } {(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: [18179 18184]
                  )
                )
              } {(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: [18250 18255]
                  )
                )
              } {(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: [18321 18326]
                  )
                )
              } {(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: [18368 18373]
                  )
                )
              } {(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: [18416 18421]
                  )
                )
              } {(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: [18529 18534]
                  )
                )
              } {(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: [18638 18643]
                  )
                )
              } {(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: [18747 18752]
                  )
                )
              } {(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: [18856 18861]
                  )
                )
              } {(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: [18922 18927]
                  )
                )
              } {(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: [19052 19057]
                  )
                )
              } {(--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: [19135 19140]
                  )
                )
              } {(--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: [19205 19210]
                  )
                )
              } {(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: [19273 19278]
                  )
                )
              } {(create)} {(namespace)} {(non-native-resources)}
            )
            (C {(kubectl)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [19291 19296]
                  )
                )
              } {(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: [19336 19341]
                  )
                )
              } {(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:[19384])]
              spids: [19382]
            )
            (While
              cond: [
                (Sentence
                  child: 
                    (AndOr
                      children: [
                        (C {(kubectl)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [19393 19398]
                              )
                            )
                          } {(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: [19426 19431]
                              )
                            }
                          spids: [19425]
                        )
                      ]
                      spids: [19425]
                    )
                    (C {(sleep)} {(${ VSub_Name tries)})
                  ]
                  spids: [19422 19441]
                )
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [16391]
        )
      spids: [16387 16390]
    )
    (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: [19551 19556]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [19547]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [19534 19558]
                      )
                    }
                  spids: [19533]
                )
              ]
              spids: [19533]
            )
            (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: 16777215
                  arg_word: {(/tmp/tmp-editor.sh)}
                  spids: [19647]
                )
              ]
            )
            (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: [19681 19686]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [19677]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: EDITOR
                                        val: {(/tmp/tmp-editor.sh)}
                                        spids: [19664]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [19661 19688]
                      )
                    }
                  spids: [19660]
                )
              ]
              spids: [19660]
            )
            (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: [19804 19809]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [19800]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [19787 19811]
                      )
                    }
                  spids: [19786]
                )
              ]
              spids: [19786]
            )
            (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: [19912 19917]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [19908]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [19895 19919]
                      )
                    }
                  spids: [19894]
                )
              ]
              spids: [19894]
            )
            (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: [20040 20045]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20036]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [20018 20047]
                      )
                    }
                  spids: [20017]
                )
              ]
              spids: [20017]
            )
            (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: [20148 20153]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20144]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [20131 20155]
                      )
                    }
                  spids: [20130]
                )
              ]
              spids: [20130]
            )
            (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: [20251 20256]
                  )
                )
              }
            )
            (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: [20334 20339]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [20310 20341]
                      )
                    }
                  spids: [20309]
                )
              ]
              spids: [20309]
            )
            (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: [20406 20411]
                  )
                )
              }
            )
            (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: [20467 20472]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20463]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [20450 20474]
                      )
                    }
                  spids: [20449]
                )
              ]
              spids: [20449]
            )
            (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: [20573 20578]
                                          )
                                        )
                                      }
                                      {(-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: [20569]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [20556 20590]
                      )
                    }
                  spids: [20555]
                )
              ]
              spids: [20555]
            )
            (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: [20692 20697]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20688]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [20670 20699]
                      )
                    }
                  spids: [20669]
                )
              ]
              spids: [20669]
            )
            (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: [20811 20816]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20807]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [20788 20818]
                      )
                    }
                  spids: [20787]
                )
              ]
              spids: [20787]
            )
            (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: [20928 20933]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [20924]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [20905 20935]
                      )
                    }
                  spids: [20904]
                )
              ]
              spids: [20904]
            )
            (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: [21027 21032]
                      )
                    )
                  }
                )
              ]
              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: [21171 21176]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21167]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [21146 21178]
                      )
                    }
                  spids: [21145]
                )
              ]
              spids: [21145]
            )
            (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: [21271 21276]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(hpa)} {(busybox1)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [21289 21294]
                  )
                )
              }
            )
            (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: [21404 21409]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21400]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [21383 21411]
                      )
                    }
                  spids: [21382]
                )
              ]
              spids: [21382]
            )
            (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: [21597 21602]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21593]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [21572 21604]
                      )
                    }
                  spids: [21571]
                )
              ]
              spids: [21571]
            )
            (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: [21734 21739]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21730]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [21711 21741]
                      )
                    }
                  spids: [21710]
                )
              ]
              spids: [21710]
            )
            (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: [21837 21842]
                      )
                    )
                  }
                )
              ]
              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: [21923 21928]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [21919]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [21900 21930]
                      )
                    }
                  spids: [21899]
                )
              ]
              spids: [21899]
            )
            (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: [21988]
                )
              ]
              spids: [21988]
            )
            (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: [22005 22010]
                  )
                )
              }
            )
            (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: [22015 22021]
                      )
                    }
                  spids: [22014]
                )
              ]
              spids: [22014]
            )
            (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: [22083 22088]
                  )
                )
              }
            )
            (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: [22093 22099]
                      )
                    }
                  spids: [22092]
                )
              ]
              spids: [22092]
            )
            (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: [22168 22173]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [22164]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [22149 22175]
                      )
                    }
                  spids: [22148]
                )
              ]
              spids: [22148]
            )
            (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: [22270 22275]
                      )
                    )
                  } {(--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: [22340 22345]
                      )
                    )
                  }
                )
              ]
              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: [22402 22407]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [22398]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [22379 22409]
                      )
                    }
                  spids: [22378]
                )
              ]
              spids: [22378]
            )
            (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: [22478 22483]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [22474]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [22459 22485]
                      )
                    }
                  spids: [22458]
                )
              ]
              spids: [22458]
            )
            (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: [22573 22578]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [22569]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [22554 22580]
                      )
                    }
                  spids: [22553]
                )
              ]
              spids: [22553]
            )
            (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: [22661 22666]
                      )
                    )
                  } {(--grace-period) (Lit_Other '=') (0)} {(--force)}
                )
              ]
              negated: True
            )
            (C {(sleep)} {(1)})
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [19467]
        )
      spids: [19463 19466]
    )
    (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: [22948 22953]
                          )
                        )
                      } {(--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: [23032 23037]
                                                  )
                                                )
                                              }
                                              {(pod)}
                                              {(valid-pod)}
                                              {(--all-namespaces)}
                                            ]
                                            redirects: [
                                              (Redir
                                                op_id: Redir_GreatAnd
                                                fd: 2
                                                arg_word: {(1)}
                                                spids: [23046]
                                              )
                                            ]
                                          )
                                        ]
                                        negated: True
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [23024 23048]
                              )
                            }
                          spids: [23023]
                        )
                      ]
                      spids: [23023]
                    )
                    (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: [23111 23116]
                          )
                        )
                      } {(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: [16777215 22836]
                )
              ]
              spids: [16777215 23173]
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [22704]
        )
      spids: [22700 22703]
    )
    (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: [23430 23435]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(SQ <'key1: dmFsdWUx'>)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [23414 23445]
                        )
                      )
                    }
                )
            )
            (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: [23478 23481]
                                    )
                                  )
                                }
                              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: [16777215 23493]
                )
              ]
              spids: [16777215 23518]
            )
            (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: [23649 23654]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(SQ <'.dockercfg:'>)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [23633 23664]
                        )
                      )
                    }
                )
            )
            (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: [23697 23700]
                                    )
                                  )
                                }
                              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: [16777215 23712]
                )
              ]
              spids: [16777215 23737]
            )
            (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: [23874 23879]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: 16777215
                  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: [23882]
                )
              ]
            )
            (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: [24055 24058]
                                    )
                                  )
                                }
                              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: [16777215 24070]
                )
              ]
              spids: [16777215 24095]
            )
            (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: [24131 24173]
                        )
                      )
                    }
                )
            )
            (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: [23199]
        )
      spids: [23195 23198]
    )
    (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: [24305 24310]
                  )
                )
              }
            )
            (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: [24483 24488]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(SQ <'key1: value1'>)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [24467 24498]
                        )
                      )
                    }
                )
            )
            (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: [24232]
        )
      spids: [24228 24231]
    )
    (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: [24649 24654]
                  )
                )
              }
            )
            (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: [24940 24945]
                  )
                )
              }
            )
            (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: [24971 24976]
                      )
                    )
                  }
                )
              ]
              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: [25100 25105]
                  )
                )
              }
            )
            (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: [25131 25136]
                      )
                    )
                  }
                )
              ]
              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: [25187 25192]
                                    )
                                  )
                                }
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [25169 25194]
                      )
                    }
                  spids: [25168]
                )
              ]
              spids: [25168]
            )
            (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: [25240 25245]
                  )
                )
              }
            )
            (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: [25254 25257]
                                    )
                                  )
                                }
                              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: [16777215 25269]
                )
              ]
              spids: [16777215 25293]
            )
            (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: [25374 25379]
                      )
                    )
                  }
                )
              ]
              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: [25451 25456]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: 16777215
                  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: [25459]
                )
              ]
            )
            (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: [25570 25575]
                      )
                    )
                  } {(service-v1-test)} {(-o)} {(json)}
                )
                (C {(kubectl)} {(replace)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [25591 25596]
                      )
                    )
                  } {(-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: [25647 25652]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(service)} {(DQ (service-v1-test))} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [25667 25672]
                  )
                )
              }
            )
            (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: [25681 25684]
                                    )
                                  )
                                }
                              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: [16777215 25696]
                )
              ]
              spids: [16777215 25720]
            )
            (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: [25791 25796]
                  )
                )
              }
            )
            (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: [25809 25814]
                  )
                )
              }
            )
            (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: [25876 25881]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [25872]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [25853 25883]
                      )
                    }
                  spids: [25852]
                )
              ]
              spids: [25852]
            )
            (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: [25954 25959]
                  )
                )
              }
            )
            (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: [25971 25974]
                                    )
                                  )
                                }
                              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: [16777215 25986]
                )
              ]
              spids: [16777215 26010]
            )
            (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: [26155 26160]
                  )
                )
              }
            )
            (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: [26169 26172]
                                    )
                                  )
                                }
                              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: [16777215 26184]
                )
              ]
              spids: [16777215 26208]
            )
            (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: [24553]
        )
      spids: [24549 24552]
    )
    (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: [26335 26340]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [26353 26358]
                  )
                )
              }
            )
            (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: [26430 26435]
                  )
                )
              }
            )
            (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: [26729 26734]
                  )
                )
              }
            )
            (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: [26820 26825]
                      )
                    )
                  }
                )
              ]
              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: [26905 26910]
                  )
                )
              }
            )
            (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: [26990 26995]
                  )
                )
              }
            )
            (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: [27039 27044]
                  )
                )
              }
            )
            (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: [27062 27067]
                  )
                )
              }
            )
            (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: [27080 27085]
                  )
                )
              }
            )
            (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: [27106 27111]
                  )
                )
              }
            )
            (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: [27183 27188]
                  )
                )
              }
            )
            (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: [27206 27211]
                  )
                )
              }
            )
            (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: [27268 27273]
                  )
                )
              }
            )
            (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: [27291 27296]
                  )
                )
              }
            )
            (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: [27357 27362]
                  )
                )
              }
            )
            (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: [27380 27385]
                  )
                )
              }
            )
            (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: [27467 27472]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-controller.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [27490 27495]
                  )
                )
              }
            )
            (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: [27543 27548]
                  )
                )
              }
            )
            (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: [27602 27607]
                  )
                )
              }
            )
            (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: [27653 27658]
                  )
                )
              }
            )
            (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: [27679 27684]
                  )
                )
              }
            )
            (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: [27742 27747]
                  )
                )
              }
            )
            (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: [27797 27802]
                  )
                )
              }
            )
            (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: [27846 27851]
                  )
                )
              }
            )
            (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: [27874 27879]
                  )
                )
              }
            )
            (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: [27912 27917]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [27908]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [27897 27919]
                      )
                    }
                  spids: [27896]
                )
              ]
              spids: [27896]
            )
            (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: [27978 27983]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [27974]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [27955 27985]
                      )
                    }
                  spids: [27954]
                )
              ]
              spids: [27954]
            )
            (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: [28033 28038]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [28029]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [28016 28040]
                      )
                    }
                  spids: [28015]
                )
              ]
              spids: [28015]
            )
            (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: [28079 28084]
                  )
                )
              }
            )
            (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: [28116 28121]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [28112]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [28098 28123]
                      )
                    }
                  spids: [28097]
                )
              ]
              spids: [28097]
            )
            (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: [28216 28221]
                  )
                )
              }
            )
            (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: [28268 28273]
                  )
                )
              }
            )
            (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: [28343 28348]
                  )
                )
              }
            )
            (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: [28361 28366]
                  )
                )
              }
            )
            (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: [28440 28445]
                  )
                )
              }
            )
            (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: [28518 28523]
                  )
                )
              }
            )
            (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: [28561 28566]
                  )
                )
              } {(--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: [28614 28619]
                  )
                )
              }
            )
            (C {(kubectl)} {(autoscale)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28636 28641]
                  )
                )
              } {(--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: [28689 28694]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(autoscale)} {(rc)} {(frontend)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [28713 28718]
                      )
                    )
                  }
                )
              ]
              negated: True
            )
            (C {(kubectl)} {(delete)} {(rc)} {(frontend)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [28735 28740]
                  )
                )
              }
            )
            (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: [28808 28813]
                  )
                )
              }
            )
            (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: [28850 28855]
                      )
                    )
                  }
                )
              ]
              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: [28872 28877]
                  )
                )
              }
            )
            (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: [28970 28975]
                  )
                )
              }
            )
            (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: [29067 29072]
                  )
                )
              }
            )
            (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: [29143 29148]
                  )
                )
              }
            )
            (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: [29244 29249]
                  )
                )
              }
            )
            (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: [29286 29291]
                      )
                    )
                  }
                )
              ]
              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: [29365 29370]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [26259]
        )
      spids: [26255 26258]
    )
    (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: [29482 29495]
                      )
                    }
                  spids: [29481]
                )
              ]
              spids: [29481]
            )
            (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: [29540 29545]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [29536]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [29522 29547]
                      )
                    }
                  spids: [29521]
                )
              ]
              spids: [29521]
            )
            (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: [29588 29593]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [29584]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [29570 29595]
                      )
                    }
                  spids: [29569]
                )
              ]
              spids: [29569]
            )
            (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: [29630 29635]
                  )
                )
              }
            )
            (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: [29695 29708]
                      )
                    }
                  spids: [29694]
                )
              ]
              spids: [29694]
            )
            (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: [29753 29758]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [29749]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [29735 29760]
                      )
                    }
                  spids: [29734]
                )
              ]
              spids: [29734]
            )
            (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: [29801 29806]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [29797]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [29783 29808]
                      )
                    }
                  spids: [29782]
                )
              ]
              spids: [29782]
            )
            (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: [29933 29938]
                  )
                )
              }
            )
            (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: [29984 29989]
                  )
                )
              }
            )
            (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: [30031 30036]
                  )
                )
              }
            )
            (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: [30086 30091]
                  )
                )
              }
            )
            (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: [30133 30138]
                  )
                )
              }
            )
            (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: [30268 30273]
                  )
                )
              } {(--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: [30347 30352]
                                    )
                                  )
                                } {(-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: [30339 30376]
                      )
                    }
                  spids: [30338]
                )
              ]
              spids: [30338]
            )
            (C {(kubectl)} {(delete)} {(rs)} {(${ VSub_Name output_message)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30390 30395]
                  )
                )
              }
            )
            (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: [30441 30446]
                  )
                )
              }
            )
            (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: [30484 30489]
                  )
                )
              } {(--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: [30545 30550]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(deployment.extensions)} {(nginx-deployment)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [30563 30568]
                  )
                )
              }
            )
            (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: [30618 30623]
                  )
                )
              }
            )
            (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: [30691 30696]
                  )
                )
              }
            )
            (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: [30737 30742]
                  )
                )
              }
            )
            (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: [30789 30794]
                      )
                    )
                  }
                )
                (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: [30849 30854]
                  )
                )
              }
            )
            (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: [30906 30911]
                  )
                )
              }
            )
            (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: [30954 30959]
                  )
                )
              }
            )
            (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: [31007 31012]
                  )
                )
              }
            )
            (Pipeline
              children: [
                (C {(kubectl)} {(rollout)} {(undo)} {(deployment)} {(nginx)} 
                  {
                    (DQ 
                      (BracedVarSub
                        token: <VSub_Name kube_flags>
                        bracket_op: (WholeArray op_id:Lit_At)
                        spids: [31033 31038]
                      )
                    )
                  }
                )
              ]
              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: [31057 31062]
                  )
                )
              }
            )
            (C {(kubectl)} {(rollout)} {(undo)} {(deployment)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31081 31086]
                  )
                )
              }
            )
            (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: [31096 31118]
                        )
                      )
                    }
                  spids: [31094]
                )
              ]
              spids: [31094]
            )
            (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: [31191 31196]
                      )
                    )
                  }
                )
              ]
              negated: False
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx2)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31213 31218]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(deployment)} {(nginx)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31235 31240]
                  )
                )
              }
            )
            (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: [31286 31291]
                  )
                )
              }
            )
            (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: [31386 31391]
                  )
                )
              }
            )
            (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: [31463 31468]
                      )
                    )
                  }
                )
              ]
              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: [31494 31499]
                  )
                )
              }
            )
            (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: [31573 31578]
                  )
                )
              }
            )
            (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: [31652 31657]
                  )
                )
              } {(--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: [31740 31745]
                  )
                )
              }
            )
            (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: [31822 31827]
                  )
                )
              }
            )
            (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: [31892 31897]
                  )
                )
              }
            )
            (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: [31943 31948]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/configmap.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31961 31966]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/secret.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [31979 31984]
                  )
                )
              }
            )
            (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: [32069 32074]
                  )
                )
              }
            )
            (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: [32100 32105]
                  )
                )
              }
            )
            (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: [32128 32133]
                  )
                )
              }
            )
            (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: [32156 32161]
                  )
                )
              }
            )
            (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: [32195 32200]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(configmap)} {(test-set-env-config)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32213 32218]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(secret)} {(test-set-env-secret)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [32231 32236]
                  )
                )
              }
            )
            (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: [32289 32294]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[32285])]
                )
                (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: [32338 32343]
                  )
                )
              }
            )
            (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: [32367 32372]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [32363]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [32352 32374]
                      )
                    }
                  spids: [32351]
                )
              ]
              spids: [32351]
            )
            (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: [29397]
        )
      spids: [29393 29396]
    )
    (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: [32495 32500]
                  )
                )
              }
            )
            (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: [32526 32531]
                  )
                )
              }
            )
            (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: [32603 32608]
                  )
                )
              }
            )
            (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: [32634 32639]
                  )
                )
              } {(--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: [32715 32720]
                  )
                )
              }
            )
            (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: [32786 32791]
                  )
                )
              }
            )
            (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: [33116 33121]
                  )
                )
              }
            )
            (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: [33166 33171]
                  )
                )
              }
            )
            (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: [33184 33189]
                  )
                )
              }
            )
            (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: [33202 33207]
                  )
                )
              }
            )
            (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: [33450 33455]
                  )
                )
              }
            )
            (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: [33472 33477]
                  )
                )
              }
            )
            (C {(kubectl)} {(create)} {(-f)} {(hack/testdata/frontend-replicaset.yaml)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [33495 33500]
                  )
                )
              }
            )
            (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: [33548 33553]
                  )
                )
              }
            )
            (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: [33611 33616]
                  )
                )
              }
            )
            (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: [33666 33671]
                  )
                )
              }
            )
            (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: [33718 33723]
                  )
                )
              } {(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: [33767 33772]
                  )
                )
              } {(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: [33813 33818]
                  )
                )
              } 
              {(--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: [33898 33903]
                  )
                )
              }
            )
            (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: [33973 33978]
                  )
                )
              }
            )
            (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: [33991 33996]
                  )
                )
              }
            )
            (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: [34070 34075]
                  )
                )
              }
            )
            (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: [34155 34160]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[34151])]
                )
                (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: [34204 34209]
                  )
                )
              }
            )
            (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: [34233 34238]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [34229]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [34218 34240]
                      )
                    }
                  spids: [34217]
                )
              ]
              spids: [34217]
            )
            (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: [34325 34330]
                          )
                        )
                      }
                    )
                    (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: [34368 34373]
                          )
                        )
                      } {(--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: [34421 34426]
                          )
                        )
                      }
                    )
                    (C {(kubectl)} {(autoscale)} {(rs)} {(frontend)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [34443 34448]
                          )
                        )
                      } {(--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: [34496 34501]
                          )
                        )
                      }
                    )
                    (Pipeline
                      children: [
                        (C {(kubectl)} {(autoscale)} {(rs)} {(frontend)} 
                          {
                            (DQ 
                              (BracedVarSub
                                token: <VSub_Name kube_flags>
                                bracket_op: (WholeArray op_id:Lit_At)
                                spids: [34520 34525]
                              )
                            )
                          }
                        )
                      ]
                      negated: True
                    )
                    (C {(kubectl)} {(delete)} {(rs)} {(frontend)} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [34542 34547]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 34281]
                )
              ]
              spids: [16777215 34551]
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [32419]
        )
      spids: [32415 32418]
    )
    (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: [34653 34658]
                  )
                )
              }
            )
            (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: [34700 34705]
                  )
                )
              }
            )
            (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: [34751 34756]
                  )
                )
              } {(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: [34800 34805]
                  )
                )
              } {(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: [34846 34851]
                  )
                )
              } 
              {(--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: [34902 34907]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [34577]
        )
      spids: [34573 34576]
    )
    (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: [35016 35021]
                  )
                )
              }
            )
            (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: [35063 35068]
                  )
                )
              }
            )
            (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: [35132 35137]
                  )
                )
              }
            )
            (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: [35248 35253]
                  )
                )
              }
            )
            (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: [35343 35348]
                  )
                )
              }
            )
            (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: [35418 35423]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [35426]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [35402 35428]
                      )
                    }
                  spids: [35401]
                )
              ]
              spids: [35401]
            )
            (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: [35508 35513]
                  )
                )
              }
            )
            (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: [35599 35604]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [34934]
        )
      spids: [34930 34933]
    )
    (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: [35713 35718]
                  )
                )
              }
            )
            (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: [35760 35765]
                  )
                )
              }
            )
            (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: [35829 35834]
                  )
                )
              }
            )
            (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: [35945 35950]
                  )
                )
              }
            )
            (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: [36040 36045]
                  )
                )
              }
            )
            (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: [36115 36120]
                                          )
                                        )
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [36123]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [36099 36125]
                      )
                    }
                  spids: [36098]
                )
              ]
              spids: [36098]
            )
            (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: [36205 36210]
                  )
                )
              }
            )
            (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: [36296 36301]
                  )
                )
              }
            )
            (C {(wait-for-pods-with-label)} {(DQ ('app=nginx-statefulset'))} {(DQ )})
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [35631]
        )
      spids: [35627 35630]
    )
    (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: [36377]
                )
              ]
              spids: [36377]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:YAML) op:Equal rhs:{(DQ (.yaml))} spids:[36387])]
              spids: [36387]
            )
            (Assignment
              keyword: Assign_None
              pairs: [(assign_pair lhs:(LhsName name:JSON) op:Equal rhs:{(DQ (.json))} spids:[36393])]
              spids: [36393]
            )
            (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: [36426]
                                )
                              ]
                              spids: [36426]
                            )
                            (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: [36433 36437]
                                        ) (-modify.yaml)
                                      )
                                    }
                                  spids: [36431]
                                )
                              ]
                              spids: [36431]
                            )
                          ]
                          spids: [16777215 36423]
                        )
                      ]
                      else_action: [
                        (Assignment
                          keyword: Assign_None
                          pairs: [
                            (assign_pair
                              lhs: (LhsName name:file)
                              op: Equal
                              rhs: {($ VSub_Name '$file') ($ VSub_Name '$JSON')}
                              spids: [36445]
                            )
                          ]
                          spids: [36445]
                        )
                        (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: [36452 36456]
                                    ) (-modify.json)
                                  )
                                }
                              spids: [36450]
                            )
                          ]
                          spids: [36450]
                        )
                      ]
                      spids: [36442 36461]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:has_svc)
                          op: Equal
                          rhs: {(true)}
                          spids: [36465]
                        )
                      ]
                      spids: [36465]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:has_rc)
                          op: Equal
                          rhs: {(true)}
                          spids: [36469]
                        )
                      ]
                      spids: [36469]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:two_rcs)
                          op: Equal
                          rhs: {(false)}
                          spids: [36473]
                        )
                      ]
                      spids: [36473]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:two_svcs)
                          op: Equal
                          rhs: {(false)}
                          spids: [36477]
                        )
                      ]
                      spids: [36477]
                    )
                    (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: [36503]
                                )
                              ]
                              spids: [36503]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:two_rcs)
                                  op: Equal
                                  rhs: {(true)}
                                  spids: [36507]
                                )
                              ]
                              spids: [36507]
                            )
                          ]
                          spids: [16777215 36500]
                        )
                      ]
                      spids: [16777215 36511]
                    )
                    (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: [36536]
                                )
                              ]
                              spids: [36536]
                            )
                            (Assignment
                              keyword: Assign_None
                              pairs: [
                                (assign_pair
                                  lhs: (LhsName name:two_svcs)
                                  op: Equal
                                  rhs: {(true)}
                                  spids: [36540]
                                )
                              ]
                              spids: [36540]
                            )
                          ]
                          spids: [16777215 36533]
                        )
                      ]
                      spids: [16777215 36544]
                    )
                    (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: [36635 36640]
                          )
                        )
                      }
                    )
                    (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: [16777215 36681]
                                )
                              ]
                              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: [36705 36729]
                            )
                          ]
                          spids: [16777215 36663]
                        )
                      ]
                      spids: [16777215 36732]
                    )
                    (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: [16777215 36772]
                                )
                              ]
                              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: [36796 36820]
                            )
                          ]
                          spids: [16777215 36754]
                        )
                      ]
                      spids: [16777215 36823]
                    )
                    (C {(kubectl)} {(get)} {(-f)} {(DQ (${ VSub_Name file))} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [36843 36848]
                          )
                        )
                      }
                    )
                    (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: [36856]
                        )
                      ]
                      spids: [36856]
                    )
                    (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: [36878 36883]
                                )
                              )
                            }
                            {(DQ (--watch))}
                          ]
                          redirects: [
                            (Redir
                              op_id: Redir_Great
                              fd: 2
                              arg_word: {(${ VSub_Name WATCH_ERROR_FILE)}
                              spids: [36890]
                            )
                          ]
                        )
                        (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: [36933 36939]
                                  )
                                )
                              } {(DQ (1))}
                            )
                          ]
                          spids: [16777215 36920]
                        )
                      ]
                      spids: [16777215 36947]
                    )
                    (C {(kubectl)} {(describe)} {(-f)} {(DQ (${ VSub_Name file))} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [36963 36968]
                          )
                        )
                      }
                    )
                    (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: [36989 36994]
                          )
                        )
                      }
                    )
                    (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: [16777215 37060]
                                )
                              ]
                              spids: [16777215 37088]
                            )
                          ]
                          spids: [16777215 37017]
                        )
                      ]
                      spids: [16777215 37091]
                    )
                    (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: [16777215 37152]
                                )
                              ]
                              spids: [16777215 37180]
                            )
                          ]
                          spids: [16777215 37109]
                        )
                      ]
                      spids: [16777215 37183]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:temp_editor)
                          op: Equal
                          rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/tmp-editor.sh))}
                          spids: [37190]
                        )
                      ]
                      spids: [37190]
                    )
                    (SimpleCommand
                      words: [
                        {(echo)}
                        {(-e)}
                        {
                          (DQ ('#!/bin/bash') (Lit_Other '\\') (n) ($ VSub_Name '$SED') (' -i ') 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar '\\"'>
                            ) (s/status) (Lit_Other '\\') (':') (Lit_Other '\\') (' replaced/status') (Lit_Other '\\') (':') 
                            (Lit_Other '\\') (' edited/g') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' ') 
                            (EscapedLiteralPart
                              token: <Lit_EscapedChar '\\$'>
                            ) ('@')
                          )
                        }
                      ]
                      redirects: [
                        (Redir
                          op_id: Redir_Great
                          fd: 16777215
                          arg_word: {(DQ (${ VSub_Name temp_editor))}
                          spids: [37225]
                        )
                      ]
                    )
                    (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: [37258 37263]
                            )
                          )
                        }
                        {(-f)}
                        {(DQ (${ VSub_Name file))}
                      ]
                      more_env: [
                        (env_pair
                          name: EDITOR
                          val: {(DQ (${ VSub_Name temp_editor))}
                          spids: [37246]
                        )
                      ]
                    )
                    (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: [16777215 37337]
                                )
                              ]
                              spids: [16777215 37365]
                            )
                          ]
                          spids: [16777215 37294]
                        )
                      ]
                      spids: [16777215 37368]
                    )
                    (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: [16777215 37429]
                                )
                              ]
                              spids: [16777215 37457]
                            )
                          ]
                          spids: [16777215 37386]
                        )
                      ]
                      spids: [16777215 37460]
                    )
                    (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: [37506 37511]
                          )
                        )
                      }
                    )
                    (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: [16777215 37577]
                                )
                              ]
                              spids: [16777215 37605]
                            )
                          ]
                          spids: [16777215 37534]
                        )
                      ]
                      spids: [16777215 37608]
                    )
                    (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: [16777215 37669]
                                )
                              ]
                              spids: [16777215 37697]
                            )
                          ]
                          spids: [16777215 37626]
                        )
                      ]
                      spids: [16777215 37700]
                    )
                    (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: [37737 37742]
                          )
                        )
                      }
                    )
                    (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: [16777215 37808]
                                )
                              ]
                              spids: [16777215 37836]
                            )
                          ]
                          spids: [16777215 37765]
                        )
                      ]
                      spids: [16777215 37839]
                    )
                    (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: [16777215 37900]
                                )
                              ]
                              spids: [16777215 37928]
                            )
                          ]
                          spids: [16777215 37857]
                        )
                      ]
                      spids: [16777215 37931]
                    )
                    (C {(kubectl)} {(delete)} {(-f)} {(DQ (${ VSub_Name file))} 
                      {
                        (DQ 
                          (BracedVarSub
                            token: <VSub_Name kube_flags>
                            bracket_op: (WholeArray op_id:Lit_At)
                            spids: [37951 37956]
                          )
                        )
                      }
                    )
                  ]
                  spids: [36408 37960]
                )
              spids: [36404 36406]
            )
            (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: [38037 38042]
                  )
                )
              }
            )
            (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: [38109 38114]
                  )
                )
              }
            )
            (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: [36342]
        )
      spids: [36338 36341]
    )
    (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: [38254 38259]
                                        ) (/apiserver.crt)
                                      )
                                    }
                                  )
                                ]
                                op_id: Op_DAmp
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [38242 38262]
                      )
                    }
                  spids: [38241]
                )
              ]
              spids: [38241]
            )
            (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: [38282 38297]
                      )
                    }
                  spids: [38281]
                )
              ]
              spids: [38281]
            )
            (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: [38302 38314]
                      )
                    }
                  spids: [38301]
                )
              ]
              spids: [38301]
            )
            (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: [38331 38346]
                      )
                    }
                  spids: [38330]
                )
              ]
              spids: [38330]
            )
            (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: [38186]
        )
      spids: [38182 38185]
    )
    (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: [16777215 38465]
                )
              ]
              spids: [16777215 38475]
            )
            (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: [16777215 38496]
                )
              ]
              spids: [16777215 38506]
            )
            (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: [16777215 38572]
                )
              ]
              spids: [16777215 38582]
            )
            (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: [38387]
        )
      spids: [38383 38386]
    )
    (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: [38653]
                )
              ]
              spids: [38653]
            )
            (AndOr
              children: [
                (SimpleCommand
                  words: [
                    {(kubectl)}
                    {(get)}
                    {
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name kube_flags>
                          bracket_op: (WholeArray op_id:Lit_At)
                          spids: [38680 38685]
                        )
                      )
                    }
                    {(unknownresourcetype)}
                  ]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(${ VSub_Name RESTMAPPER_ERROR_FILE)}
                      spids: [38690]
                    )
                  ]
                )
                (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: [38733 38739]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 38717]
                )
              ]
              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: [38759 38765]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [38743 38774]
            )
            (C {(rm)} {(DQ (${ VSub_Name RESTMAPPER_ERROR_FILE))})
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [38618]
        )
      spids: [38614 38617]
    )
    (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: [38900 38905]
                  )
                )
              } {(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: [38983 38988]
                  )
                )
              } {(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: [39070 39075]
                  )
                )
              } {(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: [39178 39183]
                  )
                )
              } {(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: [39257 39262]
                  )
                )
              } {(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: [39304 39309]
                  )
                )
              } {(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: [39345 39350]
                  )
                )
              } {(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: [39395 39400]
                  )
                )
              } {(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: [39442 39447]
                  )
                )
              } {(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: [39483 39488]
                  )
                )
              } {(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: [39533 39538]
                  )
                )
              } {(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: [39601 39606]
                  )
                )
              } {(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: [39673 39678]
                  )
                )
              } {(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: [39739 39744]
                  )
                )
              } {(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: [39781 39786]
                  )
                )
              } {(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: [39847 39852]
                  )
                )
              } {(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: [39889 39894]
                  )
                )
              } {(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: [39957 39962]
                  )
                )
              } {(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: [38813]
        )
      spids: [38809 38812]
    )
    (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: [40081 40086]
                  )
                )
              } {(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: [40168 40173]
                                          )
                                        )
                                      }
                                      {(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: [40188]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [40160 40190]
                      )
                    }
                  spids: [40159]
                )
              ]
              spids: [40159]
            )
            (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: [40224 40229]
                  )
                )
              } {(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: [40313 40318]
                                          )
                                        )
                                      }
                                      {(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: [40335]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [40305 40337]
                      )
                    }
                  spids: [40304]
                )
              ]
              spids: [40304]
            )
            (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: [40375 40380]
                  )
                )
              } {(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: [40464 40469]
                  )
                )
              } {(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: [40553 40558]
                                          )
                                        )
                                      }
                                      {(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: [40575]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [40545 40577]
                      )
                    }
                  spids: [40544]
                )
              ]
              spids: [40544]
            )
            (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: [40615 40620]
                  )
                )
              } {(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: [40727 40732]
                  )
                )
              } {(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: [40037]
        )
      spids: [40033 40036]
    )
    (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: [40881 40889]
                      )
                    }
                  spids: [40880]
                )
              ]
              spids: [40880]
            )
            (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: [40832]
        )
      spids: [40828 40831]
    )
    (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: [40971 40989]
                      )
                    }
                  spids: [40970]
                )
              ]
              spids: [40970]
            )
            (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: [40939]
        )
      spids: [40935 40938]
    )
    (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: [41085]
                )
              ]
              spids: [41085]
            )
            (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: [41103 41108]
                        )
                      )
                    }
                  ]
                  redirects: [
                    (Redir
                      op_id: Redir_Great
                      fd: 2
                      arg_word: {(DQ (${ VSub_Name ERROR_FILE))}
                      spids: [41111]
                    )
                  ]
                )
                (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: [41163 41169]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 41149]
                )
              ]
              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: [41187 41193]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [41173 41202]
            )
            (C {(rm)} {(DQ (${ VSub_Name ERROR_FILE))})
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [41034]
        )
      spids: [41030 41033]
    )
    (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: [41277 41287]
                      )
                    }
                  spids: [41276]
                )
              ]
              spids: [41276]
            )
            (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: [41336]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [41323 41338]
                      )
                    }
                  spids: [41322]
                )
              ]
              spids: [41322]
            )
            (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: [41237]
        )
      spids: [41233 41236]
    )
    (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: [41445]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [41427 41447]
                      )
                    }
                  spids: [41426]
                )
              ]
              spids: [41426]
            )
            (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: [41497]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [41479 41499]
                      )
                    }
                  spids: [41478]
                )
              ]
              spids: [41478]
            )
            (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: [41548]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [41530 41550]
                      )
                    }
                  spids: [41529]
                )
              ]
              spids: [41529]
            )
            (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: [41601]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [41586 41603]
                      )
                    }
                  spids: [41585]
                )
              ]
              spids: [41585]
            )
            (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: [41654]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [41639 41656]
                      )
                    }
                  spids: [41638]
                )
              ]
              spids: [41638]
            )
            (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: [41707]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [41692 41709]
                      )
                    }
                  spids: [41691]
                )
              ]
              spids: [41691]
            )
            (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: 16777215
                      arg_word: 
                        {
                          (DQ 
                            (BracedVarSub
                              token: <VSub_Name TMPDIR>
                              suffix_op: 
                                (StringUnary
                                  op_id: VTest_ColonHyphen
                                  arg_word: {(Lit_Slash /) (tmp)}
                                )
                              spids: [41759 41764]
                            )
                          ) (/newconfig.yaml)
                        }
                      spids: [41756]
                    )
                  ]
                )
              ]
              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: [41797 41802]
                                          )
                                        ) (/newconfig.yaml)
                                      }
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [41806]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [41770 41808]
                      )
                    }
                  spids: [41769]
                )
              ]
              spids: [41769]
            )
            (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: [41845]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [41832 41847]
                      )
                    }
                  spids: [41831]
                )
              ]
              spids: [41831]
            )
            (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: [41383]
        )
      spids: [41379 41382]
    )
    (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: [41892]
        )
      spids: [41888 41891]
    )
    (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: [42172 42177]
                  )
                )
              }
            )
            (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: [42216 42221]
                  )
                )
              }
            )
            (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: [42240 42245]
                                          )
                                        )
                                      }
                                    )
                                    (C {(grep)} {(nginx)})
                                  ]
                                  negated: False
                                )
                              ]
                            )
                          left_token: <Left_CommandSub '$('>
                          spids: [42228 42253]
                        )
                      )
                    }
                )
            )
            (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: [42300 42305]
                  )
                )
              }
            )
            (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: [42098]
        )
      spids: [42094 42097]
    )
    (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: [42430 42435]
                  )
                )
              }
            )
            (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: [42515 42520]
                  )
                )
              }
            )
            (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: [42611 42616]
                  )
                )
              }
            )
            (C {(wait-for-pods-with-label)} {(DQ ('app=nginx-statefulset'))} {(DQ )})
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [42354]
        )
      spids: [42350 42353]
    )
    (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: [42710 42715]
                  )
                )
              }
            )
            (C {(kubectl)} {(delete)} {(service/list-service-test)} {(deployment/list-deployment-test)})
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [42658]
        )
      spids: [42654 42657]
    )
    (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: [42836 42841]
                  )
                )
              }
            )
            (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: [42875 42880]
                  )
                )
              }
            )
            (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: [42893 42898]
                  )
                )
              }
            )
            (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: [42932 42937]
                  )
                )
              }
            )
            (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: [42950 42955]
                  )
                )
              }
            )
            (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: [42989 42994]
                  )
                )
              }
            )
            (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: [42760]
        )
      spids: [42756 42759]
    )
    (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: [43121 43126]
                  )
                )
              }
            )
            (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: [43160 43165]
                  )
                )
              }
            )
            (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: [43179 43184]
                  )
                )
              }
            )
            (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: [43218 43223]
                  )
                )
              }
            )
            (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: [43237 43242]
                  )
                )
              }
            )
            (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: [43276 43281]
                  )
                )
              }
            )
            (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: [43045]
        )
      spids: [43041 43044]
    )
    (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: [43405 43410]
                    )
                  )
                }
              ]
              redirects: [
                (HereDoc
                  op_id: Redir_DLess
                  fd: 16777215
                  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: [43413]
                )
              ]
            )
            (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: [43538 43543]
                  )
                )
              }
            )
            (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: [43332]
        )
      spids: [43328 43331]
    )
    (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: [43880 43885]
                  )
                )
              } {(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: [43931 43936]
                  )
                )
              } {(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: [43595]
        )
      spids: [43591 43594]
    )
    (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: [44102]
                )
              ]
              spids: [44102]
            )
            (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: 16777215
                  arg_word: {(DQ (${ VSub_Name SAR_RESULT_FILE))}
                  spids: [44134]
                )
              ]
            )
            (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: [44176 44184]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 44160]
                )
              ]
              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: [44204 44212]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [44188 44221]
            )
            (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: [44234]
                )
              ]
              spids: [44234]
            )
            (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: 16777215
                  arg_word: {(DQ (${ VSub_Name SAR_RESULT_FILE))}
                  spids: [44266]
                )
              ]
            )
            (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: [44308 44316]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 44292]
                )
              ]
              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: [44336 44344]
                      )
                    )
                  }
                )
                (C {(exit)} {(1)})
              ]
              spids: [44320 44353]
            )
            (C {(rm)} {(DQ (${ VSub_Name SAR_RESULT_FILE))})
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [44035]
        )
      spids: [44031 44034]
    )
    (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: [44388]
        )
      spids: [44384 44387]
    )
    (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: [44530 44535]
                  )
                )
              }
            )
            (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: [44548 44553]
                  )
                )
              }
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:object)
                  op: Equal
                  rhs: {(DQ ("all -l'app=cassandra'"))}
                  spids: [44558]
                )
              ]
              spids: [44558]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:request)
                  op: Equal
                  rhs: {(DQ ('{{range.items}}{{range .metadata.labels}}{{.}}:{{end}}{{end}}'))}
                  spids: [44564]
                )
              ]
              spids: [44564]
            )
            (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: [44657 44662]
                  )
                )
              }
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [44487]
        )
      spids: [44483 44486]
    )
    (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: [44689]
        )
      spids: [44685 44688]
    )
    (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: [44804]
                )
              ]
              spids: [44804]
            )
            (SimpleCommand
              words: [
                {(curl)}
                {(-s)}
                {(DQ ('http://127.0.0.1:') (${ VSub_Name API_PORT) (/swaggerapi/api/v1))}
              ]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: 16777215
                  arg_word: {(DQ (${ VSub_Name file))}
                  spids: [44825]
                )
              ]
            )
            (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: [44837 44849]
                        )
                      )
                    }
                )
            )
            (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: [44858 44870]
                        )
                      )
                    }
                )
            )
            (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: [44879 44891]
                        )
                      )
                    }
                )
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [44768]
        )
      spids: [44764 44767]
    )
    (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: [45052 45057]
                  )
                )
              } {(-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: [45095 45107]
                      )
                    }
                  spids: [45094]
                )
              ]
              spids: [45094]
            )
            (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: [45167 45172]
                  )
                )
              } {(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: [45252 45257]
                  )
                )
              } {(-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: [45299 45304]
                  )
                )
              } {(-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: [45346 45351]
                  )
                )
              } {(-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: [45390 45402]
                      )
                    }
                  spids: [45389]
                )
              ]
              spids: [45389]
            )
            (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: [45430 45442]
                      )
                    }
                  spids: [45429]
                )
              ]
              spids: [45429]
            )
            (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: [45503 45508]
                  )
                )
              } {(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: [44920]
        )
      spids: [44916 44919]
    )
    (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: [45672 45677]
                  )
                )
              } {(-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: [45771 45776]
                  )
                )
              } {(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: [45569]
        )
      spids: [45565 45568]
    )
    (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: [45882 45887]
                  )
                )
              }
            )
            (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: [45920 45925]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} {(csr)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [45936 45941]
                  )
                )
              } {(-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: [45979 45984]
                  )
                )
              }
            )
            (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: [46018 46023]
                  )
                )
              }
            )
            (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: [46058 46063]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} {(csr)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46074 46079]
                  )
                )
              } {(-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: [46117 46122]
                  )
                )
              }
            )
            (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: [46160 46165]
                  )
                )
              }
            )
            (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: [46198 46203]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} {(csr)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46214 46219]
                  )
                )
              } {(-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: [46257 46262]
                  )
                )
              }
            )
            (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: [46296 46301]
                  )
                )
              }
            )
            (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: [46336 46341]
                  )
                )
              }
            )
            (C {(kubectl)} {(get)} {(csr)} 
              {
                (DQ 
                  (BracedVarSub
                    token: <VSub_Name kube_flags>
                    bracket_op: (WholeArray op_id:Lit_At)
                    spids: [46352 46357]
                  )
                )
              } {(-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: [46395 46400]
                  )
                )
              }
            )
            (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: [45837]
        )
      spids: [45833 45836]
    )
    (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: [46680 46690]
                      )
                    }
                  spids: [46679]
                )
              ]
              spids: [46679]
            )
            (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: [46799]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [46783 46801]
                      )
                    }
                  spids: [46782]
                )
              ]
              spids: [46782]
            )
            (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: [46840]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [46833 46842]
                      )
                    }
                  spids: [46832]
                )
              ]
              spids: [46832]
            )
            (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: [46883 46890]
                      )
                    }
                  spids: [46882]
                )
              ]
              spids: [46882]
            )
            (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: [46447]
        )
      spids: [46443 46446]
    )
    (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: [47005]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [46998]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [46997 47007]
                      )
                    }
                  spids: [46996]
                )
              ]
              spids: [46996]
            )
            (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: [47042]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47035 47044]
                      )
                    }
                  spids: [47034]
                )
              ]
              spids: [47034]
            )
            (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: [47082]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: KUBECTL_PLUGINS_PATH
                                        val: {(test/fixtures/pkg/kubectl/plugins)}
                                        spids: [47075]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47072 47084]
                      )
                    }
                  spids: [47071]
                )
              ]
              spids: [47071]
            )
            (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: [47219]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ':') 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47208]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47207 47221]
                      )
                    }
                  spids: [47206]
                )
              ]
              spids: [47206]
            )
            (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: [47337]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ':') 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47326]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47325 47339]
                      )
                    }
                  spids: [47324]
                )
              ]
              spids: [47324]
            )
            (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: [47399]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ':') 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47386]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47385 47401]
                      )
                    }
                  spids: [47384]
                )
              ]
              spids: [47384]
            )
            (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: [47460]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ':') 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47449]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47448 47462]
                      )
                    }
                  spids: [47447]
                )
              ]
              spids: [47447]
            )
            (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: [47497]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: 
                                      {(test/fixtures/pkg/kubectl/plugins/) (Lit_Other ':') 
                                        (test/fixtures/pkg/kubectl/plugins2/)
                                      }
                                    spids: [47486]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47485 47499]
                      )
                    }
                  spids: [47484]
                )
              ]
              spids: [47484]
            )
            (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: [47534]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: KUBECTL_PLUGINS_PATH
                                        val: {(test/fixtures/pkg/kubectl/plugins/)}
                                        spids: [47525]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47522 47536]
                      )
                    }
                  spids: [47521]
                )
              ]
              spids: [47521]
            )
            (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: [47571]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: KUBECTL_PLUGINS_PATH
                                        val: {(test/fixtures/pkg/kubectl/plugins/)}
                                        spids: [47562]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47559 47573]
                      )
                    }
                  spids: [47558]
                )
              ]
              spids: [47558]
            )
            (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: [47613]
                                      )
                                    ]
                                    more_env: [
                                      (env_pair
                                        name: KUBECTL_PLUGINS_PATH
                                        val: {(test/fixtures/pkg/kubectl/plugins)}
                                        spids: [47604]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47601 47615]
                      )
                    }
                  spids: [47600]
                )
              ]
              spids: [47600]
            )
            (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: [47709]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [47696]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47695 47711]
                      )
                    }
                  spids: [47694]
                )
              ]
              spids: [47694]
            )
            (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: [47784]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [47773]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47772 47786]
                      )
                    }
                  spids: [47771]
                )
              ]
              spids: [47771]
            )
            (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: [47864]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [47853]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47852 47866]
                      )
                    }
                  spids: [47851]
                )
              ]
              spids: [47851]
            )
            (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: [47945]
                                  )
                                ]
                                more_env: [
                                  (env_pair
                                    name: KUBECTL_PLUGINS_PATH
                                    val: {(test/fixtures/pkg/kubectl/plugins)}
                                    spids: [47928]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [47927 47947]
                      )
                    }
                  spids: [47926]
                )
              ]
              spids: [47926]
            )
            (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: [46960]
        )
      spids: [46956 46959]
    )
    (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: [48187 48192]
                                          )
                                        )
                                      }
                                      {(--as-group) (Lit_Other '=') (foo)}
                                    ]
                                    redirects: [
                                      (Redir
                                        op_id: Redir_GreatAnd
                                        fd: 2
                                        arg_word: {(1)}
                                        spids: [48199]
                                      )
                                    ]
                                  )
                                ]
                                negated: True
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [48177 48201]
                      )
                    }
                  spids: [48176]
                )
              ]
              spids: [48176]
            )
            (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: [48258 48263]
                          )
                        )
                      } {(--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: [48322 48327]
                          )
                        )
                      }
                    )
                    (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: [48345 48350]
                          )
                        )
                      } {(--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: [48424 48429]
                          )
                        )
                      }
                    )
                  ]
                  spids: [16777215 48242]
                )
              ]
              spids: [16777215 48433]
            )
            (C {(set)} {(Lit_Other '+') (o)} {(nounset)})
            (C {(set)} {(Lit_Other '+') (o)} {(errexit)})
          ]
          spids: [48144]
        )
      spids: [48140 48143]
    )
    (FuncDef
      name: runTests
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:foundError)
                  op: Equal
                  rhs: {(DQ (False))}
                  spids: [48470]
                )
              ]
              spids: [48470]
            )
            (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: [48484 48487]
                              )
                            )
                          } {(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: [16777215 48493]
                )
              ]
              spids: [16777215 48508]
            )
            (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: [48546 48554]
                              )
                            }
                          spids: [48545]
                        )
                      ]
                      spids: [48545]
                    )
                    (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: [48542]
                )
              spids: [48538 48541]
            )
            (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: [48613]
                )
              ]
              spids: [48613]
            )
            (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: [48635]
                )
              ]
              spids: [48635]
            )
            (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: [48668 48671]
                                    )
                                  )
                                }
                            )
                        )
                      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: [48680]
                        )
                      ]
                      spids: [48680]
                    )
                    (Assignment
                      keyword: Assign_None
                      pairs: [
                        (assign_pair
                          lhs: (LhsName name:kube_flags_with_token)
                          op: PlusEqual
                          rhs: {(ArrayLiteralPart words:[{(DQ (--match-server-version))}])}
                          spids: [48688]
                        )
                      ]
                      spids: [48688]
                    )
                  ]
                  spids: [16777215 48677]
                )
              ]
              spids: [16777215 48696]
            )
            (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: [48739 48744]
                                        )
                                      )
                                    }
                                  )
                                ]
                              )
                            left_token: <Left_CommandSub '$('>
                            spids: [48723 48746]
                          )
                        )
                      } {(Lit_Other '=') (Lit_Other '=')} {(DQ (v1))} {(Lit_Other ']')}
                    )
                  ]
                  spids: [16777215 48717]
                )
              ]
              spids: [16777215 48759]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:id_field)
                  op: Equal
                  rhs: {(DQ (.metadata.name))}
                  spids: [48763]
                )
              ]
              spids: [48763]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:labels_field)
                  op: Equal
                  rhs: {(DQ (.metadata.labels))}
                  spids: [48769]
                )
              ]
              spids: [48769]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:annotations_field)
                  op: Equal
                  rhs: {(DQ (.metadata.annotations))}
                  spids: [48775]
                )
              ]
              spids: [48775]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:service_selector_field)
                  op: Equal
                  rhs: {(DQ (.spec.selector))}
                  spids: [48781]
                )
              ]
              spids: [48781]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:rc_replicas_field)
                  op: Equal
                  rhs: {(DQ (.spec.replicas))}
                  spids: [48787]
                )
              ]
              spids: [48787]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:rc_status_replicas_field)
                  op: Equal
                  rhs: {(DQ (.status.replicas))}
                  spids: [48793]
                )
              ]
              spids: [48793]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:rc_container_image_field)
                  op: Equal
                  rhs: {(DQ (.spec.template.spec.containers))}
                  spids: [48799]
                )
              ]
              spids: [48799]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:rs_replicas_field)
                  op: Equal
                  rhs: {(DQ (.spec.replicas))}
                  spids: [48805]
                )
              ]
              spids: [48805]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:port_field)
                  op: Equal
                  rhs: {(DQ ('(index .spec.ports 0).port'))}
                  spids: [48811]
                )
              ]
              spids: [48811]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:port_name)
                  op: Equal
                  rhs: {(DQ ('(index .spec.ports 0).name'))}
                  spids: [48817]
                )
              ]
              spids: [48817]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:second_port_field)
                  op: Equal
                  rhs: {(DQ ('(index .spec.ports 1).port'))}
                  spids: [48823]
                )
              ]
              spids: [48823]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:second_port_name)
                  op: Equal
                  rhs: {(DQ ('(index .spec.ports 1).name'))}
                  spids: [48829]
                )
              ]
              spids: [48829]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:image_field)
                  op: Equal
                  rhs: {(DQ ('(index .spec.containers 0).image'))}
                  spids: [48835]
                )
              ]
              spids: [48835]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:pod_container_name_field)
                  op: Equal
                  rhs: {(DQ ('(index .spec.containers 0).name'))}
                  spids: [48841]
                )
              ]
              spids: [48841]
            )
            (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: [48847]
                )
              ]
              spids: [48847]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:hpa_min_field)
                  op: Equal
                  rhs: {(DQ (.spec.minReplicas))}
                  spids: [48853]
                )
              ]
              spids: [48853]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:hpa_max_field)
                  op: Equal
                  rhs: {(DQ (.spec.maxReplicas))}
                  spids: [48859]
                )
              ]
              spids: [48859]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:hpa_cpu_field)
                  op: Equal
                  rhs: {(DQ (.spec.targetCPUUtilizationPercentage))}
                  spids: [48865]
                )
              ]
              spids: [48865]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:statefulset_replicas_field)
                  op: Equal
                  rhs: {(DQ (.spec.replicas))}
                  spids: [48871]
                )
              ]
              spids: [48871]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:statefulset_observed_generation)
                  op: Equal
                  rhs: {(DQ (.status.observedGeneration))}
                  spids: [48877]
                )
              ]
              spids: [48877]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:job_parallelism_field)
                  op: Equal
                  rhs: {(DQ (.spec.parallelism))}
                  spids: [48883]
                )
              ]
              spids: [48883]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:deployment_replicas)
                  op: Equal
                  rhs: {(DQ (.spec.replicas))}
                  spids: [48889]
                )
              ]
              spids: [48889]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:secret_data)
                  op: Equal
                  rhs: {(DQ (.data))}
                  spids: [48895]
                )
              ]
              spids: [48895]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:secret_type)
                  op: Equal
                  rhs: {(DQ (.type))}
                  spids: [48901]
                )
              ]
              spids: [48901]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:change_cause_annotation)
                  op: Equal
                  rhs: {(SQ <'.*kubernetes.io/change-cause.*'>)}
                  spids: [48907]
                )
              ]
              spids: [48907]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:pdb_min_available)
                  op: Equal
                  rhs: {(DQ (.spec.minAvailable))}
                  spids: [48913]
                )
              ]
              spids: [48913]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:pdb_max_unavailable)
                  op: Equal
                  rhs: {(DQ (.spec.maxUnavailable))}
                  spids: [48919]
                )
              ]
              spids: [48919]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:generation_field)
                  op: Equal
                  rhs: {(DQ (.metadata.generation))}
                  spids: [48925]
                )
              ]
              spids: [48925]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:template_generation_field)
                  op: Equal
                  rhs: {(DQ (.spec.templateGeneration))}
                  spids: [48931]
                )
              ]
              spids: [48931]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:container_len)
                  op: Equal
                  rhs: {(DQ ('(len .spec.template.spec.containers)'))}
                  spids: [48937]
                )
              ]
              spids: [48937]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:image_field0)
                  op: Equal
                  rhs: {(DQ ('(index .spec.template.spec.containers 0).image'))}
                  spids: [48943]
                )
              ]
              spids: [48943]
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:image_field1)
                  op: Equal
                  rhs: {(DQ ('(index .spec.template.spec.containers 1).image'))}
                  spids: [48949]
                )
              ]
              spids: [48949]
            )
            (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: [48988 48993]
                                            )
                                          )
                                        } {(namespaces)}
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [48982 48997]
                              )
                            }
                          spids: [48981]
                        )
                      ]
                      spids: [48981]
                    )
                    (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: [49006 49022]
                                              )
                                            }
                                        )
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (C {(kubectl)} {(create)} 
                              {
                                (DQ 
                                  (BracedVarSub
                                    token: <VSub_Name kube_flags>
                                    bracket_op: (WholeArray op_id:Lit_At)
                                    spids: [49039 49044]
                                  )
                                )
                              } {(ns)} {(default)}
                            )
                          ]
                          spids: [16777215 49027]
                        )
                      ]
                      spids: [16777215 49052]
                    )
                  ]
                  spids: [16777215 48978]
                )
              ]
              spids: [16777215 49055]
            )
            (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: [49093 49098]
                              )
                            )
                          } {(-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: [49119 49124]
                          )
                        )
                      } {(-f)} {(hack/testdata/kubernetes-service.yaml)}
                    )
                  ]
                  spids: [16777215 49081]
                )
              ]
              spids: [16777215 49132]
            )
            (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: [16777215 49243]
                )
              ]
              spids: [16777215 49251]
            )
            (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: [16777215 49285]
                )
              ]
              spids: [16777215 49293]
            )
            (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: [16777215 49351]
                )
              ]
              spids: [16777215 49359]
            )
            (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: [16777215 49394]
                )
              ]
              spids: [16777215 49402]
            )
            (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: [16777215 49424]
                )
              ]
              spids: [16777215 49432]
            )
            (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: [16777215 49454]
                )
              ]
              spids: [16777215 49462]
            )
            (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: [16777215 49484]
                )
              ]
              spids: [16777215 49510]
            )
            (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: [16777215 49532]
                )
              ]
              spids: [16777215 49540]
            )
            (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: [16777215 49575]
                )
              ]
              spids: [16777215 49591]
            )
            (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: [16777215 49626]
                )
              ]
              spids: [16777215 49642]
            )
            (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: [16777215 49681]
                )
              ]
              spids: [16777215 49689]
            )
            (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: [16777215 49724]
                )
              ]
              spids: [16777215 49732]
            )
            (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: [16777215 49768]
                )
              ]
              spids: [16777215 49776]
            )
            (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: [16777215 49811]
                )
              ]
              spids: [16777215 49819]
            )
            (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: [16777215 49875]
                        )
                      ]
                      spids: [16777215 49883]
                    )
                  ]
                  spids: [16777215 49854]
                )
              ]
              spids: [16777215 49886]
            )
            (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: [16777215 49942]
                        )
                      ]
                      spids: [16777215 49950]
                    )
                  ]
                  spids: [16777215 49921]
                )
              ]
              spids: [16777215 49953]
            )
            (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: [16777215 50023]
                )
              ]
              spids: [16777215 50031]
            )
            (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: [16777215 50066]
                )
              ]
              spids: [16777215 50074]
            )
            (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: [16777215 50109]
                )
              ]
              spids: [16777215 50117]
            )
            (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: [16777215 50177]
                        )
                      ]
                      spids: [16777215 50185]
                    )
                  ]
                  spids: [16777215 50152]
                )
              ]
              spids: [16777215 50188]
            )
            (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: [16777215 50244]
                        )
                      ]
                      spids: [16777215 50252]
                    )
                  ]
                  spids: [16777215 50223]
                )
              ]
              spids: [16777215 50255]
            )
            (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: [16777215 50290]
                )
              ]
              spids: [16777215 50298]
            )
            (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: [16777215 50333]
                )
              ]
              spids: [16777215 50341]
            )
            (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: [16777215 50401]
                        )
                      ]
                      spids: [16777215 50409]
                    )
                  ]
                  spids: [16777215 50376]
                )
              ]
              spids: [16777215 50412]
            )
            (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: [16777215 50468]
                        )
                      ]
                      spids: [16777215 50476]
                    )
                  ]
                  spids: [16777215 50447]
                )
              ]
              spids: [16777215 50479]
            )
            (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: [16777215 50535]
                        )
                      ]
                      spids: [16777215 50543]
                    )
                  ]
                  spids: [16777215 50514]
                )
              ]
              spids: [16777215 50546]
            )
            (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: [16777215 50581]
                )
              ]
              spids: [16777215 50589]
            )
            (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: [16777215 50624]
                )
              ]
              spids: [16777215 50632]
            )
            (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: [16777215 50667]
                )
              ]
              spids: [16777215 50675]
            )
            (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: [16777215 50710]
                )
              ]
              spids: [16777215 50718]
            )
            (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: [16777215 50754]
                )
              ]
              spids: [16777215 50762]
            )
            (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: [50815 50820]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [50811]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [50796 50822]
                              )
                            }
                          spids: [50795]
                        )
                      ]
                      spids: [50795]
                    )
                    (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: [50865 50870]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [50861]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [50846 50872]
                              )
                            }
                          spids: [50845]
                        )
                      ]
                      spids: [50845]
                    )
                    (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: [50911 50916]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [50907]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [50896 50918]
                              )
                            }
                          spids: [50895]
                        )
                      ]
                      spids: [50895]
                    )
                    (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: [50957 50962]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [50953]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [50942 50964]
                              )
                            }
                          spids: [50941]
                        )
                      ]
                      spids: [50941]
                    )
                    (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: [51009 51014]
                                                  )
                                                )
                                              }
                                            ]
                                            redirects: [
                                              (Redir
                                                op_id: Redir_GreatAnd
                                                fd: 2
                                                arg_word: {(1)}
                                                spids: [51005]
                                              )
                                            ]
                                          )
                                        ]
                                        negated: True
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [50988 51016]
                              )
                            }
                          spids: [50987]
                        )
                      ]
                      spids: [50987]
                    )
                    (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: [51061 51066]
                                              )
                                            )
                                          }
                                        ]
                                        redirects: [
                                          (Redir
                                            op_id: Redir_GreatAnd
                                            fd: 2
                                            arg_word: {(1)}
                                            spids: [51057]
                                          )
                                        ]
                                      )
                                    ]
                                  )
                                left_token: <Left_CommandSub '$('>
                                spids: [51040 51068]
                              )
                            }
                          spids: [51039]
                        )
                      ]
                      spids: [51039]
                    )
                    (C 
                      {(kube) (Lit_Other ':') (Lit_Other ':') (test) (Lit_Other ':') (Lit_Other ':') 
                        (if_empty_string)
                      } {(DQ (${ VSub_Name output_message))}
                    )
                  ]
                  spids: [16777215 50792]
                )
              ]
              spids: [16777215 51086]
            )
            (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: [51122 51127]
                          )
                        )
                      } {(-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: [51233 51238]
                          )
                        )
                      } 
                      {(rolebindings) (Lit_Comma ',') (role) (Lit_Comma ',') (clusterroles) 
                        (Lit_Comma ',') (clusterrolebindings)
                      } {(-n)} {(some-other-random)} {(-l)} {(test-cmd) (Lit_Other '=') (auth)}
                    )
                  ]
                  spids: [16777215 51112]
                )
              ]
              spids: [16777215 51260]
            )
            (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: [16777215 51316]
                        )
                      ]
                      spids: [16777215 51324]
                    )
                  ]
                  spids: [16777215 51295]
                )
              ]
              spids: [16777215 51327]
            )
            (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: [16777215 51384]
                        )
                      ]
                      spids: [16777215 51392]
                    )
                  ]
                  spids: [16777215 51363]
                )
              ]
              spids: [16777215 51395]
            )
            (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: [16777215 51430]
                )
              ]
              spids: [16777215 51438]
            )
            (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: [16777215 51493]
                )
              ]
              spids: [16777215 51501]
            )
            (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: [16777215 51536]
                )
              ]
              spids: [16777215 51544]
            )
            (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: [16777215 51579]
                )
              ]
              spids: [16777215 51587]
            )
            (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: [16777215 51621]
                )
              ]
              spids: [16777215 51629]
            )
            (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: [16777215 51698]
                )
              ]
              spids: [16777215 51713]
            )
          ]
          spids: [48467]
        )
      spids: [48463 48466]
    )
    (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: [51777 51782]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[51773])]
                )
                (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: [51811 51816]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [51807]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [51800 51818]
                      )
                    }
                  spids: [51799]
                )
              ]
              spids: [51799]
            )
            (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: [51864 51869]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [51860]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [51849 51871]
                      )
                    }
                  spids: [51848]
                )
              ]
              spids: [51848]
            )
            (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: [51915 51920]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [51911]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [51902 51922]
                      )
                    }
                  spids: [51901]
                )
              ]
              spids: [51901]
            )
            (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: [51966 51971]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [51962]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [51953 51973]
                      )
                    }
                  spids: [51952]
                )
              ]
              spids: [51952]
            )
            (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: [52017 52022]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52013]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52004 52024]
                      )
                    }
                  spids: [52003]
                )
              ]
              spids: [52003]
            )
            (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: [52071 52076]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52067]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52060 52078]
                      )
                    }
                  spids: [52059]
                )
              ]
              spids: [52059]
            )
            (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: [52122 52127]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52118]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52109 52129]
                      )
                    }
                  spids: [52108]
                )
              ]
              spids: [52108]
            )
            (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: [52175 52180]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52171]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52160 52182]
                      )
                    }
                  spids: [52159]
                )
              ]
              spids: [52159]
            )
            (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: [52224 52229]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52220]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52209 52231]
                      )
                    }
                  spids: [52208]
                )
              ]
              spids: [52208]
            )
            (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: [52279 52284]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52275]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52262 52286]
                      )
                    }
                  spids: [52261]
                )
              ]
              spids: [52261]
            )
            (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: [52338 52343]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52334]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52322 52345]
                      )
                    }
                  spids: [52321]
                )
              ]
              spids: [52321]
            )
            (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: [52421 52426]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52417]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52401 52428]
                      )
                    }
                  spids: [52400]
                )
              ]
              spids: [52400]
            )
            (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: [52474 52479]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52470]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52455 52481]
                      )
                    }
                  spids: [52454]
                )
              ]
              spids: [52454]
            )
            (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: [52529 52534]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52525]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52508 52536]
                      )
                    }
                  spids: [52507]
                )
              ]
              spids: [52507]
            )
            (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: [52613 52618]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52609]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52592 52620]
                      )
                    }
                  spids: [52591]
                )
              ]
              spids: [52591]
            )
            (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: [52670 52675]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52666]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52647 52677]
                      )
                    }
                  spids: [52646]
                )
              ]
              spids: [52646]
            )
            (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: [52749 52754]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52745]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52733 52756]
                      )
                    }
                  spids: [52732]
                )
              ]
              spids: [52732]
            )
            (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: [52862 52867]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52858]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52846 52869]
                      )
                    }
                  spids: [52845]
                )
              ]
              spids: [52845]
            )
            (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: [52945 52950]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52941]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52925 52952]
                      )
                    }
                  spids: [52924]
                )
              ]
              spids: [52924]
            )
            (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: [52998 53003]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [52994]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [52979 53005]
                      )
                    }
                  spids: [52978]
                )
              ]
              spids: [52978]
            )
            (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: [53053 53058]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53049]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53032 53060]
                      )
                    }
                  spids: [53031]
                )
              ]
              spids: [53031]
            )
            (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: [53137 53142]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53133]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53116 53144]
                      )
                    }
                  spids: [53115]
                )
              ]
              spids: [53115]
            )
            (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: [53194 53199]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53190]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53171 53201]
                      )
                    }
                  spids: [53170]
                )
              ]
              spids: [53170]
            )
            (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: [53273 53278]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53269]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53257 53280]
                      )
                    }
                  spids: [53256]
                )
              ]
              spids: [53256]
            )
            (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: [53353 53358]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53349]
                                  )
                                ]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[53340])]
                              )
                              (C {(grep)} {(SQ <'edit cancelled, no objects found'>)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [53339 53368]
                  )
                )
              } {(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: [53393 53398]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53389]
                                  )
                                ]
                                more_env: [(env_pair name:EDITOR val:{(cat)} spids:[53378])]
                              )
                              (C {(grep)} {(SQ <'Edit cancelled, no changes made.'>)})
                            ]
                            negated: False
                          )
                        ]
                      )
                    left_token: <Left_CommandSub '$('>
                    spids: [53377 53408]
                  )
                )
              } {(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: [53445 53450]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53441]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53424 53452]
                      )
                    }
                  spids: [53423]
                )
              ]
              spids: [53423]
            )
            (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: [53508 53513]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53504]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53483 53515]
                      )
                    }
                  spids: [53482]
                )
              ]
              spids: [53482]
            )
            (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: [53566 53571]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53562]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53542 53573]
                      )
                    }
                  spids: [53541]
                )
              ]
              spids: [53541]
            )
            (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: [53626 53631]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53622]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53600 53633]
                      )
                    }
                  spids: [53599]
                )
              ]
              spids: [53599]
            )
            (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: [53692 53697]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53688]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53664 53699]
                      )
                    }
                  spids: [53663]
                )
              ]
              spids: [53663]
            )
            (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: [53766 53771]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53762]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53735 53773]
                      )
                    }
                  spids: [53734]
                )
              ]
              spids: [53734]
            )
            (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: [53839 53844]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53835]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53804 53846]
                      )
                    }
                  spids: [53803]
                )
              ]
              spids: [53803]
            )
            (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: [53907 53912]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53903]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53873 53914]
                      )
                    }
                  spids: [53872]
                )
              ]
              spids: [53872]
            )
            (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: [53977 53982]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [53973]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [53941 53984]
                      )
                    }
                  spids: [53940]
                )
              ]
              spids: [53940]
            )
            (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: [54053 54058]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54049]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54015 54060]
                      )
                    }
                  spids: [54014]
                )
              ]
              spids: [54014]
            )
            (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: [54111 54116]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[54107])]
                )
                (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: [54147 54152]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54143]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54129 54154]
                      )
                    }
                  spids: [54128]
                )
              ]
              spids: [54128]
            )
            (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: [54207 54212]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54203]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54185 54214]
                      )
                    }
                  spids: [54184]
                )
              ]
              spids: [54184]
            )
            (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: [54261 54266]
                        )
                      )
                    }
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[54257])]
                )
                (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: [54317 54322]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54313]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54298 54324]
                      )
                    }
                  spids: [54297]
                )
              ]
              spids: [54297]
            )
            (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: [54378 54383]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54374]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54355 54385]
                      )
                    }
                  spids: [54354]
                )
              ]
              spids: [54354]
            )
            (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: [54434 54439]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54430]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54412 54441]
                      )
                    }
                  spids: [54411]
                )
              ]
              spids: [54411]
            )
            (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: [54492 54497]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54488]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54468 54499]
                      )
                    }
                  spids: [54467]
                )
              ]
              spids: [54467]
            )
            (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: [54556 54561]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54552]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54530 54563]
                      )
                    }
                  spids: [54529]
                )
              ]
              spids: [54529]
            )
            (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: [54616 54621]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54612]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54599 54623]
                      )
                    }
                  spids: [54598]
                )
              ]
              spids: [54598]
            )
            (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: [54675 54680]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54671]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54654 54682]
                      )
                    }
                  spids: [54653]
                )
              ]
              spids: [54653]
            )
            (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: [54750 54755]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54746]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54733 54757]
                      )
                    }
                  spids: [54732]
                )
              ]
              spids: [54732]
            )
            (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: [54801 54806]
                                      )
                                    )
                                  }
                                ]
                                redirects: [
                                  (Redir
                                    op_id: Redir_GreatAnd
                                    fd: 2
                                    arg_word: {(1)}
                                    spids: [54797]
                                  )
                                ]
                              )
                            ]
                          )
                        left_token: <Left_CommandSub '$('>
                        spids: [54788 54808]
                      )
                    }
                  spids: [54787]
                )
              ]
              spids: [54787]
            )
            (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: [54908 54913]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[54916])]
            )
            (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: [55027 55032]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[55035])]
            )
            (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: [55148 55153]
                    )
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[55156])]
            )
            (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: [51722]
        )
      spids: [51718 51721]
    )
  ]
)