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

DemocracyClub / yournextrepresentative / e0aa8f39-7598-47f8-b09d-98a876a76c0b
68%
master: 71%

Build:
Build:
LAST BUILD BRANCH: pmk01-patch-17
DEFAULT BRANCH: master
Ran 14 Feb 2025 10:54AM UTC
Jobs 1
Files 241
Run time 1min
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

14 Feb 2025 10:34AM UTC coverage: 67.761%. Remained the same
e0aa8f39-7598-47f8-b09d-98a876a76c0b

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

Jobs
ID Job ID Ran Files Coverage
1 e0aa8f39-7598-47f8-b09d-98a876a76c0b.1 14 Feb 2025 10:54AM UTC 241
67.76
CircleCI Job
Source Files on build e0aa8f39-7598-47f8-b09d-98a876a76c0b
  • 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 Repo
  • CircleCI Build #E0AA8F39...
  • cae0e5ec on github
  • Prev Build on jcm/wip (#4BBBDEA8...)
  • Next Build on jcm/wip (#EAC7A561...)
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