Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for exit_node (0.48 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    				Metadata:   meta,
    				Image:      imageSpec,
    				State:      runtimeapi.ContainerState_CONTAINER_EXITED,
    				CreatedAt:  createdAt,
    				StartedAt:  startedAt,
    				FinishedAt: finishedAt,
    				ExitCode:   int32(121),
    				Reason:     "GotKilled",
    				Message:    "The container was killed",
    			},
    			expected: &kubecontainer.Status{
    				ID:         *cid,
    				Image:      imageSpec.Image,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods.go

    		case containerStatus.State.Terminated != nil:
    			if containerStatus.State.Terminated.ExitCode != 0 {
    				failedInitialization++
    			}
    		case containerStatus.State.Waiting != nil:
    			if containerStatus.LastTerminationState.Terminated != nil {
    				if containerStatus.LastTerminationState.Terminated.ExitCode != 0 {
    					failedInitialization++
    				}
    			} else {
    				pendingInitialization++
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  3. pkg/kubelet/container/helpers.go

    		klog.V(4).InfoS("Already ran container, do nothing", "pod", klog.KObj(pod), "containerName", container.Name)
    		return false
    	}
    	if pod.Spec.RestartPolicy == v1.RestartPolicyOnFailure {
    		// Check the exit code.
    		if status.ExitCode == 0 {
    			klog.V(4).InfoS("Already successfully ran container, do nothing", "pod", klog.KObj(pod), "containerName", container.Name)
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/test.go

    	})
    {{end}}
    	m := testing.MainStart(testdeps.TestDeps{}, tests, benchmarks, fuzzTargets, examples)
    {{with .TestMain}}
    	{{.Package}}.{{.Name}}(m)
    	os.Exit(int(reflect.ValueOf(m).Elem().FieldByName("exitCode").Int()))
    {{else}}
    	os.Exit(m.Run())
    {{end}}
    }
    
    `)
    
    var testmainTmplNewCoverage = lazytemplate.New("main", `
    // Code generated by 'go test'. DO NOT EDIT.
    
    package main
    
    import (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_container.go

    		cStatus.StartedAt = time.Unix(0, status.StartedAt)
    	}
    	if status.State == runtimeapi.ContainerState_CONTAINER_EXITED {
    		cStatus.Reason = status.Reason
    		cStatus.Message = status.Message
    		cStatus.ExitCode = int(status.ExitCode)
    		cStatus.FinishedAt = time.Unix(0, status.FinishedAt)
    	}
    	return cStatus
    }
    
    // executePreStopHook runs the pre-stop lifecycle hooks if applicable and returns the duration it takes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  6. pkg/test/framework/suite.go

    		errLevel = s.mRun(ctx)
    		if errLevel == 0 {
    			scopes.Framework.Infof("=== DONE: Test Run: '%s' ===", ctx.Settings().TestID)
    			break
    		}
    		scopes.Framework.Infof("=== FAILED: Test Run: '%s' (exitCode: %v) ===",
    			ctx.Settings().TestID, errLevel)
    		if attempt <= ctx.settings.Retries {
    			scopes.Framework.Warnf("=== RETRY: Test Run: '%s' ===", ctx.Settings().TestID)
    		}
    	}
    	s.runTeardownFns(ctx)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    }
    
    func TerminateJobObject(job Handle, exitCode uint32) (err error) {
    	r1, _, e1 := syscall.Syscall(procTerminateJobObject.Addr(), 2, uintptr(job), uintptr(exitCode), 0)
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func TerminateProcess(handle Handle, exitcode uint32) (err error) {
    	r1, _, e1 := syscall.Syscall(procTerminateProcess.Addr(), 2, uintptr(handle), uintptr(exitcode), 0)
    	if r1 == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers_test.go

    							Started: utilpointer.Bool(false),
    						},
    					},
    					ContainerStatuses: []api.ContainerStatus{
    						{
    							Ready:                false,
    							RestartCount:         4,
    							State:                api.ContainerState{Terminated: &api.ContainerStateTerminated{Reason: "Completed", ExitCode: 0}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  9. pkg/test/kube/dump.go

    func containerCrashed(pod corev1.Pod, container string) (bool, *corev1.ContainerStateTerminated) {
    	for _, cs := range pod.Status.ContainerStatuses {
    		if cs.Name == container && cs.State.Terminated != nil && cs.State.Terminated.ExitCode != 0 {
    			return true, cs.State.Terminated
    		}
    	}
    	return false, nil
    }
    
    // DumpPodLogs will dump logs from each container in each of the provided pods
    // or all pods in the namespace if none are provided.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. build/common.sh

      # If the data container exists AND exited successfully, we can use it.
      # Otherwise nuke it and start over.
      local ret=0
      local code=0
    
      code=$(docker inspect \
          -f '{{.State.ExitCode}}' \
          "${KUBE_DATA_CONTAINER_NAME}" 2>/dev/null) || ret=$?
      if [[ "${ret}" == 0 && "${code}" != 0 ]]; then
        kube::build::destroy_container "${KUBE_DATA_CONTAINER_NAME}"
        ret=1
      fi
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:13:15 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top