Skip to content

Add helm charts and config for prometheus monitoring#36

Merged
ChrisPenner merged 2 commits intomasterfrom
cp/prometheus-operator
Apr 8, 2019
Merged

Add helm charts and config for prometheus monitoring#36
ChrisPenner merged 2 commits intomasterfrom
cp/prometheus-operator

Conversation

@ChrisPenner
Copy link
Contributor

@ChrisPenner ChrisPenner commented Apr 1, 2019

Current state doesn't bundle in graphs for wire-services, I've pulled that out as a separate issue since it will likely be easier if we wait a week or two for the grafana dashboard importing fix to make its way downstream: #38

Once helm/helm#5112 is merged we may be able to simplify the installation path a bit.

@ChrisPenner ChrisPenner changed the title [WIP] Add helm charts and config for prometheus monitoring [WIP] [NOT READY]Add helm charts and config for prometheus monitoring Apr 1, 2019
options:
path: /var/lib/grafana/dashboards/default

# TODO: Chart importing is broken for the time being; should be fixed in
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created an issue which references this; I'd prefer to merge through without dashboard importing for now since it'll be easiest to wait a week or two for the fix to make it downstream.

@ChrisPenner ChrisPenner changed the title [WIP] [NOT READY]Add helm charts and config for prometheus monitoring Add helm charts and config for prometheus monitoring Apr 3, 2019
@ChrisPenner ChrisPenner requested a review from jschaul April 3, 2019 09:05
@ChrisPenner ChrisPenner force-pushed the cp/prometheus-operator branch 2 times, most recently from d3b8b09 to 149a766 Compare April 4, 2019 11:04
Copy link
Member

@jschaul jschaul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more minor comments about the docs, otherwise looks perfect!

@ChrisPenner ChrisPenner force-pushed the cp/prometheus-operator branch from 6ab4c4d to 8d111ea Compare April 8, 2019 10:19
@ChrisPenner ChrisPenner force-pushed the cp/prometheus-operator branch from 8d111ea to 54ae4e8 Compare April 8, 2019 10:20
@ChrisPenner ChrisPenner merged commit f05f678 into master Apr 8, 2019
@ChrisPenner ChrisPenner deleted the cp/prometheus-operator branch April 8, 2019 10:21
@zebot
Copy link
Collaborator

zebot commented Apr 8, 2019

{"pr":"36","commit":"54ae4e8268eb53329b2f6273cf24e12070d58600","committed":"2019-04-08T10:20:18Z"}

Running integration tests on wire-server
RUNNING: test-8nlik74kxs2u-wire-server-brig-integration
FAILED: test-8nlik74kxs2u-wire-server-brig-integration, run `kubectl logs test-8nlik74kxs2u-wire-server-brig-integration --namespace test-8nlik74kxs2u` for more info
RUNNING: test-8nlik74kxs2u-wire-server-gundeck-integration
PASSED: test-8nlik74kxs2u-wire-server-gundeck-integration
RUNNING: test-8nlik74kxs2u-wire-server-galley-integration
PASSED: test-8nlik74kxs2u-wire-server-galley-integration
RUNNING: test-8nlik74kxs2u-wire-server-cargohold-integration
PASSED: test-8nlik74kxs2u-wire-server-cargohold-integration
RUNNING: test-8nlik74kxs2u-wire-server-spar-integration
PASSED: test-8nlik74kxs2u-wire-server-spar-integration
Error: 1 test(s) failed
--- wire-server-integration: FAIL
  last 30 lines of logs of services

brig:
1:I,7:request,1:=,3:N/A,4:user,1:=,36:9658ec5e-9631-44e4-9caf-075daae07b8a,14:activation.key,1:=,44:Z1YqZ1U8mP0vTUuXrCyqhT9zMlkLiRTpTKuZnD34pPA=,38:Created email activation key/code pair,
1:I,7:request,1:=,3:N/A,14:activation.key,1:=,44:Z1YqZ1U8mP0vTUuXrCyqhT9zMlkLiRTpTKuZnD34pPA=,15:activation.code,1:=,6:344993,10:Activating,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:9658ec5e-9631-44e4-9caf-075daae07b8a,14:User activated,
1:I,6:logger,1:=,10:index.brig,4:user,1:=,36:9658ec5e-9631-44e4-9caf-075daae07b8a,13:Indexing user,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:71b091a8-3367-4779-9d05-3a8dd2c23ac0,13:Creating user,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:71b091a8-3367-4779-9d05-3a8dd2c23ac0,14:activation.key,1:=,44:9g3xJXRjD7sQy0eBvZjPlxi2gbdASR-QXIcMbVK2e0A=,38:Created email activation key/code pair,
1:I,7:request,1:=,3:N/A,14:activation.key,1:=,44:9g3xJXRjD7sQy0eBvZjPlxi2gbdASR-QXIcMbVK2e0A=,15:activation.code,1:=,6:784550,10:Activating,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:71b091a8-3367-4779-9d05-3a8dd2c23ac0,14:User activated,
1:I,6:logger,1:=,10:index.brig,4:user,1:=,36:71b091a8-3367-4779-9d05-3a8dd2c23ac0,13:Indexing user,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:25da5200-d35e-4215-bf53-542f519bc71f,13:Creating user,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:25da5200-d35e-4215-bf53-542f519bc71f,14:User activated,
1:I,6:logger,1:=,10:index.brig,4:user,1:=,36:25da5200-d35e-4215-bf53-542f519bc71f,13:Indexing user,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:25da5200-d35e-4215-bf53-542f519bc71f,4:team,1:=,36:61b9af9f-be06-43ab-84e0-a28a1b8934eb,13:Added via SSO,
1:I,6:logger,1:=,10:index.brig,4:user,1:=,36:25da5200-d35e-4215-bf53-542f519bc71f,13:Indexing user,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:7b04178e-435e-4afd-92e2-1dac1c9c4014,13:Creating user,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:7b04178e-435e-4afd-92e2-1dac1c9c4014,14:activation.key,1:=,44:SvHdjqaU0iQo2Ehn2k_Hq7oecO-_85F9j1Mnvwti8_Y=,38:Created email activation key/code pair,
1:I,7:request,1:=,3:N/A,14:activation.key,1:=,44:SvHdjqaU0iQo2Ehn2k_Hq7oecO-_85F9j1Mnvwti8_Y=,15:activation.code,1:=,6:390094,10:Activating,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:7b04178e-435e-4afd-92e2-1dac1c9c4014,14:User activated,
1:I,6:logger,1:=,10:index.brig,4:user,1:=,36:7b04178e-435e-4afd-92e2-1dac1c9c4014,13:Indexing user,
1:I,7:request,1:=,3:N/A,28:Processing user delete event,4:user,1:=,36:25da5200-d35e-4215-bf53-542f519bc71f,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:25da5200-d35e-4215-bf53-542f519bc71f,16:Deleting account,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:7bb91252-1350-4964-acba-82f520cc31e3,13:Creating user,
1:I,6:logger,1:=,10:index.brig,4:user,1:=,36:25da5200-d35e-4215-bf53-542f519bc71f,13:Indexing user,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:7bb91252-1350-4964-acba-82f520cc31e3,14:User activated,
1:I,6:logger,1:=,10:index.brig,4:user,1:=,36:7bb91252-1350-4964-acba-82f520cc31e3,13:Indexing user,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:7bb91252-1350-4964-acba-82f520cc31e3,4:team,1:=,36:1ede419b-e883-415d-a9e9-35e4cc6c11f5,13:Added via SSO,
1:I,6:logger,1:=,10:index.brig,4:user,1:=,36:7bb91252-1350-4964-acba-82f520cc31e3,13:Indexing user,
1:I,7:request,1:=,3:N/A,28:Processing user delete event,4:user,1:=,36:7bb91252-1350-4964-acba-82f520cc31e3,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:7bb91252-1350-4964-acba-82f520cc31e3,16:Deleting account,
1:I,6:logger,1:=,10:index.brig,4:user,1:=,36:7bb91252-1350-4964-acba-82f520cc31e3,13:Indexing user,
galley:
1:I,6:logger,1:=,16:cassandra.galley,51:Known hosts: [datacenter1:rack1:10.233.66.216:9042],
1:I,6:logger,1:=,16:cassandra.galley,63:New control connection: datacenter1:rack1:10.233.66.216:9042#11,
1:I,25:Listening on 0.0.0.0:8080,
1:W,7:request,1:=,3:N/A,57:No conversation for: 41a3a28c-73bf-4549-bce0-695042c6025c,
gundeck:
1:I,6:logger,1:=,17:cassandra.gundeck,63:New control connection: datacenter1:rack1:10.233.66.216:9042#11,
1:I,25:Listening on 0.0.0.0:8080,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:e491c25d-73e0-4fcb-b2b9-bd05449921b9,5:token,1:=,16:96dd5e97fd8134bf,22:Registering push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:e491c25d-73e0-4fcb-b2b9-bd05449921b9,5:token,1:=,16:96dd5e97fd8134bf,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/258b1167-1ed5-43d1-84fb-c57537d0fb57,19:Deleting push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:e491c25d-73e0-4fcb-b2b9-bd05449921b9,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/258b1167-1ed5-43d1-84fb-c57537d0fb57,21:Deleting SNS endpoint,
1:W,7:request,1:=,3:N/A,4:user,1:=,36:033f0c79-b3d9-4b04-8f94-f1e22e495d8d,5:zconn,1:=,9:dummy_dev,10:created_at,1:=,13:1554720477054,10:cannon_uri,1:=,48:URI {fromURI = http://localhost:8080/i/bulkpush},15:resource_target,1:=,37:URI {fromURI = http://localhost:8080},14:http_exception,1:=,1066:RPCException {remote = "cannon", path = "/i/bulkpush", headers = [("Request-Id","N/A"),("Content-Type","application/json")], cause = HttpExceptionRequest Request { |   host                 = "localhost" |   port                 = 8080 |   secure               = False |   requestHeaders       = [("Request-Id","N/A"),("Content-Type","application/json")] |   path                 = "/i/bulkpush" |   queryString          = "" |   method               = "POST" |   proxy                = Nothing |   rawBody              = False |   redirectCount        = 10 |   responseTimeout      = ResponseTimeoutMicro 3000000 |   requestVersion       = HTTP/1.1 | } |  (StatusCodeException (Response {responseStatus = Status {statusCode = 404, statusMessage = "Not Found"}, responseVersion = HTTP/1.1, responseHeaders = [("Transfer-Encoding","chunked"),("Date","Mon, 08 Apr 2019 10:47:57 GMT"),("Server","Warp/3.2.25"),("Content-Encoding","gzip"),("Content-Type","application/json")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose}) "")},32:WebSocket presence unreachable: ,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:3090490142e75702,22:Registering push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:4ac47372e569eb20,22:Registering push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:872cc6cf71e11baa,22:Registering push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:b1d64d6034d7b918,22:Registering push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:34214f7188072230,22:Registering push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:ec68d5e12be0024b,22:Registering push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:3090490142e75702,3:arn,1:=,110:arn:aws:sns:eu-west-1:123456789012:endpoint/APNS_SANDBOX/integration-test/bd5b5daa-6e27-4f77-a87c-b59cc1eb3564,19:Deleting push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,3:arn,1:=,110:arn:aws:sns:eu-west-1:123456789012:endpoint/APNS_SANDBOX/integration-test/bd5b5daa-6e27-4f77-a87c-b59cc1eb3564,21:Deleting SNS endpoint,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:86715cf2b174ecf7,22:Registering push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:34214f7188072230,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/12406928-1d72-468b-b724-33c35f9b68d9,19:Deleting push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/12406928-1d72-468b-b724-33c35f9b68d9,21:Deleting SNS endpoint,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:ec68d5e12be0024b,3:arn,1:=,110:arn:aws:sns:eu-west-1:123456789012:endpoint/APNS_SANDBOX/integration-test/2d8a93d5-6448-4be3-9a23-af55b88b4e07,19:Deleting push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,3:arn,1:=,110:arn:aws:sns:eu-west-1:123456789012:endpoint/APNS_SANDBOX/integration-test/2d8a93d5-6448-4be3-9a23-af55b88b4e07,21:Deleting SNS endpoint,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:872cc6cf71e11baa,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/0155561a-47de-4f06-81a7-c01c99c7afd0,19:Deleting push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/0155561a-47de-4f06-81a7-c01c99c7afd0,21:Deleting SNS endpoint,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:4ac47372e569eb20,3:arn,1:=,118:arn:aws:sns:eu-west-1:123456789012:endpoint/APNS_SANDBOX/integration-com.wire.ent/d4581054-3754-48ea-b786-e57c5a9a7868,19:Deleting push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,3:arn,1:=,118:arn:aws:sns:eu-west-1:123456789012:endpoint/APNS_SANDBOX/integration-com.wire.ent/d4581054-3754-48ea-b786-e57c5a9a7868,21:Deleting SNS endpoint,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:b1d64d6034d7b918,3:arn,1:=,110:arn:aws:sns:eu-west-1:123456789012:endpoint/APNS_SANDBOX/integration-test/9d2c2dcb-79f7-458e-b0dc-d155d57b36b8,19:Deleting push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,3:arn,1:=,110:arn:aws:sns:eu-west-1:123456789012:endpoint/APNS_SANDBOX/integration-test/9d2c2dcb-79f7-458e-b0dc-d155d57b36b8,21:Deleting SNS endpoint,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,5:token,1:=,16:86715cf2b174ecf7,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/565fce1b-5d0e-47db-9f4e-aade8c85b8d3,19:Deleting push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:da767c62-f394-45c9-95db-fe538736a9da,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/565fce1b-5d0e-47db-9f4e-aade8c85b8d3,21:Deleting SNS endpoint,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:6d18c89a-4247-4107-b895-e9280b412738,5:token,1:=,16:d8e157db2ae52e3e,22:Registering push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:6d18c89a-4247-4107-b895-e9280b412738,5:token,1:=,16:d8e157db2ae52e3e,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/9b7d9269-8a22-406c-816b-c666c1dbd980,19:Deleting push token,
1:I,7:request,1:=,3:N/A,4:user,1:=,36:6d18c89a-4247-4107-b895-e9280b412738,3:arn,1:=,101:arn:aws:sns:eu-west-1:123456789012:endpoint/GCM/integration-test/9b7d9269-8a22-406c-816b-c666c1dbd980,21:Deleting SNS endpoint,
cargohold:
1:I,25:Listening on 0.0.0.0:8080,
spar:
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = b8f59b79-30c1-4377-a8ab-59dd5a9d11e8},
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = c486b6a7-80fa-4d8e-beff-cc6c16197bb2},
1:D,4:code,1:=,3:409,5:label,1:=,8:Conflict,7:request,1:=,3:N/A,139:"{"scimType":"uniqueness","status":"409","schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"externalId is already taken"}",
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = 5c710a7b-7db7-4b36-b345-b167722b0b7a},
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,4:code,1:=,3:401,5:label,1:=,12:Unauthorized,7:request,1:=,3:N/A,128:"{"status":"401","schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"authorization failed: Token not provided"}",
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = 24ffd2ac-588e-4a35-8ad1-d66135da7203},
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = 0db46520-5836-4172-99d7-51fd86d7f668},
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = 2140bf2a-02d1-45ca-ba5c-d03d12db2faa},
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,4:code,1:=,3:404,5:label,1:=,9:Not Found,7:request,1:=,3:N/A,141:"{"status":"404","schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"User 'b3947e70-5256-4f31-a669-321e1a09ca7f' not found"}",
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = e0d03323-7d9f-4d61-a83c-06465ff6d608},
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = 22d81be1-00f3-41da-9aa6-421c416bfc7e},
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = a7a26e28-c4e9-4caa-a006-07e00357703b},
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,4:code,1:=,3:404,5:label,1:=,9:Not Found,7:request,1:=,3:N/A,141:"{"status":"404","schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"user 'eaea5498-6d66-4743-b566-db1276e6950b' not found"}",
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = d8eb1ac2-bf10-4cb3-8f2e-dc1d3d0fe83d},
1:D,7:request,1:=,3:N/A,18:entering idpCreate,
1:D,4:code,1:=,3:404,5:label,1:=,9:Not Found,7:request,1:=,3:N/A,141:"{"status":"404","schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"User '25da5200-d35e-4215-bf53-542f519bc71f' not found"}",
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = f8e1b6c4-11a7-46aa-96b2-c0fb76ec7572},
1:D,7:request,1:=,3:N/A,75:leaving idpCreate: IdPId {fromIdPId = 0adb1be7-65b8-4bb8-b4c9-e1932a8c0e81},
1:D,7:request,1:=,3:N/A,18:entering idpCreate,

