Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

rendering tests: Error: timed out after 20 seconds #2808

Closed

Description

@jfirebaugh

Seeing a lot of build jobs failing now due to timeouts in the rendering tests.

* passed background-color default
* passed background-color literal
* passed background-color function
* passed background-opacity color
* passed background-opacity image
* passed background-pattern literal
* passed background-pattern zoomed
[Error: timed out after 20 seconds]

I don't remember seeing this before #2617 -- @kkaefer is it possible that the networking changes started triggering this?

Activity

  1. mikemorris commented on Oct 26, 2015

    @mikemorris
    Contributor

    Pretty sure I've seen this prior, but dismissed it as a random hiccup.

  2. added
    Node.js
    on Oct 26, 2015
  3. kkaefer commented on Oct 27, 2015

    @kkaefer
    Member

    Weirdly, Travis reported the entire test run as passing despite individual failing builds. I tried to reproduce this locally, but couldn't. The node tests never stalled for me.

  4. jfirebaugh commented on Oct 27, 2015

    @jfirebaugh
    ContributorAuthor

    Something changed here recently. I don't recall ever seeing this, or if it happened it was uncommon. Now it happens very frequently.

  5. jfirebaugh commented on Oct 28, 2015

    @jfirebaugh
    ContributorAuthor

    @kkaefer Can you please take another look at this tomorrow?

  6. jfirebaugh commented on Oct 28, 2015

    @jfirebaugh
    ContributorAuthor

    Since still rendering hangs seem to be a recurring problem, we should probably introduce some diagnostic tools. I would probably start with a companion method to Map::isFullyLoaded that logs the status of the resource tree. I.e. a resource identifier and whether or not the resource is loaded, for each of the following:

    style
     - sprite
     - glyphs
     - sources
      - tiles
    
  7. kkaefer commented on Oct 28, 2015

    @kkaefer
    Member

    I tried VMWare Fusion and VirtualBox and was unable to reproduce this issue anywhere.

  8. self-assigned this
    on Oct 28, 2015
  9. jfirebaugh commented on Oct 28, 2015

    @jfirebaugh
    ContributorAuthor

    https://travis-ci.org/mapbox/mapbox-gl-native/builds/87963907

    Got debug output. Tiles are getting stuck in the partial state.

    INFO (General): --------------------------------------------------------------------------------
    INFO (General): MapContext::styleURL: 
    INFO (General): Source::id: mapbox
    INFO (General): Source::loaded: 1
    INFO (General): TileData::id: 0/0/0
    INFO (General): TileData::state: parsed
    INFO (General): TileData::error: 
    INFO (General): Source::id: com.mapbox.annotations
    INFO (General): Source::loaded: 1
    INFO (General): TileData::id: 0/0/0
    INFO (General): TileData::state: partial
    INFO (General): TileData::error: 
    INFO (General): Sprite::loaded: 1
    INFO (General): --------------------------------------------------------------------------------
    
  10. jfirebaugh commented on Oct 28, 2015

    @jfirebaugh
    ContributorAuthor

    As of c0c554e, annotation ("Live") tiles have a hard time getting out of the partial state, because LiveTileData::parsePending calls worker.parseLiveTile, and never worker.parsePendingVectorTileLayers.

    In the headless tests, the most common reason for an annotation tile to be pending is that the sprite hasn't been loaded. Once that condition is hit, there's no way for the annotation tile to get out of the pending state. The only way would be if invalidateTiles() was called, and that only happens if there are annotation changes.

    #2792 is probably the best way of fixing this.

  11. jfirebaugh commented on Oct 28, 2015

    @jfirebaugh
    ContributorAuthor

    @tmpsantos I'm going to need to have you look at this. I thought 5df0928 would fix it, but it didn't.

  12. added a commit that references this issue on Oct 29, 2015
    5df0928
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Node.jstests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions