• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DemocracyClub / yournextrepresentative / eac7a561-dd52-408e-a5ea-bff988415cdb / 1
68%
master: 71%

Build:
Build:
LAST BUILD BRANCH: pmk01-patch-17
DEFAULT BRANCH: master
Ran 24 Feb 2025 08:34AM UTC
Files 241
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Feb 2025 08:27AM UTC coverage: 67.761%. Remained the same
eac7a561-dd52-408e-a5ea-bff988415cdb.1

push

circleci

jpluscplusm
[WIP] deploy/cdk: use YNR container image

This currently-broken WIP replaces the example container image in the toy
Fargate service deployed by the CDK with the YNR container image.

The CDK can't currently complete a deployment of this setup, probably due to
the following events never permitting the ECS Service to settle and consider
itself properly deployed to Cloudformation's satisfaction:

    [xx:24:19 +0000] [1] [INFO] Starting gunicorn 23.0.0
    [xx:24:19 +0000] [1] [INFO] Listening at: http://0.0.0.0:80 (1)
    [xx:24:19 +0000] [1] [INFO] Using worker: sync
    [xx:24:19 +0000] [8] [INFO] Booting worker with pid: 8
    /dc/ynr/code/ynr/wsgi.py:26: UserWarning: Not reading /dc/ynr/code/.env - it doesn't exist.
    dotenv.read_dotenv(
    [xx:25:15 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:8)
    [xx:25:16 +0000] [1] [ERROR] Worker (pid:8) was sent SIGKILL! Perhaps out of memory?
    [xx:25:16 +0000] [15] [INFO] Booting worker with pid: 15
    /dc/ynr/code/ynr/wsgi.py:26: UserWarning: Not reading /dc/ynr/code/.env - it doesn't exist.
    dotenv.read_dotenv(
    [xx:25:49 +0000] [1] [CRITICAL] WORKER TIMEOUT (pid:15)

... and so on, indefinitely.

Reports of this problem on AWS, either behind a load balancer or using ECS, can
be found online going back to 2016
(https://github.com/benoitc/gunicorn/issues/1194), and remedies include
switching to "gevent" workers, increasing gunicorn's --timeout setting, or
increasing gunicorn's --keepalive setting.

This change is WIP because the manual CDK deployent of the YNR service doesn't
complete successfully.

1556 of 2825 branches covered (55.08%)

Branch coverage included in aggregate %.

7446 of 10460 relevant lines covered (71.19%)

0.71 hits per line

Source Files on job eac7a561-dd52-408e-a5ea-bff988415cdb.1
  • Tree
  • List 241
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 0
  • CircleCI Build #
  • 4a7f637a on github
  • Prev Job for on jcm/wip (#e0aa8f39-7598-47f8-b09d-98a876a76c0b.1)
  • Next Job for on jcm/wip (#48469aa5-79f5-401b-9a4a-9a5fbc90a5d2.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc