1 | [2019-02-28T14:24:08.475Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/AppDeployPreHook/03deploy.py] : Starting activity...
|
---|
2 | [2019-02-28T14:24:09.295Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/AppDeployPreHook/03deploy.py] : Completed activity. Result:
|
---|
3 | Requirement already satisfied: boto3==1.9.104 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 2))
|
---|
4 | Requirement already satisfied: botocore==1.12.104 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 3))
|
---|
5 | Requirement already satisfied: certifi==2018.11.29 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 4))
|
---|
6 | Requirement already satisfied: chardet==3.0.4 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 5))
|
---|
7 | Requirement already satisfied: coreapi==2.3.3 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 6))
|
---|
8 | Requirement already satisfied: coreschema==0.0.4 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 7))
|
---|
9 | Requirement already satisfied: django-cors-headers==2.4.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 8))
|
---|
10 | Requirement already satisfied: django-debug-toolbar==1.11 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 9))
|
---|
11 | Requirement already satisfied: django-filter==2.1.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 10))
|
---|
12 | Requirement already satisfied: django-guardian==1.5.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 11))
|
---|
13 | Requirement already satisfied: django-rest-framework==0.1.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 12))
|
---|
14 | Requirement already satisfied: django-storages==1.7.1 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 13))
|
---|
15 | Requirement already satisfied: django==2.2b1 in /opt/python/run/venv/lib64/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 14))
|
---|
16 | Requirement already satisfied: djangorestframework==3.9.1 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 15))
|
---|
17 | Requirement already satisfied: docutils==0.14 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 16))
|
---|
18 | Requirement already satisfied: idna==2.8 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 17))
|
---|
19 | Requirement already satisfied: itypes==1.1.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 18))
|
---|
20 | Requirement already satisfied: jinja2==2.10 in /opt/python/run/venv/lib64/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 19))
|
---|
21 | Requirement already satisfied: jmespath==0.9.4 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 20))
|
---|
22 | Requirement already satisfied: markdown==3.0.1 in /opt/python/run/venv/lib64/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 21))
|
---|
23 | Requirement already satisfied: markupsafe==1.1.1 in /opt/python/run/venv/lib64/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 22))
|
---|
24 | Requirement already satisfied: pillow==5.4.1 in /opt/python/run/venv/lib64/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 23))
|
---|
25 | Requirement already satisfied: psycopg2==2.7.7 in /opt/python/run/venv/lib64/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 24))
|
---|
26 | Requirement already satisfied: python-dateutil==2.8.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 25))
|
---|
27 | Requirement already satisfied: pytz==2018.9 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 26))
|
---|
28 | Requirement already satisfied: pyyaml==5.1b3 in /opt/python/run/venv/lib64/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 27))
|
---|
29 | Requirement already satisfied: requests==2.21.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 28))
|
---|
30 | Requirement already satisfied: s3transfer==0.2.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 29))
|
---|
31 | Requirement already satisfied: six==1.12.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 30))
|
---|
32 | Requirement already satisfied: sqlparse==0.2.4 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 31))
|
---|
33 | Requirement already satisfied: uritemplate==3.0.0 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 32))
|
---|
34 | Requirement already satisfied: urllib3==1.24.1 in /opt/python/run/venv/lib/python3.6/site-packages (from -r /opt/python/ondeck/app/requirements.txt (line 33))
|
---|
35 | You are using pip version 9.0.1, however version 19.0.3 is available.
|
---|
36 | You should consider upgrading via the 'pip install --upgrade pip' command.
|
---|
37 | [2019-02-28T14:24:09.295Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/AppDeployPreHook/04configen.py] : Starting activity...
|
---|
38 | [2019-02-28T14:24:10.521Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/AppDeployPreHook/04configen.py] : Completed activity.
|
---|
39 | [2019-02-28T14:24:10.521Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/AppDeployPreHook] : Completed activity. Result:
|
---|
40 | Successfully execute hooks in directory /opt/elasticbeanstalk/hooks/appdeploy/pre.
|
---|
41 | [2019-02-28T14:24:10.521Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild] : Starting activity...
|
---|
42 | [2019-02-28T14:24:10.866Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Starting activity...
|
---|
43 | [2019-02-28T14:24:10.869Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_ai_recruitment_api] : Starting activity...
|
---|
44 | [2019-02-28T14:24:11.739Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_ai_recruitment_api/Test for Command 01_migrate] : Starting activity...
|
---|
45 | [2019-02-28T14:24:11.742Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_ai_recruitment_api/Test for Command 01_migrate] : Completed activity. Result:
|
---|
46 |
|
---|
47 | Completed successfully.
|
---|
48 | [2019-02-28T14:24:11.743Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_ai_recruitment_api/Command 01_migrate] : Starting activity...
|
---|
49 | [2019-02-28T14:24:12.653Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_ai_recruitment_api/Command 01_migrate] : Activity execution failed, because: /opt/python/run/venv/local/lib64/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
|
---|
50 | """)
|
---|
51 | Operations to perform:
|
---|
52 | Apply all migrations: admin, auth, authtoken, contenttypes, jd, naukri, sessions, user
|
---|
53 | Running migrations:
|
---|
54 | Traceback (most recent call last):
|
---|
55 | File "manage.py", line 15, in <module>
|
---|
56 | execute_from_command_line(sys.argv)
|
---|
57 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
|
---|
58 | utility.execute()
|
---|
59 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute
|
---|
60 | self.fetch_command(subcommand).run_from_argv(self.argv)
|
---|
61 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/core/management/base.py", line 323, in run_from_argv
|
---|
62 | self.execute(*args, **cmd_options)
|
---|
63 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/core/management/base.py", line 364, in execute
|
---|
64 | output = self.handle(*args, **options)
|
---|
65 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/core/management/base.py", line 83, in wrapped
|
---|
66 | res = handle_func(*args, **kwargs)
|
---|
67 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/core/management/commands/migrate.py", line 234, in handle
|
---|
68 | fake_initial=fake_initial,
|
---|
69 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/db/migrations/executor.py", line 117, in migrate
|
---|
70 | state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
|
---|
71 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
|
---|
72 | state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
|
---|
73 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/db/migrations/executor.py", line 235, in apply_migration
|
---|
74 | self.progress_callback("apply_start", migration, fake)
|
---|
75 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/core/management/commands/migrate.py", line 266, in migration_progress_callback
|
---|
76 | self.stdout.write(" Applying %s\u2026" % migration, ending="")
|
---|
77 | File "/opt/python/run/venv/local/lib64/python3.6/site-packages/django/core/management/base.py", line 145, in write
|
---|
78 | self._out.write(style_func(msg))
|
---|
79 | UnicodeEncodeError: 'ascii' codec can't encode character '\u2026' in position 36: ordinal not in range(128)
|
---|
80 | (ElasticBeanstalk::ExternalInvocationError)
|
---|
81 |
|
---|
82 |
|
---|
83 | [2019-02-28T14:24:12.653Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_ai_recruitment_api/Command 01_migrate] : Activity failed.
|
---|
84 | [2019-02-28T14:24:12.653Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild/postbuild_0_ai_recruitment_api] : Activity failed.
|
---|
85 | [2019-02-28T14:24:12.653Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild/Infra-EmbeddedPostBuild] : Activity failed.
|
---|
86 | [2019-02-28T14:24:12.673Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0/EbExtensionPostBuild] : Activity failed.
|
---|
87 | [2019-02-28T14:24:12.673Z] INFO [30772] - [Application update app-190228_195202@6/AppDeployStage0] : Activity failed.
|
---|
88 | [2019-02-28T14:24:12.673Z] INFO [30772] - [Application update app-190228_195202@6] : Completed activity. Result:
|
---|
89 | Application update - Command CMD-AppDeploy failed
|
---|