Skip to content

[SR-2856] libdispatch dispatch_timer_set_time test is flaky #721

Closed
@swift-ci

Description

@swift-ci
Previous ID SR-2856
Radar rdar://problem/28598500
Original Reporter erg (JIRA User)
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s libdispatch
Labels Bug
Assignee dgrove-oss (JIRA)
Priority Medium

md5: 5383403a9de42fe43ff508c2c62f0e0b

Issue Description:

This fails sometimes in the Ubuntu CI.

https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-15_10/8010/console

```
PASS: dispatch_starfish
PASS: dispatch_data
PASS: dispatch_io_net
PASS: dispatch_select

libdispatch 1.3: tests/test-suite.log

  1. TOTAL: 22

  2. PASS: 21

  3. SKIP: 0

  4. XFAIL: 0

  5. FAIL: 1

  6. XPASS: 0

  7. ERROR: 0

.. contents:: :depth: 2

FAIL: dispatch_timer_set_time

==================================================
[TEST] Dispatch Update Timer
[PID] 41980

[BEGIN] dispatch_source_create
Actual: 0x947180
Expected: 0x947180
[PASS] dispatch_source_create

[BEGIN] dispatch_source_timer_create
Actual: 0x947180
Expected: 0x947180
[PASS] dispatch_source_timer_create
1
2
3
4
5
6
7

[BEGIN] total duration
Actual: 3
Expected: <3
[FAIL] total duration (dispatch_timer_set_time.c:56)
dispatch_timer_set_time.c:56

[BEGIN] Process exited

Actual: 0
Expected: 0
[PASS] Process exited
[PERF] wall time: 0.000113
[PERF] user time: 0.304000
[PERF] system time: 1.084000
[PERF] max resident set size: 19684
[PERF] page faults: 0
[PERF] swaps: 0
[PERF] voluntary context switches: 319840
[PERF] involuntary context switches: 11
FAIL dispatch_timer_set_time (exit status: 1)

============================================================================
Testsuite summary for libdispatch 1.3

  1. TOTAL: 22

  2. PASS: 21

  3. SKIP: 0

  4. XFAIL: 0

  5. FAIL: 1

  6. XPASS: 0

  7. ERROR: 0
    ```

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions