Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for exit_node (0.67 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/printers/internalversion/printers.go

    				if container.State.Terminated.Signal != 0 {
    					reason = fmt.Sprintf("Signal:%d", container.State.Terminated.Signal)
    				} else {
    					reason = fmt.Sprintf("ExitCode:%d", container.State.Terminated.ExitCode)
    				}
    			} else if container.Ready && container.State.Running != nil {
    				hasRunning = true
    				readyContainers++
    			}
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods_test.go

    				ExitCode: 0,
    			},
    		},
    	}
    }
    func waitingStateWithNonZeroTermination(cName string) v1.ContainerStatus {
    	return v1.ContainerStatus{
    		Name: cName,
    		State: v1.ContainerState{
    			Waiting: &v1.ContainerStateWaiting{},
    		},
    		LastTerminationState: v1.ContainerState{
    			Terminated: &v1.ContainerStateTerminated{
    				ExitCode: -1,
    			},
    		},
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  10. pkg/kubelet/container/runtime.go

    	// Creation time of the container.
    	CreatedAt time.Time
    	// Start time of the container.
    	StartedAt time.Time
    	// Finish time of the container.
    	FinishedAt time.Time
    	// Exit code of the container.
    	ExitCode int
    	// Name of the image, this also includes the tag of the image,
    	// the expected form is "NAME:TAG".
    	Image string
    	// ID of the image.
    	ImageID string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top