Skip to content

Instantly share code, notes, and snippets.

@stevekuznetsov
Created January 7, 2016 15:49
Show Gist options
  • Save stevekuznetsov/5037aa47016405683a31 to your computer and use it in GitHub Desktop.
Save stevekuznetsov/5037aa47016405683a31 to your computer and use it in GitHub Desktop.
build controller junit output
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="github.com/openshift/origin/pkg/build/controller" tests="28" skipped="0" failures="0" time="0.01">
<propery name="coverage.statements.pct" value="86.3"></propery>
<propery name="coverage.statements.pct" value="86.3"></propery>
<testcase name="TestHandleBuildConfig" time="0"></testcase>
<testcase name="TestHandleBuild" time="0"></testcase>
<testcase name="TestHandlePod" time="0"></testcase>
<testcase name="TestCancelBuild" time="0"></testcase>
<testcase name="TestHandleHandleBuildDeletionOK" time="0"></testcase>
<testcase name="TestHandleHandleBuildDeletionOKDeprecatedLabel" time="0"></testcase>
<testcase name="TestHandleHandleBuildDeletionFailGetPod" time="0"></testcase>
<testcase name="TestHandleHandleBuildDeletionGetPodNotFound" time="0"></testcase>
<testcase name="TestHandleHandleBuildDeletionMismatchedLabels" time="0"></testcase>
<testcase name="TestHandleHandleBuildDeletionDeletePodError" time="0"></testcase>
<testcase name="TestHandleBuildPodDeletionOK" time="0"></testcase>
<testcase name="TestHandleBuildPodDeletionOKFinishedBuild" time="0"></testcase>
<testcase name="TestHandleBuildPodDeletionOKErroneousBuild" time="0"></testcase>
<testcase name="TestHandleBuildPodDeletionBuildGetError" time="0"></testcase>
<testcase name="TestHandleBuildPodDeletionBuildNotExists" time="0"></testcase>
<testcase name="TestHandleBuildPodDeletionBuildUpdateError" time="0"></testcase>
<testcase name="TestNewImageID" time="0"></testcase>
<testcase name="TestNewImageIDDefaultTag" time="0"></testcase>
<testcase name="TestNonExistentImageStream" time="0"></testcase>
<testcase name="TestNewImageDifferentTagUpdate" time="0"></testcase>
<testcase name="TestNewImageDifferentTagUpdate2" time="0"></testcase>
<testcase name="TestNewDifferentImageUpdate" time="0"></testcase>
<testcase name="TestSameStreamNameDifferentNamespaces" time="0"></testcase>
<testcase name="TestBuildConfigWithDifferentTriggerType" time="0"></testcase>
<testcase name="TestNoImageIDChange" time="0"></testcase>
<testcase name="TestBuildConfigInstantiatorError" time="0"></testcase>
<testcase name="TestBuildConfigUpdateError" time="0"></testcase>
<testcase name="TestNewImageIDNoDockerRepo" time="0"></testcase>
</testsuite>
<testsuite name="github.com/openshift/origin/pkg/build/controller/factory" tests="3" skipped="0" failures="0" time="0.011">
<propery name="coverage.statements.pct" value="13.7"></propery>
<propery name="coverage.statements.pct" value="13.7"></propery>
<testcase name="TestLimitedLogAndRetryFinish" time="0"></testcase>
<testcase name="TestLimitedLogAndRetryProcessing" time="0"></testcase>
<testcase name="TestControllerRetryFunc" time="0"></testcase>
</testsuite>
<testsuite name="github.com/openshift/origin/pkg/build/controller/strategy" tests="8" skipped="0" failures="0" time="0.01">
<propery name="coverage.statements.pct" value="87.9"></propery>
<propery name="coverage.statements.pct" value="87.9"></propery>
<testcase name="TestCustomCreateBuildPod" time="0"></testcase>
<testcase name="TestCustomCreateBuildPodExpectedForcePull" time="0"></testcase>
<testcase name="TestDockerCreateBuildPod" time="0"></testcase>
<testcase name="TestSTICreateBuildPodRootNotAllowed" time="0"></testcase>
<testcase name="TestSTICreateBuildPodRootAllowed" time="0"></testcase>
<testcase name="TestSetupDockerSocketHostSocket" time="0"></testcase>
<testcase name="TestSetupBuildEnvEmpty" time="0"></testcase>
<testcase name="TestTrustedMergeEnvWithoutDuplicates" time="0"></testcase>
</testsuite>
</testsuites>
=== RUN TestHandleBuildConfig
E0107 08:48:05.016407 19376 config_controller.go:66] error instantiating Build from BuildConfig /testBuildConfig: error
--- PASS: TestHandleBuildConfig (0.00s)
=== RUN TestHandleBuild
--- PASS: TestHandleBuild (0.00s)
=== RUN TestHandlePod
--- PASS: TestHandlePod (0.00s)
=== RUN TestCancelBuild
--- PASS: TestCancelBuild (0.00s)
=== RUN TestHandleHandleBuildDeletionOK
--- PASS: TestHandleHandleBuildDeletionOK (0.00s)
=== RUN TestHandleHandleBuildDeletionOKDeprecatedLabel
--- PASS: TestHandleHandleBuildDeletionOKDeprecatedLabel (0.00s)
=== RUN TestHandleHandleBuildDeletionFailGetPod
--- PASS: TestHandleHandleBuildDeletionFailGetPod (0.00s)
=== RUN TestHandleHandleBuildDeletionGetPodNotFound
--- PASS: TestHandleHandleBuildDeletionGetPodNotFound (0.00s)
=== RUN TestHandleHandleBuildDeletionMismatchedLabels
--- PASS: TestHandleHandleBuildDeletionMismatchedLabels (0.00s)
=== RUN TestHandleHandleBuildDeletionDeletePodError
--- PASS: TestHandleHandleBuildDeletionDeletePodError (0.00s)
=== RUN TestHandleBuildPodDeletionOK
--- PASS: TestHandleBuildPodDeletionOK (0.00s)
=== RUN TestHandleBuildPodDeletionOKFinishedBuild
--- PASS: TestHandleBuildPodDeletionOKFinishedBuild (0.00s)
=== RUN TestHandleBuildPodDeletionOKErroneousBuild
--- PASS: TestHandleBuildPodDeletionOKErroneousBuild (0.00s)
=== RUN TestHandleBuildPodDeletionBuildGetError
--- PASS: TestHandleBuildPodDeletionBuildGetError (0.00s)
=== RUN TestHandleBuildPodDeletionBuildNotExists
--- PASS: TestHandleBuildPodDeletionBuildNotExists (0.00s)
=== RUN TestHandleBuildPodDeletionBuildUpdateError
--- PASS: TestHandleBuildPodDeletionBuildUpdateError (0.00s)
=== RUN TestNewImageID
--- PASS: TestNewImageID (0.00s)
=== RUN TestNewImageIDDefaultTag
--- PASS: TestNewImageIDDefaultTag (0.00s)
=== RUN TestNonExistentImageStream
--- PASS: TestNonExistentImageStream (0.00s)
=== RUN TestNewImageDifferentTagUpdate
--- PASS: TestNewImageDifferentTagUpdate (0.00s)
=== RUN TestNewImageDifferentTagUpdate2
--- PASS: TestNewImageDifferentTagUpdate2 (0.00s)
=== RUN TestNewDifferentImageUpdate
--- PASS: TestNewDifferentImageUpdate (0.00s)
=== RUN TestSameStreamNameDifferentNamespaces
--- PASS: TestSameStreamNameDifferentNamespaces (0.00s)
=== RUN TestBuildConfigWithDifferentTriggerType
--- PASS: TestBuildConfigWithDifferentTriggerType (0.00s)
=== RUN TestNoImageIDChange
--- PASS: TestNoImageIDChange (0.00s)
=== RUN TestBuildConfigInstantiatorError
E0107 08:48:05.018723 19376 image_change_controller.go:150] error instantiating Build from BuildConfig /testBuildCfg: instantiating error
--- PASS: TestBuildConfigInstantiatorError (0.00s)
=== RUN TestBuildConfigUpdateError
E0107 08:48:05.018835 19376 image_change_controller.go:147] unable to instantiate Build for BuildConfig /testBuildCfg due to a conflicting update: BuildConfig "testBuildCfg" cannot be updated: foo
--- PASS: TestBuildConfigUpdateError (0.00s)
=== RUN TestNewImageIDNoDockerRepo
--- PASS: TestNewImageIDNoDockerRepo (0.00s)
PASS
coverage: 86.3% of statements
ok github.com/openshift/origin/pkg/build/controller 0.010s coverage: 86.3% of statements
=== RUN TestLimitedLogAndRetryFinish
E0107 08:48:04.652428 19364 factory.go:51] funky error
--- PASS: TestLimitedLogAndRetryFinish (0.00s)
=== RUN TestLimitedLogAndRetryProcessing
--- PASS: TestLimitedLogAndRetryProcessing (0.00s)
=== RUN TestControllerRetryFunc
E0107 08:48:04.652513 19364 factory.go:199] test error
E0107 08:48:04.652524 19364 factory.go:192] test error
--- PASS: TestControllerRetryFunc (0.00s)
PASS
coverage: 13.7% of statements
ok github.com/openshift/origin/pkg/build/controller/factory 0.011s coverage: 13.7% of statements
=== RUN TestCustomCreateBuildPod
--- PASS: TestCustomCreateBuildPod (0.00s)
=== RUN TestCustomCreateBuildPodExpectedForcePull
--- PASS: TestCustomCreateBuildPodExpectedForcePull (0.00s)
=== RUN TestDockerCreateBuildPod
--- PASS: TestDockerCreateBuildPod (0.00s)
=== RUN TestSTICreateBuildPodRootNotAllowed
--- PASS: TestSTICreateBuildPodRootNotAllowed (0.00s)
=== RUN TestSTICreateBuildPodRootAllowed
--- PASS: TestSTICreateBuildPodRootAllowed (0.00s)
=== RUN TestSetupDockerSocketHostSocket
--- PASS: TestSetupDockerSocketHostSocket (0.00s)
=== RUN TestSetupBuildEnvEmpty
--- PASS: TestSetupBuildEnvEmpty (0.00s)
=== RUN TestTrustedMergeEnvWithoutDuplicates
--- PASS: TestTrustedMergeEnvWithoutDuplicates (0.00s)
PASS
coverage: 87.9% of statements
ok github.com/openshift/origin/pkg/build/controller/strategy 0.010s coverage: 87.9% of statements
hack/test-go.sh took 5 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment