Instantly share code, notes, and snippets.
Last active
January 6, 2022 00:50
-
Star
(0)
0
You must be signed in to star a gist -
Fork
(0)
0
You must be signed in to fork a gist
-
Save anandwana001/5ccf2fa771bb5246b1c43c00b35673ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------- | |
FAILED core.controllers.android_e2e_config_test: 1 errors, 0 failures | |
====================================================================== | |
ERROR: release_coordinator_test (unittest.loader._FailedTest) | |
---------------------------------------------------------------------- | |
ImportError: Failed to import test module: release_coordinator_test | |
Traceback (most recent call last): | |
File "/Users/akshaynandwana/.pyenv/versions/3.7.10/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName | |
module = __import__(module_name) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/controllers/release_coordinator_test.py", line 20, in <module> | |
from core.tests import test_utils | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/tests/test_utils.py", line 40, in <module> | |
from core.controllers import base | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/controllers/base.py", line 36, in <module> | |
from core.domain import auth_services | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/domain/auth_services.py", line 23, in <module> | |
from core.platform.auth import firebase_auth_services | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/auth/firebase_auth_services.py", line 75, in <module> | |
models.Registry.import_models([models.NAMES.auth, models.NAMES.user])) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 451, in import_models | |
return cls._get().import_models(model_names) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 141, in import_models | |
from core.storage.auth import gae_models as auth_models | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/storage/auth/gae_models.py", line 33, in <module> | |
[models.NAMES.base_model, models.NAMES.user]) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 451, in import_models | |
return cls._get().import_models(model_names) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 144, in import_models | |
from core.storage.base_model import gae_models as base_model | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/storage/base_model/gae_models.py", line 61, in <module> | |
transaction_services = models.Registry.import_transaction_services() | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 504, in import_transaction_services | |
return cls._get().import_transaction_services() | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 277, in import_transaction_services | |
from core.platform.transactions import cloud_transaction_services | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/transactions/cloud_transaction_services.py", line 23, in <module> | |
from google.cloud import datastore | |
File "/Users/akshaynandwana/Desktop/opensource/.direnv/python-3.7.10/lib/python3.7/site-packages/google/cloud/datastore/__init__.py", line 59, in <module> | |
from google.cloud.datastore.batch import Batch | |
File "/Users/akshaynandwana/Desktop/opensource/.direnv/python-3.7.10/lib/python3.7/site-packages/google/cloud/datastore/batch.py", line 24, in <module> | |
from google.cloud.datastore import helpers | |
File "/Users/akshaynandwana/Desktop/opensource/.direnv/python-3.7.10/lib/python3.7/site-packages/google/cloud/datastore/helpers.py", line 28, in <module> | |
from google.cloud.datastore_v1.types import datastore as datastore_pb2 | |
ImportError: cannot import name 'datastore' from 'google.cloud.datastore_v1.types' (/Users/akshaynandwana/Desktop/opensource/oppia/third_party/python_libs/google/cloud/datastore_v1/types.py) | |
--------------------------------------------------------------------- | |
FAILED core.jobs.batch_jobs.exploration_migration_jobs_test: 1 errors, 0 failures | |
====================================================================== | |
ERROR: skill_migration_jobs_test (unittest.loader._FailedTest) | |
---------------------------------------------------------------------- | |
ImportError: Failed to import test module: skill_migration_jobs_test | |
Traceback (most recent call last): | |
File "/Users/akshaynandwana/.pyenv/versions/3.7.10/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName | |
module = __import__(module_name) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/jobs/batch_jobs/skill_migration_jobs_test.py", line 24, in <module> | |
from core.domain import caching_services | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/domain/caching_services.py", line 24, in <module> | |
from core.domain import collection_domain | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/domain/collection_domain.py", line 34, in <module> | |
from core.domain import change_domain | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/domain/change_domain.py", line 26, in <module> | |
(base_models,) = models.Registry.import_models([models.NAMES.base_model]) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 451, in import_models | |
return cls._get().import_models(model_names) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 144, in import_models | |
from core.storage.base_model import gae_models as base_model | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/storage/base_model/gae_models.py", line 61, in <module> | |
transaction_services = models.Registry.import_transaction_services() | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 504, in import_transaction_services | |
return cls._get().import_transaction_services() | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 277, in import_transaction_services | |
from core.platform.transactions import cloud_transaction_services | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/transactions/cloud_transaction_services.py", line 23, in <module> | |
from google.cloud import datastore | |
File "/Users/akshaynandwana/Desktop/opensource/.direnv/python-3.7.10/lib/python3.7/site-packages/google/cloud/datastore/__init__.py", line 59, in <module> | |
from google.cloud.datastore.batch import Batch | |
File "/Users/akshaynandwana/Desktop/opensource/.direnv/python-3.7.10/lib/python3.7/site-packages/google/cloud/datastore/batch.py", line 24, in <module> | |
from google.cloud.datastore import helpers | |
File "/Users/akshaynandwana/Desktop/opensource/.direnv/python-3.7.10/lib/python3.7/site-packages/google/cloud/datastore/helpers.py", line 28, in <module> | |
from google.cloud.datastore_v1.types import datastore as datastore_pb2 | |
ImportError: cannot import name 'datastore' from 'google.cloud.datastore_v1.types' (/Users/akshaynandwana/Desktop/opensource/oppia/third_party/python_libs/google/cloud/datastore_v1/types.py) | |
--------------------------------------------------------------------- | |
FAILED core.jobs.batch_jobs.skill_migration_jobs_test: 1 errors, 0 failures | |
====================================================================== | |
ERROR: story_migration_jobs_test (unittest.loader._FailedTest) | |
---------------------------------------------------------------------- | |
ImportError: Failed to import test module: story_migration_jobs_test | |
Traceback (most recent call last): | |
File "/Users/akshaynandwana/.pyenv/versions/3.7.10/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName | |
module = __import__(module_name) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/jobs/batch_jobs/story_migration_jobs_test.py", line 25, in <module> | |
from core.domain import caching_services | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/domain/caching_services.py", line 24, in <module> | |
from core.domain import collection_domain | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/domain/collection_domain.py", line 34, in <module> | |
from core.domain import change_domain | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/domain/change_domain.py", line 26, in <module> | |
(base_models,) = models.Registry.import_models([models.NAMES.base_model]) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 451, in import_models | |
return cls._get().import_models(model_names) | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 144, in import_models | |
from core.storage.base_model import gae_models as base_model | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/storage/base_model/gae_models.py", line 61, in <module> | |
transaction_services = models.Registry.import_transaction_services() | |
File "/Users/akshaynandwana/Desktop/opensource/oppia/core/platform/models.py", line 504, in import_transaction_services | |
return cls._get().import_transaction_services() | |
File "/Desktop/opensource/oppia/core/platform/models.py", line 277, in import_transaction_services | |
from core.platform.transactions import cloud_transaction_services | |
File "/Desktop/opensource/oppia/core/platform/transactions/cloud_transaction_services.py", line 23, in <module> | |
from google.cloud import datastore | |
File "/Desktop/opensource/.direnv/python-3.7.10/lib/python3.7/site-packages/google/cloud/datastore/__init__.py", line 59, in <module> | |
from google.cloud.datastore.batch import Batch | |
File "/Desktop/opensource/.direnv/python-3.7.10/lib/python3.7/site-packages/google/cloud/datastore/batch.py", line 24, in <module> | |
from google.cloud.datastore import helpers | |
File "/Desktop/opensource/.direnv/python-3.7.10/lib/python3.7/site-packages/google/cloud/datastore/helpers.py", line 28, in <module> | |
from google.cloud.datastore_v1.types import datastore as datastore_pb2 | |
ImportError: cannot import name 'datastore' from 'google.cloud.datastore_v1.types' (/Desktop/opensource/oppia/third_party/python_libs/google/cloud/datastore_v1/types.py) | |
--------------------------------------------------------------------- | |
FAILED core.jobs.batch_jobs.story_migration_jobs_test: 1 errors, 0 failures | |
SUCCESS core.jobs.batch_jobs.email_deletion_jobs_test: 6 tests (70.3 secs) | |
Ran 305 tests in 66 test classs. | |
(44 ERRORS, 1 FAILURES) | |
Traceback (most recent call last): | |
File "/.pyenv/versions/3.7.10/lib/python3.7/runpy.py", line 193, in _run_module_as_main | |
"__main__", mod_spec) | |
File "/.pyenv/versions/3.7.10/lib/python3.7/runpy.py", line 85, in _run_code | |
exec(code, run_globals) | |
File "/Desktop/opensource/oppia/scripts/run_backend_tests.py", line 595, in <module> | |
main() | |
File "/Desktop/opensource/oppia/scripts/run_backend_tests.py", line 517, in main | |
'%s errors, %s failures' % (total_errors, total_failures)) | |
Exception: 44 errors, 1 failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment