{"action":"created","issue":{"url":"https://api.github.com/repos/openshiftio/openshift.io/issues/4399","repository_url":"https://api.github.com/repos/openshiftio/openshift.io","labels_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/4399/labels{/name}","comments_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/4399/comments","events_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/4399/events","html_url":"https://github.com/openshiftio/openshift.io/issues/4399","id":368587903,"node_id":"MDU6SXNzdWUzNjg1ODc5MDM=","number":4399,"title":"Stack analyses report is not generated","user":{"login":"ljelinkova","id":2078072,"node_id":"MDQ6VXNlcjIwNzgwNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/2078072?v=4","gravatar_id":"","url":"https://api.github.com/users/ljelinkova","html_url":"https://github.com/ljelinkova","followers_url":"https://api.github.com/users/ljelinkova/followers","following_url":"https://api.github.com/users/ljelinkova/following{/other_user}","gists_url":"https://api.github.com/users/ljelinkova/gists{/gist_id}","starred_url":"https://api.github.com/users/ljelinkova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljelinkova/subscriptions","organizations_url":"https://api.github.com/users/ljelinkova/orgs","repos_url":"https://api.github.com/users/ljelinkova/repos","events_url":"https://api.github.com/users/ljelinkova/events{/privacy}","received_events_url":"https://api.github.com/users/ljelinkova/received_events","type":"User","site_admin":false},"labels":[{"id":627758083,"node_id":"MDU6TGFiZWw2Mjc3NTgwODM=","url":"https://api.github.com/repos/openshiftio/openshift.io/labels/SEV1-urgent","name":"SEV1-urgent","color":"b60205","default":false},{"id":1016444059,"node_id":"MDU6TGFiZWwxMDE2NDQ0MDU5","url":"https://api.github.com/repos/openshiftio/openshift.io/labels/area/e2e-tests","name":"area/e2e-tests","color":"fef2c0","default":false},{"id":810130871,"node_id":"MDU6TGFiZWw4MTAxMzA4NzE=","url":"https://api.github.com/repos/openshiftio/openshift.io/labels/env/prod","name":"env/prod","color":"0e8a16","default":false},{"id":810131113,"node_id":"MDU6TGFiZWw4MTAxMzExMTM=","url":"https://api.github.com/repos/openshiftio/openshift.io/labels/env/prod-preview","name":"env/prod-preview","color":"c2e0c6","default":false},{"id":637470943,"node_id":"MDU6TGFiZWw2Mzc0NzA5NDM=","url":"https://api.github.com/repos/openshiftio/openshift.io/labels/team/analytics","name":"team/analytics","color":"d4c5f9","default":false},{"id":627758095,"node_id":"MDU6TGFiZWw2Mjc3NTgwOTU=","url":"https://api.github.com/repos/openshiftio/openshift.io/labels/type/bug","name":"type/bug","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-10T10:00:48Z","updated_at":"2018-10-10T13:12:19Z","closed_at":null,"author_association":"COLLABORATOR","body":"##### Issue Overview\r\nThe stack report is not generated after successful build. This happens 100% times. \r\n\r\n![report](https://user-images.githubusercontent.com/2078072/46732688-7c70f500-cc8e-11e8-8e6a-befa2a23638f.png)\r\n##### Expected Behaviour\r\nStack report should be present on space dashboard page. \r\n##### Current Behaviour\r\nStack report is not present on space dashboard page. \r\n##### Additional Information\r\nJenkins log:\r\nhttp://artifacts.ci.centos.org/devtools/e2e/devtools-test-e2e-openshift.io-smoketest-us-east-2-released/837/05-06-jenkins-log.html\r\n\r\n```\r\nERROR: Bayesian analysis failed com.redhat.jenkins.plugins.bayesian.BayesianStepResponse@1c2c65c\r\nRetrying\r\n[Pipeline] {\r\n[Pipeline] sh\r\n[e_e2e-1010-0707-5657_master-6DTDTXNQJZ7GXZ4ZGF4EXT4EVGRRLEDNLF7FMOR2UNLO3RNRKSGQ] Running shell script\r\n[Pipeline] bayesianAnalysis\r\nFound dependencies.\r\nRunning Bayesian stack analysis...\r\nBayesian API URL is https://recommender.api.openshift.io/api/v1\r\ncom.redhat.jenkins.plugins.bayesian.BayesianException: Bayesian error: 401\r\n\tat com.redhat.jenkins.plugins.bayesian.Bayesian.submitStackForAnalysis(Bayesian.java:135)\r\n\tat com.redhat.jenkins.plugins.bayesian.BayesianAnalysisStep$Execution.run(BayesianAnalysisStep.java:118)\r\n\tat com.redhat.jenkins.plugins.bayesian.BayesianAnalysisStep$Execution.run(BayesianAnalysisStep.java:78)\r\n\tat org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1$1.call(SynchronousNonBlockingStepExecution.java:49)\r\n\tat hudson.security.ACL.impersonate(ACL.java:260)\r\n\tat org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution$1.run(SynchronousNonBlockingStepExecution.java:46)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n\r\n[Pipeline] error\r\n[Pipeline] }\r\n[Pipeline] // retry\r\n[Pipeline] echo\r\nUnable to run Bayesian analysis: hudson.AbortException: Bayesian analysis failed com.redhat.jenkins.plugins.bayesian.BayesianStepResponse@17950ed\r\n[Pipeline] echo\r\nChecking sonarqube exists\r\n[Pipeline] echo\r\nCode validation service: sonarqube not available\r\n[Pipeline] echo\r\ns2i mode: true\r\n[Pipeline] stash\r\nStashed 8 file(s)\r\n```"},"comment":{"url":"https://api.github.com/repos/openshiftio/openshift.io/issues/comments/428565769","html_url":"https://github.com/openshiftio/openshift.io/issues/4399#issuecomment-428565769","issue_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/4399","id":428565769,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODU2NTc2OQ==","user":{"login":"msrb","id":3759039,"node_id":"MDQ6VXNlcjM3NTkwMzk=","avatar_url":"https://avatars0.githubusercontent.com/u/3759039?v=4","gravatar_id":"","url":"https://api.github.com/users/msrb","html_url":"https://github.com/msrb","followers_url":"https://api.github.com/users/msrb/followers","following_url":"https://api.github.com/users/msrb/following{/other_user}","gists_url":"https://api.github.com/users/msrb/gists{/gist_id}","starred_url":"https://api.github.com/users/msrb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msrb/subscriptions","organizations_url":"https://api.github.com/users/msrb/orgs","repos_url":"https://api.github.com/users/msrb/repos","events_url":"https://api.github.com/users/msrb/events{/privacy}","received_events_url":"https://api.github.com/users/msrb/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T13:12:19Z","updated_at":"2018-10-10T13:12:19Z","author_association":"COLLABORATOR","body":"So the problem here is that newly introduced auth library used by Analytics service checks if `email_verified` field in provided JWT token is True. This works just fine for user tokens, but tokens used by Jenkins don't have this field. This means that Analytics calls triggered from build pipelines are affected, but IDEs should be fine. "}}
{"actor":{"display_login":"msrb"}}