Closed ljelinkova closed 6 years ago
I can reproduce this issue on prod-preview.
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.
Note Jenkins tokens used in prod/prod-preview are different from our CI tokens, that's why this issue was not caught earlier.
This change is in prod-preview. @ljelinkova - can you please validate on prod-preview?
The E2E test includes a test of the analytics report, yes.
On Wed, Oct 10, 2018 at 9:33 AM GeorgeActon notifications@github.com wrote:
@ljelinkova https://github.com/ljelinkova why is this labeled with e2e-test? did the E2E test fail?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openshiftio/openshift.io/issues/4399#issuecomment-428573063, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnOPYc76Tfrh0FycFtbqCKRSIsDJdQBks5ujfczgaJpZM4XU_dC .
-- Len DiMaggio (ldimaggi@redhat.com) JBoss by Red Hat 314 Littleton Road Westford, MA 01886 USA tel: 978.392.3179 cell: 781.472.9912 http://www.redhat.com http://community.jboss.org/people/ldimaggio
I've tested the fix in staging and promoted it prod.
@msrb it's still failing
@ppitonak which environment? I've tested it in prod-preview before promoting to prod. I see the stack report.
@msrb it really passed at least twice on Jenkins but doesn't work for my account ppitonak-preview
on prod-preview
@ppitonak I see some AuthError(401, 'Authentication failed - token missing')
errors on prod-preview. Could you please check if your Jenkins master has the token in RECOMMENDER_API_TOKEN
env variable?
And if you haven't updated your tenant since May, then it could be the reason :)
Aslak usually updates all tenants using his script :)
Aslak usually updates all tenants using his script :)
Ah, cool :) Ignore my previous comment then :wink:
@ppitonak I see some
AuthError(401, 'Authentication failed - token missing')
errors on prod-preview. Could you please check if your Jenkins master has the token inRECOMMENDER_API_TOKEN
env variable?
I don't have the permissions to check that.
@msrb it passed twice with my account, closing.
I can confirm it's working in production as well.
Issue Overview
The stack report is not generated after successful build. This happens 100% times.
Expected Behaviour
Stack report should be present on space dashboard page.
Current Behaviour
Stack report is not present on space dashboard page.
Additional Information
Jenkins log: http://artifacts.ci.centos.org/devtools/e2e/devtools-test-e2e-openshift.io-smoketest-us-east-2-released/837/05-06-jenkins-log.html