--- failing tests:

2019-04-08T10:45:58Z, D, Connecting to 10.233.66.216:9042
Brig API Integration
  user
    account
      post /register - 201 (with preverified):                         OK (0.64s)
      post /register - 201:                                            2019-04-08T10:45:58Z, I, Known hosts: [datacenter1:rack1:10.233.66.216:9042]
2019-04-08T10:45:58Z, I, New control connection: datacenter1:rack1:10.233.66.216:9042#3
OK (0.42s)
      post /register - 201 + no email:                                 OK (0.05s)
      post /register - 201 anonymous:                                  OK (0.31s)
      post /register - 201 anonymous expiry:                           FAIL (0.16s)
        test/integration/API/User/Account.hs:432:
        expiry must in be the future
      post /register - 201 pending:                                    OK (0.22s)
      post /register - 201 existing activation:                        OK (0.11s)
      post /register - 409 conflict:                                   OK (0.15s)
      post /register - 400:                                            OK
      post /register - 403 blacklist:                                  OK (2.17s)
      post /register - 400 external-SSO:                               OK
      post /activate - 200/204 + expiry:                               OK (5.10s)
      get /users/:id - 404:                                            OK
      get /users/:id - 200:                                            OK (0.07s)
      get /users?:id=.... - 200:                                       OK (0.18s)
      put /self - 200:                                                 OK (0.44s)
      put /self/email - 2xx:                                           OK (0.40s)
      put /self/phone - 202:                                           OK (0.13s)
      head /self/password - 200/404:                                   OK (0.07s)
      put /self/password - 200:                                        OK (0.31s)
      put /self/locale - 200:                                          OK (0.12s)
      post /activate/send - 200:                                       OK (0.09s)
      post /activate/send - 403:                                       OK (0.02s)
      post /i/users/phone-prefix:                                      OK (0.01s)
      put /i/users/:id/status (suspend):                               OK (0.38s)
      get /i/users?:(email|phone) - 200:                               OK (0.04s)
      delete/phone-email:                                              OK (0.14s)
      delete/by-password:                                              OK (0.85s)
      delete/by-code:                                                  OK (0.08s)
      delete/anonymous:                                                OK (0.03s)
      delete /i/users/:id - 202:                                       OK (0.30s)
      delete with profile pic:                                         OK (0.05s)
      put /i/users/:uid/sso-id:                                        OK (0.49s)
    auth
      login
        email:                                                         OK (0.17s)
        phone:                                                         OK (0.04s)
        handle:                                                        OK (0.15s)
        email-untrusted-domain:                                        OK (0.15s)
        send-phone-code:                                               OK (0.10s)
        failure:                                                       OK (0.20s)
        throttle:                                                      OK (6.53s)
        sso-login
          email:                                                       OK (0.07s)
          failure-suspended:                                           OK (0.10s)
          failure-no-user:                                             OK
      refresh
        invalid-cookie:                                                OK (1.08s)
        invalid-token:                                                 OK
        missing-cookie:                                                OK
        unknown-cookie:                                                OK
        new-persistent-cookie:                                         OK (4.12s)
        new-session-cookie:                                            OK (2.14s)
      cookies
        list:                                                          OK (0.29s)
        remove-by-label:                                               OK (0.43s)
        remove-by-label-id:                                            OK (0.49s)
        limit:                                                         OK (20.00s)
        logout:                                                        OK (0.12s)
      reauth
        reauthentication:                                              OK (0.27s)
    client
      get /users/:user/prekeys - 200:                                  OK (0.64s)
      get /users/:user/prekeys/:client - 200:                          OK (0.10s)
      post /clients - 201 (pwd):                                       OK (0.11s)
      post /clients - 201 (no pwd):                                    OK (0.05s)
      post /clients - 403:                                             OK (0.24s)
      get /clients - 200:                                              OK (0.15s)
      get /clients/:client/prekeys - 200:                              OK (0.08s)
      post /clients - 400:                                             OK (1.47s)
      delete /clients/:client - 200 (pwd):                             OK (0.31s)
      delete /clients/:client - 200 (no pwd):                          OK (0.08s)
      put /clients/:client - 200:                                      OK (0.12s)
      post /clients - 200 multiple temporary:                          OK (0.15s)
      client/prekeys/race:                                             OK (3.01s)
    connection
      post /connections:                                               OK (0.18s)
      post /connections mutual:                                        OK (0.20s)
      post /connections (bad user):                                    OK (0.08s)
      put /connections/:id accept:                                     OK (0.29s)
      put /connections/:id ignore:                                     OK (0.20s)
      put /connections/:id cancel:                                     OK (0.20s)
      put /connections/:id cancel:                                     OK (0.23s)
      put /connections/:id block:                                      OK (0.23s)
      put /connections/:id block-resend:                               OK (0.19s)
      put /connections/:id unblock pending:                            OK (0.17s)
      put /connections/:id accept blocked:                             OK (0.19s)
      put /connections/:id bad update:                                 OK (0.18s)
      put /connections/:id noop:                                       OK (0.19s)
      get /connections - 200 (paging):                                 OK (0.94s)
      post /connections - 400 (max conns):                             OK (1.70s)
      post /i/users/auto-connect:                                      OK (0.18s)
      post /i/users/auto-connect - existing conn:                      OK (0.18s)
      post /i/users/auto-connect - 400 (bad range):                    OK (0.08s)
    handles
      handles/update:                                                  OK (0.26s)
      handles/race:                                                    OK (1.22s)
      handles/query:                                                   OK (0.12s)
    onboarding
      post /onboarding/v3 - 200:                                       OK (0.53s)
    password-reset
      post /password-reset[/complete] - 201[/200]:                     OK (0.26s)
      post /password-reset & put /self/email - 400:                    OK (0.16s)
    property
      put/get /properties/:key - 200:                                  OK (0.09s)
      delete /properties/:key - 200:                                   OK (0.07s)
      get /properties - 200:                                           OK (0.09s)
      get /properties-values - 200:                                    OK (0.10s)
      delete /properties - 200:                                        OK (0.09s)
      put /properties/:key - 403:                                      OK (0.14s)
    rich info
      there is default empty rich info:                                OK (0.40s)
      missing fields in an update are deleted:                         OK (0.39s)
      fields with empty strings are deleted:                           OK (0.39s)
      duplicate field names are forbidden:                             OK (0.08s)
      exceeding rich info size limit is forbidden:                     OK (0.10s)
      non-team members don't have rich info:                           OK (0.24s)
      non-members / other membes / guests cannot see rich info:        OK (0.37s)
  provider
    account
      register:                                                        2019-04-08T10:47:05Z, D, Connection established: datacenter1:rack1:10.233.66.216:9042#8
