serverless / serverless/serverless

Command sls deploy hang if named pipe (FIFO special file) is in a project directory

Open
#6,602 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug cat/packaging help wanted
Dominant language
JavaScript
Stars
46.9k
Forks
5.7k
Avg merge
10h 7m
Merged PRs (30d)
57

Description

This is a Bug Report

Description

Existing of named pipe (FIFO special file) in a directory of the project makes deployment impossible.

Steps to reproduce:

  • Create a project in the chosen directory
sls create --template aws-python3 
  • Create also named pipe (FIFO special file) in this directory
mkfifo pipe
  • Try to deploy
sls deploy

Output:
Serverless framework hangs forever on:

Serverless: Packaging service...
Serverless: Excluding development dependencies...

Additional Data

Bug spotted on:

  • macOS Mojave:
Framework Core: 1.50.1
Plugin: 1.3.9
SDK: 2.1.0
  • Ubuntu 18.04.3 LTS
Framework Core: 1.50.1
Plugin: 1.3.9
SDK: 2.1.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the hang in a project containing a FIFO by running mkfifo pipe, then sls deploy with the reported Serverless versions on a supported system. Trace the packaging step where deployment stops after excluding development dependencies; done means sls deploy completes successfully when the project contains a named pipe.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.