Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Uptime] Fix synthetics detail step count #89940

Merged

Conversation

justinkambic
Copy link
Contributor

Summary

Resolves #89560.

The step count for the journey detail view can sometimes be incorrect, because it counts steps other than step/end. Rather than a simpler solution of modifying the Elasticsearch query to always filter these, or writing a new search, I've opted to make the previous step filters a default. I've also introduced a new parameter for this query, and modified the offending component to specify only journey steps with type step/end.

Any other calls to this API should remain unchanged. I've also added a test file for the journey API call.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@justinkambic justinkambic added bug Fixes for quality problems that affect the customer experience v8.0.0 Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.11.0 v7.12.0 labels Feb 1, 2021
@justinkambic justinkambic self-assigned this Feb 1, 2021
@justinkambic justinkambic requested a review from a team as a code owner February 1, 2021 22:31
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@justinkambic justinkambic added the release_note:skip Skip the PR/issue when compiling release notes label Feb 1, 2021
Copy link
Contributor

@andrewvc andrewvc left a comment

Choose a reason for hiding this comment

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

LGTM pending the marked changes

}

const defaultStepTypes = ['step/end', 'stderr', 'cmd/status', 'step/screenshot'];
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should change the language here for the variable. I wouldn't call these step types but rather syntheticTypes (since they're under synthetics.type) or syntheticEventTypes. A step is a noun, but we've modeled synthetics data as a stream of verbs (that's why there are step/start and step/end types, but not a plain step event.

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 went for syntheticEventTypes.

});

describe('getJourneySteps', () => {
let data: any;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to specify all the fields here? Most aren't related to this specific functionality. If it's to pass a type check there's probably not much we can do, but I've seen these get to be hard to maintain with all the extra data.

]
`);

expect(call.body.size).toBe(500);
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's strike this


expect(call.body.size).toBe(500);

expect(result).toHaveLength(2);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a comment here explaining that we're testing the formatting?

@justinkambic
Copy link
Contributor Author

@andrewvc I added 60b6d65 and 49b1646 to address your feedback.

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / general / Chrome X-Pack Security Functional Tests (OpenID Connect).x-pack/test/security_functional/tests/oidc/url_capture·ts.security app - OIDC interactions URL capture "before all" hook for "can login preserving original URL"

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: security app - OIDC interactions
[00:00:00]           └-> "before all" hook
[00:00:00]           └-: URL capture
[00:00:00]             └-> "before all" hook
[00:00:00]             └-> "before all" hook
[00:00:00]               │ info [../../functional/es_archives/empty_kibana] Loading "mappings.json"
[00:00:00]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_8.0.0_001/QbKjCkkURRykteDrkftMVg] deleting index
[00:00:00]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_task_manager_8.0.0_001/bBQYZ3XLQe6ct2gvRLIdHA] deleting index
[00:00:00]               │ info [../../functional/es_archives/empty_kibana] Deleted existing index [".kibana_8.0.0_001",".kibana_task_manager_8.0.0_001"]
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]               │ info [../../functional/es_archives/empty_kibana] Created index ".kibana"
[00:00:00]               │ debg [../../functional/es_archives/empty_kibana] ".kibana" settings {"index":{"number_of_replicas":"1","number_of_shards":"1"}}
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_task_manager_8.0.0_001] creating index, cause [auto(bulk api)], templates [], shards [1]/[1]
[00:00:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana/fOeZPGPBQkGc-7MuJB_WSQ] update_mapping [_doc]
[00:00:00]               │ debg Migrating saved objects
[00:00:00]               │ proc [kibana]   log   [04:12:30.695] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:00:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_task_manager_8.0.0_001/mtguK0NFQS6x64r0yQgw6w] create_mapping
[00:00:00]               │ proc [kibana]   log   [04:12:30.700] [info][savedobjects-service] [.kibana] INIT -> LEGACY_SET_WRITE_BLOCK
[00:00:00]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] adding block write to indices [[.kibana/fOeZPGPBQkGc-7MuJB_WSQ]]
[00:00:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_task_manager_8.0.0_001/mtguK0NFQS6x64r0yQgw6w] update_mapping [_doc]
[00:00:00]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] completed adding block write to indices [.kibana]
[00:00:00]               │ proc [kibana]   log   [04:12:30.795] [info][savedobjects-service] [.kibana] LEGACY_SET_WRITE_BLOCK -> LEGACY_CREATE_REINDEX_TARGET
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_pre6.5.0_001] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] updating number_of_replicas to [0] for indices [.kibana_pre6.5.0_001]
[00:00:00]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_task_manager_8.0.0_001/mtguK0NFQS6x64r0yQgw6w] update_mapping [_doc]
[00:00:00]               │ proc [kibana]   log   [04:12:30.898] [info][savedobjects-service] [.kibana] LEGACY_CREATE_REINDEX_TARGET -> LEGACY_REINDEX
[00:00:00]               │ proc [kibana]   log   [04:12:30.918] [info][savedobjects-service] [.kibana] LEGACY_REINDEX -> LEGACY_REINDEX_WAIT_FOR_TASK
[00:00:00]               │ proc [kibana]   log   [04:12:30.921] [error][plugins][taskManager] Failed to poll for work: ResponseError: search_phase_execution_exception
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.tasks] creating index, cause [auto(task api)], templates [], shards [1]/[1]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] updating number_of_replicas to [0] for indices [.tasks]
[00:00:00]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] 826 finished with response BulkByScrollResponse[took=4.5ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:00]               │ proc [kibana]   log   [04:12:31.039] [info][savedobjects-service] [.kibana] LEGACY_REINDEX_WAIT_FOR_TASK -> LEGACY_DELETE
[00:00:00]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana/fOeZPGPBQkGc-7MuJB_WSQ] deleting index
[00:00:00]               │ proc [kibana]   log   [04:12:31.087] [info][savedobjects-service] [.kibana] LEGACY_DELETE -> SET_SOURCE_WRITE_BLOCK
[00:00:00]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] adding block write to indices [[.kibana_pre6.5.0_001/mJGJlkqURgGgwZtpEv6iMg]]
[00:00:00]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] completed adding block write to indices [.kibana_pre6.5.0_001]
[00:00:00]               │ proc [kibana]   log   [04:12:31.141] [info][savedobjects-service] [.kibana] SET_SOURCE_WRITE_BLOCK -> CREATE_REINDEX_TEMP
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_8.0.0_reindex_temp] creating index, cause [api], templates [], shards [1]/[1]
[00:00:00]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] updating number_of_replicas to [0] for indices [.kibana_8.0.0_reindex_temp]
[00:00:00]               │ proc [kibana]   log   [04:12:31.205] [info][savedobjects-service] [.kibana] CREATE_REINDEX_TEMP -> REINDEX_SOURCE_TO_TEMP
[00:00:00]               │ proc [kibana]   log   [04:12:31.213] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP -> REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK
[00:00:00]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] 866 finished with response BulkByScrollResponse[took=3ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:00]               │ proc [kibana]   log   [04:12:31.225] [info][savedobjects-service] [.kibana] REINDEX_SOURCE_TO_TEMP_WAIT_FOR_TASK -> SET_TEMP_WRITE_BLOCK
[00:00:00]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] adding block write to indices [[.kibana_8.0.0_reindex_temp/ofbUUuyYSIu6B6YGw-yd7g]]
[00:00:00]               │ info [o.e.c.m.MetadataIndexStateService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] completed adding block write to indices [.kibana_8.0.0_reindex_temp]
[00:00:00]               │ proc [kibana]   log   [04:12:31.271] [info][savedobjects-service] [.kibana] SET_TEMP_WRITE_BLOCK -> CLONE_TEMP_TO_TARGET
[00:00:00]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] applying create index request using existing index [.kibana_8.0.0_reindex_temp] metadata
[00:00:01]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_8.0.0_001] creating index, cause [clone_index], templates [], shards [1]/[1]
[00:00:01]               │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] updating number_of_replicas to [0] for indices [.kibana_8.0.0_001]
[00:00:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_8.0.0_001/QMKKaWN-Se6jWlaF5S7Hvw] create_mapping
[00:00:01]               │ proc [kibana]   log   [04:12:31.426] [info][savedobjects-service] [.kibana] CLONE_TEMP_TO_TARGET -> OUTDATED_DOCUMENTS_SEARCH
[00:00:01]               │ proc [kibana]   log   [04:12:31.449] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:00:01]               │ info [o.e.c.m.MetadataMappingService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_8.0.0_001/QMKKaWN-Se6jWlaF5S7Hvw] update_mapping [_doc]
[00:00:01]               │ proc [kibana]   log   [04:12:31.527] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:00:01]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] 902 finished with response BulkByScrollResponse[took=2.7ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:00:01]               │ proc [kibana]   log   [04:12:31.537] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> MARK_VERSION_INDEX_READY
[00:00:01]               │ info [o.e.c.m.MetadataDeleteIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.kibana_8.0.0_reindex_temp/ofbUUuyYSIu6B6YGw-yd7g] deleting index
[00:00:01]               │ proc [kibana]   log   [04:12:31.593] [info][savedobjects-service] [.kibana] MARK_VERSION_INDEX_READY -> DONE
[00:00:01]               │ proc [kibana]   log   [04:12:31.594] [info][savedobjects-service] [.kibana] Migration completed after 905ms
[00:00:03]               │ info [o.e.c.m.MetadataCreateIndexService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] [.ds-ilm-history-5-2021.02.02-000001] creating index, cause [initialize_data_stream], templates [ilm-history], shards [1]/[0]
[00:00:03]               │ info [o.e.c.m.MetadataCreateDataStreamService] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] adding data stream [ilm-history-5] with write index [.ds-ilm-history-5-2021.02.02-000001] and backing indices []
[00:00:03]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] moving index [.ds-ilm-history-5-2021.02.02-000001] from [null] to [{"phase":"new","action":"complete","name":"complete"}] in policy [ilm-history-ilm-policy]
[00:00:03]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] moving index [.ds-ilm-history-5-2021.02.02-000001] from [{"phase":"new","action":"complete","name":"complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] in policy [ilm-history-ilm-policy]
[00:00:03]               │ info [o.e.x.i.IndexLifecycleTransition] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] moving index [.ds-ilm-history-5-2021.02.02-000001] from [{"phase":"hot","action":"unfollow","name":"wait-for-indexing-complete"}] to [{"phase":"hot","action":"unfollow","name":"wait-for-follow-shard-tasks"}] in policy [ilm-history-ilm-policy]
[00:00:57]               │ proc [kibana]   log   [04:13:27.383] [error][plugins][taskManager] [WorkloadAggregator]: Error: Invalid workload: {"took":0,"timed_out":false,"_shards":{"total":0,"successful":0,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":0,"hits":[]}}
[00:01:57]               │ proc [kibana]   log   [04:14:27.392] [error][plugins][taskManager] [WorkloadAggregator]: Error: Invalid workload: {"took":0,"timed_out":false,"_shards":{"total":0,"successful":0,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":0,"hits":[]}}
[00:02:00]               │ERROR [migrate saved objects] request failed (attempt=1/5): socket hang up
[00:02:00]               │ proc [kibana]   log   [04:14:30.730] [error][savedobjects-service] [.kibana_task_manager] Action failed with 'Request timed out'. Retrying attempt 1 out of 10 in 2 seconds.
[00:02:00]               │ proc [kibana]   log   [04:14:30.731] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> CREATE_NEW_TARGET
[00:02:01]               │ proc [kibana]   log   [04:14:31.700] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:02:01]               │ proc [kibana]   log   [04:14:31.707] [info][savedobjects-service] [.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH
[00:02:01]               │ proc [kibana]   log   [04:14:31.721] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:02:01]               │ proc [kibana]   log   [04:14:31.804] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:02:01]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] 1489 finished with response BulkByScrollResponse[took=3.2ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:02:01]               │ proc [kibana]   log   [04:14:31.911] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE
[00:02:01]               │ proc [kibana]   log   [04:14:31.912] [info][savedobjects-service] [.kibana] Migration completed after 218ms
[00:02:57]               │ proc [kibana]   log   [04:15:27.398] [error][plugins][taskManager] [WorkloadAggregator]: Error: Invalid workload: {"took":0,"timed_out":false,"_shards":{"total":0,"successful":0,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":0,"hits":[]}}
[00:03:57]               │ proc [kibana]   log   [04:16:27.406] [error][plugins][taskManager] [WorkloadAggregator]: Error: Invalid workload: {"took":0,"timed_out":false,"_shards":{"total":0,"successful":0,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":0,"hits":[]}}
[00:04:01]               │ERROR [migrate saved objects] request failed (attempt=2/5): socket hang up
[00:04:01]               │ proc [kibana]   log   [04:16:31.713] [error][savedobjects-service] [.kibana_task_manager] Action failed with 'Request timed out'. Retrying attempt 1 out of 10 in 2 seconds.
[00:04:01]               │ proc [kibana]   log   [04:16:31.714] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> CREATE_NEW_TARGET
[00:04:02]               │ proc [kibana]   log   [04:16:32.741] [error][savedobjects-service] [.kibana_task_manager] Action failed with 'Request timed out'. Retrying attempt 2 out of 10 in 4 seconds.
[00:04:02]               │ proc [kibana]   log   [04:16:32.741] [info][savedobjects-service] [.kibana_task_manager] CREATE_NEW_TARGET -> CREATE_NEW_TARGET
[00:04:03]               │ proc [kibana]   log   [04:16:33.697] [info][savedobjects-service] [.kibana_task_manager] INIT -> CREATE_NEW_TARGET
[00:04:03]               │ proc [kibana]   log   [04:16:33.704] [info][savedobjects-service] [.kibana] INIT -> OUTDATED_DOCUMENTS_SEARCH
[00:04:03]               │ proc [kibana]   log   [04:16:33.715] [info][savedobjects-service] [.kibana] OUTDATED_DOCUMENTS_SEARCH -> UPDATE_TARGET_MAPPINGS
[00:04:03]               │ proc [kibana]   log   [04:16:33.772] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS -> UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK
[00:04:03]               │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-ubuntu-16-tests-xxl-1612235785000960888] 2060 finished with response BulkByScrollResponse[took=2.8ms,timed_out=false,sliceId=null,updated=0,created=0,deleted=0,batches=0,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:04:03]               │ proc [kibana]   log   [04:16:33.879] [info][savedobjects-service] [.kibana] UPDATE_TARGET_MAPPINGS_WAIT_FOR_TASK -> DONE
[00:04:03]               │ proc [kibana]   log   [04:16:33.880] [info][savedobjects-service] [.kibana] Migration completed after 186ms
[00:04:57]               │ proc [kibana]   log   [04:17:27.413] [error][plugins][taskManager] [WorkloadAggregator]: Error: Invalid workload: {"took":0,"timed_out":false,"_shards":{"total":0,"successful":0,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":0,"hits":[]}}
[00:05:57]               │ proc [kibana]   log   [04:18:27.420] [error][plugins][taskManager] [WorkloadAggregator]: Error: Invalid workload: {"took":0,"timed_out":false,"_shards":{"total":0,"successful":0,"skipped":0,"failed":0},"hits":{"total":{"value":0,"relation":"eq"},"max_score":0,"hits":[]}}
[00:06:00]               └- ✖ fail: security app - OIDC interactions URL capture "before all" hook for "can login preserving original URL"
[00:06:00]               │      Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/parallel/18/kibana/x-pack/test/security_functional/tests/oidc/url_capture.ts)
[00:06:00]               │       at listOnTimeout (internal/timers.js:554:17)
[00:06:00]               │       at processTimers (internal/timers.js:497:7)
[00:06:00]               │ 
[00:06:00]               │ 

Stack Trace

Error: Timeout of 360000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/dev/shm/workspace/parallel/18/kibana/x-pack/test/security_functional/tests/oidc/url_capture.ts)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
uptime 892.6KB 892.7KB +72.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@justinkambic justinkambic merged commit c38d9b0 into elastic:master Feb 2, 2021
justinkambic added a commit to justinkambic/kibana that referenced this pull request Feb 2, 2021
* Add parameter to allow filtering by step type. Write tests.

* Delete unneeded fields.

* PR feedback.
justinkambic added a commit to justinkambic/kibana that referenced this pull request Feb 2, 2021
* Add parameter to allow filtering by step type. Write tests.

* Delete unneeded fields.

* PR feedback.
gmmorris added a commit to lizozom/kibana that referenced this pull request Feb 2, 2021
…om/kibana into pr/89570

* 'sessions/save-all-sessions' of https://github.com/lizozom/kibana: (44 commits)
  [ML] Functional tests - skip DFA clone tests
  [Uptime] Fix synthetics detail step count (elastic#89940)
  Fixes the permissions to require cluster.manage in order to create an index and in order to update an index (elastic#89947)
  [Security Solution] [Detections] adds log info level for logging in cloud (elastic#89941)
  [Time to Visualize] Dashboard By Value Testing Lens (elastic#89581)
  [Uptime] Expand synthetic journey step thumbnail on hover (elastic#89179)
  TS project refs: Migrates snapshot_restore to a TS Project (elastic#89653)
  docs: APM 7.11 updates (elastic#89789)
  move skip to higher level (elastic#86952)
  Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (elastic#85778)"
  Revert "Revert "Enable v2 so migrations, disable in FTR tests (elastic#89297)""
  Revert "Enable v2 so migrations, disable in FTR tests (elastic#89297)"
  [data.search] Allow search response to follow new hits format (elastic#88115)
  [Maps] Change 'create multi-layer map' title to be use-case focused (elastic#89520)
  skip flaky suite (elastic#86952)
  [Security Solution] Remove focustrap (elastic#89905)
  [Workplace Search] Add remaining i18n support for the Content Sources tree (elastic#89910)
  [esArchiver] log when migrations complete and we're done loading data (elastic#89938)
  Add --ssl flag to make resolver generator use ssl with kbn and elasticsearch clients (elastic#89873)
  TS project refs: Migrates grokdebugger (elastic#89652)
  ...
justinkambic added a commit that referenced this pull request Feb 2, 2021
* Add parameter to allow filtering by step type. Write tests.

* Delete unneeded fields.

* PR feedback.
justinkambic added a commit that referenced this pull request Feb 2, 2021
* Add parameter to allow filtering by step type. Write tests.

* Delete unneeded fields.

* PR feedback.
@justinkambic
Copy link
Contributor Author

@justinkambic justinkambic deleted the 89560_step-count-sometimes-incorrect branch February 2, 2021 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v7.11.0 v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Uptime] Step count sometimes incorrect
4 participants