OK (0.15s)
      register + activate internal:                                    OK (0.15s)
      login:                                                           OK (0.16s)
      update:                                                          OK (0.12s)
      delete:                                                          OK (0.21s)
      password-reset:                                                  2019-04-08T10:47:05Z, D, Connection established: datacenter1:rack1:10.233.66.216:9042#10
2019-04-08T10:47:05Z, D, Connection established: datacenter1:rack1:10.233.66.216:9042#15
2019-04-08T10:47:06Z, D, Connection established: datacenter1:rack1:10.233.66.216:9042#16
2019-04-08T10:47:06Z, D, Connection established: datacenter1:rack1:10.233.66.216:9042#17
2019-04-08T10:47:06Z, D, Connection established: datacenter1:rack1:10.233.66.216:9042#18
OK (0.35s)
      email/password update with password reset:                       OK (0.53s)
    service
      add-get fail (bad key):                                          OK (0.11s)
      add-get:                                                         OK (0.10s)
      update:                                                          OK (0.29s)
      update-conn:                                                     OK (0.48s)
      search (tag/prefix):                                             OK (1.87s)
      delete:                                                          OK (1.53s)
    service whitelist
      search permissions:                                              OK (0.30s)
      update permissions:                                              OK (0.61s)
      basic functionality:                                             OK (0.46s)
      search:                                                          OK (2.40s)
      search honors enabling and whitelisting:                         OK (0.25s)
      de-whitelisted bots are removed:                                 OK (2.45s)
      de-whitelisting works with deleted conversations:                2019-04-08T10:47:18Z, D, Connection established: datacenter1:rack1:10.233.66.216:9042#19
