Skip to content

Conformance Suite Timing Out #12732

Closed
Closed

Description

@stevekuznetsov

Seeing test_pull_requests_origin_conformance jobs get aborted at the 6h mark like here

@smarterclayton this is concerning

Activity

  1. added
    kind/test-flake
    on Jan 31, 2017
  2. derekwaynecarr commented on Feb 2, 2017

    @derekwaynecarr
    Member

    @bparees -- the build associated with no_outputname.go is failing, not clear to me this is a k8s issue.

    Appears with following:

    Executing GIT_ASKPASS=true PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=test-docker-1-build BUILD={"kind":"Build","apiVersion":"v1","metadata":{"name":"test-docker-1","namespace"==> openshiftdev: Downloading logs
    SSH authentication failed! This is typically caused by the public/private
    keypair for the SSH user not being properly set on the guest VM. Please
    verify that the guest VM is setup with the proper public key, and that
    the private key path for Vagrant is setup properly as well.
    Build step 'Execute shell' marked build as failure
    [PostBuildScript] - Execution post build scripts.
    
  3. bparees commented on Feb 2, 2017

    @bparees
    Contributor

    The build didn't fail, the SSH failure is because the ec2 machine went away.

    We were attempting to view the logs from the build (which had completed successfully):

    Jan 30 14:39:59.678: INFO: Running 'oc logs --config=extended-test-build-no-outputname-tq7gj-vd86r-user.kubeconfig --namespace=extended-test-build-no-outputname-tq7gj-vd86r -f build/test-docker-1 --timestamps'
    

    Evidence the build had completed successfully:

    Waiting for build/test-docker-1 to complete
    Done waiting for build/test-docker-1: util.BuildResult{BuildPath:"build/test-docker-1", StartBuildStdErr:"", StartBuildStdOut:"build/test-docker-1", StartBuildErr:error(nil), BuildConfigName:"", Build:(*api.Build)(0xc4202a9b80), BuildAttempt:true, BuildSuccess:true, BuildFailure:false, BuildCancelled:false, BuildTimeout:false, oc:(*util.CLI)(0xc420944a50)}
    

    so it looks like the oc logs --follow request hung despite the build pod being complete.

    Unfortunately our CI system doesn't gather logs when we hit the 6 hour timeout, so there's no way to actually see the pod logs to further confirm that analysis.

  4. bparees commented on Feb 2, 2017

    @bparees
    Contributor

    it also looks like the log streaming hung right in the middle of a line of the logs:

    2017-01-30T19:36:27.470477000Z I0130 19:36:27.461625       1 repository.go:367] Executing GIT_ASKPASS=true PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=test-docker-1-build BUILD={"kind":"Build","apiVersion":"v1","metadata":{"name":"test-docker-1","namespace"==> openshiftdev: 
    

    which should have looked more like:

    2017-01-30T19:36:27.467209000Z I0130 19:36:27.457761       1 repository.go:367] Executing GIT_ASKPASS=true PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=test-docker-1-build BUILD={"kind":"Build","apiVersion":"v1","metadata":{"name":"test-docker-1","namespace":"extended-test-build-no-outputname-tq7gj-vd86r","selfLink":"/oapi/v1/namespaces/extended-test-build-no-outputname-tq7gj-vd86r/builds/test-docker-1","uid":"62112b06-e723-11e6-92d0-0e2297dcb9c8","resourceVersion":"964","creationTimestamp":"2017-01-30T19:36:23Z","labels":{"buildconfig":"test-docker","name":"test-docker","openshift.io/build-config.name":"test-docker","openshift.io/build.start-policy":"Serial"},"annotations":{"openshift.io/build-config.name":"test-docker","openshift.io/build.number":"1"}},"spec":{"serviceAccount":"builder","source":{"type":"Git","git":{"uri":"https://github.com/openshift/ruby-hello-world"}},"strategy":{"type":"Docker","dockerStrategy":{"from":{"kind":"DockerImage","name":"centos/ruby-22-centos7"},"env":[{"name":"BUILD_LOGLEVEL","value":"5"}]}},"output":{},"resources":{},"postCommit":{},"nodeSelector":null,"triggeredBy":[{"message":"Manually triggered"}]},"status":{"phase":"New","config":{"kind":"BuildConfig","namespace":"extended-test-build-no-outputname-tq7gj-vd86r","name":"test-docker"},"output":{}}}
    

    @derekwaynecarr i'm inclined to send this back your way, is there someone else that would be more suitable for logs?

  5. bparees commented on Feb 7, 2017

    @bparees
    Contributor
  6. derekwaynecarr commented on Feb 16, 2017

    @derekwaynecarr
    Member

    @bparees -- i would have asked if @ncdc had any history in this space?

  7. derekwaynecarr commented on Feb 16, 2017

    @derekwaynecarr
    Member

    how frequent is this happening? i see no further references in the last 8 days?

  8. bparees commented on Feb 16, 2017

    @bparees
    Contributor

    @derekwaynecarr i'm not aware of any recurrences.

  9. derekwaynecarr commented on Feb 16, 2017

    @derekwaynecarr
    Member

    @bparees is p1 still appropriate?

  10. bparees commented on Feb 16, 2017

    @bparees
    Contributor

    @derekwaynecarr i'm ok w/ closing it and reopening if it recurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

component/kubernetescomponent/loggingkind/test-flakepriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions