Skip to content

openshift pipeline build Pipeline using jenkins-client-plugin [It] should build and complete successfully #13983

Closed

Description

@oatmealraisin

pipeline.go:166 is failing when running this example job.

Tail of the Pod logs from a manual run:

INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@1d90d2e]: org.springframework.beans.factory.support.DefaultListableBeanFactory@10f4d34
May 01, 2017 6:24:10 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@10f4d34: defining beans [filter,legacy]; root of factory hierarchy
May 01, 2017 6:24:10 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftSetOAuth setOauth
INFO: OpenShift OAuth: Jenkins security realm set to OpenShift OAuth
May 01, 2017 6:24:10 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
May 01, 2017 6:24:10 PM io.fabric8.jenkins.openshiftsync.BuildConfigWatcher updateJob
INFO: Updated job myproject-sample-pipeline-openshift-client-plugin from BuildConfig NamespaceName{myproject:sample-pipeline-openshift-client-plugin} with revision: 5957
May 01, 2017 6:24:10 PM hudson.model.UpdateSite updateData
INFO: Obtained the latest update center data file for UpdateSource default
May 01, 2017 6:24:10 PM hudson.model.DownloadService$Downloadable load
INFO: Obtained the updated data file for hudson.tasks.Maven.MavenInstaller
May 01, 2017 6:24:11 PM hudson.model.DownloadService$Downloadable load
INFO: Obtained the updated data file for hudson.tools.JDKInstaller
May 01, 2017 6:24:11 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 4,688 ms
May 01, 2017 6:24:59 PM io.fabric8.jenkins.openshiftsync.BuildConfigWatcher updateJob
INFO: Updated job myproject-sample-pipeline-openshift-client-plugin from BuildConfig NamespaceName{myproject:sample-pipeline-openshift-client-plugin} with revision: 5985
May 01, 2017 6:25:00 PM io.fabric8.jenkins.openshiftsync.BuildSyncRunListener onStarted
INFO: starting polling build job/myproject-sample-pipeline-openshift-client-plugin/1/
May 01, 2017 6:25:35 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftOAuth2SecurityRealm populateDefaults
INFO: OpenShift OAuth: provider: OpenShiftProviderInfo: issuer: https://10.192.218.122:8443 auth ep: https://10.192.218.122:8443/oauth/authorize token ep: https://10.192.218.122:8443/oauth/token
May 01, 2017 6:25:35 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftOAuth2SecurityRealm populateDefaults
INFO: OpenShift OAuth returning true with namespace myproject SA dir null default /run/secrets/kubernetes.io/serviceaccount SA name null default jenkins client ID null default system:serviceaccount:myproject:jenkins secret null default eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJteXByb2plY3QiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlY3JldC5uYW1lIjoiamVua2lucy10b2tlbi04NTNsZiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJqZW5raW5zIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiNGU5YTlmMmUtMmU5Yi0xMWU3LThjOWUtNTA3YjlkYWNhMTgzIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50Om15cHJvamVjdDpqZW5raW5zIn0.E3gw3uDFLH-Yn8_hTi20jO9Fz1ZHzdIq7H3JaRWQ1CxDVhkbkiDcQS7UnRv2HW8BYHRBVg93BpFgdw1mCevmfju1gevqWGokaBxbgFctLGyDXQgfEW7qiMtMnzGu7HQHANVnDSSqGnBljhgwU2KWmR_UG371faKh0llVDWBe9OQ8lX-Dh6CJv-YACcHBMedmoVO886BcGghT8QfxVySNQigJwrbjceLsXXGLygkkPP22QjVRlpdsTw1bEuSajP0IXV840prhXxQXKkgEanpVK3sdmVlvoPkOenpowb0MnNytxpNWXlAWh8BCfu9dxFZ367T-c8fMoegtTCnqjk_H9Q redirect null default https://10.192.218.122:8443 server null default https://openshift.default.svc
May 01, 2017 6:25:47 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftOAuth2SecurityRealm populateDefaults
INFO: OpenShift OAuth: provider: OpenShiftProviderInfo: issuer: https://10.192.218.122:8443 auth ep: https://10.192.218.122:8443/oauth/authorize token ep: https://10.192.218.122:8443/oauth/token
May 01, 2017 6:25:47 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftOAuth2SecurityRealm populateDefaults
INFO: OpenShift OAuth returning true with namespace myproject SA dir null default /run/secrets/kubernetes.io/serviceaccount SA name null default jenkins client ID null default system:serviceaccount:myproject:jenkins secret null default eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJteXByb2plY3QiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlY3JldC5uYW1lIjoiamVua2lucy10b2tlbi04NTNsZiIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJqZW5raW5zIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQudWlkIjoiNGU5YTlmMmUtMmU5Yi0xMWU3LThjOWUtNTA3YjlkYWNhMTgzIiwic3ViIjoic3lzdGVtOnNlcnZpY2VhY2NvdW50Om15cHJvamVjdDpqZW5raW5zIn0.E3gw3uDFLH-Yn8_hTi20jO9Fz1ZHzdIq7H3JaRWQ1CxDVhkbkiDcQS7UnRv2HW8BYHRBVg93BpFgdw1mCevmfju1gevqWGokaBxbgFctLGyDXQgfEW7qiMtMnzGu7HQHANVnDSSqGnBljhgwU2KWmR_UG371faKh0llVDWBe9OQ8lX-Dh6CJv-YACcHBMedmoVO886BcGghT8QfxVySNQigJwrbjceLsXXGLygkkPP22QjVRlpdsTw1bEuSajP0IXV840prhXxQXKkgEanpVK3sdmVlvoPkOenpowb0MnNytxpNWXlAWh8BCfu9dxFZ367T-c8fMoegtTCnqjk_H9Q redirect null default https://10.192.218.122:8443 server null default https://openshift.default.svc
May 01, 2017 6:25:47 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftOAuth2SecurityRealm updateAuthorizationStrategy
INFO: OpenShift OAuth: adding permissions for user developer, stored in the matrix as developer-admin, based on OpenShift roles [view, edit, admin]
May 01, 2017 6:26:19 PM org.jenkinsci.plugins.workflow.job.WorkflowRun finish
INFO: myproject-sample-pipeline-openshift-client-plugin #1 completed: FAILURE
May 01, 2017 6:26:19 PM io.fabric8.jenkins.openshiftsync.BuildSyncRunListener onCompleted
INFO: onCompleted job/myproject-sample-pipeline-openshift-client-plugin/1/
May 01, 2017 6:26:19 PM io.fabric8.jenkins.openshiftsync.BuildSyncRunListener onFinalized
INFO: onFinalized job/myproject-sample-pipeline-openshift-client-plugin/1/

