Skip to content

Instantly share code, notes, and snippets.

@escherize
Created September 9, 2014 05:37
Show Gist options
  • Save escherize/b12b6b3f2f8e4096f898 to your computer and use it in GitHub Desktop.
Save escherize/b12b6b3f2f8e4096f898 to your computer and use it in GitHub Desktop.

Chesterfield errors out every time now, because

furtive sometimes calls get-buckets before get-user-token, And not sure why yet. :( http://bit.ly/1tG36tE

Exceptions encountered:

#<CompilerException java.lang.OutOfMemoryError: PermGen space,

=> upped permgen size to 1024mb

IOException Stream closed java.io.BufferedWriter.ensureOpen (BufferedWriter.java:116)

=> Not sure of this cause

“msg”:”Exception while Posting to E.P.”,”host”:”http://localhost:5001”,”relative-url”:”/update-runtime”,

=> A possible bug?

Rolled back SHAs to when the last known sim passed validations, and still recieved validation errors! :(

projectSHA
Che44842bb
Eccfc3d388
Fura03a864
outcomeValidation Failures

Validation errors seen:

the usual (these two were caused by get-buckets and get-user-token being called out of order):

{:action-log-id 395824186004210, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186004214, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”}

User tokens missing from report:

{:validation-type :user-tokens-match-confirmed-buckets-report, :detail “Missing from report: 9cec5d6e-0406-4623-b711-3fae381bfb32”}

exceptions thrown (probably something died mid-sim)

{:action-log-id 395824186004624, :validation-type :no-exceptions-were-thrown, :detail “Action 387028092980282 threw java.net.SocketTimeoutException with message ‘Read timed out’”}

update-runtime not working properly (an actual bug?):

{:validation-type :confirmed-buckets-match-report, :detail “Missing from report: [9cec5d6e-0406-4623-b711-3fae381bfb32 7813c504-be1a-4335-ad12-8bf8a40ca61d/messy-8/active]”}

find a time when a successful sim ran

sim runs >_<!!!!!!!

exception while calling update-runtime

projectSHA
Che44842bb
Eccup-to-date
Furup-to-date
outcomeFAIL

falure: failed to update runtime

({:action-log-id 395824186003767, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186004725, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186003757, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186004923, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186004561, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186004559, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186004214, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186004546, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”}

{:action-log-id 395824186004210, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186003767, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186004546, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186004725, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186004923, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186003757, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186004559, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186004561, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186004624, :validation-type :no-exceptions-were-thrown, :detail “Action 387028092980282 threw java.net.SocketTimeoutException with message ‘Read timed out’”} {:action-log-id 395824186005540, :validation-type :no-exceptions-were-thrown, :detail “Action 387028092980728 threw java.net.SocketTimeoutException with message ‘Read timed out’”})

2

projectSHA
Che44842bb
Eccfc3d388
Furup-to-date
outcomeFAIL

failure:

“msg”:”Exception while Posting to E.P.”,”host”:”http://localhost:5001”,”relative-url”:”/update-runtime”,

({:action-log-id 395824186011313, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186010625, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186009162, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186011281, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186011279, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186011285, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186010625, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186011313, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186009162, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186011279, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186011281, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186011285, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:validation-type :user-tokens-match-confirmed-buckets-report, :detail “Missing from report: 9cec5d6e-0406-4623-b711-3fae381bfb32”} {:validation-type :user-tokens-match-confirmed-buckets-report, :detail “Missing from report: a0668f16-14cf-428e-9f01-b5f2be2d0c94”} {:validation-type :confirmed-buckets-match-report, :detail “Missing from report: [a0668f16-14cf-428e-9f01-b5f2be2d0c94 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8/active]”} {:validation-type :confirmed-buckets-match-report, :detail “Missing from report: [9cec5d6e-0406-4623-b711-3fae381bfb32 7813c504-be1a-4335-ad12-8bf8a40ca61d/messy-8/active]”} [:validation-type :lift-report-total-unmanaged-sessions] [:detail “EP reports 5, Chesterfield calculates 4 total-unmanaged-sessions for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8”] [:validation-type :lift-report-total-sales] [:detail “EP reports 2009293, Chesterfield calculates 2247542 for total-sales-$ for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8”] [:validation-type :lift-report-total-discounts] [:detail “EP reports -13941, Chesterfield calculates -23736 for discount-$ for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8”] {:validation-type :lift-report-num-purchases-per-bucket, :detail “EP reports 5, Chesterfield calculates 6 purchases for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8/active”} {:validation-type :lift-report-sales-cents-per-bucket, :detail “EP reports 2009293, Chesterfield calculates 2247542 sales-cents for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8/active”} {:validation-type :lift-report-discount-cents-per-bucket, :detail “EP reports -13941, Chesterfield calculates -23736 discount-cents for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8/active”} [:validation-type :lift-report-total-unmanaged-sessions] [:detail “EP reports 6, Chesterfield calculates 5 total-unmanaged-sessions for 7813c504-be1a-4335-ad12-8bf8a40ca61d/messy-8”])({:action-log-id 395824186011313, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186010625, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186009162, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186011281, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186011279, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186011285, :validation-type :all-api-calls-http-ok, :detail “Expected 200, got 400”} {:action-log-id 395824186010625, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186011313, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186009162, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186011279, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186011281, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:action-log-id 395824186011285, :validation-type :all-api-calls-successful, :detail “Expected SUCCESS, got INVALID_REQUEST”} {:validation-type :user-tokens-match-confirmed-buckets-report, :detail “Missing from report: 9cec5d6e-0406-4623-b711-3fae381bfb32”} {:validation-type :user-tokens-match-confirmed-buckets-report, :detail “Missing from report: a0668f16-14cf-428e-9f01-b5f2be2d0c94”} {:validation-type :confirmed-buckets-match-report, :detail “Missing from report: [a0668f16-14cf-428e-9f01-b5f2be2d0c94 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8/active]”} {:validation-type :confirmed-buckets-match-report, :detail “Missing from report: [9cec5d6e-0406-4623-b711-3fae381bfb32 7813c504-be1a-4335-ad12-8bf8a40ca61d/messy-8/active]”} [:validation-type :lift-report-total-unmanaged-sessions] [:detail “EP reports 5, Chesterfield calculates 4 total-unmanaged-sessions for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8”] [:validation-type :lift-report-total-sales] [:detail “EP reports 2009293, Chesterfield calculates 2247542 for total-sales-$ for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8”] [:validation-type :lift-report-total-discounts] [:detail “EP reports -13941, Chesterfield calculates -23736 for discount-$ for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8”] {:validation-type :lift-report-num-purchases-per-bucket, :detail “EP reports 5, Chesterfield calculates 6 purchases for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8/active”} {:validation-type :lift-report-sales-cents-per-bucket, :detail “EP reports 2009293, Chesterfield calculates 2247542 sales-cents for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8/active”} {:validation-type :lift-report-discount-cents-per-bucket, :detail “EP reports -13941, Chesterfield calculates -23736 discount-cents for 2dbeb05f-f8e5-49c3-8913-a0896f9d8254/precise-8/active”} [:validation-type :lift-report-total-unmanaged-sessions] [:detail “EP reports 6, Chesterfield calculates 5 total-unmanaged-sessions for 7813c504-be1a-4335-ad12-8bf8a40ca61d/messy-8”])

3

failure:

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