Skip to content

Broken pipe errors from TravisCI #1715

@iilyak

Description

@iilyak

Expected Behavior

When we do a push of previously tested code we expect the CI to pass.

Current Behavior

TravisCI fails on the test suite stage. Logs reveal errors like the following:

  • Error writing to pipe: Broken pipe
  • erl_child_setup: failed with error 32 on line 253 - error 32 is "Broken pipe"

Possible Solution

Broken pipe is usually resource exhaustion however it seems to be a known problem for container based environments.

  • increase ulimit for travis instances (if possible)
  • one tread on internet recommends switching to full virtualization to fix the issue

Steps to Reproduce (for bugs)

  1. create branch of master git checkout master && git checkout -b test-ci
  2. push it to github.com/apache/couchdb
  3. try few times watching for failed TravisCI builds

Context

  1. The issue prevents us from merging PRs
  2. The presence of the issue decrease our confidence in the CI
  3. We have to spent time trying multiple times
  4. It adds additional burden for the reviewer to check logs to make sure the failure is an exhaustion issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions