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

aiidateam / aiida_core / 6526
74%

Build:
DEFAULT BRANCH: develop
Ran 28 Jun 2019 06:53AM UTC
Jobs 4
Files 392
Run time 9min
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

pending completion
6526

push

travis-ci

web-flow
Enable "deep" reconstruction of yaml deserialization mapping constructor (#3093)

The yaml mapping constructor in `aiida.orm.utils.serialize` for
`AttributeDicts` was not using the `deep=True` argument to recursively
reconstruct nested dictionaries. Combined with the recursive constructor
of the `AttributeDict` class, this would result in the loss of content
of normal dictionaries nested in an attribute dict in a serialization
round-trip.

Since this serialization is used to store `Process` instances as
checkpoints in the database, from which the daemon reloads the instance
into memory after a restart, this bug resulted in the loss of
information in those checkpoints. For example, if one stored a normal
dictionary in the context of a `WorkChain` instance, which is an
`AttributeDict`, the contents of that nested normal dictionary would not
be restored when the `WorkChain` was reloaded from the checkpoint
causing all sorts of exceptions in the business logic of the work chain.

23943 of 32377 relevant lines covered (73.95%)

2.74 hits per line

Jobs
ID Job ID Ran Files Coverage
5 6526.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 28 Jun 2019 06:53AM UTC 0
67.78
Travis Job 6526.5
6 6526.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 28 Jun 2019 06:59AM UTC 0
67.73
Travis Job 6526.6
7 6526.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 28 Jun 2019 06:58AM UTC 0
69.35
Travis Job 6526.7
8 6526.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 28 Jun 2019 07:01AM UTC 0
69.3
Travis Job 6526.8
Source Files on build 6526
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6526
  • f83c67b5 on github
  • Prev Build on develop (#6523)
  • Next Build on develop (#6528)
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

© 2025 Coveralls, Inc