Skip to content

improve tests

improve tests #7383

Triggered via push October 31, 2024 17:40
Status Failure
Total duration 30m 36s
Artifacts

test-build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 20 warnings
addons
No test report files were found
addons
Process completed with exit code 1.
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_assign_affiliations_with_affiliated_contributor[True]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:21: in user_with_affiliation
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_assign_affiliations_with_affiliated_contributor[False]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:21: in user_with_affiliation
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_no_affiliations_for_non_affiliated_contributor[True]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:46: in preprint_with_non_affiliated_contributor
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_no_affiliations_for_non_affiliated_contributor[False]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:46: in preprint_with_non_affiliated_contributor
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_exclude_contributor_by_guid[True]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:21: in user_with_affiliation
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_exclude_contributor_by_guid[False]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:21: in user_with_affiliation
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_no_affiliations_for_opted_out_contributor[True]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:56: in opt_out_user
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_no_affiliations_for_opted_out_contributor[False]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:56: in opt_out_user
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_affiliations_from_other_contributor[True]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:117: in test_affiliations_from_other_contributor
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_affiliations_from_other_contributor[False]: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:117: in test_affiliations_from_other_contributor
pytest ► osf_tests.management_commands.test_migrate_preprint_affiliations.TestAssignAffiliationsToContributors ► test_command_execution: report.xml#L0
Failed test found in: report.xml Error: osf_tests/management_commands/test_migrate_preprint_affiliations.py:21: in user_with_affiliation
api3_and_osf
Failed test were found and 'fail-on-error' option is set to true
api3_and_osf
Process completed with exit code 1.
build-cache
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
build-cache
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-cache
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
api3_and_osf
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
api1_and_js
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
website
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
addons
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
api2
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
addons
No file matches path report.xml
addons
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
addons
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
website
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
website
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
api2
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
api2
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
api1_and_js
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
api1_and_js
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
api3_and_osf
Test report summary exceeded limit of 65535 bytes and will be trimmed
api3_and_osf
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
api3_and_osf
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/