@gabemontero here you go!

Activity

  1. added
    kind/test-flake
    on May 1, 2017
  2. gabemontero commented on May 1, 2017

    @gabemontero
    Contributor

    the test failure was induced by this commit and my forgetting to cut a new jenkins client plugin version and updating the centos image.

    I'll close this out once those have occurred.

  3. added
    kind/bug
    and removed
    kind/test-flake
    on May 1, 2017
  4. gabemontero commented on May 1, 2017

    @gabemontero
    Contributor

    And this won't happen intermittently, but everytime. So marking as an out and out bug vs. a flake.

  5. gabemontero commented on May 1, 2017

    @gabemontero
    Contributor

    Plugin version publish one; openshift jenkins image updated; push to dockerhub in progress ...

  6. added
    kind/test-flake
    on May 1, 2017
  7. stevekuznetsov commented on May 1, 2017

    @stevekuznetsov
    Contributor

    If people are hitting this in CI and want to re-test we'll need a flake label here (although I see it may not be useful to re-test if this will happen every time).

  8. gabemontero commented on May 1, 2017

    @gabemontero
    Contributor

    I'm fine with both labels if folks think that will help. The consistency of it is documented here.

    Note: the fix will be up on docker hub within the hour, and I'll be closing this out at that time.

  9. gabemontero commented on May 1, 2017

    @gabemontero
    Contributor

    Ok, docker.io/openshift/jenkins-2-centos7:latest now has 0.9.3 of openshift-client, which has the associated plugin fix that the updated extended test change (via openshift/jenkins-client-plugin@e4912a0fb57dbd79962d7ac415440a9821e13574)is validating (but was failing since the new client plugin version was not yet cut). By the way, the PR testing for jenkins-cilent plugin did confirm the combo of the two passed.

    Good to go ... marking as closed.

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

Metadata

Metadata

Assignees

Labels

area/testskind/bugkind/test-flakepriority/P1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions