Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 68 for exit_node (0.26 sec)

  1. pkg/kubelet/kuberuntime/helpers.go

    		}
    	}
    
    	// If non of them is set, treat it as root.
    	return new(int64), "", nil
    }
    
    // isInitContainerFailed returns true under the following conditions:
    // 1. container has exited and exitcode is not zero.
    // 2. container is in unknown state.
    // 3. container gets OOMKilled.
    func isInitContainerFailed(status *kubecontainer.Status) bool {
    	// When oomkilled occurs, init container should be considered as a failure.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/os/exec_windows.go

    	if e != nil {
    		return nil, NewSyscallError("GetProcessTimes", e)
    	}
    	defer p.Release()
    	return &ProcessState{p.Pid, syscall.WaitStatus{ExitCode: ec}, &u}, nil
    }
    
    func (p *Process) signal(sig Signal) error {
    	handle, status := p.handleTransientAcquire()
    	switch status {
    	case statusDone:
    		return ErrProcessDone
    	case statusReleased:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/testing/testing.go

    		if anyFailed {
    			fmt.Print(chatty.prefix(), "FAIL\n")
    			m.exitCode = 1
    			return
    		}
    	}
    
    	fuzzingOk := runFuzzing(m.deps, m.fuzzTargets)
    	if !fuzzingOk {
    		fmt.Print(chatty.prefix(), "FAIL\n")
    		if *isFuzzWorker {
    			m.exitCode = fuzzWorkerExitCode
    		} else {
    			m.exitCode = 1
    		}
    		return
    	}
    
    	m.exitCode = 0
    	if !*isFuzzWorker {
    		fmt.Print(chatty.prefix(), "PASS\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller_test.go

    								State: v1.ContainerState{
    									Terminated: &v1.ContainerStateTerminated{
    										ExitCode: 5,
    									},
    								},
    							},
    							{
    								Name: "main-container",
    								State: v1.ContainerState{
    									Terminated: &v1.ContainerStateTerminated{
    										ExitCode:   42,
    										FinishedAt: testFinishedAt,
    									},
    								},
    							},
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  5. pkg/controller/job/indexed_job_utils_test.go

    				Phase: v1.PodFailed,
    				ContainerStatuses: []v1.ContainerStatus{
    					{
    						State: v1.ContainerState{
    							Terminated: &v1.ContainerStateTerminated{
    								ExitCode: 3,
    							},
    						},
    					},
    				},
    			}).index("0").trackingFinalizer().Pod,
    			wantResult: true,
    		},
    		"matching FailIndex pod failure policy; JobPodFailurePolicy disabled": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  6. 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)
  7. tools/istio-iptables/pkg/cmd/root.go

    `)
    					handleErrorWithCode(msg, constants.ValidationErrorCode)
    				}
    			}
    		},
    	}
    	bindCmdlineFlags(cfg, cmd)
    	return cmd
    }
    
    type IptablesError struct {
    	Error    error
    	ExitCode int
    }
    
    func ProgramIptables(cfg *config.Config) error {
    	var ext dep.Dependencies
    	if cfg.DryRun {
    		log.Info("running iptables in dry-run mode, no rule changes will be made")
    		ext = &dep.DependenciesStub{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. 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)
  9. src/flag/flag_test.go

    		cmd.Env = append(
    			os.Environ(),
    			"GO_CHILD_FLAG="+test.flag,
    			"GO_CHILD_FLAG_HANDLE="+test.flagHandle,
    		)
    		cmd.Run()
    		got := cmd.ProcessState.ExitCode()
    		// ExitCode is either 0 or 1 on Plan 9.
    		if runtime.GOOS == "plan9" && test.expectExit != 0 {
    			test.expectExit = 1
    		}
    		if got != test.expectExit {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. 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)
Back to top