From fa535a10ac33e7483329dd95c90fd3701ef2760e Mon Sep 17 00:00:00 2001 From: Tomasz Date: Wed, 17 May 2023 22:30:48 +0200 Subject: [PATCH] update --- IUM_00.Organizacyjne.ipynb | 2 +- IUM_03.CI-Jenkins.ipynb | 2 +- IUM_06.Jenkins-2.ipynb | 2 +- IUM_07.Sacred.ipynb | 18 +- IUM_08.MLFlow.ipynb | 8252 ++++++++++++++++++++++++++++++-- IUM_09.Python_srodowiska.ipynb | 3143 +++++++++++- IUM_11.CML.ipynb | 296 +- IUM_11/github-actions-hello | 2 +- 8 files changed, 11271 insertions(+), 446 deletions(-) diff --git a/IUM_00.Organizacyjne.ipynb b/IUM_00.Organizacyjne.ipynb index 21fa938..5a16ae5 100644 --- a/IUM_00.Organizacyjne.ipynb +++ b/IUM_00.Organizacyjne.ipynb @@ -180,7 +180,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.12" + "version": "3.9.16" }, "slideshow": { "slide_type": "slide" diff --git a/IUM_03.CI-Jenkins.ipynb b/IUM_03.CI-Jenkins.ipynb index 722cdc9..d875268 100644 --- a/IUM_03.CI-Jenkins.ipynb +++ b/IUM_03.CI-Jenkins.ipynb @@ -509,7 +509,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.12" + "version": "3.9.16" }, "slideshow": { "slide_type": "slide" diff --git a/IUM_06.Jenkins-2.ipynb b/IUM_06.Jenkins-2.ipynb index 2b6dab8..49f466e 100644 --- a/IUM_06.Jenkins-2.ipynb +++ b/IUM_06.Jenkins-2.ipynb @@ -248,7 +248,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.12" + "version": "3.9.16" }, "slideshow": { "slide_type": "slide" diff --git a/IUM_07.Sacred.ipynb b/IUM_07.Sacred.ipynb index c3db448..1c13dab 100644 --- a/IUM_07.Sacred.ipynb +++ b/IUM_07.Sacred.ipynb @@ -981,13 +981,25 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "metadata": { "slideshow": { "slide_type": "slide" } }, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "total 16\r\n", + "-rw-r--r-- 1 tomek tomek 77 May 28 2022 config.json\r\n", + "-rw-r--r-- 1 tomek tomek 159 May 28 2022 cout.txt\r\n", + "-rw-r--r-- 1 tomek tomek 2 May 28 2022 metrics.json\r\n", + "-rw-r--r-- 1 tomek tomek 1659 May 28 2022 run.json\r\n" + ] + } + ], "source": [ "!ls -l my_runs/1" ] @@ -1555,7 +1567,7 @@ } }, "source": [ - "## Zadanie [15 pkt] (do 2023-05-12)\n", + "## Zadanie [15 pkt] (do 2023-06-?)\n", "1. \"Owiń\" wywołanie swojego eksperymentu za pomocą Sacred, w ten sposób, żeby zapisane zostały [10pkt]:\n", " - parametry, z którymi wywołany był trening\n", " - powstały plik z modelem (jako artefakt)\n", diff --git a/IUM_08.MLFlow.ipynb b/IUM_08.MLFlow.ipynb index 1c5e669..b8a25ef 100644 --- a/IUM_08.MLFlow.ipynb +++ b/IUM_08.MLFlow.ipynb @@ -252,7 +252,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 1, "metadata": { "slideshow": { "slide_type": "slide" @@ -263,336 +263,7938 @@ "name": "stdout", "output_type": "stream", "text": [ - "Elasticnet model (alpha=0.100000, l1_ratio=0.100000):\n", - " RMSE: 0.7128829045893679\n", - " MAE: 0.5462202174984664\n", - " R2: 0.2799376066653344\n", - "Elasticnet model (alpha=0.200000, l1_ratio=0.100000):\n", - " RMSE: 0.7268133518615142\n", - " MAE: 0.5586842416161892\n", - " R2: 0.251521166881557\n", - "Elasticnet model (alpha=0.300000, l1_ratio=0.100000):\n", - " RMSE: 0.7347397539240514\n", - " MAE: 0.5657315547549873\n", - " R2: 0.23510678899596094\n", - "Elasticnet model (alpha=0.400000, l1_ratio=0.100000):\n", - " RMSE: 0.7410782793160982\n", - " MAE: 0.5712718681984227\n", - " R2: 0.22185255063708875\n", - "Elasticnet model (alpha=0.500000, l1_ratio=0.100000):\n", - " RMSE: 0.7460550348172179\n", - " MAE: 0.576381895873763\n", - " R2: 0.21136606570632266\n", - "Elasticnet model (alpha=0.600000, l1_ratio=0.100000):\n", - " RMSE: 0.7510866447955419\n", - " MAE: 0.5815681289333974\n", - " R2: 0.20069264568704714\n", - "Elasticnet model (alpha=0.700000, l1_ratio=0.100000):\n", - " RMSE: 0.7560654760040749\n", - " MAE: 0.5868129921328281\n", - " R2: 0.19006056603695476\n", - "Elasticnet model (alpha=0.800000, l1_ratio=0.100000):\n", - " RMSE: 0.7609263702116827\n", - " MAE: 0.5919470003487062\n", - " R2: 0.17961256649282442\n", - "Elasticnet model (alpha=0.900000, l1_ratio=0.100000):\n", - " RMSE: 0.7656313758553691\n", - " MAE: 0.5969367233859049\n", - " R2: 0.16943586313742276\n", - "Elasticnet model (alpha=0.100000, l1_ratio=0.200000):\n", - " RMSE: 0.7201489594275661\n", - " MAE: 0.5525324524014098\n", - " R2: 0.26518433811823017\n", - "Elasticnet model (alpha=0.200000, l1_ratio=0.200000):\n", - " RMSE: 0.7336400911821402\n", - " MAE: 0.5643841279275428\n", - " R2: 0.23739466063584158\n", - "Elasticnet model (alpha=0.300000, l1_ratio=0.200000):\n", - " RMSE: 0.7397486012946922\n", - " MAE: 0.5704931175017443\n", - " R2: 0.22464242411894242\n", - "Elasticnet model (alpha=0.400000, l1_ratio=0.200000):\n", - " RMSE: 0.7468093030485085\n", - " MAE: 0.5777243300021722\n", - " R2: 0.2097706278632726\n", - "Elasticnet model (alpha=0.500000, l1_ratio=0.200000):\n", - " RMSE: 0.7543919979968401\n", - " MAE: 0.5857669727382302\n", - " R2: 0.19364204365178095\n", - "Elasticnet model (alpha=0.600000, l1_ratio=0.200000):\n", - " RMSE: 0.7622123676513404\n", - " MAE: 0.5938629318868578\n", - " R2: 0.17683724501340814\n", - "Elasticnet model (alpha=0.700000, l1_ratio=0.200000):\n", - " RMSE: 0.7700845840888665\n", - " MAE: 0.6024685725504659\n", - " R2: 0.15974600028150265\n", - "Elasticnet model (alpha=0.800000, l1_ratio=0.200000):\n", - " RMSE: 0.7778880968569085\n", - " MAE: 0.6105907461474273\n", - " R2: 0.14263059582492588\n", - "Elasticnet model (alpha=0.900000, l1_ratio=0.200000):\n", - " RMSE: 0.7855450337039626\n", - " MAE: 0.6182359127922239\n", - " R2: 0.1256689455181047\n", - "Elasticnet model (alpha=0.100000, l1_ratio=0.300000):\n", - " RMSE: 0.7260299544064643\n", - " MAE: 0.5571534327625295\n", - " R2: 0.2531337966130104\n", - "Elasticnet model (alpha=0.200000, l1_ratio=0.300000):\n", - " RMSE: 0.7357092639331829\n", - " MAE: 0.5667609266233857\n", - " R2: 0.23308686049079996\n", - "Elasticnet model (alpha=0.300000, l1_ratio=0.300000):\n", - " RMSE: 0.7443224557281489\n", - " MAE: 0.5754825491733004\n", - " R2: 0.2150247343683439\n", - "Elasticnet model (alpha=0.400000, l1_ratio=0.300000):\n", - " RMSE: 0.7545302211047864\n", - " MAE: 0.5862255018460154\n", - " R2: 0.19334652749043568\n", - "Elasticnet model (alpha=0.500000, l1_ratio=0.300000):\n", - " RMSE: 0.7657094552843393\n", - " MAE: 0.597876674089536\n", - " R2: 0.16926645189778677\n", - "Elasticnet model (alpha=0.600000, l1_ratio=0.300000):\n", - " RMSE: 0.7774287676055035\n", - " MAE: 0.6102458961382884\n", - " R2: 0.14364282001967787\n", - "Elasticnet model (alpha=0.700000, l1_ratio=0.300000):\n", - " RMSE: 0.7876149030178985\n", - " MAE: 0.6208628759605734\n", - " R2: 0.12105524358911324\n", - "Elasticnet model (alpha=0.800000, l1_ratio=0.300000):\n", - " RMSE: 0.7972426725990548\n", - " MAE: 0.6310633254738363\n", - " R2: 0.09943554388738107\n", - "Elasticnet model (alpha=0.900000, l1_ratio=0.300000):\n", - " RMSE: 0.806653553139972\n", - " MAE: 0.6407940021176486\n", - " R2: 0.07804901733081859\n", - "Elasticnet model (alpha=0.100000, l1_ratio=0.400000):\n", - " RMSE: 0.7301757756825391\n", - " MAE: 0.5603782497631705\n", - " R2: 0.24457984004307665\n", - "Elasticnet model (alpha=0.200000, l1_ratio=0.400000):\n", - " RMSE: 0.7383379454127179\n", - " MAE: 0.5696920200435643\n", - " R2: 0.22759672468382497\n", - "Elasticnet model (alpha=0.300000, l1_ratio=0.400000):\n", - " RMSE: 0.7501603725852\n", - " MAE: 0.5818749078280213\n", - " R2: 0.2026629101382652\n", - "Elasticnet model (alpha=0.400000, l1_ratio=0.400000):\n", - " RMSE: 0.7644619587468349\n", - " MAE: 0.5966303605775048\n", - " R2: 0.17197111491474282\n", - "Elasticnet model (alpha=0.500000, l1_ratio=0.400000):\n", - " RMSE: 0.7794144864140182\n", - " MAE: 0.6125287339702588\n", - " R2: 0.1392625955410326\n", - "Elasticnet model (alpha=0.600000, l1_ratio=0.400000):\n", - " RMSE: 0.7928446872861473\n", - " MAE: 0.626666444473971\n", - " R2: 0.10934405701835759\n", - "Elasticnet model (alpha=0.700000, l1_ratio=0.400000):\n", - " RMSE: 0.8064523157995205\n", - " MAE: 0.6407990295001776\n", - " R2: 0.07850896155515663\n", - "Elasticnet model (alpha=0.800000, l1_ratio=0.400000):\n", - " RMSE: 0.8200264141399415\n", - " MAE: 0.6539313398770489\n", - " R2: 0.04722706260889009\n", - "Elasticnet model (alpha=0.900000, l1_ratio=0.400000):\n", - " RMSE: 0.8317936823364004\n", - " MAE: 0.6647839366878934\n", - " R2: 0.01968654319755092\n", - "Elasticnet model (alpha=0.100000, l1_ratio=0.500000):\n", - " RMSE: 0.7308996187375898\n", - " MAE: 0.5615486628017713\n", - " R2: 0.2430813606733676\n", - "Elasticnet model (alpha=0.200000, l1_ratio=0.500000):\n", - " RMSE: 0.7415652207304311\n", - " MAE: 0.573067857646195\n", - " R2: 0.22082961765864062\n", - "Elasticnet model (alpha=0.300000, l1_ratio=0.500000):\n", - " RMSE: 0.7573787958793151\n", - " MAE: 0.5893143148791096\n", - " R2: 0.18724431943947983\n", - "Elasticnet model (alpha=0.400000, l1_ratio=0.500000):\n", - " RMSE: 0.7759342885655987\n", - " MAE: 0.6090076377075831\n", - " R2: 0.14693206734185604\n", - "Elasticnet model (alpha=0.500000, l1_ratio=0.500000):\n", - " RMSE: 0.7931640229276851\n", - " MAE: 0.6271946374319586\n", - " R2: 0.10862644997792614\n", - "Elasticnet model (alpha=0.600000, l1_ratio=0.500000):\n", - " RMSE: 0.8112953030727291\n", - " MAE: 0.645693705089251\n", - " R2: 0.06740807086129252\n", - "Elasticnet model (alpha=0.700000, l1_ratio=0.500000):\n", - " RMSE: 0.8298921852578498\n", - " MAE: 0.6629780128961713\n", - " R2: 0.024163452726365775\n", - "Elasticnet model (alpha=0.800000, l1_ratio=0.500000):\n", - " RMSE: 0.8320198635059106\n", - " MAE: 0.6657357030427604\n", - " R2: 0.019153337439844154\n", - "Elasticnet model (alpha=0.900000, l1_ratio=0.500000):\n", - " RMSE: 0.8323808561832262\n", - " MAE: 0.6669472047761406\n", - " R2: 0.0183020229672054\n", - "Elasticnet model (alpha=0.100000, l1_ratio=0.600000):\n", - " RMSE: 0.7317723392279818\n", - " MAE: 0.5627373693033669\n", - " R2: 0.24127270524006605\n", - "Elasticnet model (alpha=0.200000, l1_ratio=0.600000):\n", - " RMSE: 0.7454324777911233\n", - " MAE: 0.5772117261484206\n", - " R2: 0.21268169183406394\n", - "Elasticnet model (alpha=0.300000, l1_ratio=0.600000):\n", - " RMSE: 0.7661028672396263\n", - " MAE: 0.5984406933733759\n", - " R2: 0.16841259155853305\n", - "Elasticnet model (alpha=0.400000, l1_ratio=0.600000):\n", - " RMSE: 0.787179486885359\n", - " MAE: 0.6210967388389844\n", - " R2: 0.12202678676193257\n", - "Elasticnet model (alpha=0.500000, l1_ratio=0.600000):\n", - " RMSE: 0.809739471626647\n", - " MAE: 0.6442565454817458\n", - " R2: 0.07098152823463388\n", - "Elasticnet model (alpha=0.600000, l1_ratio=0.600000):\n", - " RMSE: 0.8317884179944764\n", - " MAE: 0.6647524814105722\n", - " R2: 0.019698951776764728\n", - "Elasticnet model (alpha=0.700000, l1_ratio=0.600000):\n", - " RMSE: 0.8321519738036909\n", - " MAE: 0.6662086037874676\n", - " R2: 0.018841829895677176\n", - "Elasticnet model (alpha=0.800000, l1_ratio=0.600000):\n", - " RMSE: 0.8326350511178233\n", - " MAE: 0.6676630843299566\n", - " R2: 0.01770234373563795\n", - "Elasticnet model (alpha=0.900000, l1_ratio=0.600000):\n", - " RMSE: 0.8332048101440411\n", - " MAE: 0.6690717294644856\n", - " R2: 0.016357542209390563\n", - "Elasticnet model (alpha=0.100000, l1_ratio=0.700000):\n", - " RMSE: 0.7327938109945942\n", - " MAE: 0.5640101718105491\n", - " R2: 0.23915303116151632\n", - "Elasticnet model (alpha=0.200000, l1_ratio=0.700000):\n", - " RMSE: 0.7499835110445395\n", - " MAE: 0.5819389930665501\n", - " R2: 0.20303883413454027\n", - "Elasticnet model (alpha=0.300000, l1_ratio=0.700000):\n", - " RMSE: 0.7747136483567111\n", - " MAE: 0.6079678532556209\n", - " R2: 0.14961391810397695\n", - "Elasticnet model (alpha=0.400000, l1_ratio=0.700000):\n", - " RMSE: 0.8004478857657858\n", - " MAE: 0.6350378679245181\n", - " R2: 0.09217977708630032\n", - "Elasticnet model (alpha=0.500000, l1_ratio=0.700000):\n", - " RMSE: 0.829586285479097\n", - " MAE: 0.6627028304266674\n", - " R2: 0.024882710417618137\n", - "Elasticnet model (alpha=0.600000, l1_ratio=0.700000):\n", - " RMSE: 0.8321502650365332\n", - " MAE: 0.6662000872414003\n", - " R2: 0.018845859373919027\n", - "Elasticnet model (alpha=0.700000, l1_ratio=0.700000):\n", - " RMSE: 0.832725785743381\n", - " MAE: 0.667898097502809\n", - " R2: 0.017488244494447747\n", - "Elasticnet model (alpha=0.800000, l1_ratio=0.700000):\n", - " RMSE: 0.8331825395236181\n", - " MAE: 0.6692175076829847\n", - " R2: 0.016410124803194592\n" + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ - "Elasticnet model (alpha=0.900000, l1_ratio=0.700000):\n", - " RMSE: 0.8331069437643933\n", - " MAE: 0.6697424890266508\n", - " R2: 0.016588601539516357\n", - "Elasticnet model (alpha=0.100000, l1_ratio=0.800000):\n", - " RMSE: 0.7339712501091269\n", - " MAE: 0.5654097809725043\n", - " R2: 0.23670603806205326\n", - "Elasticnet model (alpha=0.200000, l1_ratio=0.800000):\n", - " RMSE: 0.7552646505492441\n", - " MAE: 0.5873472009739388\n", - " R2: 0.19177543499093674\n", - "Elasticnet model (alpha=0.300000, l1_ratio=0.800000):\n", - " RMSE: 0.7836957692333741\n", - " MAE: 0.6176788505535867\n", - " R2: 0.12978065429593022\n", - "Elasticnet model (alpha=0.400000, l1_ratio=0.800000):\n", - " RMSE: 0.8160164529135189\n", - " MAE: 0.650349905850893\n", - " R2: 0.05652247327326554\n", - "Elasticnet model (alpha=0.500000, l1_ratio=0.800000):\n", - " RMSE: 0.8320145539945119\n", - " MAE: 0.6657081587004348\n", - " R2: 0.019165855890777572\n", - "Elasticnet model (alpha=0.600000, l1_ratio=0.800000):\n", - " RMSE: 0.8326325509502465\n", - " MAE: 0.6676500690618903\n", - " R2: 0.01770824285088779\n", - "Elasticnet model (alpha=0.700000, l1_ratio=0.800000):\n", - " RMSE: 0.8331830329685253\n", - " MAE: 0.6692142378162035\n", - " R2: 0.016408959758236752\n", - "Elasticnet model (alpha=0.800000, l1_ratio=0.800000):\n", - " RMSE: 0.8330972295348316\n", - " MAE: 0.669813814205792\n", - " R2: 0.016611535037920344\n", - "Elasticnet model (alpha=0.900000, l1_ratio=0.800000):\n", - " RMSE: 0.8330208354420413\n", - " MAE: 0.6704133670619602\n", - " R2: 0.016791878033996177\n", - "Elasticnet model (alpha=0.100000, l1_ratio=0.900000):\n", - " RMSE: 0.735314956888905\n", - " MAE: 0.566974647785579\n", - " R2: 0.23390870203034675\n", - "Elasticnet model (alpha=0.200000, l1_ratio=0.900000):\n", - " RMSE: 0.7613249071370938\n", - " MAE: 0.593613372674502\n", - " R2: 0.1787529818606436\n", - "Elasticnet model (alpha=0.300000, l1_ratio=0.900000):\n", - " RMSE: 0.7940027723712206\n", - " MAE: 0.6284316436541582\n", - " R2: 0.10674024649047587\n", - "Elasticnet model (alpha=0.400000, l1_ratio=0.900000):\n", - " RMSE: 0.831784893250733\n", - " MAE: 0.6647313794016759\n", - " R2: 0.019707259905588637\n", - "Elasticnet model (alpha=0.500000, l1_ratio=0.900000):\n", - " RMSE: 0.8323747376136406\n", - " MAE: 0.6669171677143245\n", - " R2: 0.018316455219614114\n", - "Elasticnet model (alpha=0.600000, l1_ratio=0.900000):\n", - " RMSE: 0.8332063354920289\n", - " MAE: 0.6690618761753936\n", - " R2: 0.01635394069773599\n", - "Elasticnet model (alpha=0.700000, l1_ratio=0.900000):\n", - " RMSE: 0.8331078270287657\n", - " MAE: 0.6697360518827573\n", - " R2: 0.016586516302516174\n", - "Elasticnet model (alpha=0.800000, l1_ratio=0.900000):\n", - " RMSE: 0.8330212125502486\n", - " MAE: 0.6704102143580977\n", - " R2: 0.016790987837928095\n", - "Elasticnet model (alpha=0.900000, l1_ratio=0.900000):\n", - " RMSE: 0.8329464950658837\n", - " MAE: 0.6710843636018047\n", - " R2: 0.01696735695860563\n" + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "WARNING:urllib3.connectionpool:Retrying (Retry(total=4, connect=4, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=3, connect=3, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=2, connect=2, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=1, connect=1, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=0, read=5, redirect=5, status=5)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 174, in _new_conn\n", + " conn = connection.create_connection(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 95, in create_connection\n", + " raise err\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/connection.py\", line 85, in create_connection\n", + " sock.connect(sa)\n", + "ConnectionRefusedError: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 703, in urlopen\n", + " httplib_response = self._make_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 398, in _make_request\n", + " conn.request(method, url, **httplib_request_kw)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 239, in request\n", + " super(HTTPConnection, self).request(method, url, body=body, headers=headers)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1285, in request\n", + " self._send_request(method, url, body, headers, encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1331, in _send_request\n", + " self.endheaders(body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1280, in endheaders\n", + " self._send_output(message_body, encode_chunked=encode_chunked)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 1040, in _send_output\n", + " self.send(msg)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/http/client.py\", line 980, in send\n", + " self.connect()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 205, in connect\n", + " conn = self._new_conn()\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connection.py\", line 186, in _new_conn\n", + " raise NewConnectionError(\n", + "urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 440, in send\n", + " resp = conn.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 813, in urlopen\n", + " return self.urlopen(\n", + " [Previous line repeated 2 more times]\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 785, in urlopen\n", + " retries = retries.increment(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/urllib3/util/retry.py\", line 592, in increment\n", + " raise MaxRetryError(_pool, url, error or ResponseError(cause))\n", + "urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 174, in http_request\n", + " return _get_http_response_with_retries(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 105, in _get_http_response_with_retries\n", + " return session.request(method, url, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 529, in request\n", + " resp = self.send(prep, **send_kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/sessions.py\", line 645, in send\n", + " r = adapter.send(request, **kwargs)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/requests/adapters.py\", line 519, in send\n", + " raise ConnectionError(e, request=request)\n", + "requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n", + "\n", + "During handling of the above exception, another exception occurred:\n", + "\n", + "Traceback (most recent call last):\n", + " File \"/home/tomek/repos/aitech-ium/IUM_08/examples/sklearn_elasticnet_wine/train.py\", line 24, in \n", + " mlflow.set_experiment(\"s123456\")\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/fluent.py\", line 113, in set_experiment\n", + " experiment = client.get_experiment_by_name(experiment_name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/client.py\", line 461, in get_experiment_by_name\n", + " return self._tracking_client.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/tracking/_tracking_service/client.py\", line 220, in get_experiment_by_name\n", + " return self.store.get_experiment_by_name(name)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 304, in get_experiment_by_name\n", + " response_proto = self._call_endpoint(GetExperimentByName, req_body)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/store/tracking/rest_store.py\", line 56, in _call_endpoint\n", + " return call_endpoint(self.get_host_creds(), endpoint, method, json_body, response_proto)\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 283, in call_endpoint\n", + " response = http_request(\n", + " File \"/home/tomek/miniconda3/lib/python3.9/site-packages/mlflow/utils/rest_utils.py\", line 192, in http_request\n", + " raise MlflowException(f\"API request to {url} failed with exception {e}\")\n", + "mlflow.exceptions.MlflowException: API request to http://localhost:5000/api/2.0/mlflow/experiments/get-by-name failed with exception HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /api/2.0/mlflow/experiments/get-by-name?experiment_name=s123456 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))\n" ] } ], diff --git a/IUM_09.Python_srodowiska.ipynb b/IUM_09.Python_srodowiska.ipynb index 1819ac2..fab7200 100644 --- a/IUM_09.Python_srodowiska.ipynb +++ b/IUM_09.Python_srodowiska.ipynb @@ -1031,7 +1031,7 @@ }, { "cell_type": "code", - "execution_count": 22, + "execution_count": 1, "id": "ccaadc75", "metadata": { "slideshow": { @@ -1058,73 +1058,3092 @@ "\n", " package | build\n", " ---------------------------|-----------------\n", - " _libgcc_mutex-0.1 | conda_forge 3 KB conda-forge\n", - " _openmp_mutex-4.5 | 1_gnu 22 KB conda-forge\n", - " ld_impl_linux-64-2.35.1 | hea4e1c9_2 618 KB conda-forge\n", - " libffi-3.3 | h58526e2_2 51 KB conda-forge\n", - " libgcc-ng-9.3.0 | h2828fa1_19 7.8 MB conda-forge\n", - " libgomp-9.3.0 | h2828fa1_19 376 KB conda-forge\n", - " libstdcxx-ng-9.3.0 | h6de172a_19 4.0 MB conda-forge\n", - " ncurses-6.2 | h58526e2_4 985 KB conda-forge\n", - " openssl-1.1.1k | h7f98852_0 2.1 MB conda-forge\n", - " pip-21.1.2 | pyhd8ed1ab_0 1.1 MB conda-forge\n", - " python-3.9.4 |hffdb5ce_0_cpython 27.4 MB conda-forge\n", - " readline-8.1 | h46c0cb4_0 295 KB conda-forge\n", - " setuptools-49.6.0 | py39hf3d152e_3 943 KB conda-forge\n", - " tk-8.6.10 | h21135ba_1 3.2 MB conda-forge\n", - " tzdata-2021a | he74cb21_0 121 KB conda-forge\n", - " wheel-0.36.2 | pyhd3deb0d_0 31 KB conda-forge\n", - " xz-5.2.5 | h516909a_1 343 KB conda-forge\n", - " zlib-1.2.11 | h516909a_1010 106 KB conda-forge\n", + " ca-certificates-2023.01.10 | h06a4308_0 120 KB\n", + " libffi-3.4.2 | h6a678d5_6 136 KB\n", + " libgcc-ng-11.2.0 | h1234567_1 5.3 MB\n", + " libgomp-11.2.0 | h1234567_1 474 KB\n", + " libstdcxx-ng-11.2.0 | h1234567_1 4.7 MB\n", + " ncurses-6.4 | h6a678d5_0 914 KB\n", + " pip-23.0.1 | py39h06a4308_0 2.5 MB\n", + " python-3.9.16 | h7a1cb2a_2 25.1 MB\n", + " readline-8.2 | h5eee18b_0 357 KB\n", + " setuptools-66.0.0 | py39h06a4308_0 1.2 MB\n", + " sqlite-3.41.2 | h5eee18b_0 1.2 MB\n", + " tk-8.6.12 | h1ccaba5_0 3.0 MB\n", + " tzdata-2023c | h04d1e81_0 116 KB\n", + " wheel-0.38.4 | py39h06a4308_0 64 KB\n", + " xz-5.2.10 | h5eee18b_1 429 KB\n", + " zlib-1.2.13 | h5eee18b_0 103 KB\n", " ------------------------------------------------------------\n", - " Total: 49.4 MB\n", + " Total: 45.7 MB\n", "\n", "The following NEW packages will be INSTALLED:\n", "\n", - " _libgcc_mutex conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge\n", - " _openmp_mutex conda-forge/linux-64::_openmp_mutex-4.5-1_gnu\n", - " ca-certificates conda-forge/linux-64::ca-certificates-2020.12.5-ha878542_0\n", - " certifi conda-forge/linux-64::certifi-2020.12.5-py39hf3d152e_1\n", - " ld_impl_linux-64 conda-forge/linux-64::ld_impl_linux-64-2.35.1-hea4e1c9_2\n", - " libffi conda-forge/linux-64::libffi-3.3-h58526e2_2\n", - " libgcc-ng conda-forge/linux-64::libgcc-ng-9.3.0-h2828fa1_19\n", - " libgomp conda-forge/linux-64::libgomp-9.3.0-h2828fa1_19\n", - " libstdcxx-ng conda-forge/linux-64::libstdcxx-ng-9.3.0-h6de172a_19\n", - " ncurses conda-forge/linux-64::ncurses-6.2-h58526e2_4\n", - " openssl conda-forge/linux-64::openssl-1.1.1k-h7f98852_0\n", - " pip conda-forge/noarch::pip-21.1.2-pyhd8ed1ab_0\n", - " python conda-forge/linux-64::python-3.9.4-hffdb5ce_0_cpython\n", - " python_abi conda-forge/linux-64::python_abi-3.9-1_cp39\n", - " readline conda-forge/linux-64::readline-8.1-h46c0cb4_0\n", - " setuptools conda-forge/linux-64::setuptools-49.6.0-py39hf3d152e_3\n", - " sqlite conda-forge/linux-64::sqlite-3.35.5-h74cdb3f_0\n", - " tk conda-forge/linux-64::tk-8.6.10-h21135ba_1\n", - " tzdata conda-forge/noarch::tzdata-2021a-he74cb21_0\n", - " wheel conda-forge/noarch::wheel-0.36.2-pyhd3deb0d_0\n", - " xz conda-forge/linux-64::xz-5.2.5-h516909a_1\n", - " zlib conda-forge/linux-64::zlib-1.2.11-h516909a_1010\n", + " _libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main \n", + " _openmp_mutex pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu \n", + " ca-certificates pkgs/main/linux-64::ca-certificates-2023.01.10-h06a4308_0 \n", + " ld_impl_linux-64 pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1 \n", + " libffi pkgs/main/linux-64::libffi-3.4.2-h6a678d5_6 \n", + " libgcc-ng pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1 \n", + " libgomp pkgs/main/linux-64::libgomp-11.2.0-h1234567_1 \n", + " libstdcxx-ng pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1 \n", + " ncurses pkgs/main/linux-64::ncurses-6.4-h6a678d5_0 \n", + " openssl pkgs/main/linux-64::openssl-1.1.1t-h7f8727e_0 \n", + " pip pkgs/main/linux-64::pip-23.0.1-py39h06a4308_0 \n", + " python pkgs/main/linux-64::python-3.9.16-h7a1cb2a_2 \n", + " readline pkgs/main/linux-64::readline-8.2-h5eee18b_0 \n", + " setuptools pkgs/main/linux-64::setuptools-66.0.0-py39h06a4308_0 \n", + " sqlite pkgs/main/linux-64::sqlite-3.41.2-h5eee18b_0 \n", + " tk pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0 \n", + " tzdata pkgs/main/noarch::tzdata-2023c-h04d1e81_0 \n", + " wheel pkgs/main/linux-64::wheel-0.38.4-py39h06a4308_0 \n", + " xz pkgs/main/linux-64::xz-5.2.10-h5eee18b_1 \n", + " zlib pkgs/main/linux-64::zlib-1.2.13-h5eee18b_0 \n", "\n", "\n", "\n", "Downloading and Extracting Packages\n", - "openssl-1.1.1k | 2.1 MB | ##################################### | 100% \n", - "_libgcc_mutex-0.1 | 3 KB | ##################################### | 100% \n", - "xz-5.2.5 | 343 KB | ##################################### | 100% \n", - "zlib-1.2.11 | 106 KB | ##################################### | 100% \n", - "tk-8.6.10 | 3.2 MB | ##################################### | 100% \n", - "python-3.9.4 | 27.4 MB | ##################################### | 100% \n", - "ncurses-6.2 | 985 KB | ##################################### | 100% \n", - "libstdcxx-ng-9.3.0 | 4.0 MB | ##################################### | 100% \n", - "tzdata-2021a | 121 KB | ##################################### | 100% \n", - "setuptools-49.6.0 | 943 KB | ##################################### | 100% \n", - "wheel-0.36.2 | 31 KB | ##################################### | 100% \n", - "_openmp_mutex-4.5 | 22 KB | ##################################### | 100% \n", - "libffi-3.3 | 51 KB | ##################################### | 100% \n", - "libgomp-9.3.0 | 376 KB | ##################################### | 100% \n", - "ld_impl_linux-64-2.3 | 618 KB | ##################################### | 100% \n", - "readline-8.1 | 295 KB | ##################################### | 100% \n", - "pip-21.1.2 | 1.1 MB | ##################################### | 100% \n", - "libgcc-ng-9.3.0 | 7.8 MB | ##################################### | 100% \n", + "tzdata-2023c | 116 KB | | 0% \n", + "libgcc-ng-11.2.0 | 5.3 MB | | 0% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | | 0% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | | 0% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "ca-certificates-2023 | 120 KB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "libffi-3.4.2 | 136 KB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "ncurses-6.4 | 914 KB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "wheel-0.38.4 | 64 KB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "zlib-1.2.13 | 103 KB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "libgomp-11.2.0 | 474 KB | | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tzdata-2023c | 116 KB | #####1 | 14% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | | 0% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | 4 | 1% \u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | 1 | 0% \u001b[A\n", + "\n", + "\n", + "\n", + "tzdata-2023c | 116 KB | ###############3 | 42% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | | 0% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | #4 | 4% \u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | 3 | 1% \u001b[A\n", + "\n", + "\n", + "\n", + "tzdata-2023c | 116 KB | ##############################7 | 83% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 1 | 0% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ##4 | 7% \u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | 5 | 1% \u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | ########2 | 22% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 1 | 0% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | 6 | 2% \u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | 1 | 0% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "tzdata-2023c | 116 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | 9 | 3% \u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | #############2 | 36% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | 3 | 1% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 2 | 1% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | #####4 | 15% \u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #1 | 3% \u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | ##################2 | 49% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 2 | 1% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | 7 | 2% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 3 | 1% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | 8 | 2% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #4 | 4% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 3 | 1% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ######9 | 19% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | #######3 | 20% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | #######################2 | 63% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | 9 | 3% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #1 | 3% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 3 | 1% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #2 | 3% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 4 | 1% \u001b[A\u001b[A\n", + "\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "python-3.9.16 | 25.1 MB | 4 | 1% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #5 | 4% \u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #3 | 4% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | ##########################5 | 72% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #4 | 4% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | #############################8 | 81% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ########8 | 24% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | #########3 | 25% \u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #8 | 5% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #9 | 5% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ## | 6% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 4 | 1% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 4 | 1% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | ###############################5 | 85% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 5 | 1% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | #########8 | 27% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ##########3 | 28% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #7 | 5% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | ##################################8 | 94% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 5 | 2% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##1 | 6% \u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "readline-8.2 | 357 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ## | 6% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 6 | 2% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##8 | 8% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###1 | 8% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###2 | 9% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###3 | 9% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 6 | 2% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##7 | 7% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ### | 8% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###4 | 9% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###5 | 10% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ###########3 | 31% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "ca-certificates-2023 | 120 KB | ####9 | 13% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###9 | 11% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 6 | 2% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "ca-certificates-2023 | 120 KB | ##################################5 | 93% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "ca-certificates-2023 | 120 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 7 | 2% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | #############3 | 36% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #### | 11% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | #############8 | 37% \u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 8 | 2% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ##############2 | 39% \u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 8 | 2% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ##############7 | 40% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####1 | 11% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 8 | 2% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ###############7 | 43% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | #3 | 4% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####3 | 12% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | #################2 | 47% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ####################2 | 55% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####5 | 12% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | ##7 | 7% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ########################6 | 67% \u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 8 | 2% \u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | #############################5 | 80% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | ####1 | 11% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####6 | 13% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ##################################9 | 95% \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "libffi-3.4.2 | 136 KB | ####3 | 12% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | #####5 | 15% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 9 | 2% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####8 | 13% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "ncurses-6.4 | 914 KB | 6 | 2% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 9 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | ########2 | 22% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####9 | 13% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "setuptools-66.0.0 | 1.2 MB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 9 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "ncurses-6.4 | 914 KB | ######################6 | 61% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | ############4 | 34% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #####1 | 14% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "libffi-3.4.2 | 136 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "libffi-3.4.2 | 136 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | 9 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | ###############1 | 41% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #####2 | 14% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "wheel-0.38.4 | 64 KB | #########3 | 25% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | # | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #####4 | 15% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | #################9 | 48% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "zlib-1.2.13 | 103 KB | #####7 | 15% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | 4 | 1% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "ncurses-6.4 | 914 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | # | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | ###########################5 | 75% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | ####9 | 13% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "wheel-0.38.4 | 64 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "wheel-0.38.4 | 64 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #####7 | 16% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | # | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | #########8 | 27% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | ###############################7 | 86% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "zlib-1.2.13 | 103 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "zlib-1.2.13 | 103 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | ##############7 | 40% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###### | 16% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #1 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | ###################################8 | 97% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | ###################7 | 53% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ######1 | 17% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | ########################6 | 67% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #1 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "xz-5.2.10 | 429 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | 1 | 1% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | #############################5 | 80% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | 5 | 2% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ######4 | 17% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #1 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | 9 | 3% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | ################################## | 92% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #1 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ######6 | 18% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #5 | 4% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "libgomp-11.2.0 | 474 KB | #2 | 3% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "sqlite-3.41.2 | 1.2 MB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #1 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "libgomp-11.2.0 | 474 KB | #############7 | 37% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ######9 | 19% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ##1 | 6% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "libgomp-11.2.0 | 474 KB | ##########################2 | 71% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #2 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ##6 | 7% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #######1 | 19% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #2 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | 2 | 1% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ###2 | 9% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #######3 | 20% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "libgomp-11.2.0 | 474 KB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ##2 | 6% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #2 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ###8 | 10% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ####5 | 12% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #######6 | 21% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #2 | 3% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ####3 | 12% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ######6 | 18% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #3 | 4% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #######8 | 21% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ####9 | 13% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ########6 | 23% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #3 | 4% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ########1 | 22% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #####5 | 15% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ##########7 | 29% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ########3 | 23% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #3 | 4% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ######1 | 17% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ############5 | 34% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ########6 | 23% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #4 | 4% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ##############6 | 40% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "tk-8.6.12 | 3.0 MB | ######6 | 18% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ########8 | 24% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ################4 | 44% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #######2 | 20% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #4 | 4% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ##################2 | 49% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #########1 | 25% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #######8 | 21% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ####################1 | 54% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #5 | 4% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #########3 | 25% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ########4 | 23% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #########6 | 26% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #5 | 4% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | #####################9 | 59% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ########9 | 24% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | #######################7 | 64% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #########8 | 27% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #########5 | 26% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #6 | 4% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##########1 | 27% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ##########1 | 27% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #6 | 4% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | #########################6 | 69% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##########3 | 28% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ###########################6 | 75% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ##########6 | 29% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #7 | 5% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##########5 | 29% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | #############################2 | 79% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ###########2 | 30% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##########8 | 29% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #7 | 5% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ##############################8 | 83% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ############ | 33% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ################################4 | 88% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###########2 | 30% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #7 | 5% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ############6 | 34% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ################################## | 92% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###########4 | 31% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #############3 | 36% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #8 | 5% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ###################################6 | 96% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ##############1 | 38% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #8 | 5% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###########8 | 32% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ############1 | 33% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ###############2 | 41% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #9 | 5% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ############5 | 34% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "pip-23.0.1 | 2.5 MB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #############1 | 36% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ##################3 | 50% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ## | 6% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #############6 | 37% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ###################8 | 54% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##1 | 6% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##############1 | 38% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #####################2 | 57% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##2 | 6% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##############7 | 40% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##3 | 6% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ######################5 | 61% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##3 | 6% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###############4 | 42% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #######################8 | 65% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###############8 | 43% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##4 | 7% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #########################2 | 68% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ################3 | 44% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##5 | 7% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "tk-8.6.12 | 3.0 MB | ##########################5 | 72% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ################8 | 46% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##6 | 7% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ###########################7 | 75% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #################3 | 47% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##7 | 7% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ############################8 | 78% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #################8 | 48% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##8 | 8% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | #############################8 | 81% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##################3 | 50% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##9 | 8% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ##############################7 | 83% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ### | 8% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##################8 | 51% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ###############################7 | 86% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###1 | 8% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###################3 | 52% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ################################8 | 89% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###2 | 9% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###################8 | 54% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ##################################3 | 93% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###3 | 9% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####################3 | 55% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ###################################5 | 96% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###4 | 9% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####################8 | 56% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ####################################6 | 99% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###5 | 9% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #####################4 | 58% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###5 | 10% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###################### | 60% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "tk-8.6.12 | 3.0 MB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###8 | 10% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ######################7 | 62% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###9 | 11% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #######################6 | 64% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####1 | 11% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ########################5 | 66% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####2 | 12% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #########################3 | 69% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####4 | 12% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##########################2 | 71% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####6 | 12% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##########################9 | 73% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####7 | 13% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###########################7 | 75% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####9 | 13% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ############################4 | 77% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##### | 14% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #############################2 | 79% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####2 | 14% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #############################9 | 81% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####3 | 14% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##############################6 | 83% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####4 | 15% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###############################4 | 85% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####6 | 15% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ################################1 | 87% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###4 | 9% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####7 | 16% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ################################# | 89% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###5 | 10% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####9 | 16% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######1 | 17% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######2 | 17% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | #################################7 | 91% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######3 | 17% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##################################3 | 93% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######5 | 18% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###6 | 10% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######6 | 18% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##################################8 | 94% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######7 | 18% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###################################3 | 96% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######8 | 19% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ###################################8 | 97% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###7 | 10% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######9 | 19% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####################################3 | 98% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####### | 19% \u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ####################################8 | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######1 | 19% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######2 | 20% \u001b[A\u001b[A\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "libgcc-ng-11.2.0 | 5.3 MB | ###8 | 11% \u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "libstdcxx-ng-11.2.0 | 4.7 MB | ##################################### | 100% \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######4 | 20% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######6 | 21% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######7 | 21% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #### | 11% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######8 | 21% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####1 | 11% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####2 | 11% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######## | 22% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####3 | 12% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########1 | 22% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####4 | 12% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########1 | 22% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####5 | 12% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####7 | 13% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####9 | 13% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #####7 | 16% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########7 | 24% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #####9 | 16% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########9 | 24% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######1 | 17% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######3 | 17% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######### | 24% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######6 | 18% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######7 | 18% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######8 | 18% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########1 | 25% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######9 | 19% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####### | 19% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #######1 | 19% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########1 | 25% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #######3 | 20% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########2 | 25% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #######5 | 20% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########2 | 25% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #######7 | 21% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########3 | 25% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######## | 22% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########3 | 25% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ########2 | 22% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########4 | 25% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ########4 | 23% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########4 | 26% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ########7 | 24% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########5 | 26% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######### | 25% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########6 | 26% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #########4 | 25% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #########7 | 26% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########7 | 26% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ########## | 27% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########7 | 26% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########8 | 27% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##########4 | 28% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########9 | 27% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##########8 | 29% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########9 | 27% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###########1 | 30% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########## | 27% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###########4 | 31% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########1 | 27% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###########7 | 32% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########1 | 27% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############ | 32% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########2 | 28% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############2 | 33% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########2 | 28% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############4 | 34% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########3 | 28% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############7 | 35% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########3 | 28% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############9 | 35% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########3 | 28% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #############3 | 36% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########4 | 28% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #############6 | 37% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########5 | 28% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #############9 | 38% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########6 | 29% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##############3 | 39% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########6 | 29% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##############8 | 40% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########7 | 29% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###############2 | 41% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########8 | 29% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###############5 | 42% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########9 | 29% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################ | 43% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########9 | 30% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################4 | 44% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########### | 30% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################7 | 45% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########1 | 30% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################# | 46% \u001b[A\n", + "\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "python-3.9.16 | 25.1 MB | ###########2 | 30% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #################4 | 47% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########2 | 30% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #################7 | 48% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########3 | 31% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################## | 49% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########4 | 31% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##################3 | 50% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########5 | 31% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##################7 | 51% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##################9 | 51% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########5 | 31% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###################1 | 52% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########6 | 31% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###################3 | 52% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########6 | 32% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###################5 | 53% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########7 | 32% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###################8 | 54% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########7 | 32% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #################### | 54% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########8 | 32% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####################2 | 55% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########9 | 32% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####################5 | 56% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########9 | 32% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####################7 | 56% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############ | 33% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####################9 | 57% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############1 | 33% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #####################3 | 58% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############1 | 33% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #####################5 | 58% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############2 | 33% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #####################7 | 59% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############2 | 33% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #####################9 | 59% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############3 | 33% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############3 | 33% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######################1 | 60% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############4 | 34% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######################3 | 61% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############4 | 34% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######################6 | 61% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############5 | 34% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######################9 | 62% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############6 | 34% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #######################2 | 63% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############7 | 34% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############7 | 35% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #######################5 | 64% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############8 | 35% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #######################8 | 64% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############9 | 35% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ######################## | 65% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ########################2 | 66% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############9 | 35% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ########################4 | 66% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############# | 35% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ########################6 | 67% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############1 | 35% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ########################8 | 67% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############1 | 36% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #########################1 | 68% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############2 | 36% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #########################4 | 69% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############3 | 36% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #########################7 | 70% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############4 | 36% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ########################## | 70% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##########################4 | 71% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############5 | 37% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##########################8 | 73% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############6 | 37% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###########################1 | 73% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############7 | 37% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###########################4 | 74% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############7 | 37% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###########################8 | 75% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############8 | 37% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############################1 | 76% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############9 | 38% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############################3 | 77% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############9 | 38% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############################5 | 77% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############## | 38% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############## | 38% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############################7 | 78% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############1 | 38% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############################# | 78% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############1 | 38% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #############################2 | 79% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############2 | 38% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #############################4 | 80% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############2 | 39% \u001b[A\u001b[A\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "libgcc-ng-11.2.0 | 5.3 MB | #############################6 | 80% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############3 | 39% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############3 | 39% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #############################8 | 81% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############4 | 39% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ############################## | 81% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############4 | 39% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############5 | 39% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##############################2 | 82% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############5 | 39% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##############################5 | 82% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############5 | 39% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##############################7 | 83% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############6 | 40% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##############################9 | 84% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############6 | 40% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############7 | 40% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###############################1 | 84% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############7 | 40% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###############################4 | 85% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############8 | 40% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###############################7 | 86% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############9 | 40% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###############################9 | 86% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############9 | 41% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################################1 | 87% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############### | 41% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################################3 | 87% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############1 | 41% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################################5 | 88% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############1 | 41% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################################7 | 89% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############2 | 41% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ################################# | 89% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############3 | 41% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #################################2 | 90% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #################################4 | 90% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############3 | 42% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #################################6 | 91% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############4 | 42% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #################################8 | 92% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############5 | 42% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##################################1 | 92% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############5 | 42% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##################################5 | 93% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############6 | 42% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##################################8 | 94% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############7 | 43% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###################################2 | 95% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############8 | 43% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ###################################6 | 96% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############9 | 43% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | #################################### | 97% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################ | 43% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####################################3 | 98% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################1 | 44% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ####################################6 | 99% \u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##################################### | 100% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################1 | 44% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################2 | 44% \u001b[A\u001b[A\n", + "libgcc-ng-11.2.0 | 5.3 MB | ##################################### | 100% \u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################3 | 44% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################4 | 45% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################6 | 45% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################7 | 45% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################8 | 46% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################9 | 46% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################1 | 46% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################2 | 47% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################4 | 47% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################6 | 48% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################8 | 48% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################9 | 49% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################1 | 49% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################3 | 50% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################5 | 50% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################6 | 51% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################8 | 51% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################### | 51% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################2 | 52% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################4 | 52% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################5 | 53% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################7 | 53% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################8 | 54% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################### | 54% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################2 | 55% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################3 | 55% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################5 | 55% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################6 | 56% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################7 | 56% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################9 | 57% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################### | 57% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####################1 | 57% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####################2 | 57% \u001b[A\u001b[A\n", + "\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "python-3.9.16 | 25.1 MB | #####################3 | 58% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####################4 | 58% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####################6 | 58% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####################7 | 59% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####################8 | 59% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #####################9 | 59% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################### | 60% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######################1 | 60% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######################2 | 60% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######################3 | 60% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######################4 | 61% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######################5 | 61% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######################7 | 61% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######################8 | 62% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######################9 | 62% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################### | 62% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######################1 | 63% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######################2 | 63% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######################3 | 63% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######################4 | 63% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######################5 | 64% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######################6 | 64% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######################7 | 64% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #######################9 | 65% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ######################## | 65% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################1 | 65% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################2 | 66% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################3 | 66% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################4 | 66% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################6 | 66% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################7 | 67% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################8 | 67% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################9 | 68% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########################1 | 68% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########################2 | 68% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########################4 | 69% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########################5 | 69% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########################7 | 70% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #########################9 | 70% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################## | 70% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########################1 | 71% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########################3 | 71% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########################4 | 71% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########################5 | 72% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########################6 | 72% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########################7 | 72% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##########################8 | 73% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ########################### | 73% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########################1 | 73% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########################3 | 74% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########################5 | 74% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########################7 | 75% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###########################9 | 76% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############################1 | 76% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############################3 | 77% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############################5 | 77% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############################7 | 78% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############################9 | 78% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############################1 | 79% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############################4 | 80% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############################6 | 80% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #############################8 | 81% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############################## | 81% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############################2 | 82% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############################4 | 82% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############################6 | 83% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##############################8 | 83% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ############################### | 84% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############################1 | 84% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############################3 | 85% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############################5 | 85% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############################7 | 86% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###############################8 | 86% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################ | 87% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################1 | 87% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################3 | 87% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################4 | 88% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################6 | 88% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################7 | 89% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################8 | 89% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################# | 89% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################################1 | 90% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################################2 | 90% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################################3 | 90% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################################4 | 90% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################################5 | 91% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################################7 | 91% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################################8 | 92% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################## | 92% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################1 | 92% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################2 | 93% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################4 | 93% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################4 | 93% \u001b[A\u001b[A\n", + "\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "python-3.9.16 | 25.1 MB | ##################################5 | 93% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################6 | 94% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################6 | 94% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################7 | 94% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################7 | 94% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################8 | 94% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################8 | 94% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################9 | 94% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ##################################9 | 95% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################### | 95% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ################################### | 95% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################1 | 95% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################1 | 95% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################2 | 95% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################2 | 95% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################3 | 95% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################3 | 96% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################3 | 96% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################4 | 96% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################5 | 96% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################6 | 96% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################6 | 96% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################7 | 97% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################7 | 97% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################8 | 97% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################8 | 97% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ###################################9 | 97% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | #################################### | 97% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################################1 | 98% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################################3 | 98% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################################4 | 99% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################################6 | 99% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################################7 | 99% \u001b[A\u001b[A\n", + "\n", + "python-3.9.16 | 25.1 MB | ####################################9 | 100% \u001b[A\u001b[A\n", + "\n", + " \u001b[A\u001b[A\n", + " \u001b[A\n", + "\n", + " \u001b[A\u001b[A\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + " \u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\u001b[A\n", "Preparing transaction: done\n", "Verifying transaction: done\n", "Executing transaction: done\n", @@ -1742,7 +4761,7 @@ "celltoolbar": "Slideshow", "email": "tomasz.zietkiewicz@amu.edu.pl", "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3", "language": "python", "name": "python3" }, @@ -1757,7 +4776,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.4" + "version": "3.9.12" }, "slideshow": { "slide_type": "slide" diff --git a/IUM_11.CML.ipynb b/IUM_11.CML.ipynb index 0d7595b..3f244d5 100644 --- a/IUM_11.CML.ipynb +++ b/IUM_11.CML.ipynb @@ -128,8 +128,12 @@ { "cell_type": "code", "execution_count": 19, - "id": "33abf69d", - "metadata": {}, + "id": "88ce689f", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "outputs": [ { "name": "stdout", @@ -193,8 +197,12 @@ { "cell_type": "code", "execution_count": 22, - "id": "780f41d6", - "metadata": {}, + "id": "ff1e011e", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "outputs": [ { "name": "stdout", @@ -216,8 +224,12 @@ }, { "cell_type": "markdown", - "id": "b56a1b02", - "metadata": {}, + "id": "3e237076", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "source": [ "### Zakładka actions na stronie repozytorium:\n", "https://github.com/TomekZet/ium-ga-hello/actions" @@ -226,8 +238,12 @@ { "cell_type": "code", "execution_count": 27, - "id": "e3be3eb3", - "metadata": {}, + "id": "32701383", + "metadata": { + "slideshow": { + "slide_type": "fragment" + } + }, "outputs": [ { "name": "stdout", @@ -247,8 +263,12 @@ }, { "cell_type": "markdown", - "id": "b40a7f62", - "metadata": {}, + "id": "1c01acb5", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "source": [ "### Ręczne wywoływanie\n", "Workflow można również wywołać ręcznie, podając parametry.\n", @@ -258,10 +278,10 @@ { "cell_type": "code", "execution_count": 42, - "id": "132d8d16", + "id": "a7250bf7", "metadata": { "slideshow": { - "slide_type": "slide" + "slide_type": "fragment" } }, "outputs": [ @@ -301,8 +321,12 @@ { "cell_type": "code", "execution_count": 43, - "id": "c4e71172", - "metadata": {}, + "id": "36ddaac0", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "outputs": [ { "name": "stdout", @@ -364,8 +388,12 @@ }, { "cell_type": "markdown", - "id": "a0628b12", - "metadata": {}, + "id": "a764cc0d", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "source": [ "### Akcje wykonywane w kontenerze Docker\n", "Akcja może być wywołana w kontenerze Docker (pobranym z Docker hub albo zbudowanym z Dockerfile)\n", @@ -375,8 +403,12 @@ { "cell_type": "code", "execution_count": 59, - "id": "b8222161", - "metadata": {}, + "id": "ff4dab8c", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "outputs": [ { "name": "stdout", @@ -407,9 +439,13 @@ }, { "cell_type": "code", - "execution_count": 47, - "id": "80883b9e", - "metadata": {}, + "execution_count": 80, + "id": "f1aaff7c", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "outputs": [ { "name": "stdout", @@ -429,21 +465,29 @@ "# Copies your code file from your action repository to the filesystem path `/` of the container\n", "COPY entrypoint.sh /entrypoint.sh\n", "\n", + "VOLUME /github/workspace/\n", + "\n", + "WORKDIR /github/workspace/\n", + "\n", "# Code file to execute when the docker container starts up (`entrypoint.sh`)\n", "ENTRYPOINT [\"/entrypoint.sh\"]" ] }, { "cell_type": "code", - "execution_count": 50, - "id": "f98fee9a", - "metadata": {}, + "execution_count": 84, + "id": "7f778025", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Writing entrypoint.sh\n" + "Overwriting entrypoint.sh\n" ] } ], @@ -451,7 +495,9 @@ "%%writefile entrypoint.sh\n", "#!/bin/sh -l\n", "\n", - "figlet \"Hello $1\"\n", + "figlet \"Hello $1\" | tee figlet.txt\n", + "echo \"Entrypoint invoked in: $PWD\"\n", + "readlink -f figlet.txt\n", "time=$(date)\n", "echo \"time=$time\" >> $GITHUB_OUTPUT" ] @@ -459,8 +505,12 @@ { "cell_type": "code", "execution_count": 60, - "id": "352de060", - "metadata": {}, + "id": "911975de", + "metadata": { + "slideshow": { + "slide_type": "fragment" + } + }, "outputs": [], "source": [ "!chmod +x entrypoint.sh" @@ -468,8 +518,8 @@ }, { "cell_type": "code", - "execution_count": 57, - "id": "d73fb6c4", + "execution_count": 62, + "id": "483e0498", "metadata": { "slideshow": { "slide_type": "slide" @@ -501,6 +551,7 @@ " - name: Checkout repo\n", " uses: actions/checkout@v2\n", " - name: Use docker action\n", + " id: hello\n", " uses: ./\n", " with:\n", " who-to-greet: \"${{ github.event.inputs.input_text }}\"\n", @@ -513,26 +564,29 @@ }, { "cell_type": "code", - "execution_count": 61, - "id": "94d8eec0", - "metadata": {}, + "execution_count": 63, + "id": "bc24dff3", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "[main 97c7272] Fix path\n", - " 1 file changed, 0 insertions(+), 0 deletions(-)\n", - " mode change 100644 => 100755 entrypoint.sh\n", - "Enumerating objects: 3, done.\n", - "Counting objects: 100% (3/3), done.\n", + "[main 22a5094] Fix path\n", + " 1 file changed, 1 insertion(+)\n", + "Enumerating objects: 9, done.\n", + "Counting objects: 100% (9/9), done.\n", "Delta compression using up to 4 threads\n", - "Compressing objects: 100% (2/2), done.\n", - "Writing objects: 100% (2/2), 232 bytes | 232.00 KiB/s, done.\n", - "Total 2 (delta 1), reused 0 (delta 0), pack-reused 0\n", + "Compressing objects: 100% (5/5), done.\n", + "Writing objects: 100% (5/5), 570 bytes | 570.00 KiB/s, done.\n", + "Total 5 (delta 1), reused 0 (delta 0), pack-reused 0\n", "remote: Resolving deltas: 100% (1/1), completed with 1 local object.\u001b[K\n", "To github.com:TomekZet/ium-ga-hello.git\n", - " 0f9de38..97c7272 main -> main\n" + " 97c7272..22a5094 main -> main\n" ] } ], @@ -542,13 +596,147 @@ "!git push" ] }, + { + "cell_type": "markdown", + "id": "12af9d1b", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, + "source": [ + "### Archiwizowanie artefaktów\n", + "https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts\n", + "\n", + "Do archiwizowania artefaktów służy akcja \"upload-artifact\":\n", + "\n", + "```yaml\n", + " - name: Archive artifacts\n", + " uses: actions/upload-artifact@v3\n", + " with:\n", + " name: figlet-output\n", + " path: figlet.txt\n", + "```" + ] + }, { "cell_type": "code", - "execution_count": null, - "id": "9c396330", + "execution_count": 1, + "id": "245f7c8a", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Writing .github/workflows/docker-artifact.yml\n" + ] + } + ], + "source": [ + "%%writefile .github/workflows/docker-artifact.yml\n", + "name: github-actions-hello-docker-artifact\n", + "on: \n", + " workflow_dispatch:\n", + " inputs:\n", + " input_text:\n", + " description: 'Who to greet' \n", + " required: true\n", + " default: 'World'\n", + "jobs:\n", + " hello-job:\n", + " name: \"Do all the hard stuff\"\n", + " runs-on: ubuntu-latest\n", + " steps:\n", + " - name: Checkout repo\n", + " uses: actions/checkout@v2\n", + " - name: Use docker action\n", + " id: hello\n", + " uses: ./\n", + " with:\n", + " who-to-greet: \"${{ github.event.inputs.input_text }}\"\n", + " # Use the output from the `hello` step\n", + " - name: Get the output time\n", + " run: echo \"The time was ${{ steps.hello.outputs.time }}\" > time.txt\n", + " archive:\n", + " name: \"Archive the artifacts\"\n", + " runs-on: ubuntu-latest\n", + " needs: hello-job\n", + " steps:\n", + " - name: diagnose\n", + " run: pwd; ls -la\n", + " - name: Archive artifacts\n", + " uses: actions/upload-artifact@v3\n", + " with:\n", + " name: figlet-output\n", + " path: |\n", + " figlet.txt\n", + " time.txt\n" + ] + }, + { + "cell_type": "code", + "execution_count": 89, + "id": "47e301f9", "metadata": {}, - "outputs": [], - "source": [] + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Enumerating objects: 13, done.\n", + "Counting objects: 100% (13/13), done.\n", + "Delta compression using up to 4 threads\n", + "Compressing objects: 100% (7/7), done.\n", + "Writing objects: 100% (7/7), 792 bytes | 792.00 KiB/s, done.\n", + "Total 7 (delta 3), reused 0 (delta 0), pack-reused 0\n", + "remote: Resolving deltas: 100% (3/3), completed with 3 local objects.\u001b[K\n", + "To github.com:TomekZet/ium-ga-hello.git\n", + " 3b9c623..b5a265f main -> main\n" + ] + } + ], + "source": [ + "!git push" + ] + }, + { + "cell_type": "code", + "execution_count": 91, + "id": "580154ca", + "metadata": { + "slideshow": { + "slide_type": "slide" + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "[main 2fe0183] Fix\n", + " 1 file changed, 4 insertions(+)\n", + "Enumerating objects: 9, done.\n", + "Counting objects: 100% (9/9), done.\n", + "Delta compression using up to 4 threads\n", + "Compressing objects: 100% (5/5), done.\n", + "Writing objects: 100% (5/5), 564 bytes | 564.00 KiB/s, done.\n", + "Total 5 (delta 2), reused 0 (delta 0), pack-reused 0\n", + "remote: Resolving deltas: 100% (2/2), completed with 2 local objects.\u001b[K\n", + "To github.com:TomekZet/ium-ga-hello.git\n", + " b5a265f..2fe0183 main -> main\n" + ] + } + ], + "source": [ + "!git add -u \n", + "!git commit -m \"Fix\"\n", + "!git push" + ] }, { "cell_type": "markdown", @@ -878,19 +1066,23 @@ } }, "source": [ - "## Zadania [15 pkt]\n", + "## Zadania [20 pkt] (termin: 24.05.2023)\n", "1. Utwórz konto na Github (jeśli jeszcze nie masz)\n", "2. Stwórz publiczne repozytorium. Link do niego wklej do kolumny \"Link Github\" w arkuszu [\"Zapisy na zbiory\"](https://teams.microsoft.com/l/file/F62B5988-A797-418D-B085-52E0AF8BD55E?tenantId=73689ee1-b42f-4e25-a5f6-66d1f29bc092&fileType=xlsx&objectUrl=https%3A%2F%2Fuam.sharepoint.com%2Fsites%2F2021SL06-DIUMUI0LABInynieriauczeniamaszynowego-Grupa11%2FShared%20Documents%2FGeneral%2FZapisy%20na%20zbiory.xlsx&baseUrl=https%3A%2F%2Fuam.sharepoint.com%2Fsites%2F2021SL06-DIUMUI0LABInynieriauczeniamaszynowego-Grupa11&serviceName=teams&threadId=19:d67b0dc2ee0849eba517a2aa8507df9c@thread.tacv2&groupId=8cd6b30e-edd9-48db-85ab-259fc11d0c5b) [1 pkt]\n", - "2. Stwórz prosty Github workflow wykorzystujący akcje CML, który:\n", - " - zrobi checkout Twojego repozytorium [2 pkt]\n", - " - ściągnie pliki trenujące. Najlepiej byłoby to zrobić za pomocą DVC, ale tym razem uprośćmy zadanie ze względu na koplikacje, które mogą się pojawić przy konfiguracji uwierzytelniania. Pliki można po prostu dodać do repozytorium albo ściągnąć przez wget jeśli są publicznie dostępne [2 pkt]\n", - " - dokona trenowania i ewaluacji [8 pkt]\n", - " - wyniki opublikuje za pomocą `cml-send-github-check` i/lub `cml-send-comment` [2 pkt]" + "2. Stwórz prosty Github workflow który:\n", + " - zrobi checkout Twojego repozytorium [1 pkt]\n", + " - ściągnie pliki trenujące. Najlepiej byłoby to zrobić za pomocą DVC, ale tym razem uprośćmy zadanie ze względu na komplikacje, które mogą się pojawić przy konfiguracji uwierzytelniania. Pliki można po prostu dodać do repozytorium albo ściągnąć przez wget jeśli są publicznie dostępne [2 pkt]\n", + " - będzie wywoływalny przez \"Workflow dispatch\" z parametrami trenowania [2 pkt]\n", + " - składał się będzie z co najmniej 3 jobów:\n", + " 1. dokona trenowania jako osobnej akcji wykonanej w Dockerze [8 pkt]\n", + " 2. dokona ewaluacji modelu [6 pkt]\n", + " 3. zarchiwizuje plik z modelem" ] } ], "metadata": { "author": "Tomasz Ziętkiewicz", + "celltoolbar": "Slideshow", "email": "tomasz.zietkiewicz@amu.edu.pl", "kernelspec": { "display_name": "Python 3", diff --git a/IUM_11/github-actions-hello b/IUM_11/github-actions-hello index 97c7272..2fe0183 160000 --- a/IUM_11/github-actions-hello +++ b/IUM_11/github-actions-hello @@ -1 +1 @@ -Subproject commit 97c7272bcaccf4a578615526b71ca723bb2b6d00 +Subproject commit 2fe01837da8bb844e05fb9bf7f12fd37a124a236