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

aiidateam / aiida_core / 6464
74%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 22 Jun 2019 11:49AM UTC
Jobs 4
Files 391
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
6464

push

travis-ci

sphuber
Add data migration for legacy `JobCalcState` attributes

The old `JobCalculation` maintained its state in the `DbCalcState` table
whose value was also stored as an attribute with the key `state` as a
proxy. With the change to processes, all `JobCalculation` nodes have
been converted to `CalcJobNodes` but did not receive any of the typical
process attributes such as `process_state` and `exit_status`. Moreover,
they kept their `state` attribute which now contains deprecated values.
The `state` attribute is still set for `CalcJobs` but it serves a
different purpose as it is now a sub state to the process state, while
the process is active for extra granularity.

Here we add a data migration for those old calculation jobs where some
process attributes are inferred from the old state attribute, which is
then discarded. This will make sure that even for old migration
calculations, commands like `verdi process list` will show some
information that allows a user to discern what the entry was.

23735 of 32410 relevant lines covered (73.23%)

2.71 hits per line

Jobs
ID Job ID Ran Files Coverage
5 6464.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 22 Jun 2019 11:49AM UTC 0
67.08
Travis Job 6464.5
6 6464.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 22 Jun 2019 11:55AM UTC 0
67.03
Travis Job 6464.6
7 6464.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 22 Jun 2019 11:56AM UTC 0
68.69
Travis Job 6464.7
8 6464.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 22 Jun 2019 11:58AM UTC 0
68.65
Travis Job 6464.8
Source Files on build 6464
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6464
  • 5cfab9a1 on github
  • Prev Build on django_jsonb (#6352)
  • Next Build on django_jsonb (#6475)
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