(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 ':') (