Re-run tests on 4 CPU 8G RAM VM. All tests passed.
Test log
```
$ tox -e integration
integration: recreate env because python changed virtualenv version='20.23.0'->'20.23.1'
integration: remove tox env folder /home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/integration
integration: install_deps> python -I -m pip install 'juju~=2.9.0' ops pytest pytest-operator
integration: commands[0]> rockcraft pack
Retrieved base ubuntu:20.04 for amd64
Extracted ubuntu:20.04
Executed: pull pebble
Executed: pull sklearnserver
Executed: pull security-team-requirement
Executed: overlay pebble
Executed: overlay sklearnserver
Executed: overlay security-team-requirement
Executed: build pebble
Executed: build sklearnserver
Executed: skip pull sklearnserver (already ran)
Executed: skip overlay sklearnserver (already ran)
Executed: skip build sklearnserver (already ran)
Executed: stage sklearnserver (required to build 'security-team-requirement')
Executed: build security-team-requirement
Executed: stage pebble
Executed: skip stage sklearnserver (already ran)
Executed: stage security-team-requirement
Executed: prime pebble
Executed: prime sklearnserver
Executed: prime security-team-requirement
Executed parts lifecycle
Exported to OCI archive 'sklearnserver_v1.16.0_20.04_1_amd64.rock'
integration: commands[1]> rm -rf charm_repo
integration: commands[2]> git clone --branch main https://github.com/canonical/seldon-core-operator.git charm_repo
Cloning into 'charm_repo'...
remote: Enumerating objects: 1451, done.
remote: Counting objects: 100% (535/535), done.
remote: Compressing objects: 100% (258/258), done.
remote: Total 1451 (delta 364), reused 386 (delta 264), pack-reused 916
Receiving objects: 100% (1451/1451), 643.62 KiB | 6.37 MiB/s, done.
Resolving deltas: 100% (682/682), done.
integration: commands[3]> sed -i 's/namespace: {{ namespace }}/namespace: YQ_SAFE/' charm_repo/src/templates/configmap.yaml.j2
integration: commands[4]> bash -c 'NAME=$(yq eval .name rockcraft.yaml) && VERSION=$(yq eval .version rockcraft.yaml) && ARCH=$(yq eval ".platforms | keys" rockcraft.yaml | awk -F " " '"'"'{ print $2 }'"'"') && ROCK="${NAME}_${VERSION}_${ARCH}" && sudo skopeo --insecure-policy copy oci-archive:$ROCK.rock docker-daemon:$ROCK:$VERSION && docker save $ROCK > $ROCK.tar && microk8s ctr image import $ROCK.tar --digests=true && predictor_servers=$(yq e ".data.predictor_servers" charm_repo/src/templates/configmap.yaml.j2) && predictor_servers=$(jq --arg jq_rock $ROCK -r '"'"'.SKLEARN_SERVER.protocols.seldon.image=$jq_rock'"'"' <<< $predictor_servers) && predictor_servers=$(jq --arg jq_version $VERSION -r '"'"'.SKLEARN_SERVER.protocols.seldon.defaultImageVersion=$jq_version'"'"' <<< $predictor_servers) yq e -i ".data.predictor_servers=strenv(predictor_servers)" charm_repo/src/templates/configmap.yaml.j2'
Getting image source signatures
Copying blob edaedc954fb5 done
Copying blob 794d60ccfe84 done
Copying blob 82d0a9bf61d4 done
Copying blob cc3e5af0b914 done
Copying blob 26024372a546 done
Copying config e0bfe7cc1a done
Writing manifest to image destination
Storing signatures
unpacking docker.io/library/sklearnserver_v1.16.0_20.04_1_amd64:v1.16.0_20.04_1 (sha256:3de055ba429f4ac923720e1b5d150a608dce55580c034b03d84a600d61bd5519)...done
unpacking import-2023-09-25@sha256:3de055ba429f4ac923720e1b5d150a608dce55580c034b03d84a600d61bd5519 (sha256:3de055ba429f4ac923720e1b5d150a608dce55580c034b03d84a600d61bd5519)...done
integration: commands[5]> sed -i 's/namespace: YQ_SAFE/namespace: {{ namespace }}/' charm_repo/src/templates/configmap.yaml.j2
integration: commands[6]> tox -c charm_repo -e seldon-servers-integration
seldon-servers-integration: install_deps /home/ubuntu/rocks/seldonio-rocks/sklearnserver/charm_repo> python -I -m pip install -r requirements-integration.txt
seldon-servers-integration: commands[0] /home/ubuntu/rocks/seldonio-rocks/sklearnserver/charm_repo> pytest -vv --tb native --asyncio-mode=auto /home/ubuntu/rocks/seldonio-rocks/sklearnserver/charm_repo/tests/integration/test_seldon_servers.py --log-cli-level=INFO -s
===================================================== test session starts ======================================================
platform linux -- Python 3.8.10, pytest-7.4.1, pluggy-1.3.0 -- /home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/bin/python
cachedir: /home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/.pytest_cache
rootdir: /home/ubuntu/rocks/seldonio-rocks/sklearnserver/charm_repo
configfile: pyproject.toml
plugins: anyio-4.0.0, asyncio-0.21.1, operator-0.29.0
asyncio: mode=auto
collected 10 items
tests/integration/test_seldon_servers.py::test_build_and_deploy
-------------------------------------------------------- live log setup --------------------------------------------------------
INFO pytest_operator.plugin:plugin.py:647 Adding model uk8s:test-seldon-servers-ttwb on cloud microk8s
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO pytest_operator.plugin:plugin.py:526 Using tmp_path: /home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/tmp/pytest/test-seldon-servers-ttwb0
INFO pytest_operator.plugin:plugin.py:975 Building charm seldon-core
INFO pytest_operator.plugin:plugin.py:980 Built charm seldon-core in 162.60s
INFO juju.model:model.py:1981 Deploying local:seldon-core-0
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [allocating] waiting: installing agent
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [allocating] waiting: agent initializing
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [allocating] waiting: agent initializing
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[SKLEARN_SERVER-sklearn.yaml-api/v1.0/predictions-request_data0-response_test_data0]
-------------------------------------------------------- live log setup --------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: PATCH https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb?fieldManager=seldon-tests "HTTP/1.1 200 OK"
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: POST https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?fieldManager=seldon-tests "HTTP/1.1 201 Created"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == None (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:22 seldondeployment/sklearn status == Available
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/services/sklearn-default-classifier "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/configmaps/seldon-config "HTTP/1.1 200 OK"
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
------------------------------------------------------ live log teardown -------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?labelSelector=testing-seldon-deployments%3Dtrue "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: DELETE https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn?gracePeriodSeconds=0 "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:43 Waiting for /sklearn to be deleted.
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 404 Not Found"
INFO test_seldon_servers:utils.py:48 Not found /sklearn. Status 404
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[SKLEARN_SERVER-sklearn-v2.yaml-v2/models/classifier/infer-request_data1-response_test_data1]
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: POST https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?fieldManager=seldon-tests "HTTP/1.1 201 Created"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == None (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/sklearn status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:22 seldondeployment/sklearn status == Available
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/services/sklearn-default-classifier "HTTP/1.1 200 OK"
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
------------------------------------------------------ live log teardown -------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?labelSelector=testing-seldon-deployments%3Dtrue "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: DELETE https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn?gracePeriodSeconds=0 "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:43 Waiting for /sklearn to be deleted.
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/sklearn "HTTP/1.1 404 Not Found"
INFO test_seldon_servers:utils.py:48 Not found /sklearn. Status 404
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[XGBOOST_SERVER-xgboost.yaml-api/v1.0/predictions-request_data2-response_test_data2]
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: POST https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?fieldManager=seldon-tests "HTTP/1.1 201 Created"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == None (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:22 seldondeployment/xgboost status == Available
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/services/xgboost-default-classifier "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/configmaps/seldon-config "HTTP/1.1 200 OK"
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
------------------------------------------------------ live log teardown -------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?labelSelector=testing-seldon-deployments%3Dtrue "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: DELETE https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost?gracePeriodSeconds=0 "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:43 Waiting for /xgboost to be deleted.
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 404 Not Found"
INFO test_seldon_servers:utils.py:48 Not found /xgboost. Status 404
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[XGBOOST_SERVER-xgboost-v2.yaml-v2/models/iris/infer-request_data3-response_test_data3]
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: POST https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?fieldManager=seldon-tests "HTTP/1.1 201 Created"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == None (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/xgboost status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:22 seldondeployment/xgboost status == Available
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/services/xgboost-default-classifier "HTTP/1.1 200 OK"
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
------------------------------------------------------ live log teardown -------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?labelSelector=testing-seldon-deployments%3Dtrue "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: DELETE https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost?gracePeriodSeconds=0 "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:43 Waiting for /xgboost to be deleted.
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/xgboost "HTTP/1.1 404 Not Found"
INFO test_seldon_servers:utils.py:48 Not found /xgboost. Status 404
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[MLFLOW_SERVER-mlflowserver.yaml-api/v1.0/predictions-request_data4-response_test_data4]
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: POST https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?fieldManager=seldon-tests "HTTP/1.1 201 Created"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == None (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:22 seldondeployment/mlflow status == Available
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/services/mlflow-default-classifier "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/configmaps/seldon-config "HTTP/1.1 200 OK"
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
------------------------------------------------------ live log teardown -------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?labelSelector=testing-seldon-deployments%3Dtrue "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: DELETE https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow?gracePeriodSeconds=0 "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:43 Waiting for /mlflow to be deleted.
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 404 Not Found"
INFO test_seldon_servers:utils.py:48 Not found /mlflow. Status 404
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[MLFLOW_SERVER-mlflowserver-v2.yaml-v2/models/classifier/infer-mlflowserver-request-data.json-mlflowserver-response-data.json]
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: POST https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?fieldManager=seldon-tests "HTTP/1.1 201 Created"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == None (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/mlflow status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:22 seldondeployment/mlflow status == Available
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/services/mlflow-default-classifier "HTTP/1.1 200 OK"
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
------------------------------------------------------ live log teardown -------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?labelSelector=testing-seldon-deployments%3Dtrue "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: DELETE https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow?gracePeriodSeconds=0 "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:43 Waiting for /mlflow to be deleted.
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/mlflow "HTTP/1.1 404 Not Found"
INFO test_seldon_servers:utils.py:48 Not found /mlflow. Status 404
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[TENSORFLOW_SERVER-tensorflow-serving.yaml-api/v1.0/predictions-tensorflow-serving-request-data.json-tensorflow-serving-response-data.json]
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: POST https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?fieldManager=seldon-tests "HTTP/1.1 201 Created"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/tfserving status == None (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/tfserving status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/tfserving status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/tfserving status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/tfserving status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/tfserving status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/tfserving status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/tfserving status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:22 seldondeployment/tfserving status == Available
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/services/tfserving-default-classifier "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/configmaps/seldon-config "HTTP/1.1 200 OK"
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
------------------------------------------------------ live log teardown -------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?labelSelector=testing-seldon-deployments%3Dtrue "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: DELETE https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving?gracePeriodSeconds=0 "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:43 Waiting for /tfserving to be deleted.
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/tfserving "HTTP/1.1 404 Not Found"
INFO test_seldon_servers:utils.py:48 Not found /tfserving. Status 404
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[TENSORFLOW_SERVER-tensorflow.yaml-v1/models/classifier:predict-request_data7-response_test_data7]
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: POST https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?fieldManager=seldon-tests "HTTP/1.1 201 Created"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/hpt "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/hpt status == None (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/hpt "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/hpt status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/hpt "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/hpt status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/hpt "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/hpt status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/hpt "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/hpt status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/hpt "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:22 seldondeployment/hpt status == Available
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/services/hpt-default-classifier "HTTP/1.1 200 OK"
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
------------------------------------------------------ live log teardown -------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?labelSelector=testing-seldon-deployments%3Dtrue "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: DELETE https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/hpt?gracePeriodSeconds=0 "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:43 Waiting for /hpt to be deleted.
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/hpt "HTTP/1.1 404 Not Found"
INFO test_seldon_servers:utils.py:48 Not found /hpt. Status 404
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[HUGGINGFACE_SERVER-huggingface.yaml-v2/models/classifier/infer-request_data8-response_test_data8]
-------------------------------------------------------- live log call ---------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: POST https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?fieldManager=seldon-tests "HTTP/1.1 201 Created"
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == None (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:29 seldondeployment/transformer status == Creating (waiting for 'Available')
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:22 seldondeployment/transformer status == Available
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/api/v1/namespaces/test-seldon-servers-ttwb/services/transformer-default-classifier "HTTP/1.1 200 OK"
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
INFO juju.model:model.py:2618 Waiting for model:
seldon-controller-manager/0 [idle] active:
PASSED
------------------------------------------------------ live log teardown -------------------------------------------------------
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments?labelSelector=testing-seldon-deployments%3Dtrue "HTTP/1.1 200 OK"
INFO httpx:_client.py:1013 HTTP Request: DELETE https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer?gracePeriodSeconds=0 "HTTP/1.1 200 OK"
INFO test_seldon_servers:utils.py:43 Waiting for /transformer to be deleted.
INFO httpx:_client.py:1013 HTTP Request: GET https://10.12.17.211:16443/apis/machinelearning.seldon.io/v1/namespaces/test-seldon-servers-ttwb/seldondeployments/transformer "HTTP/1.1 404 Not Found"
INFO test_seldon_servers:utils.py:48 Not found /transformer. Status 404
INFO pytest_operator.plugin:plugin.py:783 Model status:
Model Controller Cloud/Region Version SLA Timestamp
test-seldon-servers-ttwb uk8s microk8s/localhost 2.9.44 unsupported 11:52:01-04:00
App Version Status Scale Charm Channel Rev Address Exposed Message
seldon-controller-manager active 1 seldon-core 0 10.152.183.191 no
Unit Workload Agent Address Ports Message
seldon-controller-manager/0* active idle 10.1.128.202
INFO pytest_operator.plugin:plugin.py:789 Juju error logs:
INFO pytest_operator.plugin:plugin.py:877 Resetting model test-seldon-servers-ttwb...
INFO pytest_operator.plugin:plugin.py:866 Destroying applications seldon-controller-manager
INFO pytest_operator.plugin:plugin.py:882 Not waiting on reset to complete.
INFO pytest_operator.plugin:plugin.py:855 Forgetting main...
======================================================= warnings summary =======================================================
tests/integration/test_seldon_servers.py::test_build_and_deploy
tests/integration/test_seldon_servers.py::test_build_and_deploy
/home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/lib/python3.8/site-packages/websockets/protocol.py:218: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
self._drain_lock = asyncio.Lock(loop=loop)
tests/integration/test_seldon_servers.py: 105 warnings
/home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/lib/python3.8/site-packages/websockets/protocol.py:977: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
yield from asyncio.sleep(self.ping_interval, loop=self.loop)
tests/integration/test_seldon_servers.py: 1623 warnings
/home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/lib/python3.8/site-packages/websockets/protocol.py:911: DeprecationWarning: 'with (yield from lock)' is deprecated use 'async with lock' instead
with (yield from self._drain_lock):
tests/integration/test_seldon_servers.py: 1518 warnings
/home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/lib/python3.8/site-packages/websockets/protocol.py:416: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
yield from asyncio.wait(
tests/integration/test_seldon_servers.py: 103 warnings
/home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/lib/python3.8/site-packages/websockets/protocol.py:988: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
yield from asyncio.wait_for(
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[HUGGINGFACE_SERVER-huggingface.yaml-v2/models/classifier/infer-request_data8-response_test_data8]
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[HUGGINGFACE_SERVER-huggingface.yaml-v2/models/classifier/infer-request_data8-response_test_data8]
/home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/lib/python3.8/site-packages/websockets/protocol.py:532: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
yield from asyncio.wait_for(
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[HUGGINGFACE_SERVER-huggingface.yaml-v2/models/classifier/infer-request_data8-response_test_data8]
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[HUGGINGFACE_SERVER-huggingface.yaml-v2/models/classifier/infer-request_data8-response_test_data8]
/home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/lib/python3.8/site-packages/websockets/protocol.py:554: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
yield from asyncio.wait_for(
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[HUGGINGFACE_SERVER-huggingface.yaml-v2/models/classifier/infer-request_data8-response_test_data8]
tests/integration/test_seldon_servers.py::test_seldon_predictor_server[HUGGINGFACE_SERVER-huggingface.yaml-v2/models/classifier/infer-request_data8-response_test_data8]
/home/ubuntu/rocks/seldonio-rocks/sklearnserver/.tox/seldon-servers-integration/lib/python3.8/site-packages/websockets/protocol.py:1077: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
yield from asyncio.wait_for(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================== 10 passed, 3357 warnings in 1405.09s (0:23:25) ========================================
seldon-servers-integration: OK (1428.23=setup[21.51]+cmd[1406.72] seconds)
congratulations :) (1428.27 seconds)
integration: OK (1603.74=setup[20.86]+cmd[124.15,0.00,0.87,0.01,29.46,0.00,1428.38] seconds)
congratulations :) (1603.77 seconds)
```
This PR started as an effort to resolve this https://github.com/canonical/seldonio-rocks/issues/44 but it looks like our initial understanding was not quite right. Thus, we created https://github.com/canonical/seldonio-rocks/issues/47 where we documented how this ROCK is implemented at the moment. At the same time, we 're updating the
rockcraft.yaml
file with:seldon_core
dependency in order to useseldon-core-microservice
of the same version as the server built.working-dir
instead ofcd
Closes #44, #47 We can always use the latter in order to add more implementation details in the future.
Testing
Manually ran tests successfully from
sklearnserver
directory (both unit and integration).