OK (0.64s)
    bot
      add-remove:                                                      OK (0.61s)
      message:                                                         OK (1.44s)
      bad fingerprint:                                                 OK (0.58s)
    bot-teams
      add-remove:                                                      2019-04-08T10:47:21Z, D, Connection established: datacenter1:rack1:10.233.66.216:9042#20
OK (0.55s)
      team-only:                                                       OK (0.65s)
      message:                                                         OK (1.50s)
      delete conv:                                                     OK (0.59s)
      delete team:                                                     OK (1.64s)
  search
    opt-in-out:                                                        OK (0.22s)
    by-name:                                                           OK (0.22s)
    by-handle:                                                         OK (0.16s)
    reindex:                                                           OK (2.99s)
  team
    invitation
      post /teams/:tid/invitations - 201:                              OK (0.09s)
      post /teams/:tid/invitations - 403 no permission:                OK (0.15s)
      post /teams/:tid/invitations - 403 too many pending:             OK (1.83s)
      post /teams/:tid/invitations - roles:                            OK (0.28s)
      post /register - 201 accepted:                                   OK (0.22s)
      post /register user & team - 201 accepted:                       OK (0.12s)
      post /register user & team - 201 preverified:                    OK (0.11s)
      post /register - 400 no passwordless:                            OK
      post /register - 400 code already used:                          OK (0.17s)
      post /register - 400 bad code:                                   OK
      post /register - 400 no wireless:                                OK
      post /register - 400 mutually exclusive:                         OK
      post /register - 403 too many members:                           OK (3.73s)
      get /teams/:tid/invitations - 200 (paging):                      OK (0.19s)
      get /teams/:tid/invitations/info - 200:                          OK (0.10s)
      get /teams/:tid/invitations/info - 400:                          OK
      get /teams/:tid/invitations/info - 400 expired:                  OK (10.12s)
      post /i/teams/:tid/suspend - 200:                                OK (0.34s)
      put /self - 200 update events:                                   OK (0.25s)
      delete /self - 200 (ensure no orphan teams):                     OK (1.71s)
      post /connections - 403 (same binding team):                     OK (0.38s)
    search
      post /register members are unsearchable:                         OK (0.35s)
    sso
      post /i/users  - 201 internal-SSO:                               OK (0.15s)
      delete /i/users/:id - 202 internal-SSO (ensure no orphan teams): OK (0.59s)
      get /i/users/:uid/is-team-owner/:tid:                            OK (0.74s)
  metrics
    prometheus:                                                        OK (0.02s)
    work:                                                              OK (0.17s)

1 out of 164 tests failed (113.43s)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants