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

MITLibraries / carbon / 6277934547
96%
main: 94%

Build:
Build:
LAST BUILD BRANCH: v3.1.1
DEFAULT BRANCH: main
Ran 22 Sep 2023 06:41PM UTC
Jobs 1
Files 7
Run time 2s
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

22 Sep 2023 06:27PM UTC coverage: 96.012% (-0.9%) from 96.933%
6277934547

push

github

jonavellecuerdo
IN-924 Investigate error with FTP file transfer

Why these changes are being introduced:
* The ftplib.storbinary method throws errors that suggest file
transfer has failed even when the Carbon run successfully uploads
an XML file to the Elements FTP server.

For the 'people' feed, it would log:
ftplib.error_temp: 425 Error while transfering data: ECONNABORTED - Connection aborted

For the 'articles' feed, it would log:
TimeoutError: The read operation timed out

These changes introduce cleaner error handling that avoid the error for
the 'people' feed and except' timeout errors that do not actually seem to
have a negative impact.

How this addresses that need:
* Remove custom storbinary method to resolve errors for 'people' feed
* Add try-except-finally code block to cleanly handle timeout errors for 'articles' feed

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/jira/software/c/projects/IN/boards/70?modal=detail&selectedIssue=IN-924

16 of 16 new or added lines in 3 files covered. (100.0%)

313 of 326 relevant lines covered (96.01%)

0.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6277934547.1 22 Sep 2023 06:41PM UTC 0
96.01
GitHub Action Run
Source Files on build 6277934547
Detailed source file information is not available for this build.
  • Back to Repo
  • 4927e98b on github
  • Prev Build on IN-923-925-raise-exceptions-and-add-make-commands (#6252991382)
  • Next Build on IN-924-fix-ftp-file-transfer-method (#6278270089)
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