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

aiidateam / aiida_core / 6477
74%
develop: 74%

Build:
Build:
LAST BUILD BRANCH: fix_3032_doc_working_importexport
DEFAULT BRANCH: develop
Ran 23 Jun 2019 11:23AM UTC
Jobs 4
Files 391
Run time 7min
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
6477

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 32337 relevant lines covered (73.4%)

2.72 hits per line

Jobs
ID Job ID Ran Files Coverage
5 6477.5 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 23 Jun 2019 11:23AM UTC 0
67.24
Travis Job 6477.5
6 6477.6 (TEST_AIIDA_BACKEND=django TEST_TYPE="tests") 23 Jun 2019 11:31AM UTC 0
67.18
Travis Job 6477.6
7 6477.7 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 23 Jun 2019 11:30AM UTC 0
68.82
Travis Job 6477.7
8 6477.8 (TEST_AIIDA_BACKEND=sqlalchemy TEST_TYPE="tests") 23 Jun 2019 11:31AM UTC 0
68.78
Travis Job 6477.8
Source Files on build 6477
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #6477
  • 4785062d on github
  • Prev Build on django_jsonb (#6476)
  • Next Build on django_jsonb (#6503)
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