microsoft / Oryx

Build your repo automatically.
Other
730 stars 168 forks source link

Azure Web App Python 3.7.12: version `GLIBC_2.29' not found #1678

Closed dkreeft closed 5 months ago

dkreeft commented 1 year ago

Bug Report

This started affecting our Azure Web App yesterday after a redeployment, although our previous deployment was done on 31 October (could have started anytime in between). We rely on a Linux Docker image provided by Microsoft, and run our own startup shell script:

echo '------- debug -------'
echo 'content of wheels: '
find ./wheels -ls
echo '------- debug -------'

pip install --find-links ./wheels .

uvicorn src.main:app --port ${PORT} --host ${HOST} --proxy-headers

The wheels are pulled into a separate folder during our AzDO pipeline, and deployed to the Web App using a AzureWebApp@1 task. This ran without issues for 2+ years.

Our Web App is serving fastapi using uvicorn and relies on sqlalchemy and pyodbc for interfacing with our SQL Server. pyodbc seems to fail:

2022-11-10T08:07:02.723872114Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/sqlalchemy/util/deprecations.py", line 309, in warned
2022-11-10T08:07:02.723876113Z     return fn(*args, **kwargs)
2022-11-10T08:07:02.723880313Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/sqlalchemy/engine/create.py", line 560, in create_engine
2022-11-10T08:07:02.723884513Z     dbapi = dialect_cls.dbapi(**dbapi_args)
2022-11-10T08:07:02.723888313Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/sqlalchemy/connectors/pyodbc.py", line 43, in dbapi
2022-11-10T08:07:02.723892313Z     return __import__("pyodbc")
2022-11-10T08:07:02.723896613Z ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/python/3.7.12/lib/python3.7/site-packages/pyodbc.cpython-37m-x86_64-linux-gnu.so)

What I have tried

I tried updating to Python 3.8, 3.9, 3.10. This did not work as it failed on startup with the following message when trying to build the wheel for pyodbc:

error: command 'gcc' failed: No such file or directory

Workaround

I was finally able to get something up and running by using Python 3.10 and adding the following line to the startup script, before pip install:

apt install unixodbc-dev

I could live with this, but would like to know what the cause of the issue was in the first place.

Notes

Perhaps useful: During my investigation, while SSH'ing into the container, I found a discrepancy between Debian versions ('buster' vs 'stretch') in the environment variables, and I also encountered the issue described in https://github.com/microsoft/Oryx/issues/1676.

cormacpayne commented 1 year ago

@dkreeft Hey there, apologies for the delayed response -- if you're able to, would you mind providing the full logs from the build failure? In addition, if you have access to logs from a successful build and deployment from before, if you wouldn't mind providing those as well, that would also be very valuable.

I'm interested in checking the version of Python 3.7 pulled down into the container by Oryx, as there hasn't been a new version supported since 3.7.12 was added in early August, so I want to make sure that both unsuccessful and successful runs are using the same version of Python 3.7. From there, I'd also be interested in checking the dependencies that were pulled down via pip and if there were any changes to package dependencies that could now be requested the GNU C library. Although, working around this issue by installing the unixodbc-dev library is interesting as this should already be installed in the images that is used by Azure Web App, but hopefully the logs would be able to call this out.

dkreeft commented 1 year ago

Please find the logs of a build below. Note that the build is successful, but the runtime crashes when calling an endpoint of the API that connects with our SQL Server through pyodbc (as the logs indicate, due to GLIBC):

2022-11-10T04:48:13.475538839Z 
2022-11-10T04:48:13.475598839Z   _____                               
2022-11-10T04:48:13.475605939Z   /  _  \ __________ _________   ____  
2022-11-10T04:48:13.475609939Z  /  /_\  \___   /  |  \_  __ \_/ __ \ 
2022-11-10T04:48:13.475613839Z /    |    \/    /|  |  /|  | \/\  ___/ 
2022-11-10T04:48:13.475617739Z \____|__  /_____ \____/ |__|    \___  >
2022-11-10T04:48:13.475621639Z         \/      \/                  \/ 
2022-11-10T04:48:13.475625539Z 
2022-11-10T04:48:13.475629039Z A P P   S E R V I C E   O N   L I N U X
2022-11-10T04:48:13.475632639Z 
2022-11-10T04:48:13.475636139Z Documentation: http://aka.ms/webapp-linux
2022-11-10T04:48:13.475639939Z Python 3.7.12
2022-11-10T04:48:13.475643539Z Note: Any data outside '/home' is not persisted
2022-11-10T04:48:13.530857320Z Starting OpenBSD Secure Shell server: sshd.
2022-11-10T04:48:13.568185604Z Site's appCommandLine: startup.sh
2022-11-10T04:48:13.568407903Z Checking of startup.sh is a file
2022-11-10T04:48:13.568562302Z App command line is a file on disk
2022-11-10T04:48:13.585964401Z App command line is a shell script, will execute this script as startup script
2022-11-10T04:48:13.682870741Z Starting periodic command scheduler: cron.
2022-11-10T04:48:13.682926341Z Launching oryx with: create-script -appPath /home/site/wwwroot -output /opt/startup/startup.sh -virtualEnvName antenv -defaultApp /opt/defaultsite -bindPort 8000 -userStartupCommand startup.sh
2022-11-10T04:48:13.703636921Z Cound not find build manifest file at '/home/site/wwwroot/oryx-manifest.toml'
2022-11-10T04:48:13.703657421Z Could not find operation ID in manifest. Generating an operation id...
2022-11-10T04:48:13.704952813Z Build Operation ID: 05223cc7-3735-4621-9b59-b5374cb5e723
2022-11-10T04:48:13.869385063Z Oryx Version: 0.2.20220308.4, Commit: c92fa6a2d6fc14dc9646f80e2bb2e393a5cdc258, ReleaseTagName: 20220308.4
2022-11-10T04:48:13.911504719Z Writing output script to '/opt/startup/startup.sh'
2022-11-10T04:48:13.977943435Z WARNING: Could not find virtual environment directory /home/site/wwwroot/antenv.
2022-11-10T04:48:13.977983535Z WARNING: Could not find package directory /home/site/wwwroot/__oryx_packages__.
2022-11-10T04:48:14.008180160Z APPLICATIONINSIGHTS_CONNECTION_STRING=
2022-11-10T04:48:14.008204560Z APPSETTING_APPLICATIONINSIGHTS_CONNECTION_STRING=
2022-11-10T04:48:14.008236060Z APPSETTING_BUILD_ID=5107724
2022-11-10T04:48:14.008269960Z APPSETTING_FUNCTIONS_RUNTIME_SCALE_MONITORING_ENABLED=0
2022-11-10T04:48:14.008280960Z APPSETTING_REMOTEDEBUGGINGVERSION=16.0.32106.67
2022-11-10T04:48:14.008310460Z APPSETTING_ScmType=VSTSRM
2022-11-10T04:48:14.008313960Z APPSETTING_WEBSITES_CONTAINER_START_TIME_LIMIT=600
2022-11-10T04:48:14.008317760Z APPSETTING_WEBSITE_AUTH_AUTO_AAD=False
2022-11-10T04:48:14.008321260Z APPSETTING_WEBSITE_AUTH_ENABLED=False
2022-11-10T04:48:14.008324960Z APPSETTING_WEBSITE_AUTH_LOGOUT_PATH=/.auth/logout
2022-11-10T04:48:14.008328559Z APPSETTING_WEBSITE_AUTH_TOKEN_STORE=True
2022-11-10T04:48:14.008332259Z APPSETTING_WEBSITE_AUTH_UNAUTHENTICATED_ACTION=AllowAnonymous
2022-11-10T04:48:14.008336859Z APPSETTING_WEBSITE_ENABLE_SYNC_UPDATE_SITE=true
2022-11-10T04:48:14.008340859Z APPSETTING_WEBSITE_HTTPLOGGING_RETENTION_DAYS=7
2022-11-10T04:48:14.008344559Z APPSETTING_WEBSITE_SITE_NAME=
2022-11-10T04:48:14.008348159Z APPSETTING_WEBSITE_SLOT_NAME=Production
2022-11-10T04:48:14.008351759Z APPSETTING_WEBSITE_VNET_ROUTE_ALL=1
2022-11-10T04:48:14.008355359Z APPSVC_RUN_ZIP=FALSE
2022-11-10T04:48:14.008358959Z APP_PATH=/home/site/wwwroot
2022-11-10T04:48:14.008377559Z BUILD_ID=5107724
2022-11-10T04:48:14.008396159Z COMPUTERNAME=
2022-11-10T04:48:14.008407059Z DEBIAN_FLAVOR=
2022-11-10T04:48:14.008410559Z DEBUGPY_LOG_DIR=/home/LogFiles/RemoteDebugging
2022-11-10T04:48:14.008417859Z DIAGNOSTIC_LOGS_MOUNT_PATH=/var/log/diagnosticLogs
2022-11-10T04:48:14.008421459Z DOCKER_SERVER_VERSION=19.03.12+azure
2022-11-10T04:48:14.008428759Z FUNCTIONS_RUNTIME_SCALE_MONITORING_ENABLED=0
2022-11-10T04:48:14.008432359Z HOME=/root
2022-11-10T04:48:14.008435959Z HOME_SITE=/home/site/wwwroot
2022-11-10T04:48:14.008439559Z HOST=0.0.0.0
2022-11-10T04:48:14.008443059Z HOSTNAME=
2022-11-10T04:48:14.008446659Z HTTP_LOGGING_ENABLED=1
2022-11-10T04:48:14.008450259Z IDENTITY_ENDPOINT=
2022-11-10T04:48:14.008453859Z IDENTITY_HEADER=
2022-11-10T04:48:14.008457559Z LANG=C.UTF-8
2022-11-10T04:48:14.008461059Z LC_ALL=C.UTF-8
2022-11-10T04:48:14.008464659Z LOG_LEVEL=DEBUG
2022-11-10T04:48:14.008468259Z MSI_ENDPOINT=
2022-11-10T04:48:14.008471859Z MSI_SECRET=
2022-11-10T04:48:14.008475459Z NUM_CORES=4
2022-11-10T04:48:14.008478959Z OLDPWD=/home/site/wwwroot
2022-11-10T04:48:14.008482659Z ORYX_AI_INSTRUMENTATION_KEY=
2022-11-10T04:48:14.008486359Z ORYX_ENV_NAME=
2022-11-10T04:48:14.008490059Z ORYX_ENV_TYPE=AppService
2022-11-10T04:48:14.008493759Z PATH=/opt/python//bin:/opt/python/3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/site/wwwroot
2022-11-10T04:48:14.008497459Z PLATFORM_VERSION=99.0.7.620
2022-11-10T04:48:14.008503558Z PORT=8000
2022-11-10T04:48:14.008507458Z PWD=/home/site/wwwroot
2022-11-10T04:48:14.008511158Z PYTHONPATH=:/opt/startup/app_logs:/opt/startup/code_profiler
2022-11-10T04:48:14.008514858Z PYTHON_USE_GUNICORN_CONFIG_FROM_PATH=/opt/startup/gunicorn.conf.py
2022-11-10T04:48:14.008518558Z PYTHON_VERSION=3.7.12
2022-11-10T04:48:14.008525758Z REGION_NAME=
2022-11-10T04:48:14.008529358Z REMOTEDEBUGGINGVERSION=16.0.32106.67
2022-11-10T04:48:14.008532958Z SHLVL=1
2022-11-10T04:48:14.010956244Z SSH_PORT=2222
2022-11-10T04:48:14.010981444Z ScmType=VSTSRM
2022-11-10T04:48:14.010984944Z USE_DIAG_SERVER=true
2022-11-10T04:48:14.010988744Z WEBSITES_CONTAINER_START_TIME_LIMIT=600
2022-11-10T04:48:14.010992244Z WEBSITE_AUTH_AUTO_AAD=False
2022-11-10T04:48:14.010995944Z WEBSITE_AUTH_ENABLED=False
2022-11-10T04:48:14.010999544Z WEBSITE_AUTH_ENCRYPTION_KEY=
2022-11-10T04:48:14.011003344Z WEBSITE_AUTH_LOGOUT_PATH=/.auth/logout
2022-11-10T04:48:14.011006944Z WEBSITE_AUTH_SIGNING_KEY=
2022-11-10T04:48:14.011010544Z WEBSITE_AUTH_TOKEN_STORE=True
2022-11-10T04:48:14.011014244Z WEBSITE_AUTH_UNAUTHENTICATED_ACTION=AllowAnonymous
2022-11-10T04:48:14.011017844Z WEBSITE_ENABLE_SYNC_UPDATE_SITE=true
2022-11-10T04:48:14.011021444Z WEBSITE_HOME_STAMPNAME=waws-prod-am2-259
2022-11-10T04:48:14.011025044Z WEBSITE_HOSTNAME=
2022-11-10T04:48:14.011028744Z WEBSITE_HTTPLOGGING_RETENTION_DAYS=7
2022-11-10T04:48:14.011038944Z WEBSITE_INSTANCE_ID=
2022-11-10T04:48:14.011042844Z WEBSITE_ISOLATION=lxc
2022-11-10T04:48:14.011046544Z WEBSITE_OWNER_NAME=
2022-11-10T04:48:14.011050244Z WEBSITE_PRIVATE_IP=
2022-11-10T04:48:14.011053844Z WEBSITE_RESOURCE_GROUP=
2022-11-10T04:48:14.011057544Z WEBSITE_ROLE_INSTANCE_ID=0
2022-11-10T04:48:14.011070844Z WEBSITE_SITE_NAME=
2022-11-10T04:48:14.011075144Z WEBSITE_SKU=PremiumV2
2022-11-10T04:48:14.011078644Z WEBSITE_SLOT_NAME=Production
2022-11-10T04:48:14.011082244Z WEBSITE_STACK=PYTHON
2022-11-10T04:48:14.011085644Z WEBSITE_USE_DIAGNOSTIC_SERVER=True
2022-11-10T04:48:14.011089244Z WEBSITE_VNET_ROUTE_ALL=1
2022-11-10T04:48:14.011092844Z _=/usr/bin/env
2022-11-10T04:48:14.011096443Z ------- debug -------
2022-11-10T04:48:14.011136243Z content of wheels: 
2022-11-10T04:48:14.024772364Z 57983845202870191     24 drwxrwxrwx   2 nobody   nogroup     24576 Nov 10 04:47 ./wheels
2022-11-10T04:48:14.024808964Z 217580156997475958    208 -rwxrwxrwx   1 nobody   nogroup    209845 Nov 10 04:46 ./wheels/alembic-1.8.1-py3-none-any.whl
2022-11-10T04:48:14.024816664Z 147211412819813462     60 -rwxrwxrwx   1 nobody   nogroup     58795 Nov 10 04:46 ./wheels/attrs-22.1.0-py2.py3-none-any.whl
2022-11-10T04:48:14.024820964Z  90916417477680792    124 -rwxrwxrwx   1 nobody   nogroup    124043 Nov 10 04:46 ./wheels/azure_core-1.9.0-py2.py3-none-any.whl
2022-11-10T04:48:14.024825664Z 283163826571058887     88 -rwxrwxrwx   1 nobody   nogroup     86852 Nov 10 04:46 ./wheels/azure_identity-1.4.1-py2.py3-none-any.whl
2022-11-10T04:48:14.024829964Z  84161018036625099    320 -rwxrwxrwx   1 nobody   nogroup    326151 Nov 10 04:46 ./wheels/azure_storage_blob-12.4.0-py2.py3-none-any.whl
2022-11-10T04:48:14.024833964Z 339740296889900774    172 -rwxrwxrwx   1 nobody   nogroup    175370 Nov 10 04:46 ./wheels/azure_storage_file_datalake-12.1.2-py2.py3-none-any.whl
2022-11-10T04:48:14.024838064Z 229402106019323631     24 -rwxrwxrwx   1 nobody   nogroup     22030 Nov 10 04:46 ./wheels/bump2version-1.0.1-py2.py3-none-any.whl
2022-11-10T04:48:14.024842464Z 242912904901435121     12 -rwxrwxrwx   1 nobody   nogroup      9292 Nov 10 04:46 ./wheels/cachetools-5.2.0-py3-none-any.whl
2022-11-10T04:48:14.024846564Z 272467777456054727    160 -rwxrwxrwx   1 nobody   nogroup    161120 Nov 10 04:46 ./wheels/certifi-2022.9.24-py3-none-any.whl
2022-11-10T04:48:14.024850564Z 251920104156176121    420 -rwxrwxrwx   1 nobody   nogroup    427911 Nov 10 04:46 ./wheels/cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
2022-11-10T04:48:14.025059063Z 246009129645252358    132 -rwxrwxrwx   1 nobody   nogroup    133356 Nov 10 04:46 ./wheels/chardet-3.0.4-py2.py3-none-any.whl
2022-11-10T04:48:14.025077863Z 188588234396278541     84 -rwxrwxrwx   1 nobody   nogroup     82780 Nov 10 04:46 ./wheels/click-7.1.2-py2.py3-none-any.whl
2022-11-10T04:48:14.025083363Z 227150306205638475     24 -rwxrwxrwx   1 nobody   nogroup     22827 Nov 10 04:46 ./wheels/configparser-5.0.1-py3-none-any.whl
2022-11-10T04:48:14.025087563Z  37717646879373652   4076 -rwxrwxrwx   1 nobody   nogroup   4169870 Nov 10 04:46 ./wheels/cryptography-38.0.3-cp36-abi3-manylinux_2_28_x86_64.whl
2022-11-10T04:48:14.025093763Z 349310446098064282     60 -rwxrwxrwx   1 nobody   nogroup     59186 Nov 10 04:47 ./wheels/dataset_api-0.0.0-py3-none-any.whl
2022-11-10T04:48:14.025107562Z 192528884070230021     12 -rwxrwxrwx   1 nobody   nogroup     11178 Nov 10 04:46 ./wheels/deprecation-2.1.0-py2.py3-none-any.whl
2022-11-10T04:48:14.025112362Z 170010885933377542     40 -rwxrwxrwx   1 nobody   nogroup     38422 Nov 10 04:46 ./wheels/emr-3.5.1-py3-none-any.whl
2022-11-10T04:48:14.025116362Z 139330113471914610     52 -rwxrwxrwx   1 nobody   nogroup     52420 Nov 10 04:46 ./wheels/fastapi-0.68.2-py3-none-any.whl
2022-11-10T04:48:14.025129762Z 228557681089191814    208 -rwxrwxrwx   1 nobody   nogroup    211654 Nov 10 04:46 ./wheels/googleapis_common_protos-1.56.4-py2.py3-none-any.whl
2022-11-10T04:48:14.025134962Z 376613518838998490    116 -rwxrwxrwx   1 nobody   nogroup    115573 Nov 10 04:46 ./wheels/google_api_core-2.10.2-py3-none-any.whl
2022-11-10T04:48:14.025139062Z 297800525360014235    172 -rwxrwxrwx   1 nobody   nogroup    175358 Nov 10 04:46 ./wheels/google_auth-2.14.1-py2.py3-none-any.whl
2022-11-10T04:48:14.025143162Z 289356276058696036    504 -rwxrwxrwx   1 nobody   nogroup    514442 Nov 10 04:46 ./wheels/greenlet-2.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
2022-11-10T04:48:14.025147262Z 281756451687506403     60 -rwxrwxrwx   1 nobody   nogroup     58259 Nov 10 04:46 ./wheels/h11-0.14.0-py3-none-any.whl
2022-11-10T04:48:14.025151462Z 336081122192662414     60 -rwxrwxrwx   1 nobody   nogroup     58811 Nov 10 04:46 ./wheels/idna-2.10-py2.py3-none-any.whl
2022-11-10T04:48:14.025155462Z 268808602758815634     20 -rwxrwxrwx   1 nobody   nogroup     17280 Nov 10 04:46 ./wheels/importlib_metadata-4.6.4-py3-none-any.whl
2022-11-10T04:48:14.025159562Z 421368040135992810     36 -rwxrwxrwx   1 nobody   nogroup     34706 Nov 10 04:46 ./wheels/importlib_resources-5.10.0-py3-none-any.whl
2022-11-10T04:48:14.025163662Z 304555924801068957     44 -rwxrwxrwx   1 nobody   nogroup     41722 Nov 10 04:46 ./wheels/isodate-0.6.1-py2.py3-none-any.whl
2022-11-10T04:48:14.025167862Z 252483054109600147     84 -rwxrwxrwx   1 nobody   nogroup     83837 Nov 10 04:46 ./wheels/jsonschema-4.17.0-py3-none-any.whl
2022-11-10T04:48:14.025189662Z  23925373020551119     80 -rwxrwxrwx   1 nobody   nogroup     78666 Nov 10 04:46 ./wheels/Mako-1.2.3-py3-none-any.whl
2022-11-10T04:48:14.025193762Z 408983141160722005     28 -rwxrwxrwx   1 nobody   nogroup     25334 Nov 10 04:46 ./wheels/MarkupSafe-2.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
2022-11-10T04:48:14.025215762Z 305400349731202539     88 -rwxrwxrwx   1 nobody   nogroup     90002 Nov 10 04:46 ./wheels/msal-1.20.0-py2.py3-none-any.whl
2022-11-10T04:48:14.025220262Z 161848111608766391     16 -rwxrwxrwx   1 nobody   nogroup     15953 Nov 10 04:46 ./wheels/msal_extensions-0.2.2-py2.py3-none-any.whl
2022-11-10T04:48:14.025224362Z 266838277921841087     84 -rwxrwxrwx   1 nobody   nogroup     85203 Nov 10 04:46 ./wheels/msrest-0.6.21-py2.py3-none-any.whl
2022-11-10T04:48:14.025228462Z 262053203317763633    152 -rwxrwxrwx   1 nobody   nogroup    151688 Nov 10 04:46 ./wheels/oauthlib-3.2.2-py3-none-any.whl
2022-11-10T04:48:14.025232462Z  98234766872158776    128 -rwxrwxrwx   1 nobody   nogroup    128161 Nov 10 04:46 ./wheels/opencensus-0.11.0-py2.py3-none-any.whl
2022-11-10T04:48:14.025236662Z 156500087051264577      8 -rwxrwxrwx   1 nobody   nogroup      5060 Nov 10 04:46 ./wheels/opencensus_context-0.1.3-py2.py3-none-any.whl
2022-11-10T04:48:14.025244662Z 205758207975628768     36 -rwxrwxrwx   1 nobody   nogroup     35051 Nov 10 04:46 ./wheels/opencensus_ext_azure-1.0.8-py2.py3-none-any.whl
2022-11-10T04:48:14.025249062Z 206884107882471399      4 -rwxrwxrwx   1 nobody   nogroup      3972 Nov 10 04:46 ./wheels/opencensus_ext_logging-0.1.1-py2.py3-none-any.whl
2022-11-10T04:48:14.025253262Z 226587356252217927      8 -rwxrwxrwx   1 nobody   nogroup      6144 Nov 10 04:46 ./wheels/opencensus_ext_requests-0.8.0-py2.py3-none-any.whl
2022-11-10T04:48:14.025257462Z 138767163518494727     40 -rwxrwxrwx   1 nobody   nogroup     40750 Nov 10 04:46 ./wheels/packaging-21.3-py3-none-any.whl
2022-11-10T04:48:14.025261462Z 226587356252154858      8 -rwxrwxrwx   1 nobody   nogroup      4734 Nov 10 04:46 ./wheels/pkgutil_resolve_name-1.3.10-py3-none-any.whl
2022-11-10T04:48:14.025265562Z 140174538402045930     12 -rwxrwxrwx   1 nobody   nogroup     10349 Nov 10 04:46 ./wheels/portalocker-1.7.1-py2.py3-none-any.whl
2022-11-10T04:48:14.025269662Z 250794204249334393     12 -rwxrwxrwx   1 nobody   nogroup     10483 Nov 10 04:46 ./wheels/poseidon_utils-1.4.1-py3-none-any.whl
2022-11-10T04:48:14.025290061Z 267401227875264969    400 -rwxrwxrwx   1 nobody   nogroup    408434 Nov 10 04:46 ./wheels/protobuf-4.21.9-cp37-abi3-manylinux2014_x86_64.whl
2022-11-10T04:48:14.025294061Z 387028092977294175    276 -rwxrwxrwx   1 nobody   nogroup    280218 Nov 10 04:46 ./wheels/psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
2022-11-10T04:48:14.025299161Z 118500965195325432     76 -rwxrwxrwx   1 nobody   nogroup     77145 Nov 10 04:46 ./wheels/pyasn1-0.4.8-py2.py3-none-any.whl
2022-11-10T04:48:14.025303161Z 216735732067344378    152 -rwxrwxrwx   1 nobody   nogroup    155269 Nov 10 04:46 ./wheels/pyasn1_modules-0.2.8-py2.py3-none-any.whl
2022-11-10T04:48:14.025307261Z 180706935048380415    116 -rwxrwxrwx   1 nobody   nogroup    118697 Nov 10 04:46 ./wheels/pycparser-2.21-py2.py3-none-any.whl
2022-11-10T04:48:14.025311161Z 194499208907203205  10672 -rwxrwxrwx   1 nobody   nogroup  10926288 Nov 10 04:46 ./wheels/pydantic-1.9.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
2022-11-10T04:48:14.025315161Z 257268128713679465     20 -rwxrwxrwx   1 nobody   nogroup     18928 Nov 10 04:46 ./wheels/PyJWT-1.7.1-py2.py3-none-any.whl
2022-11-10T04:48:14.025319061Z 199565758487996424    308 -rwxrwxrwx   1 nobody   nogroup    314237 Nov 10 04:47 ./wheels/pyodbc-4.0.32-cp37-cp37m-linux_x86_64.whl
2022-11-10T04:48:14.025323161Z 168322036073113609    100 -rwxrwxrwx   1 nobody   nogroup     98338 Nov 10 04:46 ./wheels/pyparsing-3.0.9-py3-none-any.whl
2022-11-10T04:48:14.025327661Z 455426512317983618     60 -rwxrwxrwx   1 nobody   nogroup     57455 Nov 10 04:46 ./wheels/pyrsistent-0.19.2-py3-none-any.whl
2022-11-10T04:48:14.025331561Z 202380508255100947     20 -rwxrwxrwx   1 nobody   nogroup     18253 Nov 10 04:46 ./wheels/python_dotenv-0.15.0-py2.py3-none-any.whl
2022-11-10T04:48:14.025335461Z 233624230669983764     64 -rwxrwxrwx   1 nobody   nogroup     61826 Nov 10 04:46 ./wheels/requests-2.24.0-py2.py3-none-any.whl
2022-11-10T04:48:14.025339561Z 168884986026532892     24 -rwxrwxrwx   1 nobody   nogroup     23892 Nov 10 04:46 ./wheels/requests_oauthlib-1.3.1-py2.py3-none-any.whl
2022-11-10T04:48:14.025347061Z 210261807602999326     36 -rwxrwxrwx   1 nobody   nogroup     34315 Nov 10 04:46 ./wheels/rsa-4.9-py3-none-any.whl
2022-11-10T04:48:14.025351261Z 274438102293031886   1204 -rwxrwxrwx   1 nobody   nogroup   1232712 Nov 10 04:46 ./wheels/setuptools-65.5.1-py3-none-any.whl
2022-11-10T04:48:14.025355161Z 186617909559304227     12 -rwxrwxrwx   1 nobody   nogroup     11053 Nov 10 04:46 ./wheels/six-1.16.0-py2.py3-none-any.whl
2022-11-10T04:48:14.025359261Z 117375065288484863   1568 -rwxrwxrwx   1 nobody   nogroup   1602889 Nov 10 04:46 ./wheels/SQLAlchemy-1.4.36-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
2022-11-10T04:48:14.025395061Z 268808602758816416     60 -rwxrwxrwx   1 nobody   nogroup     60648 Nov 10 04:46 ./wheels/starlette-0.14.2-py3-none-any.whl
2022-11-10T04:48:14.025402061Z 251638629179467259     28 -rwxrwxrwx   1 nobody   nogroup     26662 Nov 10 04:46 ./wheels/typing_extensions-4.4.0-py3-none-any.whl
2022-11-10T04:48:14.025406361Z 247979454482227240    128 -rwxrwxrwx   1 nobody   nogroup    127978 Nov 10 04:46 ./wheels/urllib3-1.25.11-py2.py3-none-any.whl
2022-11-10T04:48:14.025410361Z 194499208907202605     48 -rwxrwxrwx   1 nobody   nogroup     45066 Nov 10 04:46 ./wheels/uvicorn-0.12.2-py3-none-any.whl
2022-11-10T04:48:14.025414361Z 166633186212847662     76 -rwxrwxrwx   1 nobody   nogroup     75243 Nov 10 04:46 ./wheels/wrapt-1.14.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
2022-11-10T04:48:14.025418561Z 286823001268300062      8 -rwxrwxrwx   1 nobody   nogroup      6187 Nov 10 04:46 ./wheels/zipp-3.10.0-py3-none-any.whl
2022-11-10T04:48:14.027556948Z ------- debug -------
2022-11-10T04:48:14.891703153Z Looking in links: ./wheels
2022-11-10T04:48:14.906352268Z Processing /home/site/wwwroot
2022-11-10T04:48:14.917669103Z   Installing build dependencies: started
2022-11-10T04:48:17.945533611Z   Installing build dependencies: finished with status 'done'
2022-11-10T04:48:17.950424883Z   Getting requirements to build wheel: started
2022-11-10T04:48:18.455666105Z   Getting requirements to build wheel: finished with status 'done'
2022-11-10T04:48:18.465341150Z   Preparing metadata (pyproject.toml): started
2022-11-10T04:48:19.209264313Z   Preparing metadata (pyproject.toml): finished with status 'done'
2022-11-10T04:48:19.445320068Z Collecting uvicorn==0.12.2
2022-11-10T04:48:19.472817112Z   Downloading uvicorn-0.12.2-py3-none-any.whl (45 kB)
2022-11-10T04:48:19.488365223Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.1/45.1 kB 3.9 MB/s eta 0:00:00
2022-11-10T04:48:19.643677138Z Collecting fastapi==0.68.2
2022-11-10T04:48:19.651642193Z   Downloading fastapi-0.68.2-py3-none-any.whl (52 kB)
2022-11-10T04:48:19.664593119Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.4/52.4 kB 4.5 MB/s eta 0:00:00
2022-11-10T04:48:19.723058386Z Collecting opencensus-ext-azure<=1.1.4
2022-11-10T04:48:19.731227540Z   Downloading opencensus_ext_azure-1.1.4-py2.py3-none-any.whl (40 kB)
2022-11-10T04:48:19.741731380Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.2/40.2 kB 4.5 MB/s eta 0:00:00
2022-11-10T04:48:20.359472561Z Collecting SQLAlchemy==1.4.36
2022-11-10T04:48:20.363193340Z   Downloading SQLAlchemy-1.4.36-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB)
2022-11-10T04:48:20.448688653Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 19.5 MB/s eta 0:00:00
2022-11-10T04:48:20.566665181Z Collecting requests==2.24.0
2022-11-10T04:48:20.574332038Z   Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
2022-11-10T04:48:20.593826227Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 kB 3.6 MB/s eta 0:00:00
2022-11-10T04:48:20.667452107Z Collecting azure-identity==1.4.1
2022-11-10T04:48:20.670676089Z   Downloading azure_identity-1.4.1-py2.py3-none-any.whl (86 kB)
2022-11-10T04:48:20.684988907Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.9/86.9 kB 7.5 MB/s eta 0:00:00
2022-11-10T04:48:20.726870569Z Processing ./wheels/emr-3.5.1-py3-none-any.whl
2022-11-10T04:48:20.777600480Z Processing ./wheels/poseidon_utils-1.4.1-py3-none-any.whl
2022-11-10T04:48:20.857440525Z Collecting azure-core==1.9.0
2022-11-10T04:48:20.864847683Z   Downloading azure_core-1.9.0-py2.py3-none-any.whl (124 kB)
2022-11-10T04:48:20.882353983Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.0/124.0 kB 9.1 MB/s eta 0:00:00
2022-11-10T04:48:20.936709674Z Collecting opencensus-ext-logging>=0.1.1
2022-11-10T04:48:20.944246731Z   Downloading opencensus_ext_logging-0.1.1-py2.py3-none-any.whl (4.0 kB)
2022-11-10T04:48:21.230907098Z Collecting pydantic[dotenv]==1.9.0
2022-11-10T04:48:21.239493749Z   Downloading pydantic-1.9.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.9 MB)
2022-11-10T04:48:21.807477314Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.9/10.9 MB 18.6 MB/s eta 0:00:00
2022-11-10T04:48:22.017679017Z Collecting importlib-metadata~=4.6.4
2022-11-10T04:48:22.024237079Z   Downloading importlib_metadata-4.6.4-py3-none-any.whl (17 kB)
2022-11-10T04:48:22.099471351Z Collecting ConfigParser==5.0.1
2022-11-10T04:48:22.105244718Z   Downloading configparser-5.0.1-py3-none-any.whl (22 kB)
2022-11-10T04:48:22.163321287Z Collecting bump2version>=1.0.1
2022-11-10T04:48:22.169729851Z   Downloading bump2version-1.0.1-py2.py3-none-any.whl (22 kB)
2022-11-10T04:48:22.321821184Z Processing ./wheels/pyodbc-4.0.32-cp37-cp37m-linux_x86_64.whl
2022-11-10T04:48:22.380188052Z Collecting opencensus-ext-requests>=0.7.6
2022-11-10T04:48:22.387312711Z   Downloading opencensus_ext_requests-0.8.0-py2.py3-none-any.whl (6.1 kB)
2022-11-10T04:48:22.462489683Z Collecting python-dotenv==0.15.0
2022-11-10T04:48:22.469731642Z   Downloading python_dotenv-0.15.0-py2.py3-none-any.whl (18 kB)
2022-11-10T04:48:22.540034341Z Collecting azure-storage-file-datalake==12.1.2
2022-11-10T04:48:22.546957702Z   Downloading azure_storage_file_datalake-12.1.2-py2.py3-none-any.whl (175 kB)
2022-11-10T04:48:22.567150887Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.4/175.4 kB 10.5 MB/s eta 0:00:00
2022-11-10T04:48:22.636882290Z Collecting six>=1.6
2022-11-10T04:48:22.645356042Z   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
2022-11-10T04:48:22.730419957Z Collecting msal-extensions~=0.2.2
2022-11-10T04:48:22.738114513Z   Downloading msal_extensions-0.2.2-py2.py3-none-any.whl (15 kB)
2022-11-10T04:48:23.265865807Z Collecting cryptography>=2.1.4
2022-11-10T04:48:23.274819456Z   Downloading cryptography-38.0.3-cp36-abi3-manylinux_2_24_x86_64.whl (4.1 MB)
2022-11-10T04:48:23.556440752Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.1/4.1 MB 14.7 MB/s eta 0:00:00
2022-11-10T04:48:23.685976314Z Collecting msal<2.0.0,>=1.3.0
2022-11-10T04:48:23.693991569Z   Downloading msal-1.20.0-py2.py3-none-any.whl (90 kB)
2022-11-10T04:48:23.713581857Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.0/90.0 kB 6.0 MB/s eta 0:00:00
2022-11-10T04:48:23.819445554Z Collecting msrest>=0.6.10
2022-11-10T04:48:23.826322515Z   Downloading msrest-0.7.1-py3-none-any.whl (85 kB)
2022-11-10T04:48:23.837910549Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.4/85.4 kB 10.1 MB/s eta 0:00:00
2022-11-10T04:48:23.916016004Z Collecting azure-storage-blob~=12.4.0
2022-11-10T04:48:23.923350362Z   Downloading azure_storage_blob-12.4.0-py2.py3-none-any.whl (326 kB)
2022-11-10T04:48:23.950965705Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 326.2/326.2 kB 14.2 MB/s eta 0:00:00
2022-11-10T04:48:24.135478852Z Collecting jsonschema>=4.5.1
2022-11-10T04:48:24.143744801Z   Downloading jsonschema-4.17.0-py3-none-any.whl (83 kB)
2022-11-10T04:48:24.163440678Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.8/83.8 kB 4.2 MB/s eta 0:00:00
2022-11-10T04:48:24.172271423Z Requirement already satisfied: setuptools in /opt/python/3.7.12/lib/python3.7/site-packages (from emr==3.5.1->dataset-api==0.0.0) (58.2.0)
2022-11-10T04:48:24.243060183Z Collecting deprecation>=2.1.0
2022-11-10T04:48:24.263445257Z   Downloading deprecation-2.1.0-py2.py3-none-any.whl (11 kB)
2022-11-10T04:48:24.421672273Z Collecting alembic>=1.7.7
2022-11-10T04:48:24.430775817Z   Downloading alembic-1.8.1-py3-none-any.whl (209 kB)
2022-11-10T04:48:24.457580550Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 209.8/209.8 kB 9.9 MB/s eta 0:00:00
2022-11-10T04:48:24.646931256Z Collecting pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2
2022-11-10T04:48:24.654371926Z   Downloading pydantic-1.10.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.8 MB)
2022-11-10T04:48:25.483482246Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.8/11.8 MB 12.9 MB/s eta 0:00:00
2022-11-10T04:48:25.621505784Z Collecting starlette==0.14.2
2022-11-10T04:48:25.629037753Z   Downloading starlette-0.14.2-py3-none-any.whl (60 kB)
2022-11-10T04:48:25.642544098Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 5.4 MB/s eta 0:00:00
2022-11-10T04:48:25.867917880Z Collecting pyjwt==1.7.1
2022-11-10T04:48:25.874275454Z   Downloading PyJWT-1.7.1-py2.py3-none-any.whl (18 kB)
2022-11-10T04:48:25.903483935Z Requirement already satisfied: typing-extensions>=3.7.4.3 in /opt/python/3.7.12/lib/python3.7/site-packages (from pydantic[dotenv]==1.9.0->dataset-api==0.0.0) (4.3.0)
2022-11-10T04:48:26.056110413Z Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
2022-11-10T04:48:26.065958672Z   Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
2022-11-10T04:48:26.085421093Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.0/128.0 kB 8.0 MB/s eta 0:00:00
2022-11-10T04:48:26.166048964Z Collecting certifi>=2017.4.17
2022-11-10T04:48:26.173423034Z   Downloading certifi-2022.9.24-py3-none-any.whl (161 kB)
2022-11-10T04:48:26.198637532Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 7.4 MB/s eta 0:00:00
2022-11-10T04:48:26.267669850Z Collecting idna<3,>=2.5
2022-11-10T04:48:26.274668422Z   Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
2022-11-10T04:48:26.286836072Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 6.2 MB/s eta 0:00:00
2022-11-10T04:48:26.341942348Z Collecting chardet<4,>=3.0.2
2022-11-10T04:48:26.348288022Z   Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
2022-11-10T04:48:26.368030241Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 8.4 MB/s eta 0:00:00
2022-11-10T04:48:26.840678415Z Collecting greenlet!=0.4.17
2022-11-10T04:48:26.848630482Z   Downloading greenlet-2.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (514 kB)
2022-11-10T04:48:26.892693003Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 514.4/514.4 kB 12.9 MB/s eta 0:00:00
2022-11-10T04:48:27.055507239Z Collecting click==7.*
2022-11-10T04:48:27.060282920Z   Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
2022-11-10T04:48:27.094581680Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 82.8/82.8 kB 3.7 MB/s eta 0:00:00
2022-11-10T04:48:27.155127333Z Collecting h11>=0.8
2022-11-10T04:48:27.161839406Z   Downloading h11-0.14.0-py3-none-any.whl (58 kB)
2022-11-10T04:48:27.176121648Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 4.8 MB/s eta 0:00:00
2022-11-10T04:48:27.267990073Z Requirement already satisfied: zipp>=0.5 in /opt/python/3.7.12/lib/python3.7/site-packages (from importlib-metadata~=4.6.4->dataset-api==0.0.0) (3.8.1)
2022-11-10T04:48:27.308376709Z Collecting opencensus-ext-azure<=1.1.4
2022-11-10T04:48:27.314920782Z   Downloading opencensus_ext_azure-1.1.3-py2.py3-none-any.whl (39 kB)
2022-11-10T04:48:27.350828536Z   Downloading opencensus_ext_azure-1.1.2-py2.py3-none-any.whl (39 kB)
2022-11-10T04:48:27.430264212Z Collecting opencensus<1.0.0,>=0.9.dev0
2022-11-10T04:48:27.437409983Z   Downloading opencensus-0.11.0-py2.py3-none-any.whl (128 kB)
2022-11-10T04:48:27.456207306Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.2/128.2 kB 8.4 MB/s eta 0:00:00
2022-11-10T04:48:27.472478740Z Collecting opencensus-ext-azure<=1.1.4
2022-11-10T04:48:27.481391503Z   Downloading opencensus_ext_azure-1.1.1-py2.py3-none-any.whl (42 kB)
2022-11-10T04:48:27.494312351Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.3/42.3 kB 3.7 MB/s eta 0:00:00
2022-11-10T04:48:27.520972542Z   Downloading opencensus_ext_azure-1.1.0-py2.py3-none-any.whl (42 kB)
2022-11-10T04:48:27.534088789Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.3/42.3 kB 3.8 MB/s eta 0:00:00
2022-11-10T04:48:27.560009683Z   Downloading opencensus_ext_azure-1.0.8-py2.py3-none-any.whl (35 kB)
2022-11-10T04:48:27.589439863Z Requirement already satisfied: psutil>=5.6.3 in /opt/python/3.7.12/lib/python3.7/site-packages (from opencensus-ext-azure<=1.1.4->dataset-api==0.0.0) (5.9.0)
2022-11-10T04:48:27.824776204Z Collecting wrapt<2.0.0,>=1.0.0
2022-11-10T04:48:27.832898071Z   Downloading wrapt-1.14.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (75 kB)
2022-11-10T04:48:27.846815814Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.2/75.2 kB 6.3 MB/s eta 0:00:00
2022-11-10T04:48:27.979669673Z Collecting importlib-resources
2022-11-10T04:48:27.986265646Z   Downloading importlib_resources-5.10.0-py3-none-any.whl (34 kB)
2022-11-10T04:48:28.106966254Z Collecting Mako
2022-11-10T04:48:28.114016725Z   Downloading Mako-1.2.3-py3-none-any.whl (78 kB)
2022-11-10T04:48:28.126893072Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 8.3 MB/s eta 0:00:00
2022-11-10T04:48:28.558453959Z Collecting cffi>=1.12
2022-11-10T04:48:28.566211011Z   Downloading cffi-1.15.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (427 kB)
2022-11-10T04:48:28.595914931Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 427.9/427.9 kB 17.3 MB/s eta 0:00:00
2022-11-10T04:48:28.694080733Z Collecting packaging
2022-11-10T04:48:28.700379095Z   Downloading packaging-21.3-py3-none-any.whl (40 kB)
2022-11-10T04:48:28.714358910Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 3.1 MB/s eta 0:00:00
2022-11-10T04:48:28.904395654Z Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
2022-11-10T04:48:28.909745321Z   Downloading pyrsistent-0.19.2-py3-none-any.whl (57 kB)
2022-11-10T04:48:28.921908847Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 6.4 MB/s eta 0:00:00
2022-11-10T04:48:29.003467251Z Collecting attrs>=17.4.0
2022-11-10T04:48:29.009652913Z   Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB)
2022-11-10T04:48:29.024154325Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 4.9 MB/s eta 0:00:00
2022-11-10T04:48:29.099072669Z Collecting pkgutil-resolve-name>=1.3.10
2022-11-10T04:48:29.105685229Z   Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)
2022-11-10T04:48:29.206618315Z Collecting PyJWT[crypto]<3,>=1.0.0
2022-11-10T04:48:29.214426067Z   Downloading PyJWT-2.6.0-py3-none-any.whl (20 kB)
2022-11-10T04:48:29.315318854Z Collecting portalocker~=1.0
2022-11-10T04:48:29.322671509Z   Downloading portalocker-1.7.1-py2.py3-none-any.whl (10 kB)
2022-11-10T04:48:29.433027737Z Collecting requests-oauthlib>=0.5.0
2022-11-10T04:48:29.441023589Z   Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
2022-11-10T04:48:29.493634469Z Collecting msrest>=0.6.10
2022-11-10T04:48:29.502161917Z   Downloading msrest-0.6.21-py2.py3-none-any.whl (85 kB)
2022-11-10T04:48:29.521902397Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.2/85.2 kB 5.5 MB/s eta 0:00:00
2022-11-10T04:48:29.602537206Z Collecting isodate>=0.6.0
2022-11-10T04:48:29.610145460Z   Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB)
2022-11-10T04:48:29.623489278Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 3.6 MB/s eta 0:00:00
2022-11-10T04:48:29.806035068Z Collecting google-api-core<3.0.0,>=1.0.0
2022-11-10T04:48:29.813162624Z   Downloading google_api_core-2.10.2-py3-none-any.whl (115 kB)
2022-11-10T04:48:29.830049322Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.6/115.6 kB 8.8 MB/s eta 0:00:00
2022-11-10T04:48:29.883316898Z Collecting opencensus-context>=0.1.3
2022-11-10T04:48:29.889815958Z   Downloading opencensus_context-0.1.3-py2.py3-none-any.whl (5.1 kB)
2022-11-10T04:48:30.175764818Z Collecting pycparser
2022-11-10T04:48:30.183224673Z   Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
2022-11-10T04:48:30.200566567Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 8.0 MB/s eta 0:00:00
2022-11-10T04:48:30.489626808Z Collecting google-auth<3.0dev,>=1.25.0
2022-11-10T04:48:30.496355368Z   Downloading google_auth-2.14.1-py2.py3-none-any.whl (175 kB)
2022-11-10T04:48:30.519989724Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.4/175.4 kB 8.7 MB/s eta 0:00:00
2022-11-10T04:48:31.015140911Z Collecting protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5
2022-11-10T04:48:31.022616866Z   Downloading protobuf-4.21.9-cp37-abi3-manylinux2014_x86_64.whl (408 kB)
2022-11-10T04:48:31.065984702Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 408.4/408.4 kB 10.9 MB/s eta 0:00:00
2022-11-10T04:48:31.149253495Z Collecting googleapis-common-protos<2.0dev,>=1.56.2
2022-11-10T04:48:31.157836443Z   Downloading googleapis_common_protos-1.56.4-py2.py3-none-any.whl (211 kB)
2022-11-10T04:48:31.187484062Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 211.7/211.7 kB 8.8 MB/s eta 0:00:00
2022-11-10T04:48:31.371609042Z Collecting PyJWT[crypto]<3,>=1.0.0
2022-11-10T04:48:31.378788798Z   Downloading PyJWT-2.5.0-py3-none-any.whl (20 kB)
2022-11-10T04:48:31.443083107Z   Downloading PyJWT-2.4.0-py3-none-any.whl (18 kB)
2022-11-10T04:48:31.503347341Z   Downloading PyJWT-2.3.0-py3-none-any.whl (16 kB)
2022-11-10T04:48:31.559102801Z   Downloading PyJWT-2.2.0-py3-none-any.whl (16 kB)
2022-11-10T04:48:31.612741075Z   Downloading PyJWT-2.1.0-py3-none-any.whl (16 kB)
2022-11-10T04:48:31.673359306Z   Downloading PyJWT-2.0.1-py3-none-any.whl (15 kB)
2022-11-10T04:48:31.723569001Z   Downloading PyJWT-2.0.0-py3-none-any.whl (15 kB)
2022-11-10T04:48:31.905362194Z Collecting oauthlib>=3.0.0
2022-11-10T04:48:31.911993154Z   Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
2022-11-10T04:48:31.931064538Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 10.4 MB/s eta 0:00:00
2022-11-10T04:48:31.961100755Z Requirement already satisfied: MarkupSafe>=0.9.2 in /opt/python/3.7.12/lib/python3.7/site-packages (from Mako->alembic>=1.7.7->emr==3.5.1->dataset-api==0.0.0) (2.1.1)
2022-11-10T04:48:32.094086446Z Collecting pyparsing!=3.0.5,>=2.0.2
2022-11-10T04:48:32.104393683Z   Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)
2022-11-10T04:48:32.118371498Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 6.7 MB/s eta 0:00:00
2022-11-10T04:48:32.247159115Z Collecting rsa<5,>=3.1.4
2022-11-10T04:48:32.255143766Z   Downloading rsa-4.9-py3-none-any.whl (34 kB)
2022-11-10T04:48:32.353598667Z Collecting pyasn1-modules>=0.2.1
2022-11-10T04:48:32.362124115Z   Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
2022-11-10T04:48:32.382723690Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 9.0 MB/s eta 0:00:00
2022-11-10T04:48:32.463609498Z Collecting cachetools<6.0,>=2.0.0
2022-11-10T04:48:32.473307539Z   Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB)
2022-11-10T04:48:32.800705070Z Collecting pyasn1<0.5.0,>=0.4.6
2022-11-10T04:48:32.808256924Z   Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
2022-11-10T04:48:32.823347634Z      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 6.2 MB/s eta 0:00:00
2022-11-10T04:48:32.940078833Z Building wheels for collected packages: dataset-api
2022-11-10T04:48:32.942187920Z   Building wheel for dataset-api (pyproject.toml): started
2022-11-10T04:48:35.161162100Z   Building wheel for dataset-api (pyproject.toml): finished with status 'done'
2022-11-10T04:48:35.169306651Z   Created wheel for dataset-api: filename=dataset_api-0.0.0-py3-none-any.whl size=59186 sha256=636aef413c1df2f54676cace55abff2247d9720ed89bea7826b606decb3e8c24
2022-11-10T04:48:35.170163046Z   Stored in directory: /tmp/pip-ephem-wheel-cache-h9hcsqk8/wheels/83/ab/d1/f84ef72dfa49262de9783b3fa6516cd527e4e3600a6fb6ea36
2022-11-10T04:48:35.176853706Z Successfully built dataset-api
2022-11-10T04:48:36.280253483Z Installing collected packages: python-dotenv, pyodbc, pyjwt, pyasn1, portalocker, opencensus-context, chardet, wrapt, urllib3, starlette, six, rsa, pyrsistent, pyparsing, pydantic, pycparser, pyasn1-modules, protobuf, pkgutil-resolve-name, oauthlib, importlib-resources, importlib-metadata, idna, h11, greenlet, ConfigParser, click, certifi, cachetools, bump2version, attrs, uvicorn, SQLAlchemy, requests, packaging, Mako, jsonschema, isodate, googleapis-common-protos, google-auth, fastapi, cffi, requests-oauthlib, google-api-core, deprecation, cryptography, azure-core, alembic, poseidon-utils, opencensus, msrest, emr, opencensus-ext-requests, opencensus-ext-logging, opencensus-ext-azure, msal, azure-storage-blob, msal-extensions, azure-storage-file-datalake, azure-identity, dataset-api
2022-11-10T04:48:38.819565740Z   Attempting uninstall: importlib-metadata
2022-11-10T04:48:38.819600139Z     Found existing installation: importlib-metadata 4.12.0
2022-11-10T04:48:38.829857078Z     Uninstalling importlib-metadata-4.12.0:
2022-11-10T04:48:38.843810394Z       Successfully uninstalled importlib-metadata-4.12.0
2022-11-10T04:48:39.203297536Z   Attempting uninstall: click
2022-11-10T04:48:39.205055326Z     Found existing installation: click 8.1.3
2022-11-10T04:48:39.233832753Z     Uninstalling click-8.1.3:
2022-11-10T04:48:39.253616034Z       Successfully uninstalled click-8.1.3
2022-11-10T04:48:43.765951005Z ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
2022-11-10T04:48:43.765992005Z virtualenv 20.16.3 requires importlib-metadata>=4.8.3; python_version < "3.8", but you have importlib-metadata 4.6.4 which is incompatible.
2022-11-10T04:48:43.765999405Z flask 2.2.2 requires click>=8.0, but you have click 7.1.2 which is incompatible.
2022-11-10T04:48:43.766835399Z Successfully installed ConfigParser-5.0.1 Mako-1.2.3 SQLAlchemy-1.4.36 alembic-1.8.1 attrs-22.1.0 azure-core-1.9.0 azure-identity-1.4.1 azure-storage-blob-12.4.0 azure-storage-file-datalake-12.1.2 bump2version-1.0.1 cachetools-5.2.0 certifi-2022.9.24 cffi-1.15.1 chardet-3.0.4 click-7.1.2 cryptography-38.0.3 dataset-api-0.0.0 deprecation-2.1.0 emr-3.5.1 fastapi-0.68.2 google-api-core-2.10.2 google-auth-2.14.1 googleapis-common-protos-1.56.4 greenlet-2.0.1 h11-0.14.0 idna-2.10 importlib-metadata-4.6.4 importlib-resources-5.10.0 isodate-0.6.1 jsonschema-4.17.0 msal-1.20.0 msal-extensions-0.2.2 msrest-0.6.21 oauthlib-3.2.2 opencensus-0.11.0 opencensus-context-0.1.3 opencensus-ext-azure-1.0.8 opencensus-ext-logging-0.1.1 opencensus-ext-requests-0.8.0 packaging-21.3 pkgutil-resolve-name-1.3.10 portalocker-1.7.1 poseidon-utils-1.4.1 protobuf-4.21.9 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycparser-2.21 pydantic-1.9.0 pyjwt-1.7.1 pyodbc-4.0.32 pyparsing-3.0.9 pyrsistent-0.19.2 python-dotenv-0.15.0 requests-2.24.0 requests-oauthlib-1.3.1 rsa-4.9 six-1.16.0 starlette-0.14.2 urllib3-1.25.11 uvicorn-0.12.2 wrapt-1.14.1
2022-11-10T04:48:43.770111177Z WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
2022-11-10T04:48:43.783353486Z 
2022-11-10T04:48:43.783440886Z [notice] A new release of pip available: 22.2.2 -> 22.3.1
2022-11-10T04:48:43.783450686Z [notice] To update, run: python3.7 -m pip install --upgrade pip
2022-11-10T04:48:47.523549506Z INFO:     Started server process [156]
2022-11-10T04:48:47.523589106Z Started server process [156]
2022-11-10T04:48:47.523595306Z INFO:     Waiting for application startup.
2022-11-10T04:48:47.523609006Z Waiting for application startup.
2022-11-10T04:48:47.523612906Z INFO:     Application startup complete.
2022-11-10T04:48:47.523616406Z Application startup complete.
2022-11-10T04:48:47.523619906Z INFO:     Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
2022-11-10T04:48:47.523623606Z Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
2022-11-10T04:55:26.388370200Z ERROR:    Exception in ASGI application
2022-11-10T04:55:26.388400400Z Traceback (most recent call last):
2022-11-10T04:55:26.388407099Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/uvicorn/protocols/http/h11_impl.py", line 389, in run_asgi
2022-11-10T04:55:26.388422999Z     result = await app(self.scope, self.receive, self.send)
2022-11-10T04:55:26.388427299Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in __call__
2022-11-10T04:55:26.388431199Z     return await self.app(scope, receive, send)
2022-11-10T04:55:26.388434899Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/fastapi/applications.py", line 208, in __call__
2022-11-10T04:55:26.388438699Z     await super().__call__(scope, receive, send)
2022-11-10T04:55:26.388442199Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/applications.py", line 112, in __call__
2022-11-10T04:55:26.388445999Z     await self.middleware_stack(scope, receive, send)
2022-11-10T04:55:26.388449599Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/middleware/errors.py", line 181, in __call__
2022-11-10T04:55:26.388453299Z     raise exc from None
2022-11-10T04:55:26.388456899Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/middleware/errors.py", line 159, in __call__
2022-11-10T04:55:26.388460799Z     await self.app(scope, receive, _send)
2022-11-10T04:55:26.388464399Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/middleware/base.py", line 25, in __call__
2022-11-10T04:55:26.388468099Z     response = await self.dispatch_func(request, self.call_next)
2022-11-10T04:55:26.388471699Z   File "./src/main.py", line 68, in middlewareopencensus
2022-11-10T04:55:26.388475398Z     response = await call_next(request)
2022-11-10T04:55:26.388478998Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/middleware/base.py", line 45, in call_next
2022-11-10T04:55:26.388482698Z     task.result()
2022-11-10T04:55:26.388486198Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/middleware/base.py", line 38, in coro
2022-11-10T04:55:26.388489898Z     await self.app(scope, receive, send)
2022-11-10T04:55:26.388493498Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/middleware/base.py", line 25, in __call__
2022-11-10T04:55:26.388497198Z     response = await self.dispatch_func(request, self.call_next)
2022-11-10T04:55:26.388500698Z   File "./src/utils/custom_middlewares.py", line 26, in dispatch
2022-11-10T04:55:26.388504398Z     return await call_next(request)
2022-11-10T04:55:26.388507898Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/middleware/base.py", line 45, in call_next
2022-11-10T04:55:26.388511598Z     task.result()
2022-11-10T04:55:26.388515898Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/middleware/base.py", line 38, in coro
2022-11-10T04:55:26.388519898Z     await self.app(scope, receive, send)
2022-11-10T04:55:26.388523398Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/exceptions.py", line 82, in __call__
2022-11-10T04:55:26.388527098Z     raise exc from None
2022-11-10T04:55:26.388534398Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/exceptions.py", line 71, in __call__
2022-11-10T04:55:26.388538298Z     await self.app(scope, receive, sender)
2022-11-10T04:55:26.388541798Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/routing.py", line 580, in __call__
2022-11-10T04:55:26.388545497Z     await route.handle(scope, receive, send)
2022-11-10T04:55:26.388548997Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/routing.py", line 241, in handle
2022-11-10T04:55:26.388552597Z     await self.app(scope, receive, send)
2022-11-10T04:55:26.388556097Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/routing.py", line 52, in app
2022-11-10T04:55:26.388559897Z     response = await func(request)
2022-11-10T04:55:26.388563497Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/fastapi/routing.py", line 220, in app
2022-11-10T04:55:26.388567397Z     dependency_overrides_provider=dependency_overrides_provider,
2022-11-10T04:55:26.388570997Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 525, in solve_dependencies
2022-11-10T04:55:26.388574797Z     dependency_cache=dependency_cache,
2022-11-10T04:55:26.388578197Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/fastapi/dependencies/utils.py", line 552, in solve_dependencies
2022-11-10T04:55:26.388670696Z     solved = await run_in_threadpool(call, **sub_values)
2022-11-10T04:55:26.388836593Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/starlette/concurrency.py", line 40, in run_in_threadpool
2022-11-10T04:55:26.388845893Z     return await loop.run_in_executor(None, func, *args)
2022-11-10T04:55:26.388849793Z   File "/opt/python/3.7.12/lib/python3.7/concurrent/futures/thread.py", line 57, in run
2022-11-10T04:55:26.388853493Z     result = self.fn(*self.args, **self.kwargs)
2022-11-10T04:55:26.388856993Z   File "./src/utils/parameters.py", line 8, in __init__
2022-11-10T04:55:26.388860693Z     e = create_preconfig_engine()
2022-11-10T04:55:26.388864193Z   File "./src/config/database.py", line 106, in create_preconfig_engine
2022-11-10T04:55:26.388867993Z     return engine(sa_url(config), token_struct=packed_token)
2022-11-10T04:55:26.388871593Z   File "./src/config/database.py", line 93, in engine
2022-11-10T04:55:26.388875393Z     return create_engine(sql_url, connect_args=connect_args)
2022-11-10T04:55:26.388879093Z   File "<string>", line 2, in create_engine
2022-11-10T04:55:26.388891593Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/sqlalchemy/util/deprecations.py", line 309, in warned
2022-11-10T04:55:26.388896193Z     return fn(*args, **kwargs)
2022-11-10T04:55:26.388900992Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/sqlalchemy/engine/create.py", line 560, in create_engine
2022-11-10T04:55:26.388904992Z     dbapi = dialect_cls.dbapi(**dbapi_args)
2022-11-10T04:55:26.388914292Z   File "/opt/python/3.7.12/lib/python3.7/site-packages/sqlalchemy/connectors/pyodbc.py", line 43, in dbapi
2022-11-10T04:55:26.388918392Z     return __import__("pyodbc")
2022-11-10T04:55:26.388922192Z ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/python/3.7.12/lib/python3.7/site-packages/pyodbc.cpython-37m-x86_64-linux-gnu.so)
olmerg commented 1 year ago

I think is the same issue of https://github.com/microsoft/Oryx/issues/1522, you can not install apt package in prebuild.

I also require to install some packages for activating geodjango . The only way that I found was to deactivate Oryx, and make the installation of the apt-get in the startup.sh script. To update the code I have to stop the server manually, then synchronize the git, wait for the error of deployment to occur, and start the server. The package to be installed with pip which require the apt programs, has to be installed outside the requirements.txt in the startup.sh too.

Enviroment variable

  {
    "name": "ENABLE_ORYX_BUILD",
    "value": "false",
    "slotSetting": false
  }
simonjj commented 5 months ago

Closing this as a duplicate of #1522