メモ：AzureMLオンラインエンドポイント/デプロイメントのログ


ログ形式の自分用メモです。


An managed online endpoints created on Nov 21, 2022.
```
Instance status:
SystemSetup: Succeeded
UserContainerImagePull: Succeeded
ModelDownload: Succeeded
UserContainerStart: Succeeded

Container events:
Kind: Pod, Name: Downloading, Type: Normal, Time: 2022-11-21T15:03:47.365747Z, Message: Start downloading models
Kind: Pod, Name: Pulling, Type: Normal, Time: 2022-11-21T15:03:48.738717Z, Message: Start pulling container image
Kind: Pod, Name: Pulled, Type: Normal, Time: 2022-11-21T15:04:58.147017Z, Message: Container image is pulled successfully
Kind: Pod, Name: Downloaded, Type: Normal, Time: 2022-11-21T15:04:58.147017Z, Message: Models are downloaded successfully
Kind: Pod, Name: Created, Type: Normal, Time: 2022-11-21T15:04:58.388147Z, Message: Created container inference-server
Kind: Pod, Name: Started, Type: Normal, Time: 2022-11-21T15:04:58.522314Z, Message: Started container inference-server
Kind: Pod, Name: ContainerReady, Type: Normal, Time: 2022-11-21T15:05:17.208705383Z, Message: Container is ready

Container logs:
2022-11-21T15:04:58,687894304+00:00 - rsyslog/run 
2022-11-21T15:04:58,688500007+00:00 - iot-server/run 
2022-11-21T15:04:58,706536998+00:00 - nginx/run 
2022-11-21T15:04:58,740493769+00:00 - gunicorn/run 
2022-11-21T15:04:58,742070477+00:00 | gunicorn/run | 
2022-11-21T15:04:58,743488784+00:00 | gunicorn/run | ###############################################
2022-11-21T15:04:58,745098292+00:00 | gunicorn/run | AzureML Container Runtime Information
2022-11-21T15:04:58,746656100+00:00 | gunicorn/run | ###############################################
2022-11-21T15:04:58,749359613+00:00 | gunicorn/run | 
2022-11-21T15:04:58,752320828+00:00 | gunicorn/run | 
2022-11-21T15:04:58,766855601+00:00 | gunicorn/run | AzureML image information: openmpi3.1.2-ubuntu18.04, Materializaton Build:20221101.v11
2022-11-21T15:04:58,769521915+00:00 | gunicorn/run | 
2022-11-21T15:04:58,772371129+00:00 | gunicorn/run | 
2022-11-21T15:04:58,775601545+00:00 | gunicorn/run | PATH environment variable: /azureml-envs/azureml_6f3561cf5cea1342aa7045a740987b01/bin:/opt/miniconda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-11-21T15:04:58,778840762+00:00 | gunicorn/run | PYTHONPATH environment variable: 
2022-11-21T15:04:58,782386379+00:00 | gunicorn/run | 
2022-11-21T15:04:58,785847197+00:00 | gunicorn/run | Pip Dependencies (before dynamic installation)

EdgeHubConnectionString and IOTEDGE_IOTHUBHOSTNAME are not set. Exiting...
2022-11-21T15:04:58,810045918+00:00 - iot-server/finish 1 0
2022-11-21T15:04:58,811910928+00:00 - Exit code 1 is normal. Not restarting iot-server.
adal==1.2.7
alembic==1.8.1
argcomplete==2.0.0
asttokens==2.1.0
attrs==22.1.0
azure-common==1.1.28
azure-core==1.26.1
azure-graphrbac==0.61.1
azure-identity==1.7.0
azure-mgmt-authorization==2.0.0
azure-mgmt-containerregistry==10.0.0
azure-mgmt-core==1.3.2
azure-mgmt-keyvault==10.1.0
azure-mgmt-resource==21.2.1
azure-mgmt-storage==20.1.0
azure-storage-blob==12.13.0
azureml-core==1.47.0
azureml-dataprep==4.5.7
azureml-dataprep-native==38.0.0
azureml-dataprep-rslex==2.11.4
azureml-dataset-runtime==1.47.0
azureml-defaults==1.47.0
azureml-inference-server-http==0.7.7
azureml-mlflow==1.45.0
backcall==0.2.0
backports.tempfile==1.0
backports.weakref==1.0.post1
bcrypt==4.0.1
black==22.8.0
cachetools==5.2.0
certifi==2022.9.24
cffi==1.15.1
cfgv==3.3.1
charset-normalizer==2.1.1
click==8.1.3
cloudpickle==2.2.0
configparser==3.7.4
contextlib2==21.6.0
cryptography==38.0.3
cycler==0.11.0
databricks-cli==0.17.3
decorator==5.1.1
distlib==0.3.6
distro==1.8.0
docker==6.0.1
dotnetcore2==3.1.23
entrypoints==0.4
executing==1.2.0
filelock==3.8.0
Flask==2.2.2
Flask-Cors==3.0.10
fusepy==3.0.1
gitdb==4.0.9
GitPython==3.1.29
google-api-core==2.10.2
google-auth==2.14.1
googleapis-common-protos==1.57.0
greenlet==2.0.1
gunicorn==20.1.0
humanfriendly==10.0
identify==2.5.9
idna==3.4
importlib-metadata==5.0.0
importlib-resources==5.10.0
inference-schema==1.5
ipython==8.6.0
isodate==0.6.1
itsdangerous==2.1.2
jedi==0.18.1
jeepney==0.8.0
Jinja2==3.1.2
jmespath==1.0.1
joblib==1.0.0
json-logging-py==0.2
jsonpickle==2.2.0
jsonschema==4.17.0
kiwisolver==1.4.4
knack==0.10.0
Mako==1.2.4
MarkupSafe==2.1.1
matplotlib==3.3.3
matplotlib-inline==0.1.6
mlflow==1.30.0
mlflow-skinny==2.0.1
msal==1.20.0
msal-extensions==0.3.1
msrest==0.7.1
msrestazure==0.6.4
mypy-extensions==0.4.3
ndg-httpsclient==0.5.1
nodeenv==1.7.0
numpy==1.23.5
oauthlib==3.2.2
opencensus==0.11.0
opencensus-context==0.1.3
opencensus-ext-azure==1.1.7
packaging==21.3
pandas==1.1.5
paramiko==2.12.0
parso==0.8.3
pathspec==0.10.2
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.3.0
pkginfo==1.8.3
pkgutil_resolve_name==1.3.10
platformdirs==2.5.4
portalocker==2.6.0
pre-commit==2.20.0
prometheus-client==0.15.0
prometheus-flask-exporter==0.21.0
prompt-toolkit==3.0.32
protobuf==4.21.9
psutil==5.9.4
ptyprocess==0.7.0
pure-eval==0.2.2
pyarrow==9.0.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycparser==2.21
Pygments==2.13.0
PyJWT==2.6.0
PyNaCl==1.5.0
pyOpenSSL==22.1.0
pyparsing==3.0.9
pyrsistent==0.19.2
PySocks==1.7.1
python-dateutil==2.8.2
pytz==2022.6
PyYAML==6.0
querystring-parser==1.2.4
requests==2.28.1
requests-oauthlib==1.3.1
rsa==4.9
scikit-learn==1.0.2
scipy==1.9.3
SecretStorage==3.3.3
six==1.16.0
smmap==5.0.0
SQLAlchemy==1.4.44
sqlparse==0.4.3
stack-data==0.6.1
tabulate==0.9.0
threadpoolctl==3.1.0
tokenize-rt==5.0.0
toml==0.10.2
tomli==2.0.1
traitlets==5.5.0
typing_extensions==4.4.0
urllib3==1.26.12
virtualenv==20.16.7
wcwidth==0.2.5
websocket-client==1.4.2
Werkzeug==2.2.2
wrapt==1.12.1
zipp==3.10.0

2022-11-21T15:04:59,477731452+00:00 | gunicorn/run | 
2022-11-21T15:04:59,479984061+00:00 | gunicorn/run | ###############################################
2022-11-21T15:04:59,481724667+00:00 | gunicorn/run | AzureML Inference Server
2022-11-21T15:04:59,483289073+00:00 | gunicorn/run | ###############################################
2022-11-21T15:04:59,485173880+00:00 | gunicorn/run | 
2022-11-21T15:05:00,866117887+00:00 | gunicorn/run | Starting AzureML Inference Server HTTP.

Azure ML Inferencing HTTP server v0.7.7


Server Settings
---------------
Entry Script Name: /var/azureml-app/online/score.py
Model Directory: /var/azureml-app/azureml-models/nyc_taxi_ux/1
Worker Count: 1
Worker Timeout (seconds): 300
Server Port: 31311
Application Insights Enabled: false
Application Insights Key: None
Inferencing HTTP server version: azmlinfsrv/0.7.7
CORS for the specified origins: None


Server Routes
---------------
Liveness Probe: GET   127.0.0.1:31311/
Score:          POST  127.0.0.1:31311/score

Starting gunicorn 20.1.0
Listening at: http://0.0.0.0:31311 (12)
Using worker: sync
Booting worker with pid: 65
Initializing logger
2022-11-21 15:05:01,592 | root | INFO | Starting up app insights client
logging socket was found. logging is available.
logging socket was found. logging is available.
2022-11-21 15:05:01,592 | root | INFO | Starting up app insight hooks
2022-11-21 15:05:01,743 | root | INFO | Found user script at /var/azureml-app/online/score.py
2022-11-21 15:05:01,744 | root | INFO | run() is not decorated. Server will invoke it with the input in JSON string.
2022-11-21 15:05:01,744 | root | INFO | Invoking user's init function
Init complete
2022-11-21 15:05:02,166 | root | INFO | Users's init has completed successfully
2022-11-21 15:05:02,167 | root | INFO | Swaggers are prepared for the following versions: [2, 3].
2022-11-21 15:05:02,167 | root | INFO | Scoring timeout setting is not found. Use default timeout: 3600000 ms
2022-11-21 15:05:02,167 | root | INFO | AML_FLASK_ONE_COMPATIBILITY is set. Patched Flask to ensure compatibility with Flask 1.
2022-11-29 02:36:00,353 | root | INFO | 200
127.0.0.1 - - [29/Nov/2022:02:36:00 +0000] "GET /swagger.json HTTP/1.0" 200 2253 "-" "